/* Tradfy LP v3.1 (2026-10) — styles (v3 + tours, agents, final-scene annotation, /home whale layer). Colour/type values come from tradfy-ds (tradfy-ds-tokens.css). */
:root {
  --void: var(--tf-color-surface-app-void);        /* #010403 */
  --base: var(--tf-color-surface-app-base);        /* #04100B */
  --card: var(--tf-color-surface-app-card);        /* #09130E */
  --feed: var(--tf-color-surface-app-feed);        /* #091511 */
  --line: rgba(255,255,255,.07);                   /* border.glass */
  --line-2: rgba(255,255,255,.12);                 /* border.ghost-hover */
  --t-strong: var(--tf-color-text-strong);         /* #F4F8F6 */
  --t-base: var(--tf-color-text-base);
  --t-soft: var(--tf-color-text-soft);
  --t-body: var(--tf-color-text-body);
  --t-muted: var(--tf-color-text-muted);
  --emerald: var(--tf-color-brand-emerald);        /* #00F0A6 */
  --emerald-text: var(--tf-color-brand-emerald-text);
  --teal: var(--tf-color-brand-teal);              /* #00D4E0 */
  --gold: var(--tf-color-brand-gold);
  --ocean: #06141C;                                /* LP-only: whale footage shadow tone (sampled from the hero video) */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.16,1,.3,1);            /* expo-out, used for reveals */
  --ease-io: cubic-bezier(.65,0,.35,1);
  --r-lg: 22px; --r-md: 14px; --r-sm: 10px;
  --gut: clamp(16px, 4vw, 56px);
  --maxw: 1280px;
  --glow-emerald: 0 0 36px -24px rgba(0,240,166,.45);   /* shadow.elevation4 */
  --glow-teal: 0 0 52px -28px rgba(0,212,224,.32);      /* shadow.elevation5 */
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); color-scheme: dark; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--void); color: var(--t-base); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
em { font-style: normal; background: linear-gradient(92deg, var(--emerald) 0%, #56E0D0 55%, var(--teal) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--emerald); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 6px; }
html[data-version="unrevealed"] [data-only="revealed"],
html[data-version="revealed"] [data-only="unrevealed"] { display: none !important; }

/* ---------- type ---------- */
.display { font-weight: 700; letter-spacing: -.045em; line-height: .98; color: var(--t-strong); margin: 0; font-size: clamp(44px, 7.4vw, 118px); text-wrap: balance; }
.display--lg { font-size: clamp(44px, 7vw, 112px); }
.display--md { font-size: clamp(32px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.04em; }
.display--sm { font-size: clamp(22px, 2.4vw, 36px); letter-spacing: -.03em; }
.h2 { font-size: clamp(34px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; color: var(--t-strong); margin: 0 0 18px; text-wrap: balance; }
.h3 { font-size: clamp(26px, 2.7vw, 40px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; color: var(--t-strong); margin: 0 0 14px; text-wrap: balance; }
.h4 { font-size: 21px; letter-spacing: -.02em; font-weight: 700; color: var(--t-strong); margin: 6px 0 8px; }
.lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: var(--t-soft); max-width: 40ch; margin: 22px 0 0; }
.body { color: var(--t-body); font-size: 17px; line-height: 1.65; margin: 0 0 14px; max-width: 54ch; }
.body--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--emerald); margin: 0 0 22px; }
.eyebrow--muted { color: var(--t-muted); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(0,240,166,.6); animation: ping 2.2s var(--ease-out) infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0,240,166,.55); } 70%,100% { box-shadow: 0 0 0 9px rgba(0,240,166,0); } }

/* ---------- buttons ---------- */
.btn { --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--font); letter-spacing: -.01em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .25s var(--ease-out), border-color .25s, box-shadow .35s var(--ease-out), color .25s; white-space: nowrap; }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--emerald); color: #021710; box-shadow: 0 0 0 1px rgba(0,240,166,.5), 0 10px 40px -12px rgba(0,240,166,.55); }
.btn--primary:hover { background: #3BFFC0; box-shadow: 0 0 0 1px rgba(0,240,166,.8), 0 14px 54px -10px rgba(0,240,166,.75); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--t-strong); border-color: var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.24); }
.magnetic { will-change: transform; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 var(--gut); transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(1,4,3,.62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.03em; color: var(--t-strong); text-decoration: none; }
.nav__logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--t-soft); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--t-strong); }
@media (max-width: 860px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } .nav { height: 60px; } }

/* =========================================================== HERO */
.hero { position: relative; height: 820vh; background: var(--ocean); }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1400px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--vz, 1.04)); filter: saturate(var(--vs, 1.05)) contrast(var(--vc, 1)) brightness(var(--vb, 1)); will-change: transform, filter; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: var(--gl-o, .55); mix-blend-mode: screen; }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1,4,3,calc(.6 * (1 - var(--hp, 0) * 8))) 0%, transparent 46%),
    radial-gradient(120% 80% at 50% 50%, transparent 40%, rgba(1,4,3,.55) 100%),
    linear-gradient(180deg, rgba(1,4,3,.55) 0%, transparent 18%, transparent 70%, rgba(1,4,3,.75) 100%); }
.hero__veil { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 70% at 50% 60%, rgba(4,16,11,.55), rgba(1,4,3,.94)); opacity: var(--veil, 0); }
.beat { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); max-width: var(--maxw); margin: 0 auto; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.beat--1 { top: 50%; transform: translateY(-46%); opacity: 1; visibility: visible; }
.beat--1 .display { max-width: 11ch; text-shadow: 0 2px 50px rgba(1,4,3,.55); }
.beat--1 .lead { text-shadow: 0 1px 18px rgba(1,4,3,.9); }
.beat--2 { top: 50%; transform: translateY(-50%); display: grid; gap: 6px; max-width: 980px; }
.beat--2 .display--md { text-shadow: 0 2px 40px rgba(1,4,3,.7); }
.beat__kicker { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--t-soft); margin: 0 0 10px; }
.beat__kicker--accent { color: var(--emerald); margin-top: 34px; }
.beat--3 { bottom: 14vh; text-align: left; }
.beat--3 .display--md { max-width: 18ch; text-shadow: 0 2px 40px rgba(1,4,3,.85); }
.beat--4 { top: 16vh; text-align: center; }
.beat--4 .display { text-shadow: 0 2px 40px rgba(1,4,3,.7); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero__fine { margin: 22px 0 0; font: 400 13px/1.4 var(--mono); color: var(--t-soft); opacity: .85; }
.hero__cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .2em; color: var(--t-soft); }
.hero__cue i { width: 1px; height: 38px; background: linear-gradient(var(--emerald), transparent); animation: cue 2.4s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero__progress { position: absolute; z-index: 4; right: 18px; top: 50%; height: 120px; width: 2px; transform: translateY(-50%); background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.hero__progress i { position: absolute; inset: 0; background: var(--emerald); transform-origin: top; transform: scaleY(var(--hp, 0)); }

/* --- app emerging in 3D --- */
.app3d { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: grid; grid-template-columns: minmax(260px, 330px) 1fr; align-items: center; gap: 2vw; padding: 90px var(--gut) 60px; opacity: 0; visibility: hidden; }
.app3d__chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-self: center; }
.app3d__chapters li { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; opacity: .38; transition: opacity .5s var(--ease-out), background .5s, border-color .5s; }
.app3d__chapters li .mono { grid-row: span 2; font-size: 12px; color: var(--t-muted); padding-top: 3px; }
.app3d__chapters li b { color: var(--t-strong); font-size: 16px; letter-spacing: -.01em; }
.app3d__chapters li span:last-child { color: var(--t-body); font-size: 13.5px; line-height: 1.45; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease-out); }
.app3d__chapters li.is-on { opacity: 1; background: rgba(9,19,14,.72); border-color: rgba(0,240,166,.22); box-shadow: var(--glow-emerald); }
.app3d__chapters li.is-on .mono { color: var(--emerald); }
.app3d__chapters li.is-on span:last-child { max-height: 60px; }
.app3d__scene { position: relative; transform-style: preserve-3d; perspective: 1600px; height: 100%; display: grid; place-items: center; }
.app3d__window { position: relative; width: min(84%, 1020px); margin-right: 4%; aspect-ratio: 16 / 9.6; border-radius: 16px; background: #0A0E0D; border: 1px solid rgba(255,255,255,.1); overflow: hidden; transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,240,166,.08), 0 0 90px -30px rgba(0,240,166,.35); }
.win__bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #0A0E0D; border-bottom: 1px solid #141C1A; }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #1c2522; }
.win__url { margin-left: 14px; font-size: 12px; color: var(--t-muted); background: #141C1A; padding: 5px 12px; border-radius: 7px; flex: 0 1 320px; }
.win__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 600 11px/1 var(--mono); letter-spacing: .12em; color: var(--emerald); }
.win__screen { position: absolute; inset: 34px 0 0 0; background: #060C16; }
.win__screen .clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: none; }
.win__screen .clip.is-on { opacity: 1; }
.win__scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(0,240,166,.10) 48%, rgba(255,255,255,.06) 50%, transparent 66%); transform: translateX(var(--scan, -120%)); mix-blend-mode: screen; }
.win__reflect { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(255,255,255,.07), transparent 38%); }
.float-card { position: absolute; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -30px rgba(0,0,0,.95), 0 0 60px -26px rgba(0,240,166,.4); opacity: 0; will-change: transform, opacity; pointer-events: none; }
.fc--answer { width: clamp(220px, 21vw, 320px); right: 1%; top: 7%; }
.fc--source { width: clamp(220px, 22vw, 330px); left: 0; bottom: 12%; }
.fc--desk { width: clamp(300px, 40vw, 560px); left: 2%; top: 8%; }
.app3d__tag { position: absolute; left: 0; right: 0; bottom: 4vh; text-align: center; opacity: 0; }

/* =========================================================== SECTIONS (shared) */
section { position: relative; }
.section-head { max-width: var(--maxw); margin: 0 auto 56px; padding: 0 var(--gut); }
.section-head--center { text-align: center; }
.section-head--center .h2 { margin-inline: auto; }
.reveal { opacity: 0; transform: translateY(28px); }

/* =========================================================== PAIN */
.pain { height: 230vh; background: linear-gradient(180deg, var(--void), rgba(4,16,11,.55) 60%, transparent); }
.pain__stage { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 5vw; max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding: 90px var(--gut) 40px; }
.kill { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.kill li { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid var(--line); }
.kill s { color: var(--t-muted); text-decoration-color: transparent; text-decoration-thickness: 1.5px; transition: text-decoration-color .5s var(--ease-out), color .5s; font-size: 15px; }
.kill span { color: var(--t-strong); font-weight: 600; font-size: 16px; opacity: .0; transform: translateX(-8px); display: block; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.kill li.is-done s { text-decoration-color: rgba(240,86,74,.85); color: #5f716a; }
.kill li.is-done span { opacity: 1; transform: none; }
.kill li.is-done { border-color: rgba(0,240,166,.18); background: rgba(0,240,166,.03); }
.pain__viz { position: relative; aspect-ratio: 1 / .86; }
.noise { position: absolute; inset: 0; }
.chip { position: absolute; left: 50%; top: 50%; padding: 9px 14px; border-radius: 10px; background: rgba(14,14,14,.9); border: 1px solid rgba(255,255,255,.1); font: 500 13px/1 var(--mono); color: var(--t-soft); white-space: nowrap; transform: translate(-50%,-50%) translate(var(--x-px, 0), var(--y-px, 0)) rotate(var(--r)); box-shadow: 0 18px 40px -20px rgba(0,0,0,.9); will-change: transform, opacity, filter; }
.pain__one { position: absolute; left: 50%; top: 50%; width: 92%; margin: 0; transform: translate(-50%,-50%) scale(.35); opacity: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(0,240,166,.25); box-shadow: 0 50px 120px -40px rgba(0,0,0,.95), 0 0 80px -30px rgba(0,240,166,.45); background: #060C16; will-change: transform, opacity; }
.pain__one figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 12px; color: var(--emerald); background: rgba(1,4,3,.8); padding: 7px 11px; border-radius: 8px; border: 1px solid rgba(0,240,166,.25); }

/* =========================================================== GAINS */
.gains { padding: 140px 0 120px; background: transparent; overflow: hidden; }
.gain { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 6vw; max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding: 90px var(--gut); }
.gain--flip .gain__copy { order: 2; }
.gain__word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-weight: 700; letter-spacing: -.06em; font-size: clamp(110px, 19vw, 300px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); white-space: nowrap; pointer-events: none; user-select: none; z-index: 0; }
.gain__copy, .gain__media { position: relative; z-index: 1; }
.gain__num { font-size: 12px; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
.gain[data-accent="speed"] { --accent: #00F0A6; }
.gain[data-accent="intel"] { --accent: #2FE6A6; }
.gain[data-accent="context"] { --accent: #60A5FA; }
.proof { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--t-soft); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); margin-top: 10px; }
.proof .live-dot { background: var(--accent); }
.gain__media { perspective: 1400px; }
.frame3d { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; background: #060C16; border: 1px solid rgba(255,255,255,.1); transform-style: preserve-3d; transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 6deg)); box-shadow: 0 60px 100px -50px rgba(0,0,0,.95), 0 0 80px -40px var(--accent); will-change: transform; }
.gain--flip .frame3d { --ry: 10deg; }
.frame3d video { width: 100%; height: 100%; object-fit: cover; }
.frame3d::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.08), transparent 60%); pointer-events: none; }
.gain__pop { position: absolute; width: 40%; right: -2%; bottom: -14%; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 70px -30px rgba(0,0,0,.95); transform: translateZ(60px); }
.gain--flip .gain__pop { right: auto; left: -2%; width: 72%; bottom: -12%; }
.gain[data-accent="context"] .gain__pop { width: 42%; }
.gains__agents { max-width: 820px; margin: 60px auto 0; padding: 22px 26px; display: grid; gap: 6px; text-align: center; border-radius: var(--r-lg); border: 1px dashed rgba(0,240,166,.25); background: rgba(0,240,166,.03); color: var(--t-soft); margin-inline: max(var(--gut), calc(50% - 410px)); }
.gains__agents .mono { color: var(--emerald); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* =========================================================== HOW + ROOMS */
.how { padding: 120px 0 140px; background: linear-gradient(180deg, transparent, rgba(4,16,11,.5)); }
.steps { list-style: none; margin: 0 auto; padding: 0 var(--gut); max-width: calc(var(--maxw) + 2 * var(--gut)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { padding: 14px 14px 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s; }
.step:hover { transform: translateY(-6px); border-color: rgba(0,240,166,.25); box-shadow: var(--glow-emerald); }
.step figure { margin: 0 0 16px; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; background: #060C16; }
.step figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.step:hover figure img { transform: scale(1.06); }
.step .body { font-size: 15.5px; margin: 0; }
.step__n { color: var(--emerald); font-size: 12px; margin: 0; padding-left: 4px; }
.step h3, .step .body { padding-left: 4px; }
.rooms { max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 110px auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 4vw; align-items: center; }
.rooms__list { display: grid; gap: 4px; }
.room { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; border: 1px solid transparent; transition: background .35s, border-color .35s; }
.room b { color: var(--t-soft); font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; transition: color .3s; }
.room span { grid-column: 2; color: var(--t-body); font-size: 14px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .55s var(--ease-out), opacity .4s, margin .4s; }
.room__av { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--c); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 40%, transparent); grid-row: span 1; }
.room__dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, var(--c) 0 5px, transparent 6px), color-mix(in srgb, var(--c) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.room:hover { background: rgba(255,255,255,.025); }
.room:hover b { color: var(--t-strong); }
.room[aria-selected="true"] { background: rgba(9,19,14,.9); border-color: rgba(0,240,166,.2); }
.room[aria-selected="true"] b { color: var(--t-strong); }
.room[aria-selected="true"] span { max-height: 90px; opacity: 1; margin-top: 4px; }
.rooms__deck { position: relative; aspect-ratio: 16/9; perspective: 1800px; transform-style: preserve-3d; }
.deck-card { position: absolute; inset: 0; margin: 0; border-radius: 16px; overflow: hidden; background: #060C16; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 50px 100px -50px rgba(0,0,0,.95); transform-origin: 50% 100%; will-change: transform, opacity; }
.deck-card img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================== PROOF / MARQUEE */
.proofs { padding: 130px 0; background: rgba(4,16,11,.6); overflow: hidden; }
.proofs__rules { list-style: none; padding: 0 var(--gut); margin: -16px auto 64px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 1100px; }
.proofs__rules li { display: inline-flex; gap: 10px; align-items: baseline; padding: 12px 18px; border-radius: 999px; background: rgba(1,4,3,.6); border: 1px solid var(--line-2); color: var(--t-soft); font-size: 15px; }
.proofs__rules b { color: var(--emerald); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.marquee { display: grid; gap: 18px; transform: rotate(-2.5deg) scale(1.06); }
.marquee__row { display: flex; gap: 18px; width: max-content; will-change: transform; }
.marquee__row img { width: clamp(280px, 30vw, 460px); aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,.09); background: #060C16; transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s; }
.marquee__row img:hover { transform: scale(1.05) translateY(-4px); border-color: rgba(0,240,166,.4); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), var(--glow-emerald); position: relative; z-index: 2; }

/* =========================================================== MARKETS */
.markets { padding: 140px 0 150px; background: transparent; overflow: hidden; }
.markets__ring { position: absolute; inset: 0; perspective: 1200px; pointer-events: none; display: grid; place-items: center; opacity: .55; }
.ring { width: 1100px; height: 1100px; border-radius: 50%; border: 1px solid rgba(0,240,166,.12); transform: rotateX(72deg); box-shadow: 0 0 120px -30px rgba(0,240,166,.25) inset; background: radial-gradient(circle, rgba(0,240,166,.05), transparent 60%); position: relative; }
.ring::before, .ring::after { content: ""; position: absolute; inset: 120px; border-radius: 50%; border: 1px dashed rgba(96,165,250,.14); }
.ring::after { inset: 260px; border: 1px solid rgba(255,255,255,.05); }
.markets__stat { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; margin: -10px auto 50px; }
.stat__n { font-size: clamp(72px, 9vw, 132px); font-weight: 700; color: var(--t-strong); letter-spacing: -.04em; line-height: 1; }
.stat__l { font-size: 22px; color: var(--t-soft); font-weight: 600; }
.stat__src { flex-basis: 100%; text-align: center; font-size: 11px; color: var(--t-muted); }
.markets__cols { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px; }
.mcol { padding: 22px; border-radius: var(--r-lg); background: rgba(9,19,14,.75); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mcol h3 { font-size: 12px; color: var(--t-muted); text-transform: uppercase; letter-spacing: .14em; margin: 0 0 16px; font-weight: 500; }
.tickers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tickers span { font: 600 13px/1 var(--mono); color: var(--t-strong); padding: 8px 10px; border-radius: 8px; background: #0E0E0E; border: 1px solid #1C1C1D; transition: border-color .3s, color .3s, transform .3s var(--ease-out); }
.tickers span:hover { border-color: rgba(0,240,166,.45); color: var(--emerald); transform: translateY(-2px); }

/* =========================================================== WAITLIST */
.waitlist { padding: 120px var(--gut) 140px; background: radial-gradient(80% 60% at 50% 0%, rgba(0,240,166,.08), transparent 60%); }
.waitlist__card { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: clamp(24px, 4vw, 56px); border-radius: 28px; background: linear-gradient(180deg, rgba(9,19,14,.95), rgba(4,16,11,.92)); border: 1px solid rgba(0,240,166,.16); box-shadow: 0 80px 160px -80px rgba(0,0,0,1), var(--glow-teal); position: relative; overflow: hidden; }
.waitlist__card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(0,240,166,.6) 80%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--t-soft); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(0,240,166,.12); border: 1px solid rgba(0,240,166,.5); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 6px; height: 3.5px; border-left: 1.6px solid var(--emerald); border-bottom: 1.6px solid var(--emerald); transform: rotate(-45deg); }
.wl { position: relative; }
.wl__state--form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; color: var(--t-soft); font-weight: 500; padding: 0; margin-bottom: 8px; }
.field input[type="email"] { height: 52px; border-radius: 12px; border: 1px solid #262626; background: #0E0E0E; color: var(--t-strong); padding: 0 16px; font: 500 16px var(--font); transition: border-color .25s, box-shadow .25s; width: 100%; }
.field input[type="email"]:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(0,240,166,.12); }
.field.is-bad input[type="email"] { border-color: #F0564A; box-shadow: 0 0 0 4px rgba(240,86,74,.12); }
.field__err { color: #F0564A; font-size: 13px; display: none; }
.is-bad > .field__err, .field__err.is-shown { display: block; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #262626; background: #0E0E0E; color: var(--t-soft); font-size: 14px; font-weight: 500; transition: all .25s var(--ease-out); }
.seg label:hover span { border-color: rgba(255,255,255,.22); color: var(--t-strong); }
.seg input:checked + span { background: rgba(0,240,166,.12); border-color: var(--emerald); color: var(--t-strong); }
.seg input:focus-visible + span { outline: 2px solid var(--emerald); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--t-body); font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--emerald); }
.check a { color: var(--t-soft); }
.wl__state--done { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 6px; }
.wl__state--done[hidden] { display: none; }
.done__icon svg { width: 76px; height: 76px; fill: none; stroke: var(--emerald); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.done__icon circle { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1s var(--ease-out) forwards; }
.done__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .55s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.wl__email { color: var(--emerald); word-break: break-all; }

/* =========================================================== PRICING */
.pricing { padding: 130px var(--gut) 140px; background: radial-gradient(80% 60% at 50% 0%, rgba(0,240,166,.07), transparent 60%); }
.pricing__flag { display: inline-block; margin: 6px auto 0; font-size: 12px; color: #1a1300; background: var(--gold); padding: 6px 12px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.plans { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { position: relative; padding: 32px; border-radius: 24px; background: var(--card); border: 1px solid var(--line-2); display: grid; gap: 6px; align-content: start; transition: transform .5s var(--ease-out), box-shadow .5s; }
.plan:hover { transform: translateY(-6px); }
.plan--featured { border-color: rgba(0,240,166,.35); box-shadow: var(--glow-emerald), 0 40px 100px -60px rgba(0,240,166,.5); background: linear-gradient(180deg, rgba(0,240,166,.06), var(--card) 40%); }
.plan__badge { position: absolute; top: -12px; left: 32px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--emerald); color: #021710; padding: 6px 10px; border-radius: 999px; margin: 0; }
.plan__tokens { margin: 0; font-size: 14px; color: var(--t-soft); font-weight: 500; }
.plan__tokens span:first-child { color: var(--t-strong); font-weight: 700; font-size: 18px; }
.plan__price { margin: 10px 0 8px; display: flex; align-items: baseline; gap: 6px; }
.plan__price .cur { font-size: 18px; color: var(--t-soft); font-weight: 600; }
.plan__price .amt { font-size: 60px; font-weight: 700; letter-spacing: -.04em; color: var(--t-strong); line-height: 1; }
.plan__price .per { color: var(--t-muted); font-size: 15px; }
.plan .btn { margin-top: 22px; }
.pricing__fine { text-align: center; color: var(--t-muted); font-size: 13px; margin: 28px 0 0; }

/* =========================================================== FAQ */
.faq { padding: 120px 0 130px; background: transparent; }
.faq .section-head { max-width: 900px; }
.faq__list { max-width: 900px; margin: 0 auto; padding: 0 var(--gut); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 2px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; color: var(--t-strong); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: linear-gradient(var(--emerald), var(--emerald)) center / 11px 1.6px no-repeat, linear-gradient(var(--emerald), var(--emerald)) center / 1.6px 11px no-repeat; transition: transform .45s var(--ease-out), background-size .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { overflow: hidden; }
.faq details p { margin: 0 0 24px; color: var(--t-body); max-width: 70ch; }

/* =========================================================== FINAL + FOOTER */
.final { min-height: 92vh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 120px var(--gut); }
.final__bg { position: absolute; inset: 0; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--fz, 1.12)); filter: brightness(.8); opacity: .7; }
.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--void) 0%, rgba(1,4,3,.25) 30%, rgba(1,4,3,.35) 70%, var(--void) 100%); }
.final__copy { position: relative; z-index: 1; display: grid; justify-items: center; gap: 36px; }
.final__copy .display { text-shadow: 0 2px 50px rgba(1,4,3,.8); max-width: 22ch; }
.foot { padding: 64px var(--gut) 40px; background: var(--void); border-top: 1px solid var(--line); }
.foot__top { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.foot__tag { color: var(--t-muted); margin: 0; font-size: 14px; }
.foot__links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot__links a { color: var(--t-soft); font-size: 14px; text-decoration: none; }
.foot__links a:hover { color: var(--emerald); }
.foot__risk { max-width: var(--maxw); margin: 34px auto 0; color: var(--t-muted); font-size: 12.5px; line-height: 1.65; }
.foot__copy { max-width: var(--maxw); margin: 18px auto 0; color: #4d5c56; font-size: 12px; }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(0,240,166,.07), transparent 65%); transform: translate(-50%, -50%) translate(var(--cx, -999px), var(--cy, -999px)); mix-blend-mode: screen; }

/* =========================================================== v3.1 · shared chapter lists */
main, .foot { position: relative; z-index: 1; }
.whale-flow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .5s; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.chapters li { position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; padding: 12px 14px 15px; border-radius: 12px; border: 1px solid transparent; opacity: .4; transition: opacity .45s var(--ease-out), background .45s, border-color .45s; }
.chapters li > .mono { grid-row: span 2; font-size: 12px; color: var(--t-muted); padding-top: 3px; }
.chapters li b { color: var(--t-strong); font-size: 16px; letter-spacing: -.01em; }
.chapters li .ch__d { grid-column: 2; color: var(--t-body); font-size: 13.5px; line-height: 1.45; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease-out); }
.chapters li.is-past { opacity: .62; }
.chapters li.is-on { opacity: 1; background: rgba(9,19,14,.78); border-color: color-mix(in srgb, var(--accent, #00F0A6) 28%, transparent); box-shadow: var(--glow-emerald); }
.chapters li.is-on > .mono { color: var(--accent, var(--emerald)); }
.chapters li.is-on .ch__d { max-height: 90px; }
.ch__bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.07); overflow: hidden; opacity: 0; transition: opacity .4s; }
.chapters li.is-on .ch__bar, .chapters li.is-past .ch__bar { opacity: 1; }
.ch__bar i { position: absolute; inset: 0; background: var(--accent, var(--emerald)); transform-origin: left; transform: scaleX(0); }
.tour__num { color: var(--accent, var(--emerald)); margin-right: 2px; }
.app3d__side { align-self: center; }
.app3d__seq { margin: 0 0 14px 14px; }
.shot-label { position: absolute; left: 12px; top: 12px; z-index: 3; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--t-strong); background: rgba(1,4,3,.8); border: 1px solid color-mix(in srgb, var(--accent, #00F0A6) 45%, transparent); padding: 6px 10px; border-radius: 8px; opacity: 0; pointer-events: none; }

/* hero · final-scene clarity overlay */
.hero__annot { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.annot { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.annot__chip { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; font-size: 12px; letter-spacing: .04em; color: #DFFBF1; background: rgba(1,6,8,.74); border: 1px solid rgba(0,240,166,.45); padding: 6px 10px; border-radius: 8px; will-change: transform, opacity; box-shadow: 0 8px 26px -10px rgba(0,0,0,.9); }
.annot--crowd, .annot--eat { color: #FFE2B0; border-color: rgba(245,166,35,.55); }
.annot--chart { color: var(--t-soft); border-color: rgba(255,255,255,.2); }

/* =========================================================== v3.1 · TOURS */
.tour { padding-top: 130px; }
.tour__head { max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.tour__head .h2 { max-width: 18ch; }
.tour__pain { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; color: var(--t-strong); max-width: 52ch; margin: 0 0 12px; padding-left: 14px; border-left: 2px solid rgba(240,86,74,.65); }
.tour__head .body { max-width: 62ch; }
.tour__pin { position: relative; }
.tour__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.tour__grid { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gut) + 160px); margin: 0 auto; padding: 74px var(--gut) 24px; display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 3vw; align-items: center; }
.tour__scene { position: relative; perspective: 1700px; transform: rotateY(var(--dry, 0deg)); transform-style: preserve-3d; }
.win3d { position: relative; width: 100%; aspect-ratio: 16 / 9.6; margin-inline: auto; border-radius: 16px; background: #0A0E0D; border: 1px solid rgba(255,255,255,.1); overflow: hidden; will-change: transform;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 0 1px color-mix(in srgb, var(--accent, #00F0A6) 10%, transparent), 0 0 90px -30px color-mix(in srgb, var(--accent, #00F0A6) 40%, transparent); }
@media (min-width: 901px) and (max-aspect-ratio: 16/8) { .win3d { max-width: calc((100svh - 120px) * 16 / 9.6); } }
.tour__desc { display: none; }

/* =========================================================== v3.1 · AGENTS (MCP) */
.agents { padding: 150px 0 120px; }
.agents .section-head .h2 { max-width: 16ch; }
.agents__flow { max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1fr 1.05fr; gap: 4vw; align-items: center; }
.refine { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.refine li { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 18px 20px; border-radius: 16px; background: rgba(9,19,14,.8); border: 1px solid var(--line); }
.refine li b { color: var(--t-strong); font-size: 18px; letter-spacing: -.01em; }
.refine li > span:last-child { grid-column: 2; color: var(--t-body); font-size: 15px; line-height: 1.55; }
.refine__n { grid-row: span 2; color: var(--emerald); font-size: 13px; padding-top: 4px; }
.refine li + li::before { content: ""; position: absolute; left: 39px; top: -13px; width: 1px; height: 12px; background: rgba(0,240,166,.45); }
.mcp { display: grid; gap: 14px; }
.mcp__pipe { position: relative; height: 56px; display: grid; place-items: center; }
.mcp__pipe i { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(var(--emerald), var(--teal)); transform-origin: top; }
.mcp__pipe span { position: relative; z-index: 1; font-size: 12px; font-weight: 700; letter-spacing: .22em; color: #021710; background: var(--emerald); padding: 7px 14px; border-radius: 999px; box-shadow: 0 0 40px -6px rgba(0,240,166,.7); }
.mcp__card { border-radius: 16px; background: rgba(5,11,9,.94); border: 1px solid rgba(0,240,166,.22); box-shadow: 0 40px 90px -50px #000, var(--glow-emerald); padding: 18px 20px; overflow-x: auto; }
.mcp__k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--t-muted); margin: 0 0 10px; }
.mcp__code { margin: 0; font-size: 13px; line-height: 1.6; color: var(--t-soft); white-space: pre; }
.mcp__code b { color: var(--emerald); font-weight: 500; }
.mcp__code .c { color: #5f716a; }
.mcp__agent { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 14px; border: 1px dashed rgba(96,165,250,.5); background: rgba(96,165,250,.06); }
.mcp__agent b { color: var(--t-strong); }
.mcp__agent .mono { margin-left: auto; font-size: 12px; color: var(--t-muted); }
.agents__fine { text-align: center; margin: 44px auto 0; font-size: 12.5px; color: var(--t-muted); padding: 0 var(--gut); }
.gains__more { color: var(--emerald); font-weight: 600; text-decoration: none; }
.gains__more:hover { text-decoration: underline; }

/* =========================================================== RESPONSIVE */
@media (max-width: 1100px) {
  .app3d { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 84px var(--gut) 40px; }
  .app3d__chapters { order: 2; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); }
  .app3d__chapters li { padding: 8px 6px; grid-template-columns: 1fr; text-align: center; }
  .app3d__chapters li .mono { grid-row: auto; padding: 0; }
  .app3d__chapters li b { font-size: 12.5px; }
  .app3d__chapters li span:last-child { display: none; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero { height: 680vh; }
  .beat--1 { top: auto; bottom: 9vh; transform: none; }
  .beat--1 .display { font-size: clamp(42px, 12vw, 64px); }
  .beat--1 .lead { font-size: 16px; }
  .cta-row { margin-top: 24px; }
  .cta-row .btn { flex: 1 1 auto; }
  .hero__fine { font-size: 12px; }
  .hero__cue { display: none; }
  .hero__progress { right: 8px; }
  .beat--3 { bottom: 12vh; }
  .beat--4 { top: 13vh; }
  .app3d { padding: 70px 12px 28px; gap: 10px; }
  .app3d__scene { perspective: 900px; }
  .app3d__window { aspect-ratio: 16/10.5; border-radius: 12px; }
  .win__bar { height: 26px; }
  .win__screen { inset: 26px 0 0 0; }
  .win__url { font-size: 10px; padding: 3px 8px; }
  .float-card { display: none; }
  .app3d__window { width: 100%; }
  .hero__shade { background: linear-gradient(0deg, rgba(1,4,3,calc(.9 * (1 - var(--hp, 0) * 9))) 0%, transparent 62%), radial-gradient(120% 80% at 50% 50%, transparent 40%, rgba(1,4,3,.55) 100%), linear-gradient(180deg, rgba(1,4,3,.55) 0%, transparent 18%, transparent 70%, rgba(1,4,3,.75) 100%); }
  .app3d__chapters { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
  .app3d__tag { bottom: 2vh; font-size: 20px; }
  .pain { height: auto; }
  .pain__stage { position: relative; grid-template-columns: 1fr; padding-top: 100px; gap: 40px; }
  .pain__viz { aspect-ratio: 1/1; }
  .chip { font-size: 11px; padding: 7px 10px; }
  .gain, .gain--flip { grid-template-columns: 1fr; gap: 40px; padding: 60px var(--gut) 90px; }
  .gain--flip .gain__copy { order: 0; }
  .gain__word { top: 30%; font-size: 30vw; }
  .frame3d { --ry: -4deg; --rx: 4deg; }
  .gain--flip .frame3d { --ry: 4deg; }
  .gain__pop, .gain--flip .gain__pop, .gain[data-accent="context"] .gain__pop { position: relative; right: auto; left: auto; bottom: auto; width: 72%; margin: -36px 0 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .rooms { grid-template-columns: 1fr; margin-top: 80px; }
  .rooms__deck { order: -1; }
  .markets__cols { grid-template-columns: 1fr 1fr; }
  .markets__cols .mcol:first-child { grid-column: 1 / -1; }
  .ring { width: 700px; height: 700px; }
  .waitlist__card { grid-template-columns: 1fr; gap: 32px; }
  .plans { grid-template-columns: 1fr; }
  .foot__links { margin-left: 0; }
  .marquee__row img { width: 70vw; }
}
@media (max-width: 420px) { .markets__stat { flex-wrap: wrap; } }

/* still mode (contract-sheet captures): hero shown as a static composition */
html[data-still="1"] .hero__cue { display: none; }

/* =========================================================== REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero { height: auto; }
  .hero__stage { position: relative; height: auto; min-height: 100vh; display: grid; }
  .hero__gl, .hero__cue, .hero__progress, .beat--2, .beat--3, .beat--4, .float-card { display: none; }
  .beat--1 { position: relative; top: auto; transform: none; padding: 140px 0 60px; }
  .app3d { position: relative; opacity: 1; visibility: visible; padding-top: 0; }
  .app3d__window { transform: none !important; }
  .win__screen .clip[data-clip="c_live"] { opacity: 1; }
  .app3d__tag { position: relative; opacity: 1; bottom: auto; margin-top: 20px; }
  .pain { height: auto; } .pain__stage { position: relative; }
  .pain__one { opacity: 1; transform: translate(-50%,-50%); } .noise { display: none; }
  .kill span { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .frame3d { transform: none; }
}

/* v3.1 responsive */
@media (max-width: 1100px) {
  .app3d__side { order: 2; }
  .app3d__seq { display: none; }
  .tour__grid { grid-template-columns: minmax(220px, 280px) 1fr; }
}
@media (max-width: 900px) {
  .app3d__chapters.chapters { grid-template-columns: repeat(3, 1fr); grid-auto-flow: row; }
  .app3d__chapters.chapters li, .tour .chapters li { grid-template-columns: 1fr; padding: 7px 6px 10px; text-align: center; }
  .app3d__chapters.chapters li > .mono, .tour .chapters li > .mono { display: none; }
  .app3d__chapters.chapters li b, .tour .chapters li b { font-size: 11.5px; line-height: 1.25; }
  .app3d__chapters.chapters .ch__d, .tour .chapters .ch__d { display: none; }
  .ch__bar { left: 8px; right: 8px; bottom: 4px; }
  .tour { padding-top: 90px; }
  .tour__grid { grid-template-columns: 1fr; padding: 66px 12px 16px; gap: 12px; align-content: center; }
  .tour__scene { order: -1; }
  .tour .chapters { grid-template-columns: repeat(3, 1fr); }
  .tour__desc { display: block; font-size: 13.5px; line-height: 1.5; color: var(--t-body); min-height: 4.6em; margin: 12px 2px 0; }
  .tour__desc b { color: var(--t-strong); display: block; font-size: 15px; margin-bottom: 2px; }
  .win3d { aspect-ratio: 16 / 10.5; border-radius: 12px; }
  .shot-label { font-size: 9.5px; left: 8px; top: 8px; padding: 4px 7px; }
  .agents { padding: 100px 0 90px; }
  .agents__flow { grid-template-columns: 1fr; gap: 26px; }
  .mcp__code { font-size: 11px; }
  .annot__chip { font-size: 10.5px; padding: 5px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour__pin { height: auto !important; }
  .tour__stage { position: relative; height: auto; }
  .tour .clip[data-ch="0"][data-shot="0"] { opacity: 1; }
  .annot, .hero__annot, .whale-flow { display: none; }
}

/* v3.1 fixes after vision QA (round 1) */
@media (min-width: 901px) {
  .pain .h2 { font-size: clamp(34px, 4.1vw, 60px); }
  .pain .kill { margin-top: 16px; gap: 7px; }
  .pain .kill li { padding: 9px 14px; gap: 2px; }
  .pain .kill s { font-size: 14px; } .pain .kill span { font-size: 15px; }
  .fc--desk { top: 15%; }
  .tour__scene { padding-right: 2vw; }
  .win3d { max-width: min(100%, calc((100svh - 160px) * 16 / 9.6)); }
}

/* =========================================================== v3.2 · hero story beats (owner copy) */
.beat--1 .display { max-width: 13ch; font-size: clamp(42px, 6.2vw, 100px); }
.beat--2 { top: 50%; transform: translateY(-50%); display: block; max-width: 900px; }
.beat--3 { top: auto; bottom: 14vh; text-align: right; }
.beat--3 .display--md { max-width: none; }
.beat--4 { top: 50%; transform: translateY(-50%); text-align: left; max-width: 860px; }
.beat--4 .display--md { font-size: clamp(30px, 3.9vw, 62px); text-shadow: 0 2px 40px rgba(1,4,3,.85); }
.beat--5 { top: 13vh; text-align: center; }
.beat--6 { top: 13vh; text-align: center; }
.beat--7 { top: 50%; transform: translateY(-50%); text-align: center; display: grid; justify-items: center; }
.beat--7 .cta-row { justify-content: center; }
.beat .display { text-shadow: 0 2px 44px rgba(1,4,3,.8); }
@media (max-width: 900px) {
  .beat--2, .beat--4 { top: auto; bottom: 12vh; transform: none; }
  .beat--3 { bottom: 12vh; text-align: left; }
  .beat--5, .beat--6 { top: 11vh; }
  .beat--1 .display { font-size: clamp(38px, 10.5vw, 56px); }
  .beat--4 .display--md { font-size: clamp(26px, 7vw, 36px); }
  .beat--7 { top: auto; bottom: 10vh; transform: none; }
}

/* v3.2 long headlines */
.gains .section-head .h2, .agents .section-head .h2 { max-width: 22ch; font-size: clamp(32px, 4vw, 58px); }
.tour__head .h2 { max-width: 22ch; }

/* v3.2 · "How Tradfy does it" explainers (owner, 2026-10-18): small, scannable, true product behaviour */
.explain { font: 400 14.5px/1.55 var(--font); color: var(--t-soft); max-width: 62ch; margin: 4px 0 16px; padding: 10px 14px; border-left: 2px solid var(--accent, var(--emerald)); background: rgba(0,240,166,.035); border-radius: 0 10px 10px 0; }
.explain b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent, var(--emerald)); margin-bottom: 3px; font-weight: 600; }
.section-head--center .explain { margin-inline: auto; text-align: left; }
.pain .explain { font-size: 13.5px; padding: 8px 12px; margin-bottom: 10px; }
@media (max-width: 900px) { .explain { font-size: 13.5px; } }
@media (min-width: 901px) { .pain .h2 { font-size: clamp(30px, 3.4vw, 50px); } .pain .kill li { padding: 7px 12px; } .pain .body { font-size: 15.5px; margin-bottom: 6px; } .pain__stage { padding-top: 80px; } }
