/* ============================================================================
   Parla — AI language tutor, powered by Anam
   Design language ported from qoves.com (exact tokens as hard constraints).

   Font architecture mirrors Qoves' own CSS-variable approach:
     --font-display  ← Denton (thin high-contrast display serif)   [sub: Fraunces]
     --font-sans     ← PP Neue Montreal (neo-grotesque)            [sub: Hanken Grotesk]
     --font-mono     ← F37 Zagma Mono (mono eyebrow labels)        [sub: IBM Plex Mono]
   To use the licensed originals, self-host them and swap the font-family
   values below — nothing else changes.
   ============================================================================ */

:root {
  /* --- Ink & text (from Qoves --color-dark / --color-green-dark / grays) --- */
  --ink:        #121212;   /* headings, near-black                 */
  --slate:      #233137;   /* signature deep slate-green (brand)   */
  --slate-2:    #2d3b41;   /* hover on slate (--background-hover)  */
  --body:       #515255;   /* body copy                            */
  --muted:      #758084;   /* muted / secondary text               */
  --faint:      #909ca1;   /* faintest text, captions              */

  /* --- Lines & surfaces (from --color-border-base / subtle bgs) --- */
  --paper:      #ffffff;
  --paper-2:    #fafafa;   /* --color-bg-subtle                    */
  --paper-3:    #f9fbfb;
  --wash:       #f2f5f5;   /* --color-primary-100                  */
  --line:       #e8e8e8;   /* --color-border-base                  */
  --line-soft:  #f2f2f2;   /* --color-border-primary-muted         */

  /* --- Sage / eucalyptus scale (Qoves data-viz & percentile bars) --- */
  --sage-1:     #cddbe1;
  --sage-2:     #aec2c9;
  --sage-3:     #9aaeb5;
  --sage-4:     #5d767e;
  --sage-5:     #233137;
  --mint:       #d1ebf2;   /* --color-green-light                  */
  --mint-pale:  #deffff;

  /* --- Sparing accents --- */
  --accent:     #eb850a;   /* orange, used only as a spark         */
  --ok:         #0c6826;
  --danger:     #bb3030;

  /* --- Fonts --- */
  --font-display: "Fraunces", "Denton", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:    "Hanken Grotesk", "PP Neue Montreal", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", "F37 Zagma", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* --- Geometry --- */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --pill: 100px;

  /* --- Shadows (soft, clinical) --- */
  --shadow-sm: 0 1px 2px rgba(18,18,18,.04), 0 2px 6px rgba(18,18,18,.05);
  --shadow-md: 0 8px 24px rgba(35,49,55,.08), 0 2px 8px rgba(35,49,55,.05);
  --shadow-lg: 0 30px 70px -24px rgba(35,49,55,.28), 0 12px 28px -18px rgba(35,49,55,.22);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   Typography primitives
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 340;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.display em { font-style: italic; font-variation-settings: "opsz" 144; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-4);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--sage-3);
  display: inline-block;
}
.eyebrow--plain::before { display: none; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(72px, 10vw, 132px); }
.section--tint { background: var(--paper-2); }
.section--wash { background: var(--wash); }
.section--dark { background: var(--slate); color: rgba(255,255,255,.78); }
.section--dark .display,
.section--dark .section__title { color: #fff; }
.section--dark .eyebrow { color: var(--sage-2); }
.section--dark .eyebrow::before { background: var(--sage-3); }

.section__head { max-width: 720px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-top: 20px;
}
.section__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--muted);
  margin-top: 20px;
  max-width: 56ch;
}
.section__head--center .section__lead { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--slate);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.92em 1.5em;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--pill);
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .25s var(--ease), box-shadow .35s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1.5px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--slate); --btn-fg: #fff; }
.btn--primary:hover { background: var(--slate-2); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--slate); background: transparent; box-shadow: none; transform: translateY(-1.5px); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--slate); }
.btn--light:hover { background: var(--wash); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.06em 1.9em; font-size: 1.02rem; }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { border-color: var(--slate); gap: .75em; }
.section--dark .link-arrow { color: #fff; border-color: rgba(255,255,255,.35); }

/* --------------------------------------------------------------------------
   Top announcement bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--slate);
  color: rgba(255,255,255,.86);
  font-size: 0.83rem;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 9px var(--gutter);
}
.topbar strong { color: #fff; font-weight: 600; }
.topbar .topbar__tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-2);
  margin-right: .55em;
}
.topbar a { border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 1px; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled { border-color: var(--line); }
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 15px var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: baseline; gap: .5em; }
.brand__mark { width: 26px; height: 26px; flex: none; align-self: center; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.48rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__by {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  align-self: center;
}
.nav__links { display: flex; align-items: center; gap: 30px; margin-inline: auto; }
.nav__link {
  font-size: 0.96rem; font-weight: 500; color: var(--body);
  transition: color .2s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__signin { font-size: 0.96rem; font-weight: 600; color: var(--ink); }
.nav__signin:hover { color: var(--slate-2); }
.nav__toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; }
.nav__toggle svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); text-align: center; position: relative; }
.hero::after {
  /* soft eucalyptus wash behind the fold, echoing Qoves' subtle tints */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% -6%, rgba(205,219,225,.5), rgba(205,219,225,0) 70%),
    radial-gradient(46% 40% at 82% 8%, rgba(209,235,242,.35), rgba(209,235,242,0) 72%);
  pointer-events: none;
}
.hero__trust {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 26px;
  font-size: 0.9rem; color: var(--muted);
}
.hero__avatars { display: inline-flex; }
.hero__avatars span {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid #fff; margin-left: -8px;
  background-size: cover; background-position: center;
}
.hero__avatars span:first-child { margin-left: 0; }
.hero__title {
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  max-width: 15ch; margin-inline: auto;
}
.hero__sub {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  color: var(--muted);
  max-width: 60ch; margin: 26px auto 0;
  line-height: 1.55;
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero__note { margin-top: 16px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

/* --------------------------------------------------------------------------
   Avatar stage (interactive centerpiece)
   -------------------------------------------------------------------------- */
.stage { margin-top: clamp(24px, 3.5vw, 44px); }
.stage__frame {
  position: relative;
  max-width: 940px; margin-inline: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #223037 0%, #1a262b 100%);
  border: 1px solid rgba(35,49,55,.9);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
@media (max-width: 640px) { .stage__frame { aspect-ratio: 4 / 5; } }

/* idle Cleopatra loop — base layer */
.stage__idle {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity .6s var(--ease);
}
.stage.is-live .stage__idle { opacity: 0; }

/* live stream — fades in above the idle loop once connected */
.stage__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.stage.is-live .stage__video { opacity: 1; }

/* brand + status bar across the top of the frame */
.stage__topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 18px 20px 46px;
  background: linear-gradient(180deg, rgba(11,19,21,.62), rgba(11,19,21,0));
  pointer-events: none;
}
.stage__logo {
  width: 82px; height: auto; flex: none;
  opacity: .92;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.45));
}
.stage__intro { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.stage.is-live .stage__intro,
.stage.is-connecting .stage__intro { display: none; }
.stage__intro-eyebrow {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sage-2);
}
.stage__intro-title {
  font-family: var(--font-display); font-weight: 360; font-size: 1.65rem;
  color: #fff; line-height: 1.1;
}

/* connecting shimmer */
.stage__connecting {
  position: absolute; inset: 0; z-index: 3;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(180deg, #223037, #16211f);
  color: #fff;
}
.stage.is-connecting .stage__connecting { display: flex; }
.spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.18); border-top-color: var(--sage-2);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.stage__connecting p { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-2); }

/* live badge (sits top-right, opposite the logo) */
.stage__badge {
  display: none; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: var(--pill);
  background: rgba(11,19,21,.55); backdrop-filter: blur(8px);
  color: #fff; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
}
.stage.is-live .stage__badge { display: inline-flex; }
.stage__dot { width: 8px; height: 8px; border-radius: 50%; background: #58e08a; box-shadow: 0 0 0 0 rgba(88,224,138,.6); animation: live 1.8s infinite; }
@keyframes live { 0%{box-shadow:0 0 0 0 rgba(88,224,138,.55)} 70%{box-shadow:0 0 0 7px rgba(88,224,138,0)} 100%{box-shadow:0 0 0 0 rgba(88,224,138,0)} }

/* bottom control bar */
.stage__controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px;
  background: linear-gradient(0deg, rgba(11,19,21,.62), rgba(11,19,21,0));
}
.langbar { display: flex; gap: 8px; flex-wrap: wrap; }
.lang-chip {
  padding: 7px 13px; border-radius: var(--pill);
  background: rgba(255,255,255,.1); color: #fff;
  font-size: 0.82rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.16);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.lang-chip:hover { background: rgba(255,255,255,.18); }
.lang-chip.is-active { background: #fff; color: var(--slate); border-color: #fff; }
.stage__action { display: flex; align-items: center; gap: 10px; }
.stage__hint { color: rgba(255,255,255,.66); font-size: .8rem; display: none; }
.stage.is-live .stage__hint { display: inline; }
.btn--end { --btn-bg: rgba(255,255,255,.12); --btn-fg:#fff; border:1px solid rgba(255,255,255,.24); display: none; }
.stage.is-live .btn--end { display: inline-flex; }
.stage.is-live .stage__start { display: none; }
.stage.is-connecting .langbar,
.stage.is-connecting .stage__start { opacity: .5; pointer-events: none; }

.stage__error {
  max-width: 940px; margin: 14px auto 0; text-align: center;
  font-size: .88rem; color: var(--muted);
}
.stage__error a { color: var(--slate); border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Language marquee (replaces fabricated "as seen in" logos)
   -------------------------------------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 30px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__eyebrow { text-align: center; margin-bottom: 24px; }
.marquee__track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: 1.55rem;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: .5em;
}
.marquee__item span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; color: var(--sage-3); align-self: center; }

/* --------------------------------------------------------------------------
   Steps (how it works)
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.step {
  padding: 34px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.step__num {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em;
  color: var(--sage-4); display: block; margin-bottom: 22px;
}
.step__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--wash); color: var(--slate);
}
.step__icon svg { width: 24px; height: 24px; }
.step__title { font-family: var(--font-display); font-weight: 380; font-size: 1.42rem; color: var(--ink); line-height: 1.15; }
.step__body { margin-top: 12px; color: var(--muted); font-size: 1rem; }

/* --------------------------------------------------------------------------
   Feedback panel (Qoves' signature sage percentile bars)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split--reverse .split__media { order: -1; }

.feedback__panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px;
}
.section--dark .feedback__panel { background: #1c282d; border-color: rgba(255,255,255,.1); }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.panel__title { font-family: var(--font-sans); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.section--dark .panel__title { color: #fff; }
.panel__score { font-family: var(--font-display); font-weight: 340; font-size: 2.4rem; color: var(--slate); line-height: 1; }
.section--dark .panel__score { color: var(--sage-2); }
.panel__score small { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); display: block; margin-bottom: 6px; }

.skill { margin-bottom: 20px; }
.skill:last-child { margin-bottom: 0; }
.skill__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.skill__label { font-size: .92rem; font-weight: 500; color: var(--body); }
.section--dark .skill__label { color: rgba(255,255,255,.8); }
.skill__val { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); }
.skill__track { height: 8px; border-radius: var(--pill); background: var(--wash); overflow: hidden; }
.section--dark .skill__track { background: rgba(255,255,255,.08); }
.skill__fill {
  height: 100%; border-radius: var(--pill);
  width: 0;
  background: linear-gradient(90deg, var(--sage-5), var(--sage-4));
  transition: width 1.3s var(--ease);
}
.skill__fill--2 { background: linear-gradient(90deg, var(--sage-4), var(--sage-3)); }
.skill__caption { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: .86rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.section--dark .skill__caption { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.skill__caption svg { width: 18px; height: 18px; flex: none; color: var(--sage-4); margin-top: 1px; }

.feature-list { margin-top: 30px; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fi {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  display: grid; place-items: center; background: var(--wash); color: var(--slate);
}
.section--dark .feature-list .fi { background: rgba(255,255,255,.08); color: var(--sage-2); }
.feature-list .fi svg { width: 17px; height: 17px; }
.feature-list b { color: var(--ink); font-weight: 600; }
.section--dark .feature-list b { color: #fff; }
.feature-list p { font-size: .98rem; color: var(--muted); margin-top: 2px; }

/* --------------------------------------------------------------------------
   Scenarios grid (Qoves' "160+ tests" analog)
   -------------------------------------------------------------------------- */
.scenarios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.scenario {
  padding: 22px 20px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.scenario:hover { transform: translateY(-3px); border-color: var(--sage-3); background: var(--paper-3); }
.scenario__emoji { font-size: 1.4rem; }
.scenario__title { margin-top: 14px; font-weight: 600; color: var(--ink); font-size: 1rem; }
.scenario__meta { margin-top: 5px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: var(--faint); text-transform: uppercase; }
.scenarios__more { text-align: center; margin-top: 40px; }

/* --------------------------------------------------------------------------
   Quotes / testimonials
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.quote {
  padding: 32px 30px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.quote__mark { font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--sage-2); }
.quote__text { margin-top: 14px; font-size: 1.06rem; color: var(--ink); line-height: 1.5; flex: 1; }
.quote__author { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--wash); display: grid; place-items: center; font-family: var(--font-display); color: var(--slate); font-size: 1.1rem; }
.quote__name { font-weight: 600; color: var(--ink); font-size: .95rem; }
.quote__role { font-size: .82rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  padding: 34px 30px; border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line);
}
.plan--featured { background: var(--slate); border-color: var(--slate); color: rgba(255,255,255,.8); box-shadow: var(--shadow-lg); }
.plan__tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-4); }
.plan--featured .plan__tag { color: var(--sage-2); }
.plan__name { font-family: var(--font-display); font-weight: 360; font-size: 1.6rem; color: var(--ink); margin-top: 10px; }
.plan--featured .plan__name { color: #fff; }
.plan__price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-family: var(--font-display); font-weight: 340; font-size: 3rem; color: var(--ink); line-height: 1; }
.plan--featured .plan__price b { color: #fff; }
.plan__price span { color: var(--muted); font-size: .92rem; }
.plan--featured .plan__price span { color: var(--sage-2); }
.plan__desc { margin-top: 14px; font-size: .96rem; color: var(--muted); min-height: 46px; }
.plan--featured .plan__desc { color: rgba(255,255,255,.7); }
.plan__features { margin-top: 22px; display: grid; gap: 12px; flex: 1; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--body); }
.plan--featured .plan__features li { color: rgba(255,255,255,.82); }
.plan__features svg { width: 18px; height: 18px; flex: none; color: var(--sage-4); margin-top: 2px; }
.plan--featured .plan__features svg { color: var(--sage-2); }
.plan .btn { margin-top: 28px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 780px; margin: 56px auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px;
  font-family: var(--font-display); font-weight: 380; font-size: 1.24rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 24px; height: 24px; position: relative; transition: transform .3s var(--ease); color: var(--sage-4); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__body { padding: 0 4px 28px; color: var(--muted); font-size: 1.03rem; max-width: 64ch; }

/* --------------------------------------------------------------------------
   Final CTA band
   -------------------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .display { max-width: 18ch; margin-inline: auto; }
.cta-band .btn { margin-top: 34px; }
.cta-band__sub { color: rgba(255,255,255,.62); margin-top: 18px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: 64px 40px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; }
.footer__brandcol p { margin-top: 16px; color: var(--muted); font-size: .95rem; max-width: 32ch; }
.footer__coltitle { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { color: var(--body); font-size: .95rem; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  color: var(--faint); font-size: .85rem;
}
.footer__social { display: flex; gap: 16px; }
.footer__social a { color: var(--muted); }
.footer__social a:hover { color: var(--ink); }
.footer__social svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .stage__ring::before, .stage__dot, .spinner { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .steps, .scenarios, .quotes, .pricing { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .nav__signin { display: none; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 22px; margin: 0;
  }
  .nav.is-open .nav__links .nav__link { padding: 10px 0; width: 100%; font-size: 1.05rem; }
  .steps, .scenarios, .quotes, .pricing { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .stage__controls { flex-direction: column; align-items: stretch; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
