/* ==========================================================================
   GenieStudio — styles (mobile-first)
   Palette: deep midnight, lamp gold, parchment ink. Display: Fraunces. Body: DM Sans.
   ========================================================================== */

:root {
  --bg: #0A0820;
  --bg-2: #120E33;
  --bg-3: #1B1550;
  --indigo: #2A1F7A;
  --violet: #6A4CFF;
  --gold: #F0B44A;
  --gold-2: #FFD98A;
  --gold-3: #C98A1E;
  --ember: #F26B4E;
  --mint: #7EE0C8;
  --ink: #F4ECD8;
  --ink-2: #D9D0BC;
  --ink-3: #A99FCF;
  --line: rgba(244, 236, 216, .10);
  --line-2: rgba(244, 236, 216, .20);
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: 20px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --nav-h: 64px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-gold: 0 14px 40px -14px rgba(240, 180, 74, .7);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
svg:not(.brand-mark) { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
main { position: relative; z-index: 1; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--bg); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Atmosphere ---------- */
.aurora { position: fixed; inset: -20%; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; will-change: transform; }
.aurora i:nth-child(1) { width: 70vmax; height: 70vmax; left: -15%; top: -25%; background: radial-gradient(circle at 40% 40%, rgba(106,76,255,.75), transparent 60%); }
.aurora i:nth-child(2) { width: 55vmax; height: 55vmax; right: -20%; top: -10%; background: radial-gradient(circle, rgba(240,180,74,.5), rgba(242,107,78,.22) 45%, transparent 66%); }
.aurora i:nth-child(3) { width: 50vmax; height: 50vmax; left: 15%; bottom: -35%; background: radial-gradient(circle, rgba(126,224,200,.3), transparent 60%); }
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scroll-progress { position: fixed; left: 0; top: 0; height: 2px; width: 0; z-index: 60; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.022em;
  font-variation-settings: "opsz" 144, "SOFT" 40; color: var(--ink); text-wrap: balance;
}
.h1 { font-size: clamp(2.7rem, 11vw, 5.4rem); }
.h2 { font-size: clamp(2rem, 7vw, 3.5rem); margin-bottom: 16px; }
h3 { font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 34em; margin-top: 20px; }
.section-lede { font-size: 1.05rem; color: var(--ink-3); max-width: 36em; }
.section-lede a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.fineprint { font-size: .88rem; color: var(--ink-3); margin-top: 14px; }
.fineprint a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.fineprint.center { text-align: center; margin-top: 28px; }

/* headline lines rise out of a mask on load */
.h1 .line { display: block; overflow: hidden; }
.h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease-out) forwards; }
.h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.shimmer {
  background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 30%, #FFF1C9 50%, var(--gold) 70%, var(--gold-3) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1s var(--ease-out) .12s forwards, shine 7s linear 1.2s infinite;
}
@keyframes shine { from { background-position: 0% 0; } to { background-position: 220% 0; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1; white-space: nowrap; overflow: hidden;
  transition: transform .3s var(--ease), background .25s, border-color .25s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; stroke-width: 2; }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: .9rem; }
.btn-lg { min-height: 50px; padding: 14px 24px; font-size: 1.02rem; }
.btn-xl { min-height: 56px; padding: 16px 28px; font-size: 1.06rem; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, #E9A63A); color: #2A1B05;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn-gold::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; left: -30%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg) translateX(-120%); transition: transform .7s var(--ease);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -16px rgba(240,180,74,.85), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover::after { transform: skewX(-20deg) translateX(520%); }
.btn-ghost { background: var(--glass); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--glass-2); border-color: rgba(244,236,216,.4); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: .78rem; font-weight: 500; color: var(--ink-3); background: var(--glass); border: 1px solid var(--line); }
.pill svg { width: 13px; height: 13px; stroke-width: 2.5; }
.pill-ok { color: var(--mint); border-color: rgba(126,224,200,.35); background: rgba(126,224,200,.08); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; transition: background .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.menu-open { background: rgba(10, 8, 32, .78); -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand-mark { width: 26px; height: 26px; color: var(--gold); stroke: var(--gold); }
.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { display: none; } /* phones use the sticky bar and the menu instead */
.nav-signin { display: none; font-weight: 500; color: var(--ink-2); padding: 8px 6px; }
.nav-signin:hover { color: var(--ink); }
.nav-toggle { width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 12px; display: grid; place-items: center; background: var(--glass); }
.nav-toggle svg { width: 20px; height: 20px; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease); }
.nav-toggle .ic-x { opacity: 0; transform: rotate(-90deg) scale(.6); }
.nav.menu-open .ic-menu { opacity: 0; transform: rotate(90deg) scale(.6); }
.nav.menu-open .ic-x { opacity: 1; transform: none; }

.sheet {
  position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; background: rgba(10,8,32,.97);
  padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
}
.nav.menu-open .sheet { opacity: 1; transform: none; pointer-events: auto; }
.sheet-links { display: grid; }
.sheet-links a { font-family: var(--font-display); font-size: 1.7rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sheet-actions { display: grid; gap: 10px; }
.sheet-actions .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 44px) 0 40px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; position: relative; z-index: 2; }
.cta-row { display: grid; gap: 10px; margin-top: 30px; }
.cta-row.center { justify-items: center; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: .9rem; color: var(--ink-3); }
.assure li { display: inline-flex; align-items: center; gap: 6px; }
.assure svg { width: 14px; height: 14px; color: var(--mint); stroke-width: 2.5; }

.hero-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.frame {
  position: absolute; width: 96px; aspect-ratio: 16 / 9; border-radius: 6px; display: none;
  border: 1px solid var(--line-2); background: linear-gradient(135deg, rgba(244,236,216,.08), rgba(244,236,216,.02));
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.6); opacity: .6; will-change: transform;
}
.frame::before, .frame::after { content: ""; position: absolute; left: 6px; right: 6px; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(244,236,216,.35) 0 5px, transparent 5px 11px); }
.frame::before { top: 5px; } .frame::after { bottom: 5px; }
.f1 { left: 4%; top: 14%; rotate: -8deg; }
.f2 { left: 44%; top: 88%; width: 72px; rotate: 6deg; }
.f3 { right: 3%; top: 58%; width: 120px; rotate: 10deg; opacity: .45; }

/* ---------- The Studio (hero demo) ---------- */
.studio-wrap { position: relative; perspective: 1400px; min-width: 0; }
.studio, .studio > *, .preview > *, .preview-meta > *, .scene, .screen { min-width: 0; }
.screen, .reel { width: 100%; }
.studio-shadow { position: absolute; inset: 12% -4% -6%; background: radial-gradient(60% 50% at 50% 60%, rgba(106,76,255,.35), transparent 70%); filter: blur(30px); z-index: 0; }
.studio {
  position: relative; z-index: 1; border-radius: var(--r-lg); padding: 14px;
  background: linear-gradient(160deg, rgba(38,29,107,.72), rgba(18,14,51,.9));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08);
  display: grid; gap: 12px; transform-style: preserve-3d; will-change: transform; transition: transform .2s ease-out;
}
.studio::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(135deg, rgba(240,180,74,.55), transparent 35%, transparent 65%, rgba(126,224,200,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .35; transition: opacity .6s;
}
.studio.working::before, .studio.ready::before { opacity: 1; }
.studio-bar { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--ink-3); padding: 0 4px; }
.studio-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); opacity: .6; }
.studio.working .studio-dot { background: var(--gold); opacity: 1; box-shadow: 0 0 0 4px rgba(240,180,74,.18); animation: pulse 1s ease-in-out infinite; }
.studio.ready .studio-dot { background: var(--mint); opacity: 1; }
.studio-name { font-weight: 600; color: var(--ink-2); }
.studio-status { margin-left: auto; font-variant-numeric: tabular-nums; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(240,180,74,.05); } }

.prompt { background: rgba(10,8,32,.55); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; min-height: 92px; }
.prompt-text { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.32; font-weight: 400; color: var(--ink); }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--gold); margin-left: 3px; vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
.studio.working .caret, .studio.ready .caret { display: none; }
@keyframes blink { 50% { opacity: 0; } }

.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seg { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px; font-size: .8rem; color: var(--ink-2); background: var(--glass-2); border: 1px solid var(--line); }
.seg svg { width: 14px; height: 14px; color: var(--gold); }
.seg b { font-weight: 600; }
.make-btn { margin-left: auto; min-height: 38px; padding: 8px 16px; font-size: .9rem; transition: transform .25s var(--ease), opacity .3s; }
.studio.working .make-btn, .studio.ready .make-btn { opacity: .4; }
.make-btn.pressed { transform: scale(.94); }

.stepper { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; padding: 6px 0 2px; }
.stepper::before { content: ""; position: absolute; left: 10%; right: 10%; top: 13px; height: 1px; background: var(--line-2); }
.stepper li { position: relative; display: grid; justify-items: center; gap: 6px; font-size: .68rem; color: var(--ink-3); text-align: center; }
.stepper i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; transition: all .35s; }
.stepper i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: transparent; transition: background .3s; }
.stepper li.active { color: var(--ink); }
.stepper li.active i { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(240,180,74,.18); animation: pulse 1s ease-in-out infinite; }
.stepper li.active i::after { background: var(--gold); }
.stepper li.done { color: var(--ink-2); }
.stepper li.done i { background: var(--mint); border-color: var(--mint); }
.stepper li.done i::after { width: 7px; height: 4px; border-radius: 0; background: none; border-left: 1.5px solid var(--bg); border-bottom: 1.5px solid var(--bg); transform: rotate(-45deg) translate(1px, -1px); }
.studio.ready .stepper { display: none; }

.preview { display: none; gap: 10px; opacity: 0; transform: translateY(12px) scale(.985); filter: blur(6px); }
.studio.ready .preview { display: grid; animation: materialize .9s var(--ease-out) forwards; }
@keyframes materialize { to { opacity: 1; transform: none; filter: blur(0); } }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: #0B0820; }
.kb { position: absolute; inset: -8%; background: var(--scene, radial-gradient(90% 80% at 80% 20%, rgba(242,107,78,.5), transparent 55%), radial-gradient(70% 90% at 10% 90%, rgba(58,44,143,.95), transparent 60%), linear-gradient(160deg, #2B1B3F, #0F0B26)); animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, 2%); } }
.vignette { position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 40%, transparent 50%, rgba(5,4,16,.7)); }
.ov-title { position: absolute; left: 6%; top: 11%; }
.ov-title small { display: block; font-size: .7rem; color: var(--gold); margin-bottom: 2px; }
.ov-title strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 4.5vw, 1.6rem); line-height: 1.05; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.ov-lower { position: absolute; left: 6%; bottom: 30%; padding: 4px 9px; font-size: .68rem; font-weight: 600; color: var(--bg); background: var(--ink); border-radius: 4px; }
.ov-caption { position: absolute; left: 5%; right: 5%; bottom: 10%; text-align: center; font-weight: 700; font-size: clamp(.86rem, 3.6vw, 1.15rem); line-height: 1.3; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.ov-caption .w { opacity: .5; transition: opacity .12s; }
.ov-caption .w.on { opacity: 1; color: var(--bg); background: var(--gold); border-radius: 4px; padding: 0 .25em; }
.ov-caption .w.past { opacity: 1; }
.ov-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(244,236,216,.15); }
.ov-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s linear; }

.reel { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 6px; border-radius: 10px; background: rgba(10,8,32,.6); border: 1px solid var(--line); }
.scene { aspect-ratio: 16 / 10; border-radius: 4px; background: var(--scene, #1B1550); border: 1px solid rgba(244,236,216,.06); opacity: 0; transform: translateY(6px); }
.studio.ready .scene { animation: pop .5s var(--ease-out) forwards; }
.studio.ready .scene:nth-child(2) { animation-delay: .2s; } .studio.ready .scene:nth-child(3) { animation-delay: .28s; } .studio.ready .scene:nth-child(4) { animation-delay: .36s; }
.studio.ready .scene:nth-child(5) { animation-delay: .44s; } .studio.ready .scene:nth-child(6) { animation-delay: .52s; } .studio.ready .scene:nth-child(7) { animation-delay: .6s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.playhead { position: absolute; top: 2px; bottom: 2px; left: 6px; width: 2px; background: var(--gold); box-shadow: 0 0 10px rgba(240,180,74,.8); z-index: 2; transition: left .3s linear; }
.preview-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.preview-meta strong { font-family: var(--font-display); font-weight: 500; font-size: .98rem; line-height: 1.25; }

/* ---------- Formats marquee ---------- */
.formats { padding: 12px 0 0; border-block: 1px solid var(--line); background: rgba(6,5,20,.55); }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; padding: 6px 0 18px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.fmt { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: .86rem; white-space: nowrap; }
.fmt b { font-weight: 600; color: var(--ink-2); }
.fmt i { font-style: normal; color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- Section rhythm ---------- */
.make, .how, .inside, .structure, .voices, .for, .compare, .pricing, .faq { padding: 72px 0; }
.final { padding: 88px 0 100px; }

/* ---------- Filmstrip ---------- */
.filmstrip { margin-top: 32px; padding: 14px 0; position: relative; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; background: rgba(6,5,20,.6); border-block: 1px solid var(--line); }
.filmstrip::-webkit-scrollbar { display: none; }
.filmstrip::before, .filmstrip::after { content: ""; position: sticky; left: 0; display: block; height: 10px; z-index: 2; background: repeating-linear-gradient(90deg, rgba(244,236,216,.5) 0 14px, transparent 14px 34px); opacity: .3; }
.film { display: flex; gap: 12px; padding: 14px var(--gutter); width: max-content; will-change: transform; }
.cell {
  width: 236px; flex: none; aspect-ratio: 16 / 10; border-radius: 12px; padding: 16px; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; position: relative; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-c);
  transition: transform .4s var(--ease), border-color .3s;
}
.cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,32,0) 30%, rgba(10,8,32,.88)); }
.cell > * { position: relative; z-index: 1; }
.cell:hover { transform: translateY(-4px); border-color: var(--line-2); }
.cell-ic { position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; color: var(--ink); opacity: .9; }
.cell h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.cell p { font-size: .84rem; color: var(--ink-2); }
.dur { position: absolute; top: 14px; right: 14px; font-size: .74rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(10,8,32,.7); border: 1px solid var(--line); color: var(--ink-2); }
.c1 { --bg-c: radial-gradient(120% 100% at 100% 0%, #8A2E3A, #2A1233 60%, #120E33); }
.c2 { --bg-c: radial-gradient(120% 100% at 0% 0%, #2E5C8A, #16264D 60%, #120E33); }
.c3 { --bg-c: radial-gradient(120% 100% at 100% 100%, #2F8A72, #133E4A 60%, #120E33); }
.c4 { --bg-c: radial-gradient(120% 100% at 0% 100%, #9A7A2A, #4A3313 60%, #120E33); }
.c5 { --bg-c: radial-gradient(120% 100% at 50% 0%, #7A3A9A, #2E1A4A 60%, #120E33); }
.c6 { --bg-c: radial-gradient(120% 100% at 100% 0%, #2A7A9A, #163B4A 60%, #120E33); }
.c7 { --bg-c: radial-gradient(120% 100% at 0% 0%, #4A3A9A, #1B1550 60%, #120E33); }
.c8 { --bg-c: radial-gradient(120% 100% at 100% 100%, #9A4A2A, #4A2313 60%, #120E33); }

/* ---------- How it works ---------- */
.steps { margin-top: 36px; display: grid; gap: 26px; }
.step { position: relative; padding-left: 66px; }
.step-n { position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--bg); background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: var(--shadow-gold); }
.step-n svg { width: 22px; height: 22px; color: #2A1B05; }
.step-n b { position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); color: var(--gold-2); font-size: .72rem; display: grid; place-items: center; border: 1px solid var(--line-2); }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 6px; }
.step p { color: var(--ink-3); font-size: .95rem; }

/* ---------- Inside ---------- */
.inside { background: linear-gradient(180deg, transparent, rgba(27,21,80,.45) 50%, transparent); }
.inside-grid { display: grid; gap: 36px; align-items: center; }
.anatomy { margin-top: 28px; display: grid; border-top: 1px solid var(--line); }
.anatomy li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.anatomy svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.anatomy strong { display: block; font-weight: 600; font-size: 1rem; }
.anatomy span { color: var(--ink-3); font-size: .92rem; }

.mock { position: relative; margin-bottom: 18px; }
.mock-scene { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; border: 1px solid var(--line-2); border-bottom: 0; box-shadow: 0 50px 120px -50px rgba(0,0,0,.9); background: #0F0B26; }
.mock-kb { position: absolute; inset: -8%; background: radial-gradient(90% 80% at 80% 20%, rgba(242,107,78,.45), transparent 55%), radial-gradient(70% 90% at 10% 90%, rgba(58,44,143,.9), transparent 60%), linear-gradient(160deg, #2B1B3F, #0F0B26); animation: kenburns 16s ease-in-out infinite alternate; }
.mock-grain { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 3px 3px; }
.mock-title { position: absolute; left: 6%; top: 12%; }
.mock-title small { display: block; font-size: .78rem; color: var(--gold); margin-bottom: 4px; }
.mock-title strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 6vw, 2.1rem); line-height: 1.05; }
.mock-lower { position: absolute; left: 6%; bottom: 36%; padding: 6px 12px; font-size: .78rem; font-weight: 600; color: var(--bg); background: var(--ink); border-radius: 4px; }
.mock-caption { position: absolute; left: 6%; right: 6%; bottom: 9%; font-weight: 700; font-size: clamp(1rem, 4.5vw, 1.35rem); text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.mock-caption mark { background: var(--gold); color: var(--bg); padding: 0 .3em; border-radius: 4px; }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #0B0820; border: 1px solid var(--line-2); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.mock-play { width: 16px; height: 16px; color: var(--ink); flex: none; }
.mock-track { flex: 1; height: 4px; border-radius: 2px; background: rgba(244,236,216,.15); position: relative; overflow: hidden; }
.mock-track span { position: absolute; left: 0; top: 0; bottom: 0; width: 53%; background: var(--gold); }
.mock-track::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; left: 20%; background: var(--ink); opacity: .5; box-shadow: 40% 0 0 var(--ink), 66% 0 0 var(--ink); }
.mock-time { font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.co { position: absolute; z-index: 2; font-size: .72rem; font-weight: 600; color: var(--bg); background: var(--gold-2); padding: 4px 9px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 20px -8px rgba(240,180,74,.9); pointer-events: none; }
.co-1 { top: 12%; right: 6%; }
.co-2 { left: 6%; bottom: 36%; translate: 0 calc(-100% - 8px); }
.co-3 { right: 6%; bottom: calc(9% + 52px); }
.co-4 { left: 22%; bottom: 0; translate: -50% 50%; }

/* ---------- Structure timeline ---------- */
.timeline-scroll { margin-top: 36px; overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); }
.timeline-scroll::-webkit-scrollbar { display: none; }
.timeline { min-width: 760px; }
.tl-bar { display: flex; gap: 3px; height: 14px; }
.tl-seg { flex: 0 0 var(--w); border-radius: 4px; background: var(--c); position: relative; overflow: hidden; }
.tl-seg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); transform: translateX(-100%); animation: sweep 6s ease-in-out infinite; animation-delay: var(--sd, 0s); }
@keyframes sweep { 30%, 100% { transform: translateX(100%); } }
.s1 { --c: var(--gold); --sd: 0s; } .s2 { --c: #E9A63A; --sd: .4s; } .s3 { --c: #6A4CFF; --sd: .8s; } .s4 { --c: #5A3FE0; --sd: 1.2s; } .s5 { --c: var(--ember); --sd: 1.6s; } .s6 { --c: var(--gold); --sd: 2s; } .s7 { --c: var(--mint); --sd: 2.4s; }
.tl-labels { display: flex; gap: 3px; margin-top: 12px; }
.tl-labels li { flex: 0 0 var(--w); padding: 0 6px 0 0; display: grid; gap: 1px; font-size: .78rem; border-left: 1px solid var(--line-2); padding-left: 8px; min-width: 0; }
.tl-labels b { font-weight: 600; color: var(--ink); }
.tl-labels time { color: var(--gold); font-variant-numeric: tabular-nums; font-size: .74rem; }
.tl-labels span { color: var(--ink-3); line-height: 1.3; }
.principles { margin-top: 36px; display: grid; gap: 12px; }
.principles li { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; padding: 16px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); }
.principles svg { width: 22px; height: 22px; color: var(--gold); grid-row: span 2; }
.principles strong { font-weight: 600; }
.principles span { color: var(--ink-3); font-size: .92rem; }

/* ---------- Voices ---------- */
.voice-grid { margin-top: 32px; display: grid; gap: 12px; }
.voice { padding: 16px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); display: grid; gap: 14px; transition: border-color .3s, transform .3s var(--ease); }
.voice:hover { border-color: var(--line-2); transform: translateY(-2px); }
.voice-top { display: flex; align-items: center; gap: 12px; }
.voice-top strong { display: block; font-weight: 600; }
.voice-top span { display: block; font-size: .84rem; color: var(--ink-3); }
.avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: var(--bg); background: var(--av); flex: none; }
.avatar svg { width: 18px; height: 18px; color: var(--bg); }
.a1 { --av: linear-gradient(135deg, #FFD98A, #F0B44A); } .a2 { --av: linear-gradient(135deg, #B9A6FF, #6A4CFF); } .a3 { --av: linear-gradient(135deg, #FFB39E, #F26B4E); }
.a4 { --av: linear-gradient(135deg, #A7F0DE, #4EC9A8); } .a5 { --av: linear-gradient(135deg, #F4ECD8, #C9BFA8); } .a6 { --av: linear-gradient(135deg, #FFD98A, #F26B4E); }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; }
.wave i { flex: 1; height: var(--h, 30%); border-radius: 2px; background: var(--ink-3); opacity: .55; transform-origin: center; }
.voice:hover .wave i { animation: wave 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * 45ms); background: var(--gold); opacity: .9; }
@keyframes wave { 50% { transform: scaleY(.35); } }
.voice-you { border-style: dashed; border-color: rgba(240,180,74,.4); }

/* ---------- Personas ---------- */
.persona-grid { margin-top: 32px; display: grid; gap: 12px; }
.persona { position: relative; padding: 22px 20px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); overflow: hidden; }
.persona::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 240px at var(--mx, 50%) var(--my, 0%), rgba(240,180,74,.14), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.persona:hover::before { opacity: 1; }
.persona svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 14px; }
.persona h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin-bottom: 8px; }
.persona p { color: var(--ink-3); font-size: .95rem; }

/* ---------- Compare ---------- */
.table-wrap { margin-top: 32px; overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(27,21,80,.35); }
.cmp { width: 100%; border-collapse: collapse; font-size: .88rem; }
.cmp th, .cmp td { padding: 12px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--ink-2); }
.cmp tbody th { font-weight: 500; color: var(--ink); width: 34%; }
.cmp td { color: var(--ink-3); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .hl { background: rgba(240,180,74,.08); color: var(--ink); font-weight: 600; }
.cmp thead .hl { color: var(--gold-2); }
.cmp thead th:nth-child(3), .cmp tbody td:nth-child(3) { display: none; }

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, transparent, rgba(14,11,41,.7)); }
.toggle { margin-top: 26px; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); }
.toggle button { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s; }
.toggle button span { font-size: .72rem; font-weight: 600; color: var(--bg); background: var(--mint); padding: 2px 7px; border-radius: 999px; }
.toggle button.on { background: var(--ink); color: var(--bg); }
.plans { margin-top: 28px; display: grid; gap: 14px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 22px; border-radius: var(--r-lg);
  background: rgba(27,21,80,.45); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.plan::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 300px at var(--mx, 50%) var(--my, 0%), rgba(240,180,74,.12), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.plan:hover { border-color: var(--line-2); }
.plan:hover::before { opacity: 1; }
.plan > * { position: relative; }
.plan h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.price { font-family: var(--font-display); font-weight: 500; font-size: 3rem; line-height: 1; letter-spacing: -0.03em; display: flex; align-items: baseline; }
.price sup { font-size: 1.2rem; align-self: flex-start; margin-top: .35em; margin-right: 2px; color: var(--ink-2); }
.price .amount { min-width: 2ch; }
.price .per { font-family: var(--font-body); font-size: .95rem; color: var(--ink-3); letter-spacing: 0; margin-left: 6px; }
.plan-for { color: var(--ink-3); font-size: .95rem; margin-top: -4px; }
.plan ul { display: grid; gap: 9px; margin: 6px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); flex: 1; }
.plan li { position: relative; padding-left: 24px; font-size: .95rem; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan-featured { background: linear-gradient(170deg, rgba(58,44,143,.75), rgba(27,21,80,.9)); border-color: rgba(240,180,74,.5); box-shadow: 0 40px 100px -50px rgba(240,180,74,.5); }
.plan-tag { align-self: flex-start; font-size: .76rem; font-weight: 600; color: var(--bg); background: var(--gold); padding: 5px 11px; border-radius: 999px; margin-bottom: -2px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; margin-top: -7px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; color: var(--ink-3); max-width: 60ch; }
.faq details p a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.faq details[open] p { animation: fadeDown .35s var(--ease-out); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Final ---------- */
.final { position: relative; overflow: hidden; text-align: center; }
.final-glow { position: absolute; left: 50%; top: 45%; width: 900px; height: 900px; translate: -50% -50%; background: radial-gradient(circle, rgba(240,180,74,.3), rgba(242,107,78,.12) 35%, transparent 65%); filter: blur(30px); pointer-events: none; will-change: transform; }
.final-inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.final-mark { width: 40px; height: 40px; color: var(--gold); stroke: var(--gold); margin-bottom: 18px; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.85) rotate(12deg); opacity: .75; } }
.final .section-lede { text-align: center; }
.final .cta-row { width: 100%; max-width: 420px; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; padding: 44px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #07051A; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand p { color: var(--ink-3); font-size: .92rem; margin-top: 10px; }
.footer-col { display: grid; gap: 8px; font-size: .92rem; color: var(--ink-3); }
.footer-col p { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-3); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px;
  border-radius: 999px; background: rgba(18,14,51,.92); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); font-size: .9rem; font-weight: 500;
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.sticky-cta.show { transform: none; }

/* ---------- Doc pages (legal, about, contact) ---------- */
.doc-page { padding: calc(var(--nav-h) + 36px) 0 72px; }
.doc-grid { display: grid; gap: 28px; }
.doc-toc { display: none; }
.doc { max-width: 72ch; min-width: 0; }
.tscroll { overflow-x: auto; margin: 8px 0 18px; -webkit-overflow-scrolling: touch; }
.doc h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 8vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; }
.doc-meta { color: var(--ink-3); font-size: .92rem; margin: 12px 0 28px; }
.doc-intro { font-size: 1.08rem; color: var(--ink-2); padding: 18px 20px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); margin-bottom: 8px; }
.doc h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.15; margin: 40px 0 12px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.doc h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.doc p { margin: 0 0 14px; }
.doc ul { padding-left: 20px; list-style: disc; margin: 0 0 14px; }
.doc ol { padding-left: 20px; list-style: decimal; margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; margin: 0; font-size: .92rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 600; }
.fill { background: rgba(240,180,74,.18); color: var(--gold-2); padding: 0 .3em; border-radius: 4px; }
.doc .callout { padding: 14px 16px; border-radius: var(--r); border: 1px solid rgba(240,180,74,.35); background: rgba(240,180,74,.07); margin: 0 0 16px; }
.contact-grid { display: grid; gap: 12px; margin: 24px 0; }
.contact-card { padding: 18px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); }
.contact-card strong { display: block; margin-bottom: 4px; }
.contact-card span { color: var(--ink-3); font-size: .92rem; }
.contact-card a { display: inline-block; margin-top: 8px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) 0 60px; }
.notfound .code { font-size: clamp(4rem, 20vw, 9rem); line-height: 1; color: var(--gold); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ==========================================================================
   Larger screens
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .nav-actions .btn { display: inline-flex; }
  .cta-row { display: flex; flex-wrap: wrap; }
  .voice-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .faq summary { font-size: 1.05rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: span 2; }
  .cmp { font-size: .95rem; }
  .cmp th, .cmp td { padding: 16px 18px; }
  .cmp thead th:nth-child(3), .cmp tbody td:nth-child(3) { display: table-cell; }
  .cmp tbody th { width: 28%; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  :root { --gutter: 40px; --nav-h: 72px; }
  body { font-size: 17px; }
  .nav-links { display: flex; gap: 26px; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
  .nav-links a { position: relative; padding: 6px 0; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-signin { display: inline-block; }
  .nav-toggle, .sheet { display: none; }
  .aurora i { filter: blur(80px); animation: drift 26s ease-in-out infinite alternate; }
  .aurora i:nth-child(2) { animation-duration: 32s; animation-direction: alternate-reverse; }
  .aurora i:nth-child(3) { animation-duration: 38s; }
  @keyframes drift { to { transform: translate(6%, 8%) scale(1.08); } }
  .frame { display: block; }
  .hero { padding: calc(var(--nav-h) + 60px) 0 80px; min-height: 100svh; display: grid; align-items: center; }
  .hero-grid { grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
  .h1 { font-size: clamp(3.4rem, 5.6vw, 5.6rem); }
  .h2 { font-size: clamp(2.4rem, 4.2vw, 3.5rem); margin-bottom: 18px; }
  .lede { font-size: 1.2rem; }
  .section-lede { font-size: 1.1rem; }
  .studio { padding: 18px; gap: 14px; }
  .prompt-text { font-size: 1.35rem; }
  .stepper li { font-size: .74rem; }
  .make, .how, .inside, .structure, .voices, .for, .compare, .pricing, .faq { padding: 110px 0; }
  .final { padding: 140px 0 150px; }
  .filmstrip { overflow: hidden; scroll-snap-type: none; }
  .filmstrip::before, .filmstrip::after { position: absolute; left: 0; right: 0; }
  .filmstrip::before { top: 3px; } .filmstrip::after { bottom: 3px; }
  .cell { width: 280px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
  .step { padding-left: 0; padding-top: 70px; }
  .inside-grid { grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 6vw, 90px); }
  .mock { margin-bottom: 0; }
  .mock-scene { aspect-ratio: 16 / 9; }
  .mock-lower { bottom: 26%; }
  .co-2 { bottom: 26%; }
  .co-3 { bottom: calc(9% + 44px); }
  .timeline-scroll { padding: 0; }
  .timeline { min-width: 0; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
  .faq-head .h2 { font-size: clamp(2.2rem, 3.4vw, 3rem); }
  .principles { grid-template-columns: repeat(4, 1fr); }
  .voice-grid { grid-template-columns: repeat(3, 1fr); }
  .persona-grid { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
  .plan { padding: 30px 28px; }
  .plan:hover { transform: translateY(-4px); }
  .plan-featured { transform: translateY(-14px); }
  .plan-featured:hover { transform: translateY(-18px); }
  .price { font-size: 3.4rem; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
  .footer-brand { grid-column: auto; }
  .sticky-cta { display: none; }
  .doc-page { padding: calc(var(--nav-h) + 56px) 0 100px; }
  .doc-grid { grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
  .doc-toc { display: block; position: sticky; top: calc(var(--nav-h) + 24px); }
  .doc-toc p { font-weight: 600; margin-bottom: 10px; font-size: .9rem; }
  .doc-toc ol { display: grid; gap: 6px; font-size: .9rem; color: var(--ink-3); border-left: 1px solid var(--line); }
  .doc-toc a { display: block; padding: 3px 0 3px 14px; margin-left: -1px; border-left: 1px solid transparent; }
  .doc-toc a:hover, .doc-toc a.on { color: var(--ink); border-left-color: var(--gold); }
}

@media (min-width: 1200px) {
  .cell { width: 300px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .preview, .scene { opacity: 1; transform: none; filter: none; }
  .h1 .line > span { transform: none; }
  .shimmer { color: var(--gold); background: none; }
  .aurora i, .frame, .final-glow, .film, .studio { transform: none !important; }
  .marquee-track { animation: none; }
}
