/* CFO Yantra — waitlist landing page. Design language: 02_DESIGN_LANGUAGE.md */

@font-face { font-family: "Open Sans"; src: url(fonts/opensans-var-latin.woff2) format("woff2"); font-weight: 300 800; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; src: url(fonts/opensans-var-latinext.woff2) format("woff2"); font-weight: 300 800; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plexmono-500-latin.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #F6F5F0; --paper-2: #EFEEE7; --card: #FFFFFF;
  --ink: #111827; --ink-2: #2B3340; --slate: #56606E; --rule: #E2E5DE; --rule-2: #D3D8D0;
  --green: #134021; --green-2: #1C5530; --night: #0B2614; --night-2: #10331C; --mint: #E7F0EA;
  --gold: #F0B727; --gold-ink: #8A5F0C; --deep-gold: #C9932B;
  --red: #B91C1C; --red-bg: #FDECEC; --amber: #B45309; --amber-bg: #FFF3E0; --ok: #2E6B45; --ok-bg: #E6F2EA;
  --on-night: #E9EFE9; --on-night-2: #A9BBAD;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1240px; --gut: clamp(16px, 3.2vw, 32px);
  --r-ctl: 6px; --r-panel: 10px; --r-frame: 14px;
  --shadow: 0 1px 2px rgb(17 24 39 / .06), 0 14px 34px -14px rgb(19 64 33 / .24);
  --shadow-lg: 0 2px 4px rgb(17 24 39 / .05), 0 40px 80px -30px rgb(11 38 20 / .38);
  --out: cubic-bezier(0.23, 1, 0.32, 1); --inout: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; scrollbar-color: #B9C3BA var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--font); font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100% }
button, input { font: inherit; color: inherit }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px }
::selection { background: rgb(240 183 39 / .38); color: var(--ink) }
input, textarea { caret-color: var(--green) }
:focus-visible { outline: 2px solid var(--deep-gold); outline-offset: 3px; border-radius: 4px }
.num, .ui { font-variant-numeric: tabular-nums lining-nums }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 10px 14px; border-radius: var(--r-ctl); text-decoration: none; transition: top .2s var(--out) }
.skip:focus { top: 12px }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto }

/* ---------- type ---------- */
.display, h1, h2 { font-family: var(--font); font-weight: 800; font-stretch: 78%; letter-spacing: -0.025em; color: var(--green); text-wrap: balance; margin: 0 }
h1 { font-size: clamp(46px, 7.1vw, 100px); line-height: .96 }
h2 { font-size: clamp(36px, 4.8vw, 66px); line-height: 1 }
h3 { font-weight: 700; font-size: 20px; line-height: 1.3; margin: 0; letter-spacing: -0.005em }
p { margin: 0 }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch }
.muted { color: var(--slate) }
.on-night h2, .on-night .display { color: #fff }

/* ---------- buttons ---------- */
.btn { --bg: var(--green); --fg: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--r-ctl); background: var(--bg); color: var(--fg); font-weight: 650; font-size: 16.5px; letter-spacing: .005em; text-decoration: none; cursor: pointer; transition: background-color .15s, transform .12s var(--out), box-shadow .15s; box-shadow: 0 1px 0 rgb(255 255 255 / .12) inset, 0 6px 16px -8px rgb(19 64 33 / .55) }
.btn:hover { --bg: var(--green-2) }
.btn:active { transform: scale(.97) }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--out) }
.btn:hover svg { transform: translateX(3px) }
.btn--gold { --bg: var(--gold); --fg: var(--night); box-shadow: 0 8px 20px -10px rgb(240 183 39 / .7) }
.btn--gold:hover { --bg: #F5C64B }
.btn--ghost { --bg: transparent; --fg: var(--green); border-color: var(--rule-2); box-shadow: none }
.btn--ghost:hover { --bg: var(--card); border-color: var(--green) }
.btn[disabled] { opacity: .7; cursor: progress }
.btn .btn-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite }
.btn.is-loading .btn-spin { display: inline-block }
@keyframes spin { to { transform: rotate(1turn) } }
.link { font-weight: 650; color: var(--green); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .25s var(--out) }
.link:hover { background-size: 100% 1.5px }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .25s, box-shadow .25s, transform .3s var(--out) }
.nav.is-scrolled { background: rgb(246 245 240 / .92); backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 var(--rule) }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px }
.nav-logo { display: block; flex: none } .nav-logo img { height: 34px; width: auto }
.nav-links { display: flex; gap: 26px; margin-left: auto; list-style: none; padding: 0; margin-block: 0 }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 600; padding: 6px 0 }
.nav-links a:hover { color: var(--green) }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px }
@media (max-width: 920px) { .nav-links { display: none } .nav .btn { margin-left: auto } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 132px 0 0; overflow: clip }
.hero::before { content: ""; position: absolute; inset: 0 0 30%; background: repeating-linear-gradient(to bottom, transparent 0 31px, rgb(19 64 33 / .055) 31px 32px); mask: linear-gradient(to bottom, #000 0%, transparent 85%); pointer-events: none }
.hero::after { content: ""; display: none; position: absolute; top: 0; bottom: 30%; left: calc(50% - var(--wrap) / 2 - 28px); width: 1px; background: rgb(185 28 28 / .22); mask: linear-gradient(to bottom, #000, transparent 90%); pointer-events: none }
.hero-copy { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 28px }
.hero h1 { grid-column: 1 / span 11 }
.hero h1 .line { display: block }
.hero .lead { grid-column: 1 / span 6 }
.hero-act { grid-column: 7 / span 6; align-self: end }
.role-q { font-size: 15px; font-weight: 600; color: var(--slate); margin-bottom: 12px }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.role-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 0 20px; border: 1.5px solid var(--green); border-radius: var(--r-panel); background: var(--card); cursor: pointer; text-align: left; box-shadow: 0 1px 0 rgb(19 64 33 / .06), 0 10px 24px -18px rgb(19 64 33 / .5); transition: background-color .15s, color .15s, box-shadow .2s var(--out), transform .12s var(--out) }
.role-btn b { white-space: nowrap; font-weight: 700; font-size: 18px; color: var(--green); line-height: 1.25; transition: color .15s }
.role-btn svg { width: 20px; height: 20px; color: var(--green); flex: none; transition: transform .2s var(--out), color .15s }
.role-btn:hover { background: var(--green); box-shadow: var(--shadow) }
.role-btn:hover b, .role-btn:hover svg { color: #fff }
.role-btn:hover svg { transform: translateX(4px) }
.role-btn:active { transform: scale(.98) }
.hero-fact { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14.5px; color: var(--slate) }
.hero-fact svg { width: 18px; height: 18px; color: var(--ok); flex: none }
.hero-stage { position: relative; margin-top: clamp(48px, 6vw, 76px) }

/* ---------- app frame (shared product UI) ---------- */
.frame { position: relative; background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--r-frame); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; line-height: 1.45; color: var(--ink) }
.frame-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--rule); background: #FBFBF8 }
.frame-bar img { height: 20px; width: auto }
.frame-crumb { font-weight: 600; color: var(--ink-2) }
.frame-crumb span { color: var(--slate); font-weight: 400 }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border: 1px solid var(--rule); border-radius: 5px; font-size: 12px; font-weight: 600; color: var(--slate); background: #fff; white-space: nowrap }
.chip--demo { color: var(--gold-ink); border-color: #EBD9AE; background: #FFF8E6; font-size: 10.5px; letter-spacing: .06em; height: 19px; padding: 0 6px }
.frame-bar .chip:first-of-type { margin-left: auto }
.app { display: grid; grid-template-columns: 196px 1fr; min-height: 520px }
.side { background: var(--green); color: #DDE8E0; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px }
.side-h { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #9DB6A4; margin: 14px 10px 6px; font-weight: 600 }
.side a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; color: inherit; text-decoration: none; font-weight: 600; font-size: 12.5px }
.side a svg { width: 15px; height: 15px; opacity: .85 }
.side a.on { background: rgb(255 255 255 / .1); color: #fff }
.side a i { margin-left: auto; font-style: normal; font-size: 11px; background: rgb(255 255 255 / .1); border-radius: 4px; padding: 0 6px; color: #CFE0D4 }
.main { padding: 20px 22px 22px; background: #FCFCFA; min-width: 0 }
.main-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap }
.main-h h4 { margin: 0; font-size: 21px; font-weight: 800; color: var(--green); letter-spacing: -.01em }
.main-h p { color: var(--slate); font-size: 12.5px }
.health { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 10px; margin: 14px 0 }
.tile { border: 1px solid var(--rule); background: #fff; border-radius: 8px; padding: 10px 12px }
.tile h5 { margin: 0 0 6px; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--slate); font-weight: 600 }
.tile .v { font-size: 22px; font-weight: 800; line-height: 1 }
.tile .v.red { color: var(--red) } .tile .v.amb { color: var(--amber) }
.tile p { font-size: 11.5px; color: var(--slate); margin-top: 4px }
.bar5 { display: flex; height: 9px; border-radius: 3px; overflow: hidden; gap: 2px; margin: 4px 0 8px }
.bar5 i { display: block; height: 100% }
.legend { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; color: var(--slate) }
.legend b { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; vertical-align: 1px }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px }
.cc { border: 1px solid var(--rule); border-top: 3px solid var(--c, var(--red)); border-radius: 8px; background: #fff; padding: 12px 13px; min-width: 0 }
.cc-h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap }
.cc-h b { font-size: 14px; font-weight: 800; color: var(--ink) }
.cc-meta { font-size: 11px; color: var(--slate); margin: 2px 0 10px }
.cc-body { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: center }
.ring { position: relative; width: 74px; height: 74px }
.ring svg { width: 74px; height: 74px; transform: rotate(-90deg) }
.ring circle { fill: none; stroke-width: 7 }
.ring .bg { stroke: #ECEFEA }
.ring .fg { stroke: var(--c); stroke-linecap: round; stroke-dasharray: var(--len) 999; transition: stroke-dasharray 1.2s var(--out) }
.ring .sc { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1 }
.ring .sc b { font-size: 22px; font-weight: 800 }
.ring .sc small { font-size: 9.5px; color: var(--slate) }
.state { font-size: 11.5px; font-weight: 800; color: var(--c); margin-top: 3px; text-align: center }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px }
.kv div { border: 1px solid var(--rule); border-radius: 6px; padding: 5px 7px; min-width: 0 }
.kv small { display: block; font-size: 10px; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.kv b { font-size: 12.5px; white-space: nowrap }
.kv b.neg { color: var(--red) }
.flags { margin-top: 10px; border-top: 1px dashed var(--rule-2); padding-top: 8px }
.flags h6 { margin: 0 0 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 5px }
.flags h6 svg { width: 12px; height: 12px }
.fl { display: grid; grid-template-columns: 8px 1fr auto; gap: 7px; align-items: baseline; padding: 4px 0; font-size: 11.5px }
.fl::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); transform: translateY(1px) }
.fl.amb::before { background: var(--amber) }
.fl .code { font-family: var(--mono); font-size: 10.5px; color: var(--slate); margin-right: 4px }
.fl em { font-style: normal; display: block; font-size: 10.5px; color: var(--slate) }
.fl b { font-size: 11.5px; white-space: nowrap }
.fl.new { animation: flagIn .7s var(--out) both; background: linear-gradient(90deg, rgb(185 28 28 / .08), transparent 70%); border-radius: 4px; padding-inline: 4px; margin-inline: -4px }
@keyframes flagIn { from { transform: translateY(-8px); filter: blur(2px); background-color: rgb(185 28 28 / .2) } to { transform: none; filter: none } }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(88px, 11vw, 148px) 0 }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 22px; margin-bottom: clamp(40px, 5vw, 64px) }
.sec-head h2 { grid-column: 1 / span 8 }
.sec-head .lead { grid-column: 1 / span 7 }

/* pain: the month-end */
.chores { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; position: relative }
.chores::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--rule-2) }
.chores li { position: relative; padding-top: 34px; display: flex; flex-direction: column; gap: 8px }
.chores li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green) }
.chores .t { font-weight: 700; font-size: 14px; letter-spacing: .02em; color: var(--slate); font-variant-numeric: tabular-nums }
.chores .x { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; font-weight: 600; color: var(--ink-2); letter-spacing: -.01em; max-width: 16ch }
.chores li.miss::before { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 6px rgb(185 28 28 / .12) }
.chores li.miss .t { color: var(--red) }
.chores li.miss .x { color: var(--ink) }
.chores .after { font-size: 16px; color: var(--slate); line-height: 1.5; max-width: 30ch }

/* stakes: the portfolio scan (night band) */
.night { background: var(--night); color: var(--on-night) }
.night .lead { color: var(--on-night-2) }
.scan-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center }
.signs { grid-column: 1 / span 4; list-style: none; margin: 0; padding: 0 }
.signs li { padding: 18px 0 18px 26px; border-top: 1px solid rgb(255 255 255 / .1); position: relative; transition: color .3s }
.signs li:last-child { border-bottom: 1px solid rgb(255 255 255 / .1) }
.signs li::before { content: ""; position: absolute; left: 2px; top: 27px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--on-night-2); transition: background-color .3s, border-color .3s, box-shadow .3s }
.signs b { display: block; color: #fff; font-size: 19px; font-weight: 700; letter-spacing: -.005em }
.signs span { display: block; color: var(--on-night-2); font-size: 15.5px; margin-top: 2px }
.signs li.lit::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgb(240 183 39 / .16) }
.board { grid-column: 6 / span 7; position: relative; border: 1px solid rgb(255 255 255 / .1); border-radius: var(--r-frame); background: var(--night-2); padding: 16px; overflow: hidden }
.board-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 13px; color: var(--on-night-2) }
.board-h b { color: #fff; font-weight: 700 }
.board-h .chip { background: transparent; border-color: rgb(255 255 255 / .16); color: var(--on-night-2) }
.board-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px }
.bt { position: relative; min-height: 104px; border: 1px solid rgb(255 255 255 / .09); border-radius: 8px; padding: 10px 11px; background: rgb(255 255 255 / .03); display: flex; flex-direction: column; gap: 3px; transition: background-color .35s, border-color .35s }
.bt b { font-size: 13px; color: #fff; font-weight: 700; line-height: 1.25 }
.bt small { font-size: 11px; color: var(--on-night-2) }
.bt .sig { margin-top: auto; font-size: 11.5px; font-weight: 700; color: var(--gold); display: flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(4px); transition: opacity .35s var(--out), transform .35s var(--out) }
.bt .sig::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor }
.bt.hit { background: rgb(240 183 39 / .07); border-color: rgb(240 183 39 / .38) }
.bt.hit .sig { opacity: 1; transform: none }
.bt.hit.red { background: rgb(239 68 68 / .08); border-color: rgb(239 68 68 / .45) }
.bt.hit.red .sig { color: #FCA5A5 }
.bt.ok .sig { color: #8FD3A6; opacity: 1; transform: none }
.scanline { position: absolute; top: 0; bottom: 0; left: 0; width: 120px; background: linear-gradient(90deg, transparent, rgb(240 183 39 / .16) 70%, rgb(240 183 39 / .55) 98%, transparent); pointer-events: none; transform: translateX(-140px); opacity: 0 }
.board.scanning .scanline { animation: scan 3.4s var(--inout) forwards }
@keyframes scan { 0% { transform: translateX(-140px); opacity: 1 } 92% { opacity: 1 } 100% { transform: translateX(calc(var(--bw, 700px) + 20px)); opacity: 0 } }
.board-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--on-night-2) }
.replay { background: none; border: 1px solid rgb(255 255 255 / .18); color: var(--on-night); border-radius: var(--r-ctl); padding: 7px 12px; cursor: pointer; font-size: 13px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; flex: none; transition: border-color .15s, transform .12s var(--out) }
.replay:hover { border-color: var(--gold) } .replay:active { transform: scale(.97) }
.replay svg { width: 14px; height: 14px }
.stake-line { grid-column: 1 / -1; margin-top: clamp(40px, 5vw, 64px); font-weight: 800; font-stretch: 80%; font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -.02em; color: #fff; max-width: 26ch }
.stake-line span { color: var(--on-night-2) }

/* how it works: steps + UI panel */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px }
.step-tab { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; gap: 8px; text-align: left; background: none; border: 0; border-top: 2px solid var(--rule-2); padding: 18px 0 4px; cursor: pointer; color: var(--ink) }
.step-tab::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--out) }
.step-tab b { font-size: 21px; font-weight: 800; font-stretch: 88%; color: var(--slate); transition: color .2s; letter-spacing: -.01em }
.step-tab .d { font-size: 15.5px; color: var(--slate); line-height: 1.5; opacity: .75; transition: opacity .2s }
.step-tab[aria-selected="true"]::before { transform: scaleX(1) }
.step-tab[aria-selected="true"] b { color: var(--green) }
.step-tab[aria-selected="true"] .d { opacity: 1; color: var(--ink-2) }
.step-tab:hover b { color: var(--green) } .step-tab:hover .d { opacity: 1 }
.stage-ui { margin-top: 36px }
.pane { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; align-content: start; min-height: 340px; padding: 26px; background: #FCFCFA }
.pane > .pane-h, .pane > .span, .pane > .pdf, .pane > .pdf-foot { grid-column: 1 / -1 }
.pane .col { display: flex; flex-direction: column; gap: 12px; justify-content: center }
.tc--2 { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px }
.tc--2 .tc-row:nth-last-child(-n+2) { border-bottom: 0 }
.pane.ask { display: flex; flex-direction: column; gap: 14px; max-width: 820px; width: 100%; margin-inline: auto; background: none }
#p-ask { background: #FCFCFA }
.panel { display: none }
.panel.on { display: block; animation: panelIn .32s var(--out) }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
.pane-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap }
.pane-h h4 { margin: 0; font-size: 17px; font-weight: 800; color: var(--green) }
.tc { border: 1px solid var(--rule); border-radius: 8px; background: #fff; padding: 12px 14px }
.tc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 12.5px }
.tc-row:last-child { border-bottom: 0 }
.tc-row .code { font-family: var(--mono); font-size: 11px; color: var(--slate) }
.ok-t { color: var(--ok); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap }
.ok-t svg { width: 13px; height: 13px }
.group { position: relative; border: 1px solid var(--green); border-radius: 8px; background: var(--mint); padding: 12px 14px }
.group b { color: var(--green) }
.join { display: flex; align-items: center; gap: 8px; color: var(--slate); font-size: 12px; padding-left: 14px }
.join svg { width: 16px; height: 16px; color: var(--deep-gold) }
.flagcard { border: 1px solid #F3C9C9; border-left-width: 1px; border-radius: 8px; background: #fff; padding: 14px 16px }
.flagcard .top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.sev { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--red-bg); color: var(--red) }
.sev.amb { background: var(--amber-bg); color: var(--amber) }
.flagcard .amt { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; margin: 8px 0 2px }
.flagcard .why { color: var(--slate); font-size: 13px }
.flagcard .todo { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--rule-2); font-size: 13px }
.flagcard .todo b { color: var(--green) }
.src { font-size: 12px; color: var(--gold-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px }
.ask { display: flex; flex-direction: column; gap: 10px }
.q { align-self: flex-end; max-width: 80%; background: var(--green); color: #fff; border-radius: 12px 12px 3px 12px; padding: 10px 13px; font-size: 13.5px }
.a { align-self: flex-start; max-width: 88%; background: #fff; border: 1px solid var(--rule); border-radius: 12px 12px 12px 3px; padding: 12px 14px; font-size: 13.5px; line-height: 1.55 }
.a .cite { display: block; margin-top: 8px; font-size: 11.5px; color: var(--slate) }
.askbar { margin-top: auto; display: flex; align-items: center; gap: 8px; border: 1px solid var(--rule-2); border-radius: 8px; background: #fff; padding: 8px 8px 8px 12px; color: var(--slate); font-size: 13px }
.askbar i { margin-left: auto; width: 30px; height: 30px; border-radius: 6px; background: var(--green); display: grid; place-content: center; color: #fff; font-style: normal }
.askbar i svg { width: 15px; height: 15px }
.pdf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 900px }
.pg { aspect-ratio: 1.414; border: 1px solid var(--rule); border-radius: 6px; background: #fff; padding: 14px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 10px 24px -16px rgb(17 24 39 / .35) }
.pg.cover { background: var(--green); color: #fff; border-color: var(--green) }
.pg.cover img { width: 92px; height: auto }
.pg.cover b { font-size: 15px; font-weight: 800; margin-top: auto; line-height: 1.2 }
.pg.cover small { color: #B9CDBF; font-size: 10.5px }
.pg .ln { height: 6px; border-radius: 2px; background: #EDF0EB }
.pg .ln.s { width: 60% } .pg .ln.g { background: var(--mint) } .pg .ln.r { background: #F7D5D5; width: 70% }
.pg .bars { display: flex; align-items: end; gap: 5px; height: 46px; margin: 4px 0 }
.pg .bars i { flex: 1; background: var(--green); border-radius: 2px 2px 0 0; opacity: .85 }
.pg .bars i:nth-child(odd) { background: var(--deep-gold) }
.pdf-foot { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--slate) }

/* practice: green band with photograph */
.band { background: var(--green); color: #DCE7DF }
.band h2 { color: #fff }
.band .lead { color: #C3D4C8 }
.practice { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; align-items: center }
.practice-copy { grid-column: 1 / span 6 }
.practice-copy h2 span { color: var(--gold) }
.paths { margin-top: 40px; display: grid; gap: 0 }
.path { padding: 22px 0; border-top: 1px solid rgb(255 255 255 / .14) }
.path:last-child { border-bottom: 1px solid rgb(255 255 255 / .14) }
.path h3 { color: #fff; font-size: 21px; margin-bottom: 6px }
.path p { color: #C3D4C8; font-size: 17px; max-width: 52ch }
.practice-photo { grid-column: 8 / span 5; position: relative; margin: 0; border-radius: var(--r-frame); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5) }
.practice-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transition: transform .6s var(--out) }
.practice-photo:hover img { transform: scale(1.025) }
.practice-photo .float { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgb(255 255 255 / .97); color: var(--ink); border-radius: 10px; padding: 12px 14px; box-shadow: var(--shadow); font-size: 13px; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center }
.practice-photo .float .dot { grid-row: span 2; width: 34px; height: 34px; border-radius: 8px; background: var(--red-bg); color: var(--red); display: grid; place-content: center }
.practice-photo .float .dot svg { width: 17px; height: 17px }
.practice-photo .float b { font-size: 13.5px }
.practice-photo .float span { color: var(--slate); font-size: 12px }
.next-up { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding-top: 32px; border-top: 1px solid rgb(255 255 255 / .14) }
.next-up p { grid-column: 1 / span 9; font-size: 19px; color: #E4EDE6; line-height: 1.5 }
.next-up b { color: var(--gold); font-weight: 700 }

/* trust: the reading chain */
.trust-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px }
.trust-grid .sec-head { grid-column: 1 / -1; margin: 0 }
.chain { grid-column: 1 / -1; position: relative }
.chain-rail { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0 }
.chain-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: var(--rule-2) }
.chain-rail::after { content: ""; position: absolute; left: 0; top: 15px; height: 2px; width: var(--p, 0%); background: var(--deep-gold); transition: width .6s var(--out) }
.link-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: none; border: 0; padding: 0 8px 0 0; text-align: left; cursor: pointer; color: var(--slate); width: 100% }
.link-step .k { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--rule-2); background: var(--paper); display: grid; place-content: center; font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums; transition: border-color .3s, background-color .3s, color .3s }
.link-step .w { font-size: 14px; font-weight: 700; letter-spacing: .01em }
.link-step.done .k { border-color: var(--deep-gold); background: var(--deep-gold); color: #fff }
.link-step.now .k { border-color: var(--green); background: var(--green); color: #fff; box-shadow: 0 0 0 6px rgb(19 64 33 / .1) }
.link-step.now .w, .link-step.done .w { color: var(--ink) }
.chain-read { margin-top: 30px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start }
.chain-say { grid-column: 1 / span 7; min-height: 4.5em; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.22; font-weight: 700; letter-spacing: -.015em; color: var(--ink) }
.chain-say small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--slate); margin-bottom: 8px }
.chain-say.swap { animation: sayIn .35s var(--out) }
@keyframes sayIn { from { transform: translateY(6px); filter: blur(3px) } to { transform: none; filter: none } }
.chain-who { grid-column: 9 / span 4; font-size: 15px; color: var(--slate); border-left: 1px solid var(--rule-2); padding-left: 20px }
.chain-who b { color: var(--ink) }
.facts { grid-column: 1 / -1; margin: 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; font-weight: 600; color: var(--green); max-width: 62ch }
.founder { grid-column: 1 / -1; display: grid; grid-template-columns: 76px 1fr auto; column-gap: 24px; align-items: center; padding-top: 28px; border-top: 1px solid var(--rule-2) }
.founder img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: #222 }
.founder-line { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; font-weight: 700; color: var(--ink); letter-spacing: -.01em; max-width: 34ch }
.founder-who { text-align: right } .founder-who b { display: block; font-size: 17px } .founder-who span { font-size: 14px; color: var(--slate) }

/* questions */
.qa { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px }
.qa h2 { grid-column: 1 / span 4 }
.qa-list { grid-column: 6 / span 7; border-top: 1px solid var(--rule-2) }
.qa details { border-bottom: 1px solid var(--rule-2) }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 650; color: var(--ink) }
.qa summary::-webkit-details-marker { display: none }
.qa summary:hover { color: var(--green) }
.qa .plus { position: relative; width: 16px; height: 16px; flex: none }
.qa .plus::before, .qa .plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--green); transition: transform .25s var(--out) }
.qa .plus::after { transform: rotate(90deg) }
.qa details[open] .plus::after { transform: rotate(0) }
.qa details p { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 17px; max-width: 62ch }
.qa details[open] p { animation: sayIn .3s var(--out) }

/* reserve: form section */
.reserve { background: linear-gradient(var(--paper-2), var(--paper-2)) }
.reserve-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; align-items: start }
.reserve-copy { grid-column: 1 / span 5; position: sticky; top: 110px }
.reserve-copy .lead { margin-top: 20px }
.perks { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--rule-2) }
.perks li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule-2); font-size: 16.5px; color: var(--ink-2) }
.perks li svg { width: 18px; height: 18px; color: var(--deep-gold); margin-top: 4px }
.perks b { color: var(--ink) }
.waitlist { grid-column: 7 / span 6; background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--r-frame); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 36px); scroll-margin-top: 96px }

/* form internals */
.wl-steps { display: flex; list-style: none; margin: 0 0 26px; padding: 0 0 18px; border-bottom: 1px solid var(--rule); gap: 6px }
.wl-step { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--slate); flex: 1 1 auto; min-width: 0 }
.wl-step:last-child { flex: none }
.wl-step:not(:last-child)::after { content: ""; flex: 1; height: 1px; background: var(--rule-2); margin-left: 4px; min-width: 8px }
.wl-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-content: center; font-size: 11px; border: 1.5px solid var(--rule-2); color: var(--slate); background: #fff }
.wl-dot svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.wl-step.is-now { color: var(--green) } .wl-step.is-now .wl-dot { border-color: var(--green); background: var(--green); color: #fff }
.wl-step.is-done { color: var(--ink-2) } .wl-step.is-done .wl-dot { border-color: var(--deep-gold); background: var(--deep-gold); color: #fff }
.wl-step-name { white-space: nowrap }
.wl-head { margin-bottom: 20px }
.wl-title { font-size: 26px; font-weight: 800; font-stretch: 85%; color: var(--green); letter-spacing: -.015em }
.wl-intro { color: var(--slate); font-size: 15.5px; margin-top: 4px }
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px }
.wl-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0 }
.wl-field--choice, .wl-field[data-field="name"], .wl-field[data-field="city"], .wl-field--check { grid-column: 1 / -1 }
.wl-label { font-size: 14px; font-weight: 650; color: var(--ink-2); padding: 0 }
.wl-opt { font-weight: 400; color: var(--slate); font-size: 12.5px }
.wl-input { width: 100%; height: 50px; border: 1px solid var(--rule-2); border-radius: var(--r-ctl); background: #fff; padding: 0 14px; font-size: 16.5px; transition: border-color .15s, box-shadow .15s }
.wl-input::placeholder { color: #9AA3AE }
.wl-input:hover { border-color: #B7BFB6 }
.wl-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(19 64 33 / .12) }
.wl-tel { display: flex; align-items: stretch }
.wl-prefix { display: grid; place-content: center; padding: 0 12px; border: 1px solid var(--rule-2); border-right: 0; border-radius: var(--r-ctl) 0 0 var(--r-ctl); background: var(--paper); color: var(--slate); font-weight: 600; font-size: 15.5px }
.wl-tel .wl-input { border-radius: 0 var(--r-ctl) var(--r-ctl) 0 }
.wl-field.is-invalid .wl-input, .wl-field.is-invalid .wl-prefix { border-color: var(--red) }
.wl-field.is-invalid .wl-input:focus { box-shadow: 0 0 0 3px rgb(185 28 28 / .14) }
.wl-err { color: var(--red); font-size: 13.5px; font-weight: 600 }
.wl-hint { font-size: 13.5px; color: var(--gold-ink) }
.wl-fix { border: 0; background: none; padding: 0; color: var(--green); font-weight: 700; text-decoration: underline; cursor: pointer }
.wl-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 8px }
.wl-choices--big { grid-template-columns: 1fr 1fr }
.wl-field[data-field="intent"] .wl-choices { grid-template-columns: 1fr }
.wl-choice { position: relative; display: block; cursor: pointer }
.wl-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer }
.wl-choice span { display: flex; align-items: center; min-height: 46px; padding: 10px 14px 10px 40px; border: 1px solid var(--rule-2); border-radius: var(--r-ctl); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink-2); line-height: 1.3; transition: border-color .15s, background-color .15s, color .15s; position: relative }
.wl-choice span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid #AEB7AF; border-radius: 50%; background: #fff; transition: border-color .15s, box-shadow .15s, background-color .15s }
.wl-choice input[type=checkbox] + span::before { border-radius: 4px }
.wl-choice:hover span { border-color: var(--green) }
.wl-choice input:checked + span { border-color: var(--green); background: var(--mint); color: var(--green) }
.wl-choice input:checked + span::before { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px #fff }
.wl-choice input[type=checkbox]:checked + span::before { box-shadow: none; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6 9.6 3.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat }
.wl-choice input:focus-visible + span { outline: 2px solid var(--deep-gold); outline-offset: 2px }
.wl-choices--big .wl-choice span { min-height: 58px; font-size: 16px }
.wl-field.is-invalid .wl-choice span { border-color: #E9A8A8 }
.wl-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; color: var(--ink-2); position: relative }
.wl-check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0 }
.wl-box { width: 20px; height: 20px; border: 1.5px solid #AEB7AF; border-radius: 4px; flex: none; background: #fff; transition: background-color .15s, border-color .15s }
.wl-check input:checked + .wl-box { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6 9.6 3.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: var(--green) }
.wl-check input:focus-visible + .wl-box { outline: 2px solid var(--deep-gold); outline-offset: 2px }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.wl-formerr { margin-top: 16px; color: var(--red); font-weight: 600; font-size: 14.5px }
.wl-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px }
.wl-actions .btn { min-width: 220px }
.wl-small { font-size: 13.5px; color: var(--slate) }
.wl-skip { background: none; border: 0; padding: 0; color: var(--green); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-right: 6px }
.wl-badge { margin: -4px 0 22px; padding: 14px 16px; border-radius: var(--r-panel); background: var(--green); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; animation: badgeIn .5s var(--out) both }
.wl-badge-line { font-weight: 700; font-size: 16.5px }
.wl-badge .wl-badge-no { color: #C8D8CD; font-size: 14px }
.wl-badge .wl-badge-no b { color: var(--gold); font-size: 16px }
@keyframes badgeIn { from { opacity: 0; transform: translateY(-6px) scale(.98) } to { opacity: 1; transform: none } }
.wl-done { outline: none; animation: badgeIn .5s var(--out) both }
.wl-done .wl-badge-no { font-size: 14px; font-weight: 600; color: var(--gold-ink); margin-bottom: 6px }
.wl-done .wl-badge-no b { font-size: 16px }
.wl-next { margin: 18px 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--rule) }
.wl-next li { padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; color: var(--slate) }
.wl-next b { color: var(--ink) }
.wl-share { display: flex; flex-wrap: wrap; gap: 10px }

/* close + footer */
.close { background: var(--night); color: var(--on-night); padding: clamp(96px, 12vw, 160px) 0 0; overflow: clip }
.close-line { font-weight: 800; font-stretch: 76%; letter-spacing: -.03em; line-height: .95; font-size: clamp(48px, 8.4vw, 124px); color: #fff; max-width: 13ch }
.close-line span { color: var(--gold) }
.close-act { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; color: var(--on-night-2); font-size: 16px }
.foot { margin-top: clamp(80px, 10vw, 130px); padding: 26px 0 34px; border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; font-size: 13.5px; color: var(--on-night-2) }
.foot img { height: 28px; width: auto }
.foot a { color: var(--on-night) }
.foot p { max-width: 70ch }

/* sticky phone bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgb(246 245 240 / .95); backdrop-filter: blur(10px); border-top: 1px solid var(--rule); display: none; transform: translateY(110%); transition: transform .3s var(--out) }
.mbar .btn { width: 100% }
.mbar.show { transform: none }

/* ---------- hero entrance (once, pure CSS: never depends on a script loading) ---------- */
[data-enter] { animation: enter .9s var(--out) both; animation-delay: calc(var(--i, 0) * 70ms + 60ms) }
.hero-stage[data-enter] { animation-name: enterStage; animation-duration: 1.1s }
@keyframes enter { from { opacity: 0; transform: translateY(14px) } }
@keyframes enterStage { from { opacity: 0; transform: translateY(36px) scale(.985) } }

/* ---------- responsive ---------- */
@media (min-width: 1330px) { .hero::after { display: block } }
@media (max-width: 1100px) {
  .app { grid-template-columns: 1fr } .side { display: none }
  .health { grid-template-columns: 1fr 1fr }
  .board { grid-column: 1 / -1; margin-top: 36px } .signs { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px }
  .signs li:nth-last-child(2) { border-bottom: 1px solid rgb(255 255 255 / .1) }
}
@media (max-width: 900px) {
  body { font-size: 17px }
  .hero { padding-top: 112px }
  .hero h1, .hero .lead, .hero-act { grid-column: 1 / -1 }
  .cards { grid-template-columns: 1fr 1fr } .cards .cc:nth-child(3) { display: none }
  .chores { grid-template-columns: 1fr 1fr; row-gap: 36px } .chores::before { display: none }
  .steps { grid-template-columns: 1fr } .step-tab { border-top-width: 1px; padding: 16px 0 } .steps li:last-child .step-tab { border-bottom: 1px solid var(--rule-2) } .step-tab::before { display: none } .step-tab .d { display: none } .step-tab[aria-selected="true"] .d { display: block } .stage-ui { margin-top: 24px }
  .practice-copy, .practice-photo { grid-column: 1 / -1 } .practice-photo { aspect-ratio: 4 / 3 }
  .next-up p { grid-column: 1 / -1 }
  .chain-say, .chain-who { grid-column: 1 / -1 } .chain-who { margin-top: 20px; border-left: 0; padding-left: 0 }
  .founder { grid-template-columns: 64px 1fr; row-gap: 14px } .founder img { width: 64px; height: 64px } .founder-who { grid-column: 2; text-align: left }
  .qa h2, .qa-list { grid-column: 1 / -1 } .qa-list { margin-top: 32px }
  .reserve-copy, .waitlist { grid-column: 1 / -1; position: static }
  .sec-head h2, .sec-head .lead { grid-column: 1 / -1 }
  .mbar { display: block }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(42px, 11.4vw, 60px) }
  /* inline lines can stall a fade-in on phones: animate the whole headline instead */
  .hero h1 .line { display: inline; animation: none }
  .hero h1 { animation: enter .9s var(--out) both }
  .role-pick { grid-template-columns: 1fr }
  .role-btn { min-height: 62px }
  .chores { grid-template-columns: 1fr; row-gap: 0; padding-left: 30px } .chores::before { display: block; left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto }
  .chores li { padding: 0 0 30px } .chores li::before { left: -30px; top: 3px } .chores .x { max-width: none }
  .health .tile:nth-child(n+3) { display: none }
  .cards { grid-template-columns: 1fr } .cards .cc:nth-child(2) { display: none }
  .frame-bar .chip:not(.keep) { display: none }
  .main { padding: 16px 14px }
  .signs { grid-template-columns: 1fr } .signs li:nth-last-child(2) { border-bottom: 0 }
  .board-grid { grid-template-columns: 1fr 1fr }
  .bt:nth-child(n+7) { display: none }
  .chain-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px }
  .chain-rail::before, .chain-rail::after { display: none }
  .pdf { grid-template-columns: 1fr 1fr } .pdf .pg:nth-child(3) { display: none } .pane { grid-template-columns: 1fr } .tc--2 { grid-template-columns: 1fr } .tc--2 .tc-row:nth-last-child(2) { border-bottom: 1px solid var(--rule) }
  .wl-grid { grid-template-columns: 1fr }
  .wl-choices--big { grid-template-columns: 1fr }
  .wl-actions .btn { width: 100% }
  .wl-step-name { font-size: 12px } .wl-steps { gap: 4px } .wl-step:not(:last-child)::after { min-width: 6px }
  .pane { padding: 16px; min-height: 0 }
  .close-act .btn { width: 100% }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important }
  .js [data-enter] { opacity: 1; transform: none }
}

/* ===================== v03: marketing structure ===================== */
.nav-seats { font-size: 13.5px; font-weight: 600; color: var(--gold-ink); white-space: nowrap }
@media (max-width: 1120px) { .nav-seats { display: none } }
.hero-fact { align-items: flex-start }
.hero-fact b { color: var(--ink); font-weight: 700 }
.seat-dot { flex: none; width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: var(--deep-gold); box-shadow: 0 0 0 0 rgb(201 147 43 / .5); animation: seatPulse 2.4s var(--out) infinite }
@keyframes seatPulse { 0% { box-shadow: 0 0 0 0 rgb(201 147 43 / .45) } 70%, 100% { box-shadow: 0 0 0 9px rgb(201 147 43 / 0) } }
.seats-low .seat-dot { background: var(--red); animation-name: seatPulseRed }
@keyframes seatPulseRed { 0% { box-shadow: 0 0 0 0 rgb(185 28 28 / .45) } 70%, 100% { box-shadow: 0 0 0 9px rgb(185 28 28 / 0) } }

.sec--tight { padding-top: clamp(64px, 8vw, 110px) }
.sec--alt { background: var(--paper-2) }
.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; align-items: center }
.split > .split-copy { grid-column: 1 / span 5 }
.split > :not(.split-copy) { grid-column: 7 / span 6; min-width: 0 }
.split--rev > .split-copy { grid-column: 8 / span 5; grid-row: 1 }
.split--rev > :not(.split-copy) { grid-column: 1 / span 6; grid-row: 1 }
.lines { margin-top: 28px; display: grid; gap: 12px; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.55; color: var(--on-night-2) }
.lines--ink { color: var(--ink-2) }
.lines .strong { color: #fff; font-weight: 700 }
.lines--ink .strong { color: var(--ink) }
.lines .strong.green { color: var(--green) }
.lines .strong.gold { color: var(--gold) }
.band .lines { color: #C3D4C8 }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px }
.cta-note { font-size: 14.5px; font-weight: 600; color: var(--gold-ink) }
.close-act [data-seats] { color: var(--gold); font-weight: 600 }

/* problem: the endless stream */
.stream { border: 1px solid rgb(255 255 255 / .1); border-radius: var(--r-frame); background: var(--night-2); padding: 16px 18px }
.stream-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--on-night-2); margin-bottom: 8px }
.stream-win { height: 380px; overflow: hidden; mask: linear-gradient(to bottom, transparent, #000 14%, #000 80%, transparent) }
.stream-list { list-style: none; margin: 0; padding: 0; animation: streamUp 42s linear infinite }
.stream.paused .stream-list { animation-play-state: paused }
.stream-list li { display: flex; flex-direction: column; gap: 2px; padding: 15px 0; border-bottom: 1px solid rgb(255 255 255 / .07); color: #fff; font-size: clamp(18px, 1.6vw, 22px); font-weight: 650; letter-spacing: -.005em }
.stream-list li small { font-size: 12.5px; font-weight: 600; color: var(--gold); letter-spacing: .02em }
@keyframes streamUp { from { transform: translateY(0) } to { transform: translateY(-50%) } }

/* why: the pile of reports */
.pile { border: 1px solid var(--rule-2); border-radius: var(--r-frame); background: var(--card); box-shadow: var(--shadow); padding: 20px }
.pile-row { display: grid; grid-template-columns: 1.6fr repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end }
.pcol { display: flex; flex-direction: column-reverse; gap: 5px; min-width: 0 }
.pcol b { order: -1; font-size: 11.5px; font-weight: 700; color: var(--slate); margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.pcol i { display: block; height: 30px; border: 1px solid var(--rule-2); border-radius: 4px; background: #FBFBF8; font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s var(--out), transform .45s var(--out) }
.pcol--first i { background: var(--mint); border-color: #CFE0D4; color: var(--green) }
.pcol:not(.pcol--first) i { background: repeating-linear-gradient(90deg, #EEF1EC 0 40%, transparent 40% 52%, #EEF1EC 52% 78%, transparent 78%) 8px 50% / calc(100% - 16px) 6px no-repeat, #FBFBF8 }
.pile.pre i { opacity: 0; transform: translateY(-16px) }
.pile-foot { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--rule-2); display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--slate); font-weight: 600 }
.pile-clock { color: var(--red) }

/* solved: one red flag, ready */
.frame--solo { box-shadow: var(--shadow-lg) }
.solo { padding: 24px; background: #FCFCFA; display: grid; gap: 14px }
.code { font-family: var(--mono); font-size: 11px; color: var(--slate) }
.flagcard--big { padding: 20px 22px }
.flagcard--big .amt { font-size: clamp(32px, 3.2vw, 42px) }
.flagcard .src { display: inline-block; margin-top: 8px }
.solo-more { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--slate) }
.solo-more > span:first-child { color: var(--ink-2); font-weight: 600 }

/* x-ray */
.xray { position: relative; padding-bottom: 40px }
.xr-card { position: relative; z-index: 1; width: min(430px, 72%); background: #fff; color: var(--ink); border-radius: 12px; padding: 20px 22px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .55) }
.xr-h { font-weight: 800; color: var(--green); font-size: 17px; display: flex; flex-direction: column; gap: 2px }
.xr-h span { font-weight: 600; font-size: 12.5px; color: var(--slate) }
.xr-body { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; margin-top: 14px }
.ring--lg, .ring--lg svg { width: 112px; height: 112px }
.ring--lg .sc b { font-size: 34px }
.xr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.xr-list li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: 13px; border-bottom: 1px solid var(--rule); padding-bottom: 7px }
.xr-list em { display: block; font-style: normal; font-size: 11.5px; color: var(--red); font-weight: 700 }
.xr-list b { white-space: nowrap }
.xr-state { margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--red) }
.xr-cover { position: absolute; right: 0; top: 48px; width: min(250px, 40%); z-index: 0; transform: rotate(4deg); background: #fff; color: var(--ink); border: 0; border-top: 34px solid var(--night); box-shadow: 0 24px 48px -20px rgb(0 0 0 / .6) }
.xr-cover img { display: none }
.xr-cover b { color: var(--green) } .xr-cover small { color: var(--slate) }
.xr-cover::before { content: "Report pack · PDF"; display: block; margin-top: -26px; margin-bottom: auto; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase }

/* product: six tabs */
.steps--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 20px }
.steps--6 .step-tab .d { font-size: 14.5px }
#how .founder { margin-top: 48px }
.tc--act .tc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: center }
.tc--act b { display: block; font-size: 13px }
.tc--act small { display: block; font-size: 11.5px; color: var(--red); font-weight: 600 }
.tc--act .tc-row > span:last-child { color: var(--green); font-weight: 600 }
.pane .tc--act { grid-column: 1 / -1 }

/* practice: ranked list */
.rank { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff }
.rank th { text-align: left; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--slate); font-weight: 600; padding: 12px 18px; border-bottom: 1px solid var(--rule) }
.rank td { padding: 13px 18px; border-bottom: 1px solid var(--rule); vertical-align: middle }
.rank td b { font-weight: 700 }
.rank td small { display: block; color: var(--slate); font-size: 11.5px }
.rank td:nth-child(2) { white-space: nowrap; font-weight: 700; font-size: 12.5px }
.rank td:last-child b { display: block; font-variant-numeric: tabular-nums }
.hs { display: inline-grid; place-content: center; width: 30px; height: 30px; border-radius: 50%; margin-right: 8px; font-weight: 800; font-size: 12.5px; border: 2.5px solid currentColor }
.hs.crit { color: var(--red) } .hs.warn { color: #C2410C }
.rank tr:first-child td { background: rgb(185 28 28 / .04) }
.rank-more { padding: 12px 18px; font-size: 12.5px; color: var(--slate); background: #FCFCFA }

/* money */
.illus { margin-top: 24px; font-size: 13.5px; color: #9FB6A6; max-width: 56ch }

/* what comes next: the owner's phone */
.phone-wrap { display: grid; place-items: center }
.phone { width: 290px; border-radius: 34px; background: #EAF3EE; border: 8px solid #1a1f1c; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .7); overflow: hidden; color: var(--ink); font-size: 13px }
.ph-top { background: var(--green); color: #fff; padding: 22px 18px 20px; display: flex; flex-direction: column; gap: 4px }
.ph-top p { color: #B9CDBF; font-size: 12px }
.ph-top b { font-size: 21px; font-weight: 800; font-stretch: 85%; letter-spacing: -.01em }
.ph-sub { color: #CFE0D4; font-size: 12.5px }
.ph-coming { align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--night); background: var(--gold); border-radius: 4px; padding: 2px 6px; margin-bottom: 6px }
.ph-card { margin: 14px 14px 0; background: #fff; border-radius: 12px; padding: 14px; display: grid; gap: 4px; box-shadow: 0 6px 16px -10px rgb(19 64 33 / .4) }
.ph-card .sev { justify-self: start }
.ph-card p { font-weight: 700; font-size: 15px }
.ph-card small { color: var(--slate) }
.ph-btn { margin: 12px 14px 0; background: var(--green); color: #fff; text-align: center; border-radius: 10px; padding: 13px; font-weight: 700 }
.ph-pro { margin: 12px 14px 18px; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 10px 12px }
.ph-pro b { display: block; font-size: 12.5px }
.ph-pro small { color: var(--slate); font-size: 11.5px }
.ph-av { width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--green); display: grid; place-content: center; font-weight: 800; font-size: 12px; flex: none }

/* reserve */
.reserve-push { margin-top: 28px; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.45 }
.mbar { display: none; align-items: center; gap: 12px }
.mbar > span { font-size: 13.5px; font-weight: 700; color: var(--gold-ink); flex: 1; line-height: 1.3 }
.mbar .btn { width: auto; flex: none; min-height: 46px }

@media (max-width: 1100px) {
  .steps--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px }
}
@media (max-width: 900px) {
  .split > .split-copy, .split > :not(.split-copy), .split--rev > .split-copy, .split--rev > :not(.split-copy) { grid-column: 1 / -1; grid-row: auto }
  .steps--6 { grid-template-columns: 1fr }
  .mbar { display: flex }
  .stream-win { height: 300px }
}
@media (max-width: 640px) {
  .pile-row { grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr)) }
  .pcol:nth-child(n+5) { display: none }
  .xr-body { grid-template-columns: 84px 1fr }
  .ring--lg, .ring--lg svg { width: 84px; height: 84px }
  .ring--lg .sc b { font-size: 26px }
  .xr-card { width: 100%; padding: 16px }
  .xray { padding-bottom: 120px }
  .xr-cover { width: 52% }
  .rank th:nth-child(3), .rank td:nth-child(3) { display: none }
  .rank td, .rank th { padding: 11px 12px }
  .tc--act .tc-row { grid-template-columns: 1fr; gap: 4px }
  .phone { width: 100%; max-width: 300px }
}
@media (prefers-reduced-motion: reduce) { .stream-list { animation: none } .seat-dot { animation: none } }

.wl-badge { flex-direction: column; align-items: flex-start; gap: 4px }
.wl-badge-line b { color: var(--gold) }
.wl-badge-sub { color: #C8D8CD; font-size: 14px }

.split h2 { font-size: clamp(34px, 3.9vw, 56px) }
.reserve .lead b { color: var(--gold-ink) }
.seats-low .reserve .lead b { color: var(--red) }

/* ===================== v04: devices, stacks, full screens ===================== */
.scene { position: relative }
.scene--hero { max-width: 1060px; margin-inline: auto; padding-right: 60px }
.device { position: relative; z-index: 1 }
.dv-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #FCFCFA; border-radius: 5px }
.dv-canvas { width: 1280px; transform-origin: 0 0; transform: scale(var(--s, .55)) }
.dv-scroll { will-change: transform }
.monitor .dv-bezel { background: #121614; border-radius: 18px; padding: 14px 14px 30px; box-shadow: 0 2px 4px rgb(17 24 39 / .08), 0 50px 90px -40px rgb(11 38 20 / .55), inset 0 0 0 1px rgb(255 255 255 / .07); position: relative }
.monitor .dv-bezel::after { content: ""; position: absolute; left: 50%; bottom: 11px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #2a302c }
.monitor .dv-neck { width: 15%; height: clamp(26px, 5vw, 60px); margin: 0 auto; background: linear-gradient(90deg, #b9bdb8, #eceee9 50%, #b9bdb8); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%) }
.monitor .dv-base { width: 34%; height: clamp(7px, 1vw, 12px); margin: 0 auto; border-radius: 6px 6px 3px 3px; background: linear-gradient(#ebede8, #bfc3be); box-shadow: 0 22px 26px -14px rgb(0 0 0 / .35) }
.laptop .dv-lid { background: #121614; border-radius: 14px 14px 4px 4px; padding: 11px 11px 13px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07) }
.laptop .dv-deck { position: relative; height: clamp(10px, 1.3vw, 16px); margin: 0 -7%; background: linear-gradient(#eceee9, #b8bcb7); border-radius: 0 0 16px 16px; box-shadow: 0 28px 34px -18px rgb(0 0 0 / .4) }
.laptop .dv-deck::after { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 40%; margin-left: -8%; border-radius: 0 0 8px 8px; background: #a9ada8 }
.dv-pause { display: block; margin: 18px auto 0; background: none; border: 0; padding: 6px 10px; color: var(--slate); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.dv-pause:hover { color: var(--green) }

/* stacked cards */
.stack { position: absolute; z-index: 2; display: grid; width: 270px }
.stack .sc { grid-area: 1 / 1; background: #fff; color: var(--ink); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 2px rgb(17 24 39 / .06), 0 24px 44px -22px rgb(11 38 20 / .5); transition: transform .45s var(--out) }
.stack .s2 { transform: translate(-14px, -18px) rotate(-3deg); opacity: .96 }
.stack .s3 { transform: translate(-28px, -36px) rotate(-6deg); opacity: .9 }
.stack:hover .s2 { transform: translate(-26px, -34px) rotate(-5deg) }
.stack:hover .s3 { transform: translate(-50px, -68px) rotate(-9deg) }
.stack--flags { right: 0; bottom: 120px }
.stack--todo { left: -40px; bottom: -10px; width: 260px }
.sc-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700 }
.sc-amt { font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin-top: 6px; font-variant-numeric: tabular-nums }
.sc-sub { font-size: 12.5px; color: var(--slate) }
.sc-who { font-size: 12px; font-weight: 700; color: var(--green); margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--rule-2) }
.sc-act { font-size: 15px; font-weight: 700; line-height: 1.35; margin-top: 8px }
.sev.ok { background: var(--ok-bg); color: var(--ok) }
.scene--solved { padding: 0 0 30px 20px }

/* fanned report pack */
.pack { position: relative; height: clamp(320px, 38vw, 470px) }
.pp { position: absolute; width: 46%; aspect-ratio: 1 / 1.414; background: #fff; color: var(--ink); border-radius: 6px; padding: 5% 5.5%; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); font-size: clamp(9px, .95vw, 12.5px); display: flex; flex-direction: column; gap: 6% ; overflow: hidden; transition: transform .5s var(--out) }
.pp1 { left: 0; top: 9%; transform: rotate(-9deg); z-index: 3 }
.pp2 { left: 24%; top: 0; transform: rotate(-1deg); z-index: 4 }
.pp3 { left: 46%; top: 6%; transform: rotate(6deg); z-index: 2 }
.pp4 { left: 54%; top: 16%; transform: rotate(12deg); z-index: 1 }
.pack:hover .pp1 { transform: rotate(-12deg) translateX(-4%) }
.pack:hover .pp3 { transform: rotate(8deg) translateX(6%) }
.pack:hover .pp4 { transform: rotate(15deg) translateX(10%) }
.pp.cover { background: var(--green); color: #fff; justify-content: flex-end; gap: 4px; padding-bottom: 9% }
.pp.cover img { width: 58%; margin-bottom: auto }
.pp.cover b { font-size: 1.45em; line-height: 1.15 }
.pp.cover span { color: #CFE0D4 }
.pp.cover small { color: #9FB6A6; margin-top: 10% }
.pp-h { font-weight: 800; color: var(--green); font-size: 1.25em; border-bottom: 2px solid var(--green); padding-bottom: 4% }
.pp-f { margin-top: auto; align-self: flex-end; color: var(--slate); font-size: .85em }
.pp-hc { display: grid; grid-template-columns: 38% 1fr; gap: 6%; align-items: center }
.pp-hc .ring { width: 100%; height: auto; aspect-ratio: 1 }
.pp-hc .ring svg { width: 100%; height: 100% }
.pp-hc .sc2 { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1 }
.pp-hc .sc2 b { font-size: 2em; font-weight: 800 } .pp-hc .sc2 small { font-size: .7em; color: var(--slate) }
.pp-hc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.pp-hc li { border-bottom: 1px solid var(--rule); padding-bottom: 5px; font-size: .92em }
.pp-hc li b { display: block }
.pp-crit { color: var(--red); font-weight: 700 }
.pp-bars { display: grid; gap: 9% ; margin-top: 4% }
.pp-bars span { display: grid; gap: 3px; font-weight: 600 }
.pp-bars i { display: block; height: 10px; border-radius: 2px; background: var(--red) }
.pp-bars i.g { background: var(--slate) } .pp-bars i.d { background: var(--green) }
.pp4 ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-weight: 600 }

/* layered practice list */
.scene--rank { padding: 0 34px 34px 0 }
.sheet { position: absolute; inset: 0 34px 34px 0; border-radius: 14px; background: #fff; border: 1px solid var(--rule-2) }
.sheet--a { transform: translate(16px, 16px); box-shadow: 0 20px 40px -26px rgb(11 38 20 / .45) }
.sheet--b { transform: translate(32px, 32px); background: #F3F4EF; box-shadow: 0 20px 40px -26px rgb(11 38 20 / .35) }
.scene--rank .frame { position: relative; z-index: 2 }
.hs.good { color: var(--ok) }

/* ---------- the product UI rendered inside the screens (1280px canvas) ---------- */
.sr-app { display: grid; grid-template-columns: 216px minmax(0, 1fr); min-height: 800px; font: 400 13px/1.45 var(--font); color: var(--ink); background: #FCFCFA; text-align: left }
.sr-side { background: var(--green); color: #DDE8E0; padding: 18px 12px; display: flex; flex-direction: column; gap: 2px }
.sr-logo { width: 148px; margin: 2px 8px 0 }
.sr-org { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #9DB6A4; margin: 4px 10px 14px; font-weight: 600 }
.sr-sh { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #9DB6A4; margin: 14px 10px 4px; font-weight: 600 }
.sr-nav { display: flex; align-items: center; padding: 7px 10px; border-radius: 6px; font-weight: 600; font-size: 12.5px }
.sr-nav.on { background: rgb(255 255 255 / .12); color: #fff }
.sr-nav i { margin-left: auto; font-style: normal; font-size: 11px; background: rgb(255 255 255 / .12); border-radius: 4px; padding: 0 6px }
.sr-main { padding: 18px 26px 44px; min-width: 0 }
.sr-top { display: flex; gap: 10px; align-items: center; margin-bottom: 18px }
.sr-search { flex: 1; border: 1px solid var(--rule); border-radius: 6px; padding: 8px 12px; color: #9AA3AE; background: #fff }
.sr-crumb { flex: 1; font-weight: 600; color: var(--ink-2) }
.sr-chip { border: 1px solid var(--rule); border-radius: 6px; padding: 6px 10px; font-weight: 600; font-size: 12px; color: var(--slate); background: #fff; white-space: nowrap }
.sr-btn { background: var(--green); color: #fff; border-radius: 6px; padding: 8px 14px; font-weight: 700; font-size: 12.5px; white-space: nowrap }
.sr-h { font-size: 28px; font-weight: 800; color: var(--green); margin: 0; letter-spacing: -.01em; display: flex; gap: 10px; align-items: center }
.sr-sub { color: var(--slate); font-size: 12.5px; margin: 2px 0 16px }
.sr-demo { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 4px; border: 1px solid #EBD9AE; background: #FFF8E6; color: var(--gold-ink); font-size: 9.5px; font-weight: 700; letter-spacing: .06em }
.sr-tiles { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 16px }
.sr-tile { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px }
.sr-tile small { display: block; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--slate); font-weight: 600 }
.sr-tile b { display: block; font-size: 26px; font-weight: 800; line-height: 1.2 }
.sr-tile b.red { color: var(--red) } .sr-tile b.amb { color: var(--amber) } .sr-tile b.grn { color: var(--ok) }
.sr-tile p { font-size: 11.5px; color: var(--slate) }
.sr-bar { display: flex; gap: 2px; height: 10px; border-radius: 3px; overflow: hidden; margin: 8px 0 6px }
.sr-bar i { display: block }
.sr-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px }
.sr-card { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--c); border-radius: 8px; padding: 14px 15px }
.sr-card header { display: flex; align-items: center; gap: 8px }
.sr-card header b { font-size: 15px; font-weight: 800 }
.sr-meta { font-size: 11.5px; color: var(--slate); margin-top: 2px }
.sr-cbody { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; margin: 12px 0 4px }
.sr-ring { position: relative; display: inline-grid; place-content: center }
.sr-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg) }
.sr-ring circle { fill: none; stroke-width: 6 }
.sr-ring .bg { stroke: #ECEFEA } .sr-ring .fg { stroke: var(--c); stroke-linecap: round }
.sr-ring b { position: relative; font-size: 21px; font-weight: 800 }
.sr-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 6px }
.sr-kpi span { border: 1px solid var(--rule); border-radius: 6px; padding: 5px 8px; min-width: 0 }
.sr-kpi small { display: block; font-size: 10px; color: var(--slate) }
.sr-kpi b { font-size: 12.5px; white-space: nowrap } .sr-kpi b.neg, .sr-hc-kpi b.neg { color: var(--red) }
.sr-state { font-weight: 800; color: var(--c, var(--red)); font-size: 12px; margin: 6px 0 8px }
.sr-flags { list-style: none; margin: 0; padding: 8px 0 0; border-top: 1px dashed var(--rule-2) }
.sr-flags li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 12px }
.sr-flags li small { display: block; color: var(--slate); font-size: 11px }
.sr-flags em, .sr-tbl em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--slate) }
.sr-flags b { white-space: nowrap }
.sr-good b { color: var(--ok) }
.sr-hc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 20px; margin-bottom: 16px }
.sr-hc-score { display: flex; flex-direction: column; align-items: center; text-align: center }
.sr-hc-score .sr-ring svg circle { stroke-width: 11 }
.sr-hc-score .sr-ring b { font-size: 44px }
.sr-hc-score .sr-state.big { --c: var(--red); font-size: 18px; margin: 10px 0 0 }
.sr-hc-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-content: start }
.sr-hc-kpi div { border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px }
.sr-hc-kpi small { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); font-weight: 600 }
.sr-hc-kpi b { display: block; font-size: 19px; font-weight: 800; margin: 2px 0 }
.sr-hc-kpi p { font-size: 11.5px; color: var(--slate) }
.sr-sec { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 16px 18px; margin-bottom: 16px }
.sr-sec h4 { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--green) }
.sr-sec h4 span { color: var(--slate); font-size: 12px; font-weight: 600; margin-left: 6px }
.sr-tbl { width: 100%; border-collapse: collapse }
.sr-tbl td { padding: 9px 8px; border-top: 1px solid var(--rule); font-size: 12.5px; vertical-align: middle }
.sr-tbl td small { display: block; color: var(--slate); font-size: 11.5px }
.sr-tbl td:nth-child(3) { text-align: right; font-weight: 800; white-space: nowrap }
.sr-tbl td:nth-child(4) { text-align: right; width: 150px }
.sr-link { color: var(--gold-ink); font-size: 11.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px }
.sr-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.sr-bars div { display: grid; grid-template-columns: 104px 1fr 40px; gap: 10px; align-items: center; padding: 7px 0; font-size: 12.5px }
.sr-bars i { display: block; height: 14px; border-radius: 3px }
.sr-bars b { text-align: right }
.sr-donut { display: flex; gap: 18px; align-items: center }
.sr-donut svg { width: 120px; height: 120px; flex: none; transform: rotate(-90deg) }
.sr-donut circle { fill: none; stroke-width: 18 }
.sr-donut .bg { stroke: #ECEFEA } .sr-donut .fg { stroke: var(--deep-gold) }
.sr-donut b { font-size: 26px; font-weight: 800 }
.sr-todo { margin: 0; padding-left: 20px }
.sr-todo li { padding: 6px 0 } .sr-todo b { display: block } .sr-todo span { color: var(--slate); font-size: 12px }

@media (max-width: 1100px) {
  .scene--hero { padding-right: 0 }
  .stack--flags { right: 8px; bottom: 90px; width: 240px }
}
@media (max-width: 900px) {
  .scene--solved { padding: 0 0 20px }
  .stack--todo { left: 0 }
}
@media (max-width: 640px) {
  .stack { position: relative; width: min(280px, 86%); margin: -40px 0 0 auto; right: auto; bottom: auto; left: auto }
  .stack--todo { margin: -30px auto 0 0 }
  .monitor .dv-bezel { padding: 8px 8px 18px; border-radius: 12px }
  .laptop .dv-lid { padding: 7px 7px 9px }
  .scene--rank { padding: 0 18px 18px 0 } .sheet { inset: 0 18px 18px 0 }
  .sheet--a { transform: translate(9px, 9px) } .sheet--b { transform: translate(18px, 18px) }
  .pack { height: 300px } .pp { width: 52% } .pp4 { display: none } .pp3 { left: 44% }
}
@media (prefers-reduced-motion: reduce) { .stack .sc, .pp { transition: none } }

.hero h1 { font-size: clamp(44px, 6.2vw, 88px); grid-column: 1 / -1 }
.sev { white-space: nowrap }

/* v04 fixes */
.stack .s2 > *, .stack .s3 > * { visibility: hidden }
#solved .split > .split-copy { grid-column: 1 / span 5 }
#solved .split > .scene--solved { grid-column: 6 / span 7 }
.scene--solved { padding: 0 0 40px 0 }
.stack--todo { left: auto; right: -18px; bottom: -6px; width: 230px }
.stack--todo .sc-act { font-size: 14px }
.pp1 { left: -2% } .pp2 { left: 31% } .pp3 { left: 50% } .pp4 { left: 57% }
@media (max-width: 900px) { #solved .split > .split-copy, #solved .split > .scene--solved { grid-column: 1 / -1 } .stack--todo { right: 0 } }
@media (max-width: 640px) { .stack--todo { right: auto; margin: -30px 0 0 auto } }
.stack .sc { position: relative } .stack .s1 { z-index: 3 } .stack .s2 { z-index: 2 } .stack .s3 { z-index: 1 }

/* ===================== v05: real report screens ===================== */
.dv-img { display: block; width: 1280px; max-width: none; height: auto }
.pp.shot { padding: 0; background: #fff }
.pp.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block }
.sheet { overflow: hidden }
.sheet img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block }
.sheet--b img { opacity: .9 }

.split--top { align-items: end }
#reports .split > .lines { grid-column: 7 / span 6; margin-top: 0 }
.rails { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 26px; overflow: hidden; mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent) }
.rail-track { display: flex; gap: 24px; width: max-content; animation: railLeft 90s linear infinite; padding: 6px 0 }
.rail--rev .rail-track { animation-name: railRight; animation-duration: 80s }
.rails:hover .rail-track, .rails.paused .rail-track { animation-play-state: paused }
@keyframes railLeft { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes railRight { from { transform: translateX(-50%) } to { transform: translateX(0) } }
.rt { width: clamp(300px, 30vw, 440px); margin: 0; flex: none }
.rt-shot { border-radius: 10px; overflow: hidden; aspect-ratio: 960 / 733; background: #fff; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 24px 48px -26px rgb(0 0 0 / .8); transition: transform .35s var(--out) }
.rt-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s var(--out) }
.rt:hover .rt-shot { transform: translateY(-3px) }
.rt:hover .rt-shot img { transform: scale(1.03) }
.rt figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px }
.rt figcaption b { color: #fff; font-size: 15.5px; font-weight: 700 }
.rt figcaption span { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold) }
.rail--rev .rt figcaption span { color: #8FD3A6 }
.dv-pause--night { color: var(--on-night-2) }
.dv-pause--night:hover { color: #fff }
@media (max-width: 900px) { #reports .split > .lines { grid-column: 1 / -1 } }
@media (prefers-reduced-motion: reduce) {
  .rails { overflow-x: auto; mask: none } .rail-track { animation: none } [data-rails-pause] { display: none }
}

/* ===================== v07: raw Tally data → report, drag to compare ===================== */
.why-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 20px; align-items: end }
.why-head h2 { grid-column: 1 / span 6 }
.why-head .why-lines { grid-column: 8 / span 5; margin-top: 0 }
.cmp { margin-top: clamp(36px, 4.5vw, 56px) }
.cmp-stage { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-frame); overflow: hidden; background: #E8F4F2; border: 1px solid var(--rule-2); box-shadow: var(--shadow-lg); user-select: none; -webkit-user-select: none }
.cmp-stage:has(.cmp-range:focus-visible) { outline: 2px solid var(--deep-gold); outline-offset: 4px }
.cmp-before, .cmp-after { position: absolute; inset: 0 }
.cmp-canvas { width: 1440px; transform-origin: 0 0; transform: scale(var(--s, .6)) }
.cmp-after { clip-path: inset(0 calc(100% - var(--p)) 0 0); background: #fff }
.cmp-after img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgb(11 38 20 / .2), 0 0 24px rgb(0 0 0 / .25); pointer-events: none; z-index: 3 }
.cmp-knob { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--gold); color: var(--night); display: grid; place-content: center; box-shadow: 0 8px 22px rgb(0 0 0 / .35), inset 0 0 0 2px rgb(255 255 255 / .55) }
.cmp-knob svg { width: 26px; height: 26px }
.cmp-knob::before, .cmp-knob::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: cmpBlip 1.9s var(--out) infinite }
.cmp-knob::after { animation-delay: .95s }
@keyframes cmpBlip { from { transform: scale(1); opacity: .9 } to { transform: scale(2.1); opacity: 0 } }
.cmp.used .cmp-knob::before, .cmp.used .cmp-knob::after { animation: none; opacity: 0 }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; touch-action: pan-y }
.cmp-tag { position: absolute; top: 14px; z-index: 2; height: 28px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: 6px; font-size: 12.5px; font-weight: 700; transition: opacity .3s; pointer-events: none }
.cmp-tag--after { left: 14px; background: var(--green); color: #fff }
.cmp-tag--before { right: 14px; background: #1F5F6E; color: #fff }
.cmp.show-after .cmp-tag--before, .cmp.show-before .cmp-tag--after { opacity: 0 }
.cmp-hint { margin-top: 16px; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--slate); text-align: center }
.cmp-hint-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--deep-gold); flex: none; animation: seatPulse 2.4s var(--out) infinite }
.cmp.used .cmp-hint-dot { animation: none }

/* the Tally-style register (1440 × 900 canvas) */
.tl { width: 1440px; height: 900px; background: #E8F4F2; color: #0B2A33; font: 400 13.5px/1.35 "Segoe UI", Tahoma, Arial, sans-serif; text-align: left }
.tl-top { height: 30px; background: #1F5F6E; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; font-size: 12.5px; font-weight: 600 }
.tl-body { display: grid; grid-template-columns: minmax(0, 1fr) 200px; height: 870px }
.tl-main { padding: 12px 18px; overflow: hidden }
.tl-title { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #9CC3C0; padding-bottom: 6px; margin-bottom: 2px }
.tl-title b { font-size: 16px }
.tl-title span { font-size: 12.5px; color: #3D5F66 }
.tl-tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums }
.tl-tbl th { text-align: left; font-weight: 700; border-bottom: 1px solid #6FA7A3; padding: 6px 7px; font-size: 12.5px; white-space: nowrap }
.tl-tbl td { padding: 3.6px 7px; border-bottom: 1px solid #D2E6E3; white-space: nowrap }
.tl-tbl .r { text-align: right }
.tl-tbl tr.hl td { background: #FFE78A }
.tl-tbl tr.more td { color: #4E6B70; font-style: italic }
.tl-tbl tfoot td { font-weight: 800; border-top: 2px solid #1F5F6E; padding-top: 7px }
.tl-keys { background: #D3E9E6; border-left: 1px solid #9CC3C0; display: flex; flex-direction: column }
.tl-keys span { padding: 10px 14px; border-bottom: 1px solid #B7D7D3; font-size: 12.5px }
.tl-keys b { color: #1F5F6E }

@media (max-width: 900px) {
  .why-head h2, .why-head .why-lines { grid-column: 1 / -1 }
  .cmp-stage { aspect-ratio: 4 / 3.4 }
  .cmp-knob { width: 48px; height: 48px; margin: -24px 0 0 -24px }
}
@media (prefers-reduced-motion: reduce) { .cmp-knob::before, .cmp-knob::after, .cmp-hint-dot { animation: none } }
.cmp-legend { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px }
.cmp-legend .cmp-tag { position: static }
.cmp-legend .cmp-tag--after::before { content: "◀"; margin-right: 8px; font-size: 10px }
.cmp-legend .cmp-tag--before::after { content: "▶"; margin-left: 8px; font-size: 10px }
.cmp.show-after .cmp-tag--before, .cmp.show-before .cmp-tag--after { opacity: .45 }
@media (max-width: 640px) { .cmp-legend .cmp-tag { height: auto; min-height: 28px; padding: 5px 9px; font-size: 11.5px; line-height: 1.25 } .cmp-hint { font-size: 13.5px } }

/* v08: city dropdown, three roles */
.wl-cb { position: relative }
.wl-cb .wl-input { padding-right: 40px }
.wl-cb-caret { position: absolute; right: 12px; top: 15px; width: 20px; height: 20px; color: var(--slate); pointer-events: none }
.wl-cb-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); max-height: 280px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--rule-2); border-radius: var(--r-panel); box-shadow: var(--shadow-lg) }
.wl-cb-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 10px; border-radius: 6px; cursor: pointer; font-size: 15px }
.wl-cb-list li b { font-weight: 650; color: var(--ink) }
.wl-cb-list li span { font-size: 13px; color: var(--slate); white-space: nowrap }
.wl-cb-list li:hover, .wl-cb-list li.on { background: var(--mint) }
.wl-cb-list li.on b { color: var(--green) }
.wl-cb-list .wl-cb-empty { color: var(--slate); cursor: default }
.wl-choices--big { grid-template-columns: repeat(3, minmax(0, 1fr)) }
@media (max-width: 640px) { .wl-choices--big { grid-template-columns: 1fr } }
#h-reserve em { font-style: normal; color: var(--gold-ink) }
.seats-low #h-reserve em { color: var(--red) }
[data-seats] em, [data-seats] b { font-variant-numeric: tabular-nums }

/* v09: seat line animation cycle */
.sn { display: inline-block; font-variant-numeric: tabular-nums; animation: snIn .26s var(--out) }
@keyframes snIn { from { transform: translateY(-.32em); opacity: .25; filter: blur(2px) } }
[data-seats][data-phase="settled"] .sn { animation: snSettle .6s var(--out) }
@keyframes snSettle { 0% { transform: scale(1) } 35% { transform: scale(1.12) } 100% { transform: scale(1) } }
#h-reserve em { display: inline-block; padding-bottom: .06em; background: linear-gradient(var(--deep-gold), var(--deep-gold)) 0 100% / 0% .085em no-repeat; transition: background-size .75s var(--out) }
#h-reserve [data-phase="settled"] em { background-size: 100% .085em }
#h-reserve [data-phase="retract"] em { background-size: 0% .085em; background-position: 100% 100%; transition-duration: .45s }
[data-seats][data-phase="restart"] em, .nav-seats[data-phase="restart"], .hero-fact [data-phase="restart"], .cta-note[data-phase="restart"], .mbar [data-phase="restart"], .close-act [data-phase="restart"] { animation: lineIn .55s var(--out) both }
@keyframes lineIn { from { clip-path: inset(0 100% 0 0); filter: blur(4px); opacity: .4 } to { clip-path: inset(0 0 0 0); filter: none; opacity: 1 } }
#h-reserve [data-phase="counting"] em { color: var(--deep-gold) }
@media (prefers-reduced-motion: reduce) { .sn, [data-seats] em, [data-seats] { animation: none !important } #h-reserve em { transition: none; background-size: 100% .085em } }

/* Hide Next.js dev indicator */
nextjs-portal, [data-nextjs-toast], #__next-build-watcher { display: none !important; }
