/* landing.css — xaviour.ai (td77 design). Product tokens are copied 1:1 from site/public/css/tokens.css (the locked
   palette); night scenes frame the story (intro, hero, access), light scenes carry the product. System fonts only. */

/* ---------- Tokens (from site/public/css/tokens.css) ---------- */
:root {
  --app: #f7f8f5; --paper: #ffffff; --paper-2: #fbfcfa;
  --ink: #0e1014; --ink-2: #30343b; --muted: #6a6f78; --faint: #a3a8b0;
  --line: rgba(14, 16, 20, .075); --line-2: rgba(14, 16, 20, .125);
  --blue: #1265f2; --blue-dark: #084ec7; --blue-soft: rgba(18, 101, 242, .085);
  --green: #12855d; --amber: #b8730b; --amber-soft: rgba(184, 115, 11, .1); --red: #ca4c4c; --violet: #6a4fd0; --violet-soft: rgba(113, 86, 216, .09);
  --night: #080a0f; --night-2: #0e1219; --night-line: rgba(255, 255, 255, .085); --night-line-2: rgba(255, 255, 255, .16);
  --on-night: #f4f6fa; --on-night-2: rgba(244, 246, 250, .72); --on-night-3: rgba(244, 246, 250, .58);
  --shadow-card: 0 35px 95px rgba(25, 29, 35, .12), 0 5px 16px rgba(25, 29, 35, .055);
  --shadow-float: 0 34px 100px rgba(22, 25, 31, .21), 0 7px 24px rgba(22, 25, 31, .08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", sans-serif;
  --spring: cubic-bezier(.2, .84, .2, 1); --spring-out: cubic-bezier(.32, .72, 0, 1);
  --wrap: min(1140px, 92vw);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--font); color: var(--ink); background: var(--app); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.intro-on { overflow: hidden; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.soft { color: var(--faint); }
.night .soft { color: rgba(244, 246, 250, .42); }
.wrap { width: var(--wrap); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { left: 8px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.night .eyebrow { color: var(--on-night-3); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 54ch; }
.night .lede { color: var(--on-night-2); }
.fine { font-size: 13.5px; color: var(--muted); }
.night .fine { color: var(--on-night-3); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font: 600 14.5px var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .35s var(--spring), background-color .3s, border-color .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.nav:not(.light) .btn-primary { background: var(--on-night); color: var(--ink); }
.btn-primary:hover { background: #262a33; color: #fff; }
.btn-ink { background: var(--ink); color: #fff; width: 100%; }
.btn-ink:hover { background: #262a33; }
.card-sub { color: var(--muted); font-size: 14.5px; margin: -6px 0 18px; }
.btn-blue { background: var(--blue); color: #fff; width: 100%; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-light { background: var(--on-night); color: var(--ink); }
.btn-ghost-night { border-color: var(--night-line-2); color: var(--on-night); }
.btn-ghost-night:hover { border-color: rgba(255, 255, 255, .35); }
.btn-quiet { color: inherit; }
.btn-quiet:hover { background: rgba(127, 127, 127, .12); }

/* ---------- Nav (tone follows the scene underneath) ---------- */
.nav { position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 24px)); height: 58px; display: flex; align-items: center; gap: 20px; padding: 0 9px 0 18px; border-radius: 20px; color: var(--on-night); background: rgba(8, 10, 15, .55); border: 1px solid var(--night-line); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); transition: background-color .5s, color .5s, border-color .5s; }
.nav.light { color: var(--ink); background: rgba(247, 248, 245, .78); border-color: var(--line); }
.brand { display: flex; align-items: center; }
.brand img { height: 26px; width: auto; }
.brand .on-light, .nav.light .brand .on-dark { display: none; }
.nav.light .brand .on-light { display: block; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; text-decoration: none; opacity: .75; transition: opacity .25s, background-color .25s; }
.nav-links a:hover { opacity: 1; background: rgba(127, 127, 127, .12); }
.nav-actions { display: flex; gap: 6px; }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: radial-gradient(80% 70% at 50% 45%, #10162a 0%, var(--night) 70%); color: var(--on-night); overflow: hidden; transition: opacity .9s var(--spring-out), visibility .9s; }
.intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-field { position: absolute; inset: 0; }
.chip { position: absolute; left: 0; top: 0; padding: 7px 12px; border-radius: 12px; font-size: 13px; white-space: nowrap; color: var(--on-night-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--night-line); transform: translate(var(--x), var(--y)) scale(var(--s, 1)); opacity: var(--o, 0); transition: transform 1.6s var(--spring), opacity 1s; will-change: transform, opacity; }
.chip b { color: var(--on-night); font-weight: 600; margin-right: 6px; }
.intro-orb { position: absolute; left: 50%; top: 46%; width: 300px; height: 300px; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: opacity 1.2s, transform 1.6s var(--spring); }
.intro.s2 .intro-orb, .intro.s3 .intro-orb { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.intro-caption { position: absolute; left: clamp(20px, 7vw, 96px); bottom: clamp(48px, 12vh, 120px); max-width: 640px; }
.cap-step { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--on-night-3); margin-bottom: 10px; }
.cap-line { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.035em; font-weight: 650; }
.cap-line span { color: rgba(244, 246, 250, .45); }
.cap-line, .cap-step { transition: opacity .5s, transform .6s var(--spring); }
.cap-swap .cap-line, .cap-swap .cap-step { opacity: 0; transform: translateY(8px); }
.intro-cards { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: grid; gap: 10px; width: min(380px, 84vw); }
.mini { padding: 14px 16px; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-float); font-size: 14px; opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .7s, transform .9s var(--spring); }
.mini b { display: block; font-size: 15px; }
.mini small { color: var(--muted); }
.intro.s3 .mini { opacity: 1; transform: none; }
.intro.s3 .mini:nth-child(2) { transition-delay: .12s; } .intro.s3 .mini:nth-child(3) { transition-delay: .24s; }
.intro.s3 .intro-orb { transform: translate(-50%, -50%) translateY(-210px) scale(.42); }
.intro-skip { position: absolute; top: 22px; right: 22px; display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--night-line-2); background: rgba(255, 255, 255, .04); color: var(--on-night-2); font: 500 13px var(--font); cursor: pointer; }
.intro-skip kbd { font: 500 11px var(--font); padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); }

/* ---------- Hero ---------- */
.night { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; isolation: isolate; }
.glow { position: absolute; inset: -30% -10% auto; height: 120%; z-index: -1; background: radial-gradient(40% 40% at 30% 30%, rgba(91, 124, 255, .22), transparent 70%), radial-gradient(35% 35% at 72% 40%, rgba(155, 107, 255, .18), transparent 70%), radial-gradient(30% 30% at 55% 75%, rgba(100, 232, 255, .1), transparent 70%); animation: breathe 18s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: translate3d(2%, 4%, 0) scale(1.06); } }
.hero { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; }
.hero-orb { width: 168px; height: 168px; margin: 0 auto 8px; }
.hero-copy { width: var(--wrap); display: grid; justify-items: center; gap: 22px; }
.hero h1 { font-size: clamp(48px, 8.2vw, 112px); letter-spacing: -.045em; line-height: .98; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.replay { position: absolute; bottom: 22px; right: 22px; background: none; border: 0; color: var(--on-night-3); font: 500 13px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.hero .rise { opacity: 0; transform: translateY(14px); }
.hero.in .rise { opacity: 1; transform: none; transition: opacity 1s var(--spring), transform 1.1s var(--spring); transition-delay: var(--d, 0s); }

/* ---------- Journey ---------- */
.journey { padding: clamp(80px, 12vw, 160px) 0; }
.journey-grid { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); }
.steps { display: grid; }
.step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; opacity: .25; transition: opacity .6s; }
.step.on { opacity: 1; }
.step-n { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .02em; }
.step h3 { font-size: clamp(34px, 4.2vw, 56px); }
.step p:not(.step-n) { font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.device-wrap { position: sticky; top: 13vh; height: 74vh; align-self: start; }
.device { position: relative; height: calc(100% - 28px); border-radius: 30px; background: var(--paper); box-shadow: var(--shadow-card); border: 1px solid var(--line); overflow: hidden; }
.demo-label { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--muted); }
.screen { position: absolute; inset: 0; padding: 26px 26px 22px; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .7s var(--spring), transform .9s var(--spring); pointer-events: none; }
.device[data-state="3"] .today, .device[data-state="4"] .focus, .device[data-state="5"] .tidy { opacity: 1; transform: none; }

/* Pile (steps 1–2) */
.pile { position: absolute; inset: 0; background: var(--paper-2); transition: opacity .7s; }
.pchip { position: absolute; left: 0; top: 0; max-width: 62%; padding: 8px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(25, 29, 35, .05); font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translate(var(--x), var(--y)) rotate(var(--r)); transition: transform 1.1s var(--spring), opacity .8s, background-color .6s, border-color .6s, color .6s; }
.pchip b { color: var(--ink); margin-right: 5px; }
.device[data-state="2"] .pchip { transform: translate(var(--qx), var(--qy)) scale(.62); opacity: .32; }
.device[data-state="2"] .pchip.key { transform: translate(var(--kx), var(--ky)) scale(1.06); opacity: 1; background: var(--paper); border-color: rgba(18, 101, 242, .35); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(18, 101, 242, .5); }
.device[data-state="3"] .pile, .device[data-state="4"] .pile, .device[data-state="5"] .pile { opacity: 0; }
.pile-count { position: absolute; left: 24px; bottom: 20px; display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--muted); transition: opacity .5s; }
.pile-count b { font-size: 40px; letter-spacing: -.04em; color: var(--ink); }
.pile-count em { font-style: normal; color: var(--blue); font-weight: 600; opacity: 0; transition: opacity .6s; }
.device[data-state="2"] .pile-count em { opacity: 1; }
.device[data-state="3"] .pile-count, .device[data-state="4"] .pile-count, .device[data-state="5"] .pile-count { opacity: 0; }

/* App bits shared by Today / Focus / Tidy (mirrors the Dock & Focus review screens) */
.app-top { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.top-sum { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.dot-orb { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c9d4ff, #5b7cff 45%, #171a2e 80%); }
.today h4 { font-size: 34px; margin-top: 30px; }
.sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.cards .c3 { display: none; }
.pager { position: absolute; top: 76px; right: 26px; font-size: 12px; color: var(--muted); }
.card { position: relative; padding: 14px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 28px -16px rgba(25, 29, 35, .25); display: grid; gap: 6px; font-size: 12.5px; align-content: start; min-height: 168px; }
.card small { color: var(--muted); font-size: 11.5px; }
.card .ttl { font-size: 15px; letter-spacing: -.015em; line-height: 1.2; margin-top: 8px; }
.card .act { color: var(--violet); font-weight: 600; font-size: 12px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.card .tag { position: absolute; top: 14px; right: 12px; font-size: 10.5px; font-weight: 600; color: var(--red); background: rgba(202, 76, 76, .09); padding: 3px 7px; border-radius: 8px; }
.who { display: flex; gap: 8px; align-items: center; min-width: 0; }
.who b { display: block; font-size: 12.5px; }
.who span { min-width: 0; overflow: hidden; }
.who small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--font); font-style: normal; color: #fff; }
.av.mv { background: #a9793f; } .av.re { background: #4f8a6f; } .av.ac { background: #5b6fd6; } .av.ns { background: #8a5bb8; }
.dock { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 6px; padding: 7px; border-radius: 18px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); box-shadow: var(--shadow-card); font-size: 12px; }
.dock span { display: flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 12px; color: var(--ink-2); }
.dock span.on { background: var(--app); color: var(--ink); font-weight: 600; }
.dock i { font-style: normal; font-size: 10.5px; min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 9px; background: var(--ink); color: #fff; }

.focus { display: grid; grid-template-columns: 1.1fr .9fr; padding: 0; }
.f-left { padding: 24px; display: grid; gap: 10px; align-content: start; }
.f-right { padding: 24px; background: var(--paper-2); border-left: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.crumb { font-size: 13px; color: var(--muted); }
.focus h4 { font-size: 24px; letter-spacing: -.025em; margin-top: 6px; }
.req { color: var(--violet); font-size: 12.5px; font-weight: 600; }
.tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--app); font-size: 12px; justify-self: start; }
.tabs span { padding: 6px 10px; border-radius: 8px; color: var(--muted); }
.tabs .on { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.insight { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.checked { font-size: 11.5px; color: var(--green); }
.prep { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.draft { padding: 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.revise { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(106, 79, 208, .3); color: var(--violet); font-size: 12.5px; }
.revise b { background: var(--violet); color: #fff; padding: 4px 10px; border-radius: 8px; font-size: 11.5px; }
.send { margin-top: 8px; text-align: center; padding: 12px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; }
.later { text-align: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }

.tidy h4 { font-size: 26px; margin-top: 30px; letter-spacing: -.03em; }
.tidy-rows { display: grid; gap: 10px; margin-top: 22px; }
.tidy-rows div { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.tidy-rows b { font-size: 28px; letter-spacing: -.04em; color: var(--ink); min-width: 64px; }
.tidy-rows .keep { border-color: rgba(18, 133, 93, .3); background: rgba(18, 133, 93, .05); }
.tidy-rows .keep b { color: var(--green); }
.tidy-actions { display: flex; gap: 10px; margin-top: 20px; }
.tidy-actions span { padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.tidy-actions .ghost { background: var(--app); color: var(--ink-2); }
.tidy-actions .go { background: var(--ink); color: #fff; }
.undo { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* ---------- Try it (interactive sandbox) ---------- */
.try { padding: clamp(80px, 11vw, 150px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.try h2, .trust h2 { font-size: clamp(38px, 5.2vw, 68px); margin: 12px 0 18px; }
.sandbox { margin-top: 44px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; min-height: 440px; }
.sb-today { display: grid; gap: 12px; align-content: start; }
.sb-card { text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 18px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line-2); display: grid; gap: 6px; transition: border-color .3s, box-shadow .3s, transform .4s var(--spring); }
.sb-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.sb-card[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.sb-card .ttl { font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.sb-card .act { color: var(--violet); font-weight: 600; font-size: 13px; }
.sb-card.done { opacity: .45; }
.sb-focus { border-radius: 24px; background: var(--app); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: grid; align-content: start; gap: 14px; }
.sb-empty { color: var(--muted); align-self: center; text-align: center; margin: auto; }
.sb-focus h3 { font-size: 26px; letter-spacing: -.025em; }
.sb-focus .insight { font-size: 16px; }
.sb-focus .draft { font-size: 14.5px; }
.sb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sb-actions button { font: 600 14.5px var(--font); padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; }
.sb-actions .primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.sb-note { font-size: 13.5px; color: var(--green); font-weight: 600; }
.sb-confirm { padding: 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line-2); box-shadow: var(--shadow-card); display: grid; gap: 10px; font-size: 14.5px; }

/* ---------- Trust ---------- */
.trust { padding: clamp(80px, 11vw, 150px) 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.trust-grid div { padding: 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.trust-grid b { display: block; font-size: 18px; letter-spacing: -.015em; margin-bottom: 8px; }
.trust-grid p { font-size: 15px; color: var(--ink-2); }
.trust-note { margin-top: 26px; font-size: 14.5px; color: var(--muted); }

/* ---------- Access ---------- */
.access { padding: clamp(96px, 13vw, 170px) 0; }
.access-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.access h2 { font-size: clamp(46px, 6.6vw, 88px); letter-spacing: -.045em; margin: 12px 0 22px; }
.steps-mini { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.steps-mini li { display: flex; gap: 12px; align-items: center; color: var(--on-night-2); font-size: 16px; }
.steps-mini b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--night-line-2); font-size: 13px; color: var(--on-night); flex: none; }
.access .fine a { color: var(--on-night); }
.cta-card { padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px -30px rgba(91, 124, 255, .45); }
.cta-title { font-size: 22px; font-weight: 650; letter-spacing: -.02em; margin-bottom: 14px; }
.waitlist { display: grid; gap: 8px; }
.waitlist label { font-size: 13.5px; font-weight: 600; margin-top: 6px; }
.waitlist input, .waitlist select { font: 16px var(--font); padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper-2); color: var(--ink); }
.waitlist button { margin-top: 12px; }
.form-error { color: var(--red); font-size: 13.5px; min-height: 1em; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.joined { text-align: center; display: grid; gap: 10px; }
.joined .tick { font-size: 28px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; background: rgba(18, 133, 93, .1); color: var(--green); }
.joined code { font-size: 13px; }
html[data-signup="waitlist"] .signup-open, html[data-signup="open"] .signup-waitlist { display: none !important; }
.open-card { display: grid; gap: 6px; }

/* ---------- Footer + prototype flag ---------- */
.foot { padding: 40px 0 70px; border-top: 1px solid var(--line); }
.foot-grid { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-left: auto; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { text-decoration: underline; }
.proto-flag { position: fixed; z-index: 150; left: 12px; bottom: 12px; padding: 7px 11px; border-radius: 10px; background: rgba(14, 16, 20, .82); color: #fff; font-size: 12px; }
.proto-flag a { color: #9fc2ff; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--spring), transform 1s var(--spring); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow { animation: none; }
  .js .rv, .hero .rise { opacity: 1 !important; transform: none !important; transition: none !important; }
  .screen, .pchip, .pile, .step, .device * { transition: none !important; }
  .intro { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .journey-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .device-wrap { order: -1; top: 0; height: calc(52vh + 76px); padding-top: 76px; z-index: 2; background: var(--app); padding-bottom: 8px; box-shadow: 0 18px 24px -18px var(--app); }
  .step { min-height: 72vh; justify-content: flex-start; padding-top: 6vh; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .card:nth-child(n+2) { display: none; }
  .focus { grid-template-columns: minmax(0, 1fr); }
  .f-left { padding-bottom: 0; } .f-left .checked, .f-left .tabs { display: none; }
  .f-right { border-left: 0; padding-top: 10px; }
  .f-right .later, .f-right .revise { display: none; }
  .sandbox, .access-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { height: 54px; top: 10px; }
  .nav { padding-left: 14px; gap: 8px; }
  .nav-actions .btn { height: 36px; padding: 0 12px; font-size: 13.5px; }
  .brand img { height: 22px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .device { border-radius: 24px; }
  .screen { padding: 18px; }
  .today h4 { font-size: 28px; margin-top: 18px; }
  .dock span { padding: 7px 8px; }
  .intro-caption { right: 20px; }
  .intro.s3 .intro-orb { transform: translate(-50%, -50%) translateY(-190px) scale(.36); }
}

/* Waitlist (below Get started; for when all 20 places are taken) */
.waitlist-wrap { margin-top: 40px; display: grid; justify-items: end; }
.waitlist-wrap .cta-card { width: min(520px, 100%); }
.opt { font-weight: 400; color: var(--muted); }
@media (max-width: 960px) { .waitlist-wrap { justify-items: stretch; } }
