:root {
  --color-bg: #000000;
  --color-card: #050505;
  --color-border: #1F1F1F;
  --color-text: #ffffff;
  --color-text-muted: #888888;
  --color-primary: #ffffff;
  --color-accent: #22FAEE; /* Suprahuman Cyan */
  --color-accent-dim: rgba(34, 250, 238, 0.1);
  --glass-bg: rgba(5, 5, 5, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;

  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

body {
  margin: 0;
  background-color: var(--color-bg);
  background-image: radial-gradient(circle at 50% 0%, #111111 0%, #000000 70%);
  color: var(--color-text);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
}

/* Base Graphic Container */
.export-target {
  background: transparent;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.5;
}

/* Phone Graphic Flow */
#graphic-single, #graphic-cheat-sheet {
  max-width: 1080px;
  width: 100%;
  padding: 5vw 8vw; /* scaled padding */
  border: none;
  box-shadow: none;
}

/* Hide redundant header elements in Cheat Sheet */
#graphic-cheat-sheet .logo-container,
#graphic-cheat-sheet .masthead p.subtitle {
  display: none;
}

#graphic-cheat-sheet .masthead h1 {
  font-size: 2.5rem;
  margin-top: var(--space-xl);
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.logo-icon {
  height: 60px;
  opacity: 0.9;
}

.logo-icon-sm {
  height: 48px;
  opacity: 0.9;
}

.masthead {
  margin-bottom: var(--space-xl);
}

.accent-line {
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  margin-bottom: var(--space-md);
  box-shadow: 0 0 10px rgba(34, 250, 238, 0.5);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 var(--space-md) 0;
  text-transform: uppercase;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.text-large {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.phase-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.phase-card {
  padding: var(--space-lg);
  border-radius: 12px;
  border-left: 4px solid #333;
}

.phase-card:nth-child(1) { border-left-color: #555; }
.phase-card:nth-child(2) { border-left-color: #888; }
.phase-card:nth-child(3) { border-left-color: #ccc; }

.phase-header {
  display: flex;
  align-items: flex-end;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.phase-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text-muted);
  line-height: 0.8;
  opacity: 0.5;
}

.phase-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.phase-desc {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.phase-thesis {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 0;
  margin-bottom: var(--space-md);
}

.action-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.action-list li {
  position: relative;
  padding-left: var(--space-lg);
  font-size: 1.1rem;
  color: #ddd;
}

.action-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.action-list li strong {
  color: var(--color-text);
  font-weight: 600;
}

.ai-card {
  background: rgba(34, 250, 238, 0.03);
  border: 1px solid var(--color-accent-dim);
  border-left: 4px solid var(--color-accent);
  margin-top: var(--space-md);
}

.ai-header h2 {
  color: var(--color-accent);
  text-shadow: 0 0 10px rgba(34, 250, 238, 0.2);
}

.ai-icon {
  color: var(--color-accent);
  margin-right: 8px;
}

.ai-list li::before {
  content: "✦";
}

/* Cheat Sheet Grid */
.cheat-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.swap-header {
  display: flex;
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-border);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.col-instead {
  flex: 5;
  padding-right: var(--space-md);
}

.col-arrow {
  flex: 1;
  text-align: center;
  color: var(--color-accent);
  font-weight: bold;
}

.col-go-for {
  flex: 5;
  padding-left: var(--space-md);
  color: var(--color-text);
}

.cuisine-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: var(--space-md);
  border-radius: 8px;
}

.cuisine-title {
  margin: 0 0 var(--space-xs) 0;
  font-size: 1.4rem;
  color: var(--color-accent);
}

.swap-row {
  display: flex;
  align-items: center;
  font-size: 1.15rem;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.swap-row:last-child {
  border-bottom: none;
}

.swap-row .col-go-for {
  font-weight: 600;
}

/* Carousel Slides - Hidden for Website View */
#carousel-wrapper {
  display: none;
}

.slide {
  max-width: 1080px;
  width: 100%;
  height: auto;
  min-height: 1350px;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 8vw;
  display: flex;
  flex-direction: column;
}

.slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-title-content {
  justify-content: center;
}

.slide-title-content h1 {
  font-size: 5rem;
  margin-bottom: var(--space-lg);
}

.slide-footer {
  text-align: center;
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.slide-indicator {
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

.large-header .phase-number { font-size: 4rem; }
.large-header h2 { font-size: 3rem; flex-direction: column; align-items: flex-start; gap: 0; }
.large-header .phase-desc { font-size: 1.8rem; margin-top: 8px; }

.slide-list li {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.slide-list li::before {
  top: 4px;
}

.slide-cheat-grid .cuisine-group {
  padding: var(--space-sm) var(--space-md);
}
.slide-cheat-grid .cuisine-title {
  font-size: 1.2rem;
}
.slide-cheat-grid .swap-row {
  font-size: 1rem;
}
