/* Hallmark · macrostructure: Marquee Hero · tone: professional-energetic · anchor hue: teal
 * theme: custom · vibe: "professional educator teal gold warmth"
 * paper: oklch(100% 0 0) · accent: oklch(60% 0.075 195) · gold: oklch(90% 0.07 90)
 * display: Raleway 800 uppercase · body: Open Sans · labels: Lato 700 uppercase
 * pre-emit critique: P5 H5 E5 S5 R4 V5
 */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  --color-teal:         oklch(60% 0.075 195);
  --color-teal-dark:    oklch(48% 0.072 195);
  --color-teal-light:   oklch(72% 0.060 195);
  --color-teal-faint:   oklch(94% 0.020 195);
  --color-gold:         oklch(90% 0.075 88);
  --color-gold-mid:     oklch(82% 0.090 85);
  --color-gold-dark:    oklch(68% 0.085 80);
  --color-ink:          oklch(22% 0.010 195);
  --color-ink-mid:      oklch(42% 0.012 195);
  --color-ink-muted:    oklch(58% 0.010 195);
  --color-paper:        oklch(100% 0 0);
  --color-paper-warm:   oklch(98% 0.008 90);
  --color-paper-section:oklch(97% 0.005 195);
  --color-border:       oklch(88% 0.010 195);
  --color-focus:        oklch(72% 0.120 195);

  /* Added 2026-11 for the multi-page site: answer states, dark surfaces, mode accents */
  --color-correct:       oklch(55% 0.130 150);
  --color-correct-faint: oklch(90% 0.060 150);
  --color-wrong:         oklch(55% 0.150 28);
  --color-wrong-faint:   oklch(88% 0.060 28);
  --color-ink-deep:      oklch(18% 0.012 195);
  --color-on-dark:       oklch(96% 0.005 195);
  --color-on-dark-muted: oklch(78% 0.010 195);
  --color-glass:         oklch(100% 0 0 / 0.07);
  --color-glass-edge:    oklch(100% 0 0 / 0.16);
  --color-gold-halo:     oklch(90% 0.075 88 / 0.18);
  --color-gold-halo-2:   oklch(90% 0.075 88 / 0.08);

  --font-display:  'Raleway', sans-serif;
  --font-body:     'Open Sans', sans-serif;
  --font-label:    'Lato', sans-serif;
  --font-wordmark: Georgia, 'Times New Roman', serif;

  --text-hero:    clamp(2.8rem, 6vw, 5.2rem);
  --text-display: clamp(2rem, 3.5vw, 3rem);
  --text-xl:      clamp(1.3rem, 2vw, 1.6rem);
  --text-lg:      1.2rem;
  --text-md:      1rem;
  --text-sm:      0.875rem;
  --text-xs:      0.75rem;

  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  --radius-pill: 9999px;
  --radius-card: 12px;
  --radius-sm:   6px;

  --shadow-card:  0 4px 24px oklch(22% 0.010 195 / 0.08), 0 1px 4px oklch(22% 0.010 195 / 0.06);
  --shadow-float: 0 16px 48px oklch(22% 0.010 195 / 0.18), 0 4px 12px oklch(22% 0.010 195 / 0.10);
  --shadow-btn:   0 4px 16px oklch(60% 0.075 195 / 0.30);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.37, 0, 0.63, 1);
  --dur-fast:    160ms;
  --dur-mid:     280ms;
  --dur-slow:    480ms;

  --max-w: 1200px;
  --nav-h: 72px;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { overflow-x: clip; font-family: var(--font-body); font-size: var(--text-md); color: var(--color-ink); background: var(--color-paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utility ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-8);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }

.btn-primary {
  background: var(--color-teal);
  color: var(--color-paper);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--color-teal-dark);
  box-shadow: 0 6px 24px oklch(60% 0.075 195 / 0.40);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-paper);
  border-color: var(--color-paper);
}
.btn-outline-white:hover {
  background: oklch(100% 0 0 / 0.12);
}

.btn-outline-teal {
  background: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
}
.btn-outline-teal:hover {
  background: var(--color-teal-faint);
}

.btn-white-filled {
  background: var(--color-paper);
  color: var(--color-teal);
  border-color: var(--color-paper);
}
.btn-white-filled:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

/* ── Logo Wordmark ──────────────────────────────────────────────── */
.logo {
  display: inline-flex;
  align-items: stretch;
  font-family: var(--font-wordmark);
  font-size: 1.4rem;
  line-height: 1;
  border: 2px solid oklch(22% 0.010 195 / 0.12);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.logo__quiz {
  background: var(--color-gold);
  color: var(--color-ink);
  padding: 8px 14px;
  font-weight: 400;
  border-right: 2px solid oklch(22% 0.010 195 / 0.12);
}
.logo__skill {
  background: var(--color-teal);
  color: var(--color-ink);
  padding: 8px 14px;
  font-weight: 700;
}

.logo--sm { font-size: 1.1rem; }
.logo--sm .logo__quiz,
.logo--sm .logo__skill { padding: 6px 10px; }

/* ── Navigation ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav__link {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink-mid);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__link:hover { color: var(--color-teal); }
.nav__link:focus-visible { outline: 3px solid var(--color-focus); border-radius: 4px; }
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav__actions .btn {
  padding: 10px 22px;
  font-size: 0.8rem;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-out);
}
.nav__hamburger:hover { background: var(--color-paper-section); }
.nav__hamburger:focus-visible { outline: 3px solid var(--color-focus); }
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform var(--dur-mid) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--color-paper);
  padding: var(--space-8);
  flex-direction: column;
  gap: var(--space-6);
  border-top: 1px solid var(--color-border);
  z-index: 99;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile .nav__link {
  font-size: var(--text-lg);
  color: var(--color-ink);
}
.nav__mobile .btn { width: 100%; justify-content: center; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  background: var(--color-teal);
  min-height: calc(90vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 110% 50%, oklch(100% 0 0 / 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at -10% 50%, oklch(22% 0.010 195 / 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-24);
  position: relative;
  z-index: 1;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-mid);
  margin-bottom: var(--space-6);
}
.hero__kicker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-gold-mid);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-paper);
  margin-bottom: var(--space-6);
  overflow-wrap: anywhere;
  min-width: 0;
}
.hero__headline mark {
  background: none;
  color: var(--color-gold);
  position: relative;
}
.hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 300;
  color: oklch(100% 0 0 / 0.82);
  line-height: 1.55;
  max-width: 44ch;
  margin-bottom: var(--space-10);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-8);
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.hero__trust-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: oklch(100% 0 0 / 0.60);
  font-weight: 300;
}
.hero__trust-avatars {
  display: flex;
}
.hero__trust-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-teal);
  background: var(--color-teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-paper);
  margin-left: -6px;
}
.hero__trust-avatar:first-child { margin-left: 0; }

/* ── Quiz Card Mockup ───────────────────────────────────────────── */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.quiz-card {
  background: var(--color-paper);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  padding: var(--space-6);
  width: 100%;
  max-width: 400px;
  animation: float-card 4s var(--ease-in-out) infinite;
  position: relative;
  z-index: 2;
}
.quiz-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}
.quiz-card__q-num {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
}
/* SVG Timer Ring */
.quiz-timer {
  position: relative;
  width: 52px; height: 52px;
  flex-shrink: 0;
}
.quiz-timer__svg {
  transform: rotate(-90deg);
}
.quiz-timer__track {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 4;
}
.quiz-timer__progress {
  fill: none;
  stroke: var(--color-teal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 126;
  stroke-dashoffset: 38;
  transition: stroke-dashoffset 1s linear;
}
.quiz-timer__label {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-label);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--color-ink);
}
.quiz-card__question {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--space-4);
  line-height: 1.4;
}
.quiz-card__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.quiz-option {
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid var(--color-border);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-ink-mid);
  display: flex; align-items: center; gap: var(--space-3);
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.quiz-option--selected {
  border-color: var(--color-teal);
  background: var(--color-teal-faint);
  color: var(--color-teal-dark);
  font-weight: 600;
}
.quiz-option--correct {
  border-color: var(--color-correct);
  background: var(--color-correct-faint);
  color: var(--color-correct);
  font-weight: 600;
}
.quiz-option__letter {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--color-ink-mid);
}
.quiz-option--selected .quiz-option__letter {
  background: var(--color-teal);
  color: white;
}
.quiz-option--correct .quiz-option__letter {
  background: var(--color-correct);
  color: white;
}
.quiz-card__footer {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quiz-card__points {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  color: var(--color-ink-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.quiz-card__points span {
  color: var(--color-teal);
  font-size: 1rem;
}

/* Floating chips */
.hero__chip {
  position: absolute;
  background: var(--color-paper);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
  z-index: 3;
}
.hero__chip i { color: var(--color-teal); font-size: 0.9rem; }
.hero__chip--top { top: -20px; right: -20px; animation: float-chip-a 5s var(--ease-in-out) infinite; }
.hero__chip--bottom { bottom: 0px; left: -28px; animation: float-chip-b 5.5s var(--ease-in-out) infinite; }
.hero__chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: oklch(60% 0.14 145);
  box-shadow: 0 0 0 3px oklch(60% 0.14 145 / 0.20);
}

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes float-chip-a {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-8px) rotate(2deg); }
}
@keyframes float-chip-b {
  0%, 100% { transform: translateY(0px) rotate(1deg); }
  50%       { transform: translateY(-6px) rotate(-2deg); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-card, .hero__chip, .hero__chip--top, .hero__chip--bottom,
  .hero__kicker-dot { animation: none; }
  * { transition-duration: 50ms !important; }
}

/* ── How It Works ───────────────────────────────────────────────── */
.section { padding-block: var(--space-24); }
.section--alt { background: var(--color-paper-section); }
.section-eyebrow {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-3);
}
.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-ink);
  line-height: 1.1;
  overflow-wrap: anywhere;
  min-width: 0;
}
.section-sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--color-ink-muted);
  line-height: 1.6;
  max-width: 52ch;
  margin-top: var(--space-4);
}
.section-header { margin-bottom: var(--space-16); }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin-inline: auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-gold-mid) 50%, var(--color-teal) 100%);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step__icon-wrap {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--color-paper);
  border: 3px solid var(--color-teal);
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  box-shadow: 0 0 0 8px var(--color-paper-section);
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out);
}
.step:hover .step__icon-wrap {
  transform: scale(1.06);
  box-shadow: 0 0 0 8px var(--color-paper-section), 0 8px 28px oklch(60% 0.075 195 / 0.20);
}
.step__icon-wrap i {
  font-size: 1.8rem;
  color: var(--color-teal);
}
.step__num {
  position: absolute;
  top: -6px; right: calc(50% - 52px);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-gold-dark);
  color: var(--color-paper);
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  margin-bottom: var(--space-3);
}
.step__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  line-height: 1.65;
}

/* ── Features ───────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-card {
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px oklch(22% 0.010 195 / 0.12), 0 2px 8px oklch(22% 0.010 195 / 0.08);
  border-color: var(--color-teal);
}
.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--color-teal-faint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
  transition: background var(--dur-mid) var(--ease-out);
}
.feature-card:hover .feature-card__icon { background: var(--color-teal); }
.feature-card__icon i {
  font-size: 1.3rem;
  color: var(--color-teal);
  transition: color var(--dur-mid) var(--ease-out);
}
.feature-card:hover .feature-card__icon i { color: var(--color-paper); }
.feature-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  margin-bottom: var(--space-3);
}
.feature-card__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  line-height: 1.65;
}

/* ── Social Proof Bar ───────────────────────────────────────────── */
.proof-bar {
  background: var(--color-gold);
  padding-block: var(--space-16);
}
.proof-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}
.proof-stat {
  text-align: center;
}
.proof-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-teal-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}
.proof-stat__label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-top: var(--space-2);
}
.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--color-gold-dark);
  opacity: 0.35;
}

/* ── Final CTA ──────────────────────────────────────────────────── */
.cta-section {
  background: var(--color-teal);
  padding-block: var(--space-24);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 120%, oklch(22% 0.010 195 / 0.20) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section__inner { position: relative; z-index: 1; }
.cta-section__eyebrow {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-mid);
  margin-bottom: var(--space-4);
}
.cta-section__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-paper);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  overflow-wrap: anywhere;
  min-width: 0;
}
.cta-section__sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 300;
  color: oklch(100% 0 0 / 0.75);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}
.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.cta-section__note {
  margin-top: var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: oklch(100% 0 0 / 0.50);
}

/* ── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--color-ink);
  color: oklch(100% 0 0 / 0.65);
  padding-block: var(--space-16);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}
.footer__brand .logo__quiz { border-color: oklch(100% 0 0 / 0.10); }
.footer__brand .logo { border-color: oklch(100% 0 0 / 0.10); }
.footer__tagline {
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.65;
  max-width: 30ch;
  color: oklch(100% 0 0 / 0.50);
}
.footer__col-title {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(100% 0 0 / 0.90);
  margin-bottom: var(--space-5);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: oklch(100% 0 0 / 0.55);
  transition: color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.footer__link:hover { color: var(--color-gold-mid); }
.footer__link:focus-visible { outline: 2px solid var(--color-focus); border-radius: 2px; }
.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid oklch(100% 0 0 / 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer__copyright {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: oklch(100% 0 0 / 0.35);
}
.footer__legal {
  display: flex;
  gap: var(--space-6);
}
.footer__legal a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: oklch(100% 0 0 / 0.35);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer__legal a:hover { color: oklch(100% 0 0 / 0.70); }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero__visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root {
    --space-24: 4rem;
    --space-16: 3rem;
    --space-12: 2rem;
  }
  .nav__links, .nav__actions { display: none; }
  .nav__hamburger { display: flex; }
  .hero__inner { padding-block: var(--space-16); }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .proof-bar__inner { gap: var(--space-8); }
  .proof-divider { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .container { padding-inline: var(--space-4); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta-section__actions { flex-direction: column; align-items: center; }
  .cta-section__actions .btn { width: 100%; justify-content: center; max-width: 320px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Pricing Section ──────────────────────────────────────────────────── */
.pricing-section {
  padding-block: 80px;
  background: var(--color-paper);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
  margin-top: var(--space-16);
}
.pricing-card {
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--dur-mid) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out),
    border-color var(--dur-mid) var(--ease-out);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px oklch(22% 0.010 195 / 0.12), 0 4px 12px oklch(22% 0.010 195 / 0.08);
  border-color: var(--color-teal-light);
}
.pricing-card--pro {
  border: 2px solid var(--color-teal);
  box-shadow: var(--shadow-float);
  margin-top: -12px;
  padding-top: calc(var(--space-8) + 12px);
}
.pricing-card--pro:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px oklch(60% 0.075 195 / 0.18), 0 6px 16px oklch(60% 0.075 195 / 0.12);
  border-color: var(--color-teal-dark);
}
.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-teal);
  color: var(--color-paper);
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 12px oklch(60% 0.075 195 / 0.35);
}
.pricing-card--pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-mid) 0%, var(--color-gold) 50%, var(--color-gold-mid) 100%);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.pricing-tier {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-3);
}
.pricing-card--pro .pricing-tier { color: var(--color-teal-dark); }
.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: var(--space-2);
  line-height: 1;
}
.pricing-price__amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}
.pricing-price__currency {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-ink-mid);
  padding-bottom: 6px;
}
.pricing-price__period {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-ink-muted);
  padding-bottom: 8px;
}
.pricing-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-ink-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}
.pricing-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-6);
}
.pricing-card--pro .pricing-divider {
  background: linear-gradient(90deg, transparent, var(--color-teal-light), transparent);
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-ink-mid);
  line-height: 1.4;
}
.pricing-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.72rem;
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-card--pro .pricing-features li { color: var(--color-ink); }
.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 25px;
  border: 2px solid transparent;
  text-decoration: none;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.pricing-cta:hover  { transform: translateY(-2px); }
.pricing-cta:active { transform: translateY(0); }
.pricing-cta:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.pricing-cta--outline {
  background: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
}
.pricing-cta--outline:hover { background: var(--color-teal-faint); }
.pricing-cta--primary {
  background: var(--color-teal);
  color: var(--color-paper);
  box-shadow: var(--shadow-btn);
}
.pricing-cta--primary:hover {
  background: var(--color-teal-dark);
  box-shadow: 0 6px 24px oklch(60% 0.075 195 / 0.40);
}
.pricing-cta--enterprise {
  background: transparent;
  color: var(--color-gold-dark);
  border-color: var(--color-gold-mid);
}
.pricing-cta--enterprise:hover {
  background: oklch(90% 0.075 88 / 0.12);
  border-color: var(--color-gold-dark);
}
.pricing-note {
  text-align: center;
  margin-top: var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-ink-muted);
}
.pricing-philosophy {
  text-align: center;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  font-style: italic;
  color: var(--color-ink-muted);
  max-width: 42ch;
  margin-inline: auto;
  line-height: 1.6;
}
@media (max-width: 992px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card:first-child { grid-column: 1 / -1; }
  .pricing-card--pro { margin-top: 0; }
}
@media (max-width: 768px) {
  .pricing-section { padding-block: 60px; }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
    margin-top: var(--space-12);
  }
  .pricing-card:first-child { grid-column: auto; }
  .pricing-card--pro { margin-top: 0; }
  .pricing-badge { top: -14px; font-size: 0.65rem; padding: 4px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-card, .pricing-cta { transition-duration: 50ms !important; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Multi-page additions (2026-11), game-mode pages, AI builder, use cases,
 * pricing. Same tokens and type system as the homepage; page shapes vary by
 * job: Catalogue (mode hub), Narrative Workflow (mode pages), Split Studio
 * (AI builder), Long Document (use cases), Conversational FAQ (pricing).
 * ═══════════════════════════════════════════════════════════════════════ */

/* ── Accessibility chrome ───────────────────────────────────────── */
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 300;
  background: var(--color-ink); color: var(--color-paper);
  padding: var(--space-3) var(--space-6); border-radius: var(--radius-sm);
  font-family: var(--font-label); font-weight: 700;
}
.skip-link:focus-visible { top: var(--space-4); outline: 3px solid var(--color-focus); }
.nav__link[aria-current="page"] { color: var(--color-teal-dark); box-shadow: inset 0 -2px 0 var(--color-teal); }
:where(a, summary, button):focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }

/* ── Sub-page hero (shorter than the homepage marquee) ─────────── */
.page-hero {
  background: var(--color-teal);
  color: var(--color-paper);
  padding-block: var(--space-16) var(--space-20);
  position: relative;
  overflow: hidden;
}
.page-hero--dark { background: var(--color-ink-deep); }
.page-hero--gold { background: var(--color-gold); color: var(--color-ink); }
.page-hero__inner { display: grid; gap: var(--space-12); align-items: center; }
.page-hero__inner > * { min-width: 0; }
.page-hero__kicker {
  font-family: var(--font-label); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; margin-bottom: var(--space-4);
}
.page-hero__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.02em;
  overflow-wrap: anywhere; min-width: 0; margin-bottom: var(--space-6);
}
.page-hero__title mark { background: none; color: var(--color-gold); }
.page-hero--gold .page-hero__title mark { color: var(--color-teal-dark); }
.page-hero__sub { font-size: var(--text-lg); font-weight: 300; line-height: 1.6; max-width: 54ch; opacity: 0.95; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.page-hero--gold .btn-outline-white { color: var(--color-ink); border-color: var(--color-ink); }
.page-hero--gold .btn-white-filled { background: var(--color-ink); color: var(--color-gold); }
.page-hero__meta { margin-top: var(--space-6); font-size: var(--text-sm); opacity: 0.85; }
.page-hero__meta strong { font-weight: 600; }
@media (min-width: 60rem) {
  .page-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

.crumbs { font-family: var(--font-label); font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--space-6); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); opacity: 0.6; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.crumbs a:hover { opacity: 0.8; }

/* ── Mode cards (homepage strip + mode hub) ─────────────────────── */
.modes { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mode {
  display: flex; flex-direction: column; gap: var(--space-4);
  border-radius: var(--radius-card); padding: var(--space-8);
  border: 1px solid var(--color-border); background: var(--color-paper);
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out);
}
.mode:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.mode--basic { border-top: 6px solid var(--color-teal); }
.mode--power { border-top: 6px solid var(--color-gold-dark); background: var(--color-paper-warm); }
.mode--buzzer { background: var(--color-ink-deep); color: var(--color-on-dark); border-color: var(--color-ink-deep); }
.mode__plan {
  align-self: flex-start; font-family: var(--font-label); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--color-teal-faint); color: var(--color-teal-dark);
}
.mode--buzzer .mode__plan { background: var(--color-gold); color: var(--color-ink); }
.mode__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--text-xl); letter-spacing: -0.01em; }
.mode__line { font-size: var(--text-lg); font-weight: 600; line-height: 1.35; }
.mode__body { color: var(--color-ink-mid); line-height: 1.6; }
.mode--buzzer .mode__body { color: var(--color-on-dark-muted); }
.mode__rule {
  margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--space-2);
  font-family: var(--font-label); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.mode__rule span { padding: 4px 10px; border-radius: var(--radius-sm); background: var(--color-paper-section); color: var(--color-ink-mid); font-variant-numeric: tabular-nums; }
.mode--buzzer .mode__rule span { background: var(--color-glass); color: var(--color-on-dark); }
.mode__link {
  font-family: var(--font-label); font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--color-teal-dark); display: inline-flex; align-items: center; gap: var(--space-2); white-space: nowrap;
}
.mode--buzzer .mode__link { color: var(--color-gold); }
.mode__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Comparison table ───────────────────────────────────────────── */
.compare-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--text-sm); }
.compare caption { text-align: left; padding: var(--space-4) var(--space-6); color: var(--color-ink-muted); caption-side: bottom; font-size: var(--text-xs); }
.compare th, .compare td { padding: var(--space-4) var(--space-6); text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.compare thead th { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--text-xs); color: var(--color-ink-mid); background: var(--color-paper-section); }
.compare tbody th { font-weight: 600; color: var(--color-ink); width: 26%; }
.compare td { color: var(--color-ink-mid); font-variant-numeric: tabular-nums; }
.compare tr:last-child > * { border-bottom: 0; }
.compare .yes { color: var(--color-correct); font-weight: 600; }
.compare .no { color: var(--color-ink-muted); }
.compare .bad { color: var(--color-wrong); font-weight: 600; }

/* ── Round timeline (Narrative Workflow on each mode page) ─────── */
.round { display: grid; gap: var(--space-6); counter-reset: stage; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .round { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .round--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.round__stage { position: relative; padding: var(--space-6); padding-top: var(--space-12); border-left: 3px solid var(--color-teal); background: var(--color-paper); }
.round__stage::before {
  counter-increment: stage; content: counter(stage, decimal-leading-zero);
  position: absolute; top: var(--space-4); left: var(--space-6);
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); color: var(--color-teal);
  font-variant-numeric: tabular-nums;
}
.round__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-md); letter-spacing: 0.02em; margin-bottom: var(--space-2); }
.round__text { color: var(--color-ink-mid); line-height: 1.6; font-size: var(--text-sm); }

/* ── Scoring panel ─────────────────────────────────────────────── */
.scoring { display: grid; gap: var(--space-8); align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .scoring { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.scoring__list { display: grid; gap: var(--space-3); }
.scoring__row {
  display: flex; justify-content: space-between; gap: var(--space-4); align-items: baseline;
  padding: var(--space-4) var(--space-6); border-radius: var(--radius-sm); background: var(--color-paper);
  border: 1px solid var(--color-border);
}
.scoring__row dt { color: var(--color-ink-mid); }
.scoring__row dd { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.scoring__row--good dd { color: var(--color-correct); }
.scoring__row--bad dd { color: var(--color-wrong); }
.scoring__note { color: var(--color-ink-mid); line-height: 1.7; }
.scoring__note p + p { margin-top: var(--space-4); }

/* ── Callout: the design decision behind a feature ────────────── */
.why {
  border-left: 4px solid var(--color-gold-dark); background: var(--color-paper-warm);
  padding: var(--space-8); border-radius: 0 var(--radius-card) var(--radius-card) 0; max-width: 72ch;
}
.why__label { font-family: var(--font-label); font-weight: 700; font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-gold-dark); margin-bottom: var(--space-3); }
.why p { line-height: 1.7; color: var(--color-ink-mid); }
.why p + p { margin-top: var(--space-3); }

/* ── Mockups: CSS-built live-session moments (no device chrome) ── */
.mock { background: var(--color-paper); color: var(--color-ink); border-radius: var(--radius-card); box-shadow: var(--shadow-float); padding: var(--space-6); max-width: 440px; width: 100%; justify-self: center; }
.mock__label { font-family: var(--font-label); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-muted); display: flex; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.mock__q { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.3; margin-bottom: var(--space-4); }

/* answer distribution bars (Basic) */
.bars { display: grid; gap: var(--space-2); }
.bar { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) 2.75rem; gap: var(--space-3); align-items: center; font-size: var(--text-sm); }
.bar__letter { font-family: var(--font-label); font-weight: 900; color: var(--color-ink-mid); }
.bar__track { height: 30px; border-radius: var(--radius-sm); background: var(--color-paper-section); position: relative; overflow: hidden; }
.bar__fill { position: absolute; inset: 0 auto 0 0; background: var(--color-teal-light); }
.bar__text { position: absolute; inset: 0; display: flex; align-items: center; padding-left: var(--space-3); color: var(--color-ink); font-weight: 600; white-space: nowrap; overflow: hidden; }
.bar--correct .bar__fill { background: var(--color-correct); }
.bar--correct .bar__text { color: var(--color-paper); }
.bar__pct { text-align: right; font-variant-numeric: tabular-nums; color: var(--color-ink-mid); }

/* wager chips (Power Play) */
.wager { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-4); }
.wager__chip { border: 2px solid var(--color-border); border-radius: var(--radius-card); padding: var(--space-3) var(--space-2); text-align: center; }
.wager__chip b { display: block; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; font-variant-numeric: tabular-nums; }
.wager__chip small { font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink-muted); }
.wager__chip--on { border-color: var(--color-gold-dark); background: var(--color-gold); }
.wager__chip--on small { color: var(--color-ink); }
.mock__foot { margin-top: var(--space-4); display: flex; justify-content: space-between; gap: var(--space-4); font-size: var(--text-sm); color: var(--color-ink-mid); font-variant-numeric: tabular-nums; }
.mock__foot strong { color: var(--color-ink); }

/* buzzer (Team Buzzer) */
.mock--dark { background: var(--color-ink-deep); color: var(--color-on-dark); border: 1px solid var(--color-glass-edge); }
.mock--dark .mock__label { color: var(--color-on-dark-muted); }
.buzz {
  display: grid; place-items: center; aspect-ratio: 1; width: min(62%, 220px); margin: var(--space-4) auto var(--space-6);
  border-radius: 50%; background: var(--color-gold); color: var(--color-ink);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: 0.04em;
  box-shadow: 0 0 0 10px var(--color-gold-halo), 0 0 0 22px var(--color-gold-halo-2);
}
.teams { display: grid; gap: var(--space-2); }
.team { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); background: var(--color-glass); font-size: var(--text-sm); }
.team__rank { font-family: var(--font-label); font-weight: 900; color: var(--color-on-dark-muted); font-variant-numeric: tabular-nums; }
.team__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team__pts { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.team--lead { background: var(--color-gold-halo); }
.team--lead .team__pts { color: var(--color-gold); }
.team__delta { font-size: var(--text-xs); margin-left: var(--space-2); }
.team__delta--up { color: var(--color-correct-faint); }
.team__delta--down { color: var(--color-wrong-faint); }

/* ── Split Studio blocks (AI builder) ──────────────────────────── */
.split { display: grid; gap: var(--space-12); align-items: center; grid-template-columns: minmax(0, 1fr); }
.split + .split { margin-top: var(--space-24); }
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--flip > :first-child { order: 2; }
}
.split__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: var(--space-4); overflow-wrap: anywhere; }
.split__text { color: var(--color-ink-mid); line-height: 1.7; max-width: 56ch; }
.split__text + .split__text { margin-top: var(--space-4); }
.ticks { margin-top: var(--space-6); display: grid; gap: var(--space-3); }
.ticks li { padding-left: var(--space-8); position: relative; color: var(--color-ink-mid); line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px; border-left: 3px solid var(--color-teal); border-bottom: 3px solid var(--color-teal); transform: rotate(-45deg); }
.section--ink .ticks li { color: var(--color-on-dark-muted); }
.section--ink .ticks li::before { border-color: var(--color-gold); }

/* generator panel mockup */
.gen { display: grid; gap: var(--space-3); }
.gen__field { border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); font-size: var(--text-sm); color: var(--color-ink-mid); background: var(--color-paper); }
.gen__field b { display: block; font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-muted); margin-bottom: 2px; }
.gen__out { border-radius: var(--radius-sm); background: var(--color-teal-faint); padding: var(--space-3) var(--space-4); font-size: var(--text-sm); color: var(--color-teal-dark); }
.gen__out ol { list-style: decimal; padding-left: var(--space-6); display: grid; gap: var(--space-2); }

/* ── Long Document (use-case pages) ────────────────────────────── */
.prose { max-width: 70ch; margin-inline: auto; font-size: 1.075rem; line-height: 1.75; color: var(--color-ink-mid); }
.prose > * + * { margin-top: var(--space-6); }
.prose h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--color-ink); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; margin-top: var(--space-16); letter-spacing: -0.01em; }
.prose h3 { font-family: var(--font-display); font-weight: 700; color: var(--color-ink); font-size: var(--text-lg); margin-top: var(--space-8); }
.prose strong { color: var(--color-ink); font-weight: 600; }
.prose a { color: var(--color-teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--color-teal); }
.prose ul { list-style: disc; padding-left: var(--space-6); }
.prose ul li + li { margin-top: var(--space-2); }
.prose .lead { font-size: var(--text-xl); line-height: 1.5; color: var(--color-ink); font-weight: 300; }

.pick { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); margin-block: var(--space-8); }
@media (min-width: 48rem) { .pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prose .pick a, .pick a { display: block; padding: var(--space-6); border-radius: var(--radius-card); border: 1px solid var(--color-border); background: var(--color-paper); text-decoration: none; color: var(--color-ink-mid); line-height: 1.5; font-size: var(--text-sm); }
.pick a:hover { border-color: var(--color-teal); }
.pick b { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--color-ink); margin-bottom: var(--space-2); font-size: var(--text-md); }

/* ── FAQ accordion ─────────────────────────────────────────────── */
.faq__inner { max-width: 820px; }
.faq__list { margin-top: var(--space-8); border-top: 1px solid var(--color-border); }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__q { cursor: pointer; list-style: none; padding: var(--space-6) var(--space-12) var(--space-6) 0; position: relative; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-ink); line-height: 1.35; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: var(--space-2); top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--color-teal); transition: transform var(--dur-fast) var(--ease-out); }
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { padding: 0 0 var(--space-6); color: var(--color-ink-mid); line-height: 1.7; max-width: 68ch; }
.faq__a p + p { margin-top: var(--space-3); }
.faq__a a { color: var(--color-teal-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ── Pricing page: plan table ──────────────────────────────────── */
.plan-table thead th:not(:first-child), .plan-table td { text-align: center; }
.plan-table .price { display: block; font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); color: var(--color-ink); text-transform: none; letter-spacing: 0; margin-top: var(--space-2); }
.plan-table tbody tr.group th { background: var(--color-paper-section); font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--text-xs); color: var(--color-teal-dark); }

/* ── Section variety (not every band padded alike) ─────────────── */
.section--tight { padding-block: var(--space-16); }
.section--ink { background: var(--color-ink-deep); color: var(--color-on-dark); }
.section--ink .section-heading { color: var(--color-paper); }
.section--ink .section-sub { color: var(--color-on-dark-muted); }
.section-header--split { display: grid; gap: var(--space-6); margin-bottom: var(--space-12); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .section-header--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }
.section-header--split .section-sub { max-width: none; }
.text-link { color: var(--color-teal-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.section--ink .text-link { color: var(--color-gold); }

@media (prefers-reduced-motion: reduce) {
  .mode, .faq__q::after { transition-duration: 1ms !important; }
  .mode:hover { transform: none; }
}

/* ── Homepage additions ────────────────────────────────────────── */
.hero__trust-text--solo { margin-top: var(--space-8); font-size: var(--text-sm); color: var(--color-paper); opacity: 0.88; line-height: 1.6; }
.hero__join-link { color: var(--color-gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.quiz-card__wager { font-family: var(--font-label); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink); background: var(--color-gold); padding: 3px 10px; border-radius: var(--radius-pill); }
.modes__foot { margin-top: var(--space-8); color: var(--color-ink-mid); line-height: 1.7; max-width: 80ch; }
.modes__foot strong { color: var(--color-ink); }
.step__desc .text-link, .feature-card__desc .text-link { font-weight: 600; }
