/* Ribbit · public front page (ribbits.fun). Direction: "Stillwater". One film, one accent (mint), one easing.
   Green/red appear only on P&L figures (the results card). Benchmarks: S&P 500 sky blue, Crypto Market amber. */
@font-face { font-family: "Bricolage"; src: url("/landing/fonts/bricolage.85f55a58.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/landing/fonts/instrument-sans.19f8ec32.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/landing/fonts/jetbrains-mono.2c32b9b3.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --ground: #0a0d10;
  --deep: #0e1116;
  --panel: #121820;
  --card: rgba(13, 17, 22, .9);
  --line: rgba(231, 237, 240, .09);
  --line-2: rgba(231, 237, 240, .18);
  --ink: #e7edf0;
  --ink-2: #b4c0c6;
  --ink-3: #8d9aa1;
  --mint: #5fe3c8;
  --mint-ink: #04201a;
  --stop: #e0a84a;          /* the desk's stop-level colour (trade sheet), only on the example chart */
  --sky: #7cc4f2;           /* S&P 500 benchmark line */
  --amber: #e9b45a;         /* Crypto Market benchmark line */
  --up: #4fd18b;            /* P&L only */
  --down: #f2766c;          /* P&L only */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Bricolage", "Instrument Sans", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gut: clamp(20px, 5.2vw, 88px);
  --scrim: 0;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; scrollbar-color: #2a3238 var(--ground); }
body { margin: 0; color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); background: var(--ground); overflow-x: clip; -webkit-font-smoothing: antialiased; }
::selection { background: var(--mint); color: var(--mint-ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: #232a30; border-radius: 10px; border: 2px solid var(--ground); }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
img, svg, canvas { display: block; }
h1, h2, h3, h4, p, ol, ul, figure, dl, dd, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
table { border-collapse: collapse; }
.sr-only, .defs { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--mint); color: var(--mint-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display, .display-2, .display-3 { font-family: var(--display); font-weight: 320; font-variation-settings: "opsz" 96; letter-spacing: -.028em; text-wrap: balance; color: var(--ink); }
.display { font-size: clamp(2.9rem, 13.2vw, 6rem); line-height: .95; letter-spacing: -.035em; }
.display .line { display: block; }
.display-2 { font-size: clamp(2rem, 7.2vw, 3.5rem); line-height: 1.03; }
.display-3 { font-size: clamp(1.7rem, 5.6vw, 2.75rem); line-height: 1.1; }
.lede { font-size: clamp(1.05rem, 3.9vw, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 36ch; text-wrap: pretty; }
.body { color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }
.body b { color: var(--ink); font-weight: 600; }
.body a { color: var(--ink); }
.body a:hover { color: var(--mint); }
.num, time { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* ---------- film ---------- */
.film { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--ground); }
.film-poster, .film-poster img, .film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-poster img { object-fit: cover; object-position: 50% 42%; }
.film-canvas { opacity: 0; transition: opacity .6s var(--ease); }
.film.is-live .film-canvas { opacity: 1; }
.film-scrim { position: absolute; inset: 0; background: var(--ground); opacity: var(--scrim); }
/* reading shades for the copy side; JS blends their opacity across chapter boundaries (no hard edges scrolling in) */
.film-shade { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.shade-l { opacity: var(--sl, 0); background: linear-gradient(90deg, rgba(10,13,16,.9) 0%, rgba(10,13,16,.62) 40%, rgba(10,13,16,.12) 66%, rgba(10,13,16,.35) 100%); }
.shade-r { opacity: var(--sr, 0); background: linear-gradient(270deg, rgba(10,13,16,.9) 0%, rgba(10,13,16,.62) 40%, rgba(10,13,16,.12) 66%, rgba(10,13,16,.35) 100%); }
.shade-v { opacity: var(--sv, 0); background: linear-gradient(180deg, rgba(10,13,16,.88) 0%, rgba(10,13,16,.45) 34%, rgba(10,13,16,.5) 62%, rgba(10,13,16,.92) 100%); }
.film::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,13,16,.55) 0%, rgba(10,13,16,0) 30%, rgba(10,13,16,0) 62%, rgba(10,13,16,.6) 100%); }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 20; top: 0; left: 0; right: 0; background: linear-gradient(180deg, rgba(10,13,16,.92) 0%, rgba(10,13,16,.6) 55%, rgba(10,13,16,0) 100%); display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 14px) var(--gut) 14px; pointer-events: none; }
.nav a { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .01em; min-height: 44px; }
.mark { width: 30px; height: 30px; color: var(--mint); }
/* BRAND-TAG (owner Oct 23): name + small italic tagline under it */
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 600; }
.brand-tag { font-size: .75rem; font-style: italic; font-weight: 400; color: var(--ink-3); letter-spacing: .01em; margin-top: 2px; white-space: nowrap; }
@media (max-width: 440px) { .brand { gap: 8px; } .brand-tag { font-size: .6875rem; } .nav-links { gap: 12px; } }
@media (max-width: 392px) { .brand-tag { font-size: .625rem; letter-spacing: 0; } .brand .mark { width: 26px; height: 26px; } }
.nav-link { white-space: nowrap; }
@media (max-width: 440px) { .brand-tag.is-long { line-height: 1.25; } .brand-tag.is-long > span { display: block; } }   /* BRAND-TAGS */
@media (max-width: 372px) { .nav-links { gap: 8px; } .nav-link { font-size: .875rem; padding: 0 2px; } .brand { gap: 6px; } .brand-tag { font-size: .6875rem; line-height: 1.25; } .brand-tag > span { display: block; } }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); }
.nav-link { text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; transition: color .3s var(--ease); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--mint); }

/* ---------- buttons ---------- */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 1rem;
  text-decoration: none; letter-spacing: .005em; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--mint); color: var(--mint-ink); }
.btn-primary:hover { background: #8af0db; }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: rgba(10, 13, 16, .35); }
.btn-ghost:hover { border-color: var(--ink-2); }

/* ---------- chapters: tall wrapper + sticky pin ---------- */
main { position: relative; z-index: 1; }
.ch { position: relative; height: calc(var(--len, 2) * 100vh); height: calc(var(--len, 2) * 100svh); }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding: calc(env(safe-area-inset-top) + 88px) var(--gut) calc(env(safe-area-inset-bottom) + 32px); }
.ch-hero { --len: 1.3; }
.ch-stocks, .ch-crypto { --len: 1.75; }
.ch-commod { --len: 1.6; }
.ch-receipt { --len: 1.75; }
.ch-example { --len: 2.8; }
.ch-edge { --len: 5.4; }   /* EDGE-V3: 8 cards, same ~0.48 screen per card as 6 at 4.2 */
.ch-brief { --len: 1.4; }
.ch-morning { --len: 1.2; }
.ch-invite { --len: 1; }

/* ---------- shared card language (crisp HTML UI, never baked into images) ---------- */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .03); }
.card-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px 0; }
.card-t { font: 600 .9375rem/1.2 var(--sans); }
.card-meta { margin-left: auto; font-size: .75rem; color: var(--ink-3); }
.tag { font: 600 .6875rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); border: 1px solid rgba(95, 227, 200, .45); padding: 5px 8px; border-radius: 6px; }
.card-foot { padding: 0 16px 13px; font-size: .75rem; color: var(--ink-3); }
.pane-k { font-size: .75rem; color: var(--ink-3); letter-spacing: .01em; margin: 2px 0 8px; }
.pane-k + * { margin-bottom: 4px; }
.pane-f { font-size: .75rem; color: var(--ink-3); margin-top: 10px; line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: .75rem; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }

/* ---------- 1 hero ---------- */
.ch-hero .pin { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: calc(env(safe-area-inset-bottom) + 36px); }
.ch-hero .pin::before, .ch-invite .pin::before { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(10,13,16,0), rgba(10,13,16,.72) 55%, rgba(10,13,16,.86)); opacity: var(--hs, 1); pointer-events: none; }
.ch-invite .pin > * { position: relative; }
.hero-copy { position: relative; display: grid; gap: 20px; max-width: 640px; will-change: transform, opacity; }
.hero-copy .line { opacity: 0; transform: translate3d(0, .5em, 0); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
.hero-copy .line + .line { transition-delay: .14s; }
.hero-copy .sub-hero, .hero-copy .lede, .hero-copy .ctas { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 1.2s var(--ease) .55s, transform 1.4s var(--ease) .55s; }
.hero-copy .ctas { transition-delay: .75s; }
/* SUB-HERO (owner Oct 23): second beat under the headline */
.sub-hero { font-family: var(--display); font-weight: 380; font-variation-settings: "opsz" 48; font-size: clamp(1.45rem, 5.4vw, 2.25rem); line-height: 1.1; letter-spacing: -.02em; color: var(--mint); margin-top: -8px; }
.hero-copy .sub-hero { transition-delay: .4s; }
.is-intro .hero-copy .line, .is-intro .hero-copy .sub-hero, .is-intro .hero-copy .lede, .is-intro .hero-copy .ctas { opacity: 1; transform: none; }
.cue { display: none; position: absolute; right: var(--gut); bottom: 56px; width: 1px; height: 54px; background: var(--line); overflow: hidden; opacity: var(--cue, 1); }
.cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink-2); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- 2-4 market chapters ---------- */
.ch-mkt .pin { display: grid; align-content: start; justify-items: center; }
.mkt-copy { position: relative; display: grid; gap: 14px; width: 100%; }
.mkt-copy > .display-2, .mkt-copy > .body { opacity: var(--h, 1); transform: translate3d(0, calc((1 - var(--h, 1)) * -18px), 0); }
.bens { position: relative; }
.bens h3 { font: 340 clamp(1.4rem, 5.6vw, 2rem)/1.1 var(--display); letter-spacing: -.02em; font-variation-settings: "opsz" 72; }
.bens p { color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.mkt-card { width: 100%; max-width: 440px; opacity: var(--c, 0); transform: translate3d(0, calc((1 - var(--c, 0)) * 34px), 0); }
.panes { position: relative; height: var(--pane-h, 318px); margin: 12px 16px 12px; }
.pane { position: absolute; inset: 0 0 auto; opacity: var(--s, 0); transform: translate3d(0, calc((1 - var(--s, 0)) * 12px), 0); }
.pane[data-pane="0"] { --s: 1; }

/* stocks: heat tiles (mint for up, cool slate for down; not P&L colours) */
.heat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.heat li { --hp: 0; --hn: 0; display: grid; gap: 2px; padding: 10px 10px 9px; border-radius: 10px; min-height: 84px; align-content: space-between;
  background: linear-gradient(0deg, rgba(95, 227, 200, calc(var(--hp) * .34)), rgba(95, 227, 200, calc(var(--hp) * .34))), linear-gradient(0deg, rgba(120, 140, 160, calc(var(--hn) * .3)), rgba(120, 140, 160, calc(var(--hn) * .3))), var(--panel);
  border: 1px solid var(--line); }
.heat b { font-size: .8125rem; font-weight: 600; }
.heat i { font-style: normal; font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.heat span { font-size: .6875rem; color: var(--ink-2); }
.lvl-chart { width: 100%; height: auto; aspect-ratio: 320 / 150; overflow: visible; }
.lc-line { fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lc-lvl line { stroke-width: 1.25; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.lc-lvl text { font: 500 11px var(--mono); text-anchor: end; }
.lc-tgt line { stroke: var(--mint); } .lc-tgt text { fill: var(--mint); }
.lc-sup line { stroke: #9fb0b8; } .lc-sup text { fill: #9fb0b8; }
.lc-dot { fill: var(--ink); }
.voices { display: grid; gap: 6px; margin-top: 10px; }
.voices li { display: grid; gap: 2px; padding: 9px 11px; border-radius: 10px; background: var(--panel); font-size: .8125rem; }
.voices span { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.voices b { font-weight: 500; }
.rows2 { display: grid; gap: 6px; margin-bottom: 10px; }
.rows2 li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; padding: 9px 11px; border-radius: 10px; background: var(--panel); font-size: .8125rem; }
.rows2 b { font-weight: 600; min-width: 3.4em; }
.rows2 span { color: var(--ink-2); }
.rows2 i { font-style: normal; color: var(--ink); font-size: .8125rem; }
.opts { display: grid; gap: 6px; }
.opts li { display: grid; grid-template-columns: 3.4em 1fr; gap: 0 10px; padding: 9px 11px; border-radius: 10px; background: var(--panel); font-size: .8125rem; }
.opts b { grid-row: span 2; align-self: center; font-weight: 600; }
.opts span { color: var(--ink-3); font-size: .75rem; }
.opts em { font-style: normal; color: var(--ink); }

/* crypto */
.big-line { display: flex; align-items: baseline; gap: 10px; }
.big-line b { font-size: 1.6rem; font-weight: 400; letter-spacing: -.03em; }
.big-line span { font-size: .8125rem; color: var(--ink-2); }
.spark { width: 100%; height: 64px; margin: 4px 0 10px; }
.spark .sp-line { fill: none; stroke: var(--mint); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark .sp-area { fill: rgba(95, 227, 200, .1); }
.spark.macro { height: 80px; }
.spark .core { stroke: var(--ink-3); stroke-dasharray: 4 4; }
.bars { display: grid; gap: 7px; }
.bars li { display: grid; grid-template-columns: 5.2em 1fr 3.2em; align-items: center; gap: 8px; font-size: .8125rem; }
.bars i { position: relative; height: 8px; }
.bars i::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line-2); }
.bars i::after { content: ""; position: absolute; top: 0; bottom: 0; border-radius: 3px; left: 50%; width: calc(var(--v, 0) * 50% * var(--g, 1)); background: var(--mint); }
.bars i.neg::after { left: auto; right: 50%; width: calc(var(--v, 0) * 50% * var(--g, 1)); background: #7d8d97; }   /* --v is the magnitude (landing.js), so the width stays positive */
.bars b { font-weight: 500; text-align: right; }
.band { margin: 10px 0 16px; }
.band-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.band-track span { display: grid; place-items: end start; min-height: 58px; padding: 8px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); font-size: .75rem; color: var(--ink-3); line-height: 1.2; }
.band-track span.on { color: var(--mint-ink); background: var(--mint); border-color: var(--mint); font-weight: 600; }
.facts { display: grid; gap: 8px; }
.facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; font-size: .8125rem; }
.facts dt { color: var(--ink-3); }
.ls { display: grid; gap: 8px; margin-bottom: 12px; }
.ls div { display: grid; grid-template-columns: 4em 1fr 4.2em; align-items: center; gap: 10px; font-size: .8125rem; }
.ls i { height: 10px; border-radius: 4px; background: var(--panel); position: relative; overflow: hidden; }
.ls i::after { content: ""; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(calc(var(--w, 0) * var(--g, 1))); background: var(--ink-2); border-radius: 4px; }
.ls div + div i::after { background: var(--mint); }
.ls b { font-weight: 500; text-align: right; }
.etf-fg { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; align-items: start; }
.etf { width: 100%; height: auto; }
.etf rect { fill: #7d8d97; transform-box: fill-box; transform-origin: 50% 0; }
.etf rect.in { fill: var(--mint); transform-origin: 50% 100%; }
.etf-0 { stroke: var(--line-2); }
.fg { display: grid; justify-items: center; padding: 10px; border-radius: 12px; background: var(--panel); }
.fg .pane-k { justify-self: start; }
.fg svg { width: 100%; height: auto; }
.fg path { fill: none; stroke-width: 7; stroke-linecap: round; }
.g-track { stroke: #1d252b; }
.g-fill { stroke: var(--ink-2); }
.fg b { font-size: 1.5rem; font-weight: 400; margin-top: -26px; }
.fg span { font-size: .75rem; color: var(--ink-2); }

/* commodities */
.quotes { display: grid; gap: 5px; margin-bottom: 12px; }
.quotes li { display: grid; grid-template-columns: 1fr auto 4em; gap: 10px; align-items: baseline; padding: 8px 11px; border-radius: 10px; background: var(--panel); font-size: .8125rem; }
.quotes b { font-weight: 600; }
.quotes i { font-style: normal; color: var(--ink-2); text-align: right; font-size: .75rem; }
.groups { display: grid; gap: 5px; counter-reset: g; }
.groups li { counter-increment: g; display: grid; grid-template-columns: 1.4em 1fr auto; grid-template-rows: auto auto; column-gap: 8px; padding: 8px 11px; border-radius: 10px; background: var(--panel); font-size: .8125rem; border: 1px solid transparent; }
.groups li::before { content: counter(g); grid-row: span 2; color: var(--ink-3); font-family: var(--mono); font-size: .75rem; align-self: center; }
.groups b { font-weight: 600; }
.groups span { grid-column: 2; font-size: .75rem; color: var(--ink-3); }
.groups i { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-style: normal; }
.groups li.hl { border-color: rgba(233, 180, 90, .5); }
.drawer { display: grid; gap: 5px; }
.drawer li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 11px; border-radius: 10px; background: var(--panel); font-size: .8125rem;
  opacity: var(--n, 1); transform: translate3d(0, calc((1 - var(--n, 1)) * 10px), 0); }
.drawer b { font-weight: 600; }
.drawer span { color: var(--ink-3); font-size: .75rem; }

/* ---------- 5 receipt ---------- */
.ch-receipt .pin { display: grid; align-content: start; gap: 22px; }
.receipt-head { display: grid; gap: 14px; }
.sheet { position: relative; width: 100%; max-width: 560px; background: #0e1217; border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 2px 0 rgba(255, 255, 255, .02) inset;
  opacity: var(--a, 0); transform: translate3d(0, calc((1 - var(--a, 0)) * 40px), 0); }
.sheet-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sheet-top h3 { font: 600 1.125rem/1.2 var(--sans); display: flex; align-items: baseline; gap: 8px; }
.sheet-top .side { font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); padding: 4px 6px; border-radius: 6px; }
.sheet-top .where { color: var(--ink-3); font-size: .875rem; margin-left: auto; }
.chart { margin-top: 12px; }
.chart-svg { width: 100%; height: clamp(150px, 24svh, 230px); overflow: visible; }
.chart-svg .grid line { stroke: rgba(231, 237, 240, .06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-svg .c-up rect { fill: #0e1217; stroke: #b9c4ca; }
.chart-svg .c-dn rect { fill: #6c7a82; stroke: #6c7a82; }
.chart-svg .c-up line { stroke: #b9c4ca; }
.chart-svg .c-dn line { stroke: #6c7a82; }
.chart-svg rect, .chart-svg .candles line { stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-svg .candles g { transform-box: fill-box; transform-origin: 50% 100%; }
.lvl line { stroke-width: 1.25; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.lvl text { font: 500 11px var(--mono); text-anchor: end; dominant-baseline: text-after-edge; }
.lvl-stop line { stroke: var(--stop); }
.lvl-stop text { fill: var(--stop); }
.lvl-target line { stroke: #9fb0b8; }
.lvl-target text { fill: #9fb0b8; }
.sells circle { fill: #0e1217; stroke: var(--mint); stroke-width: 1.5; vector-effect: non-scaling-stroke; }   /* GOLD-RECEIPTS: partial sales */
.entry circle { fill: var(--mint); }
.entry .halo { fill: none; stroke: var(--mint); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.entry text { font: 600 11px var(--mono); fill: var(--mint); text-anchor: middle; paint-order: stroke; stroke: #0e1217; stroke-width: 4px; stroke-linejoin: round; }
.levels { opacity: var(--lv, 0); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.levels dt { font-size: .75rem; color: var(--ink-3); }
.levels dd { font-size: .95rem; color: var(--ink); }
.levels .stop-val { color: var(--stop); }
.why { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.why h4 { font: 600 .8125rem/1.2 var(--sans); color: var(--ink-3); letter-spacing: .01em; margin-bottom: 4px; }
.why p { font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.ghost { color: transparent; }
.caret { display: inline-block; width: .5em; height: 1em; margin: 0 -.5em -.15em 0; background: var(--mint); opacity: var(--caret, 0); }
.sheet-foot { margin-top: 10px; font-size: .75rem; color: var(--ink-3); opacity: var(--a, 0); }
.sheet-foot .sheet-src { display: block; margin-top: 4px; font-size: .6875rem; letter-spacing: .02em; color: var(--ink-3); opacity: .75; }

/* ---------- 6 the results card (chapter parked: tools/year_card; 3-5 bands) ---------- */
.ch-example .pin { display: grid; align-content: start; gap: 22px; }
.ex-head { display: grid; gap: 14px; }
.ex { width: 100%; max-width: 640px; padding: 16px 16px 14px; display: grid; gap: 11px; opacity: var(--a, 0); transform: translate3d(0, calc((1 - var(--a, 0)) * 36px), 0); }
.ex-top { display: flex; align-items: center; gap: 10px; }
.ex-name { font: 600 1rem/1.2 var(--sans); }
.ex-dates { margin-left: auto; font-size: .75rem; color: var(--ink-3); white-space: nowrap; }
.ex-k { font-size: .8125rem; color: var(--ink-3); }
.ex-k span { margin-left: 6px; }
.ex-big { display: flex; align-items: baseline; gap: 12px; margin-top: 2px; }
.ex-usd { font: 400 clamp(2.1rem, 8.6vw, 2.9rem)/1 var(--mono); letter-spacing: -.04em; color: var(--ink); }
.ex-pct { font-size: 1.2rem; font-weight: 500; }
.pos { color: var(--up) !important; }
.neg { color: var(--down) !important; }
.ex-vs { font-size: .8125rem; color: var(--ink-2); margin-top: 4px; }
.ex-vs b { font-weight: 500; color: var(--ink); }
.ex-vsi { white-space: nowrap; }
/* CRYPTO-GAP-RISK: the card's risk line vs the Crypto Market (ours red = P&L; theirs neutral ink) */
.ex-risk { font-size: .8125rem; color: var(--ink-2); margin-top: 2px; }
.ex-risk b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.ex-stats .ex-sub { overflow-wrap: anywhere; }   /* subs may wrap: nowrap here widened the card past a 412 px phone */
.ex-chart { position: relative; padding: 9px 10px 8px; border-radius: 12px; background: var(--panel); }
.ex-label { font-size: .75rem; line-height: 1.35; color: var(--ink-2); margin-bottom: 6px; }
.ex-label b { color: var(--ink); font-weight: 600; }
.ex-svg { width: 100%; height: clamp(140px, 20svh, 220px); overflow: visible; }
.ex-svg .ax { stroke: rgba(231, 237, 240, .07); stroke-width: 1; }
.ex-svg .zero { stroke: rgba(231, 237, 240, .32); stroke-dasharray: 3 4; }
.ex-svg .ax-t { font: 500 11px var(--mono); fill: var(--ink-3); }
.ex-svg .band { fill: rgba(231, 237, 240, .045); transition: fill .4s var(--ease); }
.ex-svg .band.on { fill: rgba(231, 237, 240, .11); }
.ex-svg .band-t { font: 600 11px var(--sans); letter-spacing: .06em; text-transform: uppercase; fill: var(--ink-3); transition: fill .4s var(--ease); }
.ex-svg .band-t.on { fill: var(--ink); }
.ex-svg.solo .band-t { opacity: 0; transition: opacity .3s var(--ease), fill .4s var(--ease); } .ex-svg.solo .band-t.on { opacity: 1; }
.ex-svg .acct { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ex-svg .acct.pos-l { stroke: var(--up); } .ex-svg .acct.neg-l { stroke: var(--down); }
.ex-svg .area.pos-a { fill: rgba(79, 209, 139, .17); } .ex-svg .area.neg-a { fill: rgba(242, 118, 108, .17); }
.ex-svg .bm { fill: none; stroke-width: 1.5; stroke-linejoin: round; }
.ex-svg .bm-spx { stroke: var(--sky); stroke-dasharray: 5 4; }
.ex-svg .bm-crypto { stroke: var(--amber); }
.ex-svg .end { stroke: var(--ground); stroke-width: 2; }
.ex-svg .head { stroke: rgba(231, 237, 240, .35); stroke-width: 1; }
.ex-keys { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: .75rem; color: var(--ink-3); }
.ex-keys li { display: inline-flex; align-items: center; gap: 6px; }
.ex-keys li::before { content: ""; width: 14px; height: 0; border-top: 2px solid var(--ink-2); }
.ex-keys .k-acct::before { border-color: var(--up); }
.ex-keys .k-spx::before { border-top: 2px dashed var(--sky); }
.ex-keys .k-crypto::before { border-color: var(--amber); }
.ex-rail { display: grid; grid-template-columns: repeat(var(--nb, 3), minmax(0, 1fr)); gap: 6px; }
.ex-rail li { font: 600 .75rem/1.2 var(--sans); letter-spacing: .04em; color: var(--ink-3); padding: 8px 0 0; border-top: 2px solid var(--line-2); transition: color .4s var(--ease), border-color .4s var(--ease); }
.ex-rail li span { display: block; font: 400 .75rem/1.3 var(--mono); letter-spacing: 0; margin-top: 2px; text-wrap: balance; }
.ex-rail li.done { color: var(--ink-2); border-color: rgba(231, 237, 240, .4); }
.ex-rail li.on { color: var(--ink); border-color: var(--mint); }
.ex-notes { position: relative; height: var(--note-h, 120px); }
.ex-note { position: absolute; inset: 0 0 auto; display: grid; gap: 5px; opacity: var(--s, 0); transform: translate3d(0, calc((1 - var(--s, 0)) * 10px), 0); }
.ex-note h4 { font: 600 .875rem/1.25 var(--sans); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ex-note h4 .num { font-size: .8125rem; font-weight: 500; }
.ex-note p { font-size: .875rem; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.ex-note .ex-ml { font-size: .75rem; color: var(--ink-3); }
.ex-note .ex-ml b { font-weight: 500; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ex-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ex-stats div { padding: 8px 10px; border-radius: 10px; background: var(--panel); }
.ex-stats dt { font-size: .75rem; color: var(--ink-3); }
.ex-stats dd { font-size: 1rem; }
.ex-stats .ex-sub { font-size: .75rem; color: var(--ink-3); line-height: 1.3; }
.ex-dist { font-size: .8125rem; color: var(--ink-2); line-height: 1.45; }
.ex-dist b { color: var(--ink); font-weight: 600; }
.ex-foot { font-size: .75rem; color: var(--ink-3); line-height: 1.45; }
.ex-how { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.ex-how:hover, .ex-how:focus-visible { color: var(--ink); border-color: var(--mint); }

/* ---------- 7 edge kit (EDGE-KIT-V2): real desk thumbnails in a glass frame ----------
   Phone: a deck, one card at a time (scroll-driven). Desktop: a 3 x 2 grid in normal flow, each card rising in. */
.ch-edge .pin { display: grid; align-content: start; justify-items: center; gap: 18px; }
.edge-head { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; opacity: var(--h, 1); transform: translate3d(0, calc((1 - var(--h, 1)) * -18px), 0); }
.edge-head .body { text-align: center; }
.edge-rail { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 760px; }
.edge-rail li { font-size: .75rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); transition: color .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease); }
.edge-rail li.on { color: var(--mint-ink); background: var(--mint); border-color: var(--mint); }
.edge-rail li.done { color: var(--ink-2); border-color: var(--line-2); }
.deck { position: relative; width: 100%; max-width: 440px; height: var(--deck-h, 520px); }
.ek { position: absolute; inset: 0 0 auto; display: grid; gap: 18px; align-content: start; opacity: var(--s, 0);
  transform: translate3d(calc(var(--x, 0) * 64px), calc((1 - var(--s, 0)) * 10px), 0) scale(calc(.96 + .04 * var(--s, 0))); }
/* the glass: hairline rim, a little inner padding, a soft top-left sheen, the screen sits inside with its own radius */
.ek-shot { position: relative; margin: 0; padding: 5px; border-radius: 18px; border: 1px solid rgba(231, 237, 240, .14);
  background: linear-gradient(155deg, rgba(231, 237, 240, .09) 0%, rgba(231, 237, 240, .025) 38%, rgba(231, 237, 240, .05) 100%);
  box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .85), 0 2px 0 rgba(255, 255, 255, .04) inset;
  transform: perspective(1100px) rotateX(calc((1 - var(--s, 1)) * 9deg)); transform-origin: 50% 100%; }
.ek-shot picture, .ek-shot img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 13px; background: #0f1419; }
.ek-shot img { object-fit: cover; object-position: 0 0; }
.ek-shot::after { content: ""; position: absolute; inset: 5px; border-radius: 13px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(90deg, rgba(13, 17, 22, 0) 88%, rgba(13, 17, 22, .85) 100%),
    linear-gradient(180deg, rgba(13, 17, 22, 0) 84%, rgba(13, 17, 22, .9) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.ek-copy { display: grid; gap: 8px; text-align: center; justify-items: center; padding: 0 6px; }
.ek-copy h3 { font: 340 clamp(1.45rem, 5.8vw, 2rem)/1.1 var(--display); letter-spacing: -.02em; font-variation-settings: "opsz" 72; }
.ek-copy p { color: var(--ink-2); max-width: 42ch; text-wrap: pretty; font-size: .9375rem; line-height: 1.45; }
.ek-copy .ek-do { color: var(--ink); }

/* ---------- 8 daily brief ---------- */
.ch-brief .pin { display: grid; align-content: start; gap: 22px; }
.brief-head { position: relative; display: grid; gap: 14px; opacity: var(--h, 1); transform: translate3d(0, calc((1 - var(--h, 1)) * -18px), 0); }
.tl { position: relative; width: 100%; max-width: 620px; }
.tl-track { position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: var(--line-2); border-radius: 2px; }
.tl-fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--t, 0)); background: var(--mint); border-radius: 2px; }
.tl-eds { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tl-eds li { display: grid; gap: 3px; padding-top: 22px; position: relative; color: var(--ink-3); transition: color .4s var(--ease); }
.tl-eds li::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ground); border: 2px solid var(--line-2); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.tl-eds li:nth-child(2) { justify-items: end; text-align: right; } .tl-eds li:nth-child(2)::before { left: auto; right: 0; }   /* BRIEF-2X: two editions, ends of the line */
.tl-eds time { font-size: 1.05rem; color: inherit; }
.tl-eds b { font: 600 .9375rem/1.2 var(--sans); }
.tl-eds span { font-size: .75rem; }
.tl-eds li.on, .tl-eds li.done { color: var(--ink); }
.tl-eds li.on::before { background: var(--mint); border-color: var(--mint); }
.tl-eds li.done::before { border-color: var(--mint); }
.read { width: 100%; max-width: 620px; opacity: var(--c, 0); transform: translate3d(0, calc((1 - var(--c, 0)) * 30px), 0); }
.reads { position: relative; height: var(--rd-h, 230px); margin: 12px 16px 14px; }
.rd { position: absolute; inset: 0 0 auto; display: grid; align-content: start; gap: 10px; opacity: var(--s, 0); transform: translate3d(0, calc((1 - var(--s, 0)) * 10px), 0); }
.rd[data-rd="0"] { --s: 1; }
.rd-h { font: 340 1.45rem/1.2 var(--display); letter-spacing: -.015em; font-variation-settings: "opsz" 48; }
.rd ul { display: grid; gap: 6px; }
.rd li { position: relative; padding-left: 16px; font-size: .9375rem; color: var(--ink-2); line-height: 1.4; }
.rd li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.rd-l { font-size: .75rem; color: var(--ink-3); padding-top: 8px; border-top: 1px solid var(--line); }

/* ---------- 9 morning ---------- */
.ch-morning .pin { display: grid; align-content: end; }
.morning-copy { position: relative; display: grid; gap: 18px; max-width: 560px; }
.player { display: flex; align-items: center; gap: 14px; padding: 12px 14px; opacity: var(--p, 1); transform: translate3d(0, calc((1 - var(--p, 1)) * 16px), 0); }
.hosts { display: flex; }
.hosts img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--deep); background: var(--deep); }
.hosts img + img { margin-left: -12px; }
.ep { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.ep-t { font-weight: 600; font-size: .9375rem; }
.ep-m { font-size: .75rem; color: var(--ink-3); }
.wave { width: 100%; height: 30px; margin-top: 4px; }
.wave path { fill: none; stroke: var(--mint); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.quote { display: grid; gap: 6px; max-width: 40ch; }
.quote p { font: 340 clamp(1.15rem, 4.4vw, 1.45rem)/1.35 var(--display); font-variation-settings: "opsz" 24; color: var(--ink); letter-spacing: -.01em; }
.quote cite { font-style: normal; font-size: .8125rem; color: var(--ink-3); }

/* ---------- 10 invite ---------- */
.ch-invite .pin { display: grid; grid-template-rows: auto 1fr auto; gap: 26px; }
.invite-copy { display: grid; gap: 20px; max-width: 560px; }
.belief { grid-row: 3; max-width: 22ch; }
.belief .w { opacity: var(--a, .14); transition: opacity .2s linear; }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center;
  padding: 26px var(--gut) calc(env(safe-area-inset-bottom) + 26px); border-top: 1px solid var(--line); background: var(--ground); font-size: .8125rem; color: var(--ink-3); }
.brand-sm { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.brand-sm .mark { width: 22px; height: 22px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; }   /* LANDING-MUSTS: 5 links (Request an invite, Privacy, Terms) wrap on phones */
.foot-links a { color: var(--ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--mint); }

/* ---------- phone: one thing at a time ---------- */
@media (max-width: 899px) {
  .ch-mkt .mkt-copy > .display-2, .ch-mkt .mkt-copy > .body { position: absolute; left: 0; right: 0; }
  .ch-mkt .mkt-copy { position: absolute; left: var(--gut); right: var(--gut); top: calc(env(safe-area-inset-top) + 86px); bottom: calc(env(safe-area-inset-bottom) + 24px); width: auto; display: block; }
  .ch-mkt .mkt-copy > .body { top: calc(var(--h2h, 7.2rem)); }
  .bens { position: absolute; left: 0; right: 0; bottom: 0; height: 9.6em; }
  .bens li { position: absolute; inset: 0 0 auto; display: grid; gap: 6px; opacity: var(--s, 0); transform: translate3d(0, calc((1 - var(--s, 0)) * 14px), 0); }
  .bens p { font-size: .9688rem; }
  .ch-mkt .pin { align-content: start; padding-top: calc(env(safe-area-inset-top) + 92px); }
  .mkt-card { position: relative; z-index: 1; margin-top: 0; max-width: 420px; }
  .panes { --pane-h: 300px; }
  .ch-example .ex-head, .ch-receipt .receipt-head { position: absolute; left: var(--gut); right: var(--gut); top: calc(env(safe-area-inset-top) + 92px); opacity: var(--h, 1); transform: translate3d(0, calc((1 - var(--h, 1)) * -24px), 0); }
  .ch-receipt .pin { padding-top: calc(env(safe-area-inset-top) + 74px); align-content: start; }
  .ch-example .pin { padding-top: calc(env(safe-area-inset-top) + 70px); }
  .sheet, .ex { margin: 0 auto; }
  .ch-receipt .sheet { padding: 13px 13px 11px; }
  .ch-receipt .why { margin-top: 9px; padding-top: 8px; }
  .ch-receipt .why p { font-size: .875rem; }
  .chart-svg { height: clamp(150px, 27svh, 250px); }
  .ex { gap: 8px; padding: 12px 13px 11px; }
  .ex-name { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ex-usd { font-size: 2.15rem; }
  .ex-svg { height: clamp(116px, 16svh, 160px); }
  .ex-note p { font-size: .8125rem; line-height: 1.4; }
  .ex-rail li { padding-top: 6px; }
  .ex-stats div { padding: 7px 9px; }
  .ex-dist { font-size: .75rem; }
  .ex-foot { font-size: .75rem; line-height: 1.38; }
  .ch-edge .pin { padding-top: calc(env(safe-area-inset-top) + 84px); align-content: center; }
  .edge-head { position: absolute; left: var(--gut); right: var(--gut); top: calc(env(safe-area-inset-top) + 120px); }
  .edge-rail { margin-top: 0; opacity: var(--r, 0); }
  .deck { opacity: var(--r, 0); }
  .ch-brief .pin { padding-top: calc(env(safe-area-inset-top) + 92px); align-content: center; }
  .ch-brief .brief-head { position: absolute; left: var(--gut); right: var(--gut); top: calc(env(safe-area-inset-top) + 92px); }
  .ch-brief .tl { opacity: var(--c, 0); }
  .ch-invite .pin { padding-top: calc(env(safe-area-inset-top) + 96px); }
}
@media (max-width: 899px) and (max-height: 760px) {
  .sheet .why p { font-size: .8125rem; line-height: 1.38; }
  .chart-svg { height: 112px; }
  .panes { --pane-h: 268px; }
  .heat li { min-height: 70px; padding: 8px; }
  .ex-svg { height: 96px; }
  .ex-note p { font-size: .8125rem; line-height: 1.36; }
  .ex-stats .ex-sub, .ex-note .ex-ml, .ex-rail li span, .ex-keys { display: none; }
  .ex-label { margin-bottom: 2px; }
  .ek { gap: 12px; }
  .ek-copy { gap: 5px; }
  .ek-copy h3 { font-size: 1.35rem; }
  .ek-copy p { font-size: .875rem; line-height: 1.4; }
}

/* ---------- desktop composition ---------- */
@media (min-width: 900px) {
  body { font-size: 1.125rem; }
  .pin { padding-top: 112px; padding-bottom: 52px; }
  .hero-copy { max-width: 760px; }
  .ch-hero .pin { padding-bottom: 72px; }
  .lede { max-width: 40ch; }
  .cue { display: block; }

  .ch-mkt .pin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; align-content: end; justify-items: stretch; column-gap: 7vw; padding-bottom: 56px; }
  .ch-mkt.is-flip .mkt-copy { order: 2; justify-self: end; max-width: 470px; }
  .mkt-copy { max-width: 560px; gap: 16px; }
  .bens { display: grid; gap: 4px; margin-top: 14px; border-top: 1px solid var(--line); }
  .bens li { display: grid; gap: 6px; padding: 14px 0 12px; border-bottom: 1px solid var(--line); opacity: calc(.38 + .62 * var(--s, 0)); }
  .bens h3 { font-size: clamp(1.3rem, 1.75vw, 1.7rem); }
  .bens p { max-height: calc(var(--s, 0) * 6em); overflow: hidden; opacity: var(--s, 0); font-size: 1rem; }
  .mkt-card { justify-self: end; max-width: 520px; }
  .ch-mkt.is-flip .mkt-card { justify-self: start; }
  .panes { --pane-h: 330px; margin: 14px 18px 14px; }
  .card-top { padding: 16px 18px 0; }
  .card-foot { padding: 0 18px 14px; }

  .ch-receipt .pin { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; align-content: center; column-gap: 7vw; padding-top: 96px; padding-bottom: 32px; }
  .receipt-head { align-self: center; }
  .sheet { justify-self: end; max-width: 660px; padding: 24px 26px 22px; }
  .sheet .why p { font-size: 1rem; }
  .sheet .why h4 { font-size: .875rem; }
  .levels dd { font-size: 1.05rem; }
  .chart-svg { height: clamp(170px, 25vh, 240px); }

  .ch-example .pin { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; align-content: center; column-gap: 6vw; padding-top: 88px; padding-bottom: 22px; }
  .ex { justify-self: end; max-width: 720px; padding: 18px 20px 16px; gap: 12px; }
  .ex-svg { height: clamp(150px, 23vh, 250px); }

  /* EDGE-KIT-V2: normal flow on desktop (no pin): heading, then a 3 x 2 grid that rises in card by card */
  .ch-edge { height: auto; }
  .ch-edge .pin { position: relative; height: auto; overflow: visible; align-content: start; gap: 40px; padding-top: 140px; padding-bottom: 150px; }
  .edge-rail { display: none; }
  /* EDGE-V3: 8 cards = 3/3/2 on a 6-track grid, the last two centred under the rows above */
  .deck { max-width: 1520px; height: auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 60px 36px; }
  .deck > .ek { grid-column: span 2; }
  .deck > .ek:nth-child(7):nth-last-child(2) { grid-column: 2 / span 2; }
  .deck > .ek:nth-child(8):last-child { grid-column: 4 / span 2; }
  .ek { position: relative; inset: auto; gap: 22px; transform: translate3d(0, calc((1 - var(--s, 0)) * 40px), 0); }
  .ek-shot { transition: border-color .5s var(--ease), box-shadow .5s var(--ease); }
  .ek-shot img { transition: transform .7s var(--ease); }
  .ek:hover .ek-shot { border-color: rgba(95, 227, 200, .35); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(95, 227, 200, .08); }
  .ek:hover .ek-shot img { transform: scale(1.035); }
  .ek-shot picture { overflow: hidden; border-radius: 13px; }
  .ek-copy { text-align: left; justify-items: start; padding: 0 4px; }
  .ek-copy h3 { font-size: clamp(1.5rem, 1.9vw, 1.9rem); }
  .ek-copy p { font-size: 1rem; }
  .mkt-card, .read { zoom: 1.06; }

  .ch-brief .pin { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto auto; align-content: center; column-gap: 7vw; row-gap: 28px; }
  .brief-head { grid-row: 1 / span 2; align-self: center; }
  .tl, .read { justify-self: end; }
  .read { --rd-h: 220px; }

  .ch-morning .pin { align-content: center; }
  .ch-invite .pin { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; align-items: end; padding-bottom: 72px; column-gap: 6vw; }
  .invite-copy { grid-column: 1; grid-row: 2; }
  .belief { grid-column: 2; grid-row: 2; justify-self: end; text-align: right; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .panes { --pane-h: 300px; }
  .bens li { padding: 10px 0 9px; }
  .ex-svg { height: clamp(118px, 15.5vh, 170px); }
  .ex { gap: 9px; padding-top: 14px; padding-bottom: 12px; }
  .ch-example .pin { padding-top: 78px; padding-bottom: 12px; }
}
@media (min-width: 1400px) {
  .display { font-size: 6rem; }
}

/* ---------- reduced motion: stills, everything shown, nothing pinned ---------- */
.rm .ch { height: auto; }
.rm .pin { position: relative; height: auto; min-height: 100svh; overflow: visible; }
.rm .film-canvas { display: none; }
.rm .hero-copy .line, .rm .hero-copy .sub-hero, .rm .hero-copy .lede, .rm .hero-copy .ctas, .rm .sheet, .rm .sheet-foot, .rm .mkt-card, .rm .ex, .rm .read, .rm .belief .w,
.rm .mkt-copy > *, .rm .receipt-head, .rm .ex-head, .rm .edge-head, .rm .brief-head, .rm .edge-rail, .rm .deck, .rm .tl, .rm .player { opacity: 1 !important; transform: none !important; transition: none !important; }
.rm .mkt-copy, .rm .mkt-copy > *, .rm .receipt-head, .rm .ex-head, .rm .edge-head, .rm .brief-head, .rm .bens, .rm .bens li { position: relative !important; inset: auto !important; top: auto !important; height: auto !important; }
.rm .bens li { opacity: 1 !important; transform: none !important; margin-top: 12px; }
.rm .bens p { max-height: none; opacity: 1; }
.rm .panes, .rm .reads, .rm .ex-notes { height: auto; }
.rm .pane, .rm .rd, .rm .ex-note { position: relative; inset: auto; opacity: 1 !important; transform: none !important; margin-bottom: 16px; }
.rm .deck { height: auto; display: grid; gap: 40px; }
.rm .ek { position: relative; inset: auto; opacity: 1 !important; transform: none !important; }
.rm .ek-shot { transform: none !important; }
.rm .edge-rail { display: none !important; }
.rm .ch-edge .pin { padding-bottom: 80px; }
.rm .cue, .rm .caret { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- plain pages (preview placeholders) and the docs layout ----------
   Docs pages (landing/docs/*.html, written separately) use: <body class="plain doc-page"> + the same .nav header,
   then <div class="doc"><nav class="doc-nav">…</nav><article class="doc-body">…</article></div> + .foot. */
.plain .pin { position: static; height: auto; min-height: 100svh; display: grid; align-content: center; gap: 18px; }
.doc { display: grid; gap: 40px; max-width: 1120px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 104px) var(--gut) 80px; }
.doc-nav { font-size: .9375rem; }
.doc-nav p, .doc-nav h2 { font: 600 .75rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.doc-nav ul { display: grid; gap: 2px; margin-bottom: 22px; }
.doc-nav a { display: flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; }
.doc-nav a:hover { color: var(--ink); background: var(--panel); }
.doc-nav a[aria-current="page"] { color: var(--ink); background: var(--panel); box-shadow: inset 2px 0 0 var(--mint); }
.doc-body { min-width: 0; max-width: 70ch; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.65; }
.doc-body > * + * { margin-top: 1em; }
.doc-body h1 { font: 320 clamp(2.2rem, 6vw, 3.25rem)/1.05 var(--display); letter-spacing: -.028em; font-variation-settings: "opsz" 96; color: var(--ink); text-wrap: balance; }
.doc-body h2 { font: 360 clamp(1.5rem, 3.6vw, 1.9rem)/1.15 var(--display); letter-spacing: -.02em; color: var(--ink); margin-top: 2.2em; text-wrap: balance; }
.doc-body h3 { font: 600 1.0625rem/1.3 var(--sans); color: var(--ink); margin-top: 1.8em; }
.doc-body p, .doc-body li { text-wrap: pretty; }
.doc-body strong, .doc-body b { color: var(--ink); font-weight: 600; }
.doc-body a { color: var(--ink); }
.doc-body a:hover { color: var(--mint); }
.doc-body ul, .doc-body ol { display: grid; gap: .45em; padding-left: 1.3em; }
.doc-body ul { list-style: disc; } .doc-body ol { list-style: decimal; }
.doc-body li::marker { color: var(--ink-3); }
.doc-body code { font: .9em var(--mono); color: var(--ink); background: var(--panel); border: 1px solid var(--line); padding: .1em .35em; border-radius: 5px; }
.doc-body pre { font: .875rem/1.55 var(--mono); color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; }
.doc-body pre code { background: none; border: 0; padding: 0; }
.doc-body table { width: 100%; font-size: .9375rem; display: block; overflow-x: auto; }
.doc-body th { text-align: left; color: var(--ink-3); font-weight: 500; font-size: .8125rem; padding: 6px 12px 8px 0; border-bottom: 1px solid var(--line-2); }
.doc-body td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-body img, .doc-body figure img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.doc-body figcaption { font-size: .8125rem; color: var(--ink-3); margin-top: 8px; }
.doc-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.doc-body .note { padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); }
.doc-body .note.warn { border-color: rgba(224, 168, 74, .45); }
.doc-body .steps { list-style: none; padding: 0; counter-reset: st; gap: 14px; }
.doc-body .steps > li { counter-increment: st; position: relative; padding-left: 44px; }
.doc-body .steps > li::before { content: counter(st); position: absolute; left: 0; top: .05em; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 .8125rem/1 var(--mono); color: var(--mint-ink); background: var(--mint); }
@media (min-width: 900px) {
  .doc { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding-top: 128px; }
  .doc-nav { position: sticky; top: 112px; align-self: start; }
}
@media (max-width: 899px) {
  .doc-nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .doc-nav a { min-height: 40px; border: 1px solid var(--line); }
  .doc-nav a[aria-current="page"] { box-shadow: none; border-color: rgba(95, 227, 200, .6); }
}
/* LANDING-MUSTS: 'Last updated' line on /privacy and /terms */
.doc-body .doc-updated { font: 500 .8125rem/1.4 var(--mono); color: var(--ink-3); letter-spacing: .02em; }
/* DOCS-GUIDE (Oct 19 2026): real screenshots in a light glass frame (the landing's ek-shot look, quieter), step numbers, toc */
.doc-body figure.shot { margin: 1.5em 0 1.8em; }
.doc-body .shot picture { display: block; padding: 4px; border-radius: 16px; border: 1px solid rgba(231, 237, 240, .12);
  background: linear-gradient(155deg, rgba(231, 237, 240, .07), rgba(231, 237, 240, .015) 46%); box-shadow: 0 22px 44px -28px rgba(0, 0, 0, .85); }
.doc-body .shot img { display: block; width: 100%; height: auto; border: 0; border-radius: 12px; background: #0f1419; }
.doc-body .shot-phone { max-width: 320px; }
.doc-body .shot-strip { max-width: 460px; }
.doc-body .shot-wide { max-width: 100%; }
.doc-body .shot figcaption { margin-top: 10px; line-height: 1.45; text-wrap: pretty; }
.doc-body .shot-pair { display: grid; gap: 4px 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: start; }
.doc-body .shot-pair .shot-phone { max-width: 320px; margin-bottom: .6em; }
.doc-body h2 .n { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; margin-right: .5em; vertical-align: .12em; border-radius: 50%;
  font: 600 .55em/1 var(--mono); color: var(--mint-ink); background: var(--mint); letter-spacing: 0; }
.doc-body .toc { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-size: .9375rem; }
.doc-body .toc ol { gap: .2em; }
.doc-body .toc a { color: var(--ink-2); text-decoration: none; } .doc-body .toc a:hover { color: var(--mint); }
.doc-body .toc p { margin-top: .6em; }
.doc-body h2[id], .doc-body h3[id] { scroll-margin-top: 96px; }
@media (min-width: 640px) { .doc-body .toc ol { columns: 2; column-gap: 28px; display: block; } .doc-body .toc li { break-inside: avoid; margin-bottom: .2em; } }

/* EXAMPLE-YEAR-V3 */
.tag.tag-ey { text-transform: none; letter-spacing: .02em; font-size: .75rem; }
.ex-svg .band.band-rally { fill: rgba(79, 209, 139, .075); } .ex-svg .band.band-rally.on { fill: rgba(79, 209, 139, .17); }
.ex-svg .band.band-drawdown, .ex-svg .band.band-chop { fill: rgba(231, 237, 240, .045); } .ex-svg .band.band-drawdown.on, .ex-svg .band.band-chop.on { fill: rgba(231, 237, 240, .11); }
.ex-svg .band.band-selloff { fill: rgba(240, 180, 80, .06); } .ex-svg .band.band-selloff.on { fill: rgba(240, 180, 80, .15); }
.ex-svg .area.pos-a { fill: rgba(79, 209, 139, .24); }
.ex-svg .acct.pos-l { stroke-width: 2.4; }
.ex-svg .gain-t { font: 600 11px var(--mono); fill: var(--up); opacity: 0; transition: opacity .35s var(--ease); paint-order: stroke; stroke: rgba(10, 14, 18, .75); stroke-width: 3px; }
.ex-svg .gain-t.on { opacity: 1; }
.rm .ex-svg .gain-t { opacity: 1; }
/* EXAMPLE-YEAR-V3b fit */
.tag.tag-ey { white-space: nowrap; }
.ex-top { flex-wrap: wrap; row-gap: 4px; }
.ex-svg .band.band-rally { fill: rgba(79, 209, 139, .095); }
@media (max-width: 600px) {
  .ex-rail:has(li:nth-child(5)) { gap: 4px; }
  .ex-rail:has(li:nth-child(5)) li { font-size: .6875rem; letter-spacing: 0; }
  .ex-rail:has(li:nth-child(5)) li span { font-size: .6875rem; }
}

/*HOW-WE-TRADE:BEGIN*/
/* ---------- 4b how Ribbit trades (HOW-WE-TRADE, Oct 19 2026): find -> execute -> adapt, leading into the receipts ----------
   Same motion language as the market chapters: steps cross-fade (phone) or expand in a list (desktop) while the visual
   card beside them swaps panes. Teal (mint) = action, sky = trend/trail, amber = stop. No green/red: nothing here is P&L. */
.ch-method { --len: 2.5; }
.ch-method .pin { display: grid; align-content: start; gap: 14px; }
.mt-head { position: relative; display: grid; gap: 14px; opacity: var(--h, 1); transform: translate3d(0, calc((1 - var(--h, 1)) * -18px), 0); }
.mt-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; opacity: var(--c, 1); }
.mt-rail li { display: flex; align-items: baseline; gap: 7px; font: 600 .8125rem/1.2 var(--sans); color: var(--ink-3); padding-top: 8px; border-top: 2px solid var(--line-2);
  transition: color .4s var(--ease), border-color .4s var(--ease); }
.mt-rail li b { font-size: .6875rem; font-weight: 500; color: inherit; opacity: .8; }
.mt-rail li.done { color: var(--ink-2); border-color: rgba(231, 237, 240, .4); }
.mt-rail li.on { color: var(--ink); border-color: var(--mint); }
.mt-copy { position: relative; display: grid; gap: 10px; opacity: var(--c, 1); }
.mt-steps { position: relative; }
.mt-step { display: grid; gap: 8px; }
.mt-k { display: flex; align-items: baseline; gap: 8px; font: 600 .75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.mt-k .num { font-size: .75rem; letter-spacing: 0; color: var(--ink-3); }
.mt-step h3 { font: 340 clamp(1.45rem, 5.8vw, 2rem)/1.08 var(--display); letter-spacing: -.02em; font-variation-settings: "opsz" 72; }
.mt-step p:not(.mt-k) { color: var(--ink-2); max-width: 46ch; text-wrap: pretty; font-size: .9688rem; line-height: 1.48; }
.mt-step p + p:not(.mt-k) { color: var(--ink); }
.mt-foot { font-size: .8125rem; }
.mt-vis { width: 100%; max-width: 440px; padding: 14px 16px 16px; opacity: var(--c, 1); transform: translate3d(0, calc((1 - var(--c, 1)) * 30px), 0); }
.mvs { position: relative; height: var(--mv-h, 280px); }
.mv { position: absolute; inset: 0 0 auto; min-height: var(--mv-h, 0px); margin: 0; display: grid; gap: 12px; align-content: space-between; opacity: var(--s, 0); transform: translate3d(0, calc((1 - var(--s, 0)) * 12px), 0); }
.mv[data-mv="0"] { --s: 1; }
.mv-adapt { grid-template-rows: auto 1fr; align-content: stretch; } .mv-adapt .lp { align-self: center; }
.mv-t { display: flex; align-items: baseline; gap: 10px; font: 600 .9375rem/1.2 var(--sans); }
.mv-m { margin-left: auto; font-size: .75rem; font-weight: 400; color: var(--ink-3); }

/* 1 · find: a funnel of real stages (no counts beyond the stable 'about 200'; the rest is words) */
.fn { display: grid; gap: 9px; }
.fn li { display: grid; gap: 5px; }
.fn span { font-size: .8125rem; color: var(--ink-2); line-height: 1.25; text-align: center; opacity: calc(.35 + .65 * var(--g, 1)); }
.fn i { display: block; height: 12px; border-radius: 6px; margin: 0 auto; width: calc(var(--fw) * 100% * (.06 + .94 * var(--g, 1)));
  background: rgba(124, 196, 242, var(--fa)); box-shadow: inset 0 0 0 1px rgba(124, 196, 242, .35); }
.fn li:nth-child(1) { --fw: 1; --fa: .16; }
.fn li:nth-child(2) { --fw: .66; --fa: .26; }
.fn li:nth-child(3) { --fw: .42; --fa: .38; }
.fn li:nth-child(4) { --fw: .22; --fa: .52; }
.fn-out { justify-self: center; display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .875rem; color: var(--ink-2);
  border: 1px solid rgba(95, 227, 200, .5); background: rgba(95, 227, 200, .08); opacity: var(--o, 1); transform: translate3d(0, calc((1 - var(--o, 1)) * 8px), 0); }
.fn-out b { color: var(--mint); font-weight: 600; }

/* 2 · execute: the plan card (levels as % from the entry, set before the order) */
.tp { width: 100%; height: auto; aspect-ratio: 320 / 180; overflow: visible; }
.tp-lv line { stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.tp-lv text { font: 500 11px var(--mono); text-anchor: end; paint-order: stroke; stroke: #0d1116; stroke-width: 4px; stroke-linejoin: round; }
.tp-lv { opacity: var(--l, 1); }
.tp-s1 line, .tp-s2 line, .tp-s3 line { stroke: rgba(95, 227, 200, .55); } .tp-s1 text, .tp-s2 text, .tp-s3 text { fill: var(--mint); }
.tp-en line { stroke: rgba(231, 237, 240, .45); stroke-dasharray: none; } .tp-en text { fill: var(--ink-2); }
.tp-st line { stroke: var(--stop); } .tp-st text { fill: var(--stop); }
.tp-px { fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.tp-trail { fill: none; stroke: var(--sky); stroke-width: 1.5; stroke-linejoin: round; opacity: .9; }
.tp-rings circle { fill: #0d1116; stroke: var(--mint); stroke-width: 1.6; opacity: 0; }
.tp-dot { fill: var(--mint); }
.tp-k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tp-k div { padding: 7px 9px; border-radius: 10px; background: var(--panel); }
.tp-k dt { font-size: .6875rem; color: var(--ink-3); line-height: 1.25; }
.tp-k dd { font-size: .8125rem; color: var(--ink); line-height: 1.3; }
.tp-k .tp-tr { color: var(--sky); }

/* 3 · adapt: the learning loop (a dot runs the ring; each stop lights as it passes) */
.lp { display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); grid-template-areas: "a a a" "d r b" "c c c"; align-items: center; justify-items: center; gap: 6px 8px; }
.lp-ring { grid-area: r; width: 132px; height: 132px; overflow: visible; }
.lp-n { display: grid; gap: 1px; text-align: center; font-size: .75rem; color: var(--ink-3); line-height: 1.3; transition: color .4s var(--ease); }
.lp-n b { font: 600 .8125rem/1.25 var(--sans); color: var(--ink-2); transition: color .4s var(--ease); }
.lp-n.on b { color: var(--mint); } .lp-n.on { color: var(--ink-2); }
.lp-a { grid-area: a; } .lp-b { grid-area: b; justify-self: start; text-align: left; } .lp-c { grid-area: c; } .lp-d { grid-area: d; justify-self: end; text-align: right; }
.lp-track { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.lp-fill { fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 276.46 276.46; stroke-dashoffset: 0; }
.lp-k { fill: var(--ground); stroke: var(--sky); stroke-width: 1.4; }
.lp-k.on { fill: var(--mint); stroke: var(--mint); }
.lp-dot { fill: var(--mint); }
.lp-ring text { font: 600 10.5px var(--sans); fill: var(--ink-2); text-anchor: middle; dominant-baseline: middle; letter-spacing: .02em; }
.lp-ring .lp-c2 { fill: var(--ink); }

@media (max-width: 899px) {
  .ch-method .pin { padding-top: calc(env(safe-area-inset-top) + 84px); gap: 12px; align-content: center; }
  .ch-method .mt-head { position: absolute; left: var(--gut); right: var(--gut); top: calc(env(safe-area-inset-top) + 92px); }
  .ch-method .mt-rail { order: 1; }
  .ch-method .mt-vis { order: 2; margin: 0 auto; }
  .ch-method .mt-copy { order: 3; }
  .mt-steps { height: var(--st-h, 220px); }
  .mt-step { position: absolute; inset: 0 0 auto; opacity: var(--s, 0); transform: translate3d(0, calc((1 - var(--s, 0)) * 14px), 0); }
  .mt-step[data-st="0"] { --s: 1; }
  .mt-step { gap: 6px; }
  .mt-step h3 { font-size: 1.5rem; }
  .mt-step p:not(.mt-k) { font-size: .9063rem; line-height: 1.42; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .ch-method .pin { padding-top: calc(env(safe-area-inset-top) + 76px); gap: 10px; }
  .mt-vis { padding: 11px 13px 12px; }
  .mv { gap: 9px; }
  .fn { gap: 6px; } .fn i { height: 10px; }
  .tp { aspect-ratio: 320 / 150; }
  .lp-ring { width: 112px; height: 112px; } .lp { grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr); }
  .mt-step h3 { font-size: 1.3rem; }
  .mt-step p:not(.mt-k) { font-size: .8438rem; line-height: 1.38; }
}
@media (min-width: 900px) {
  .ch-method .pin { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 7vw; row-gap: 26px; }
  .mt-head { grid-column: 1; grid-row: 1; max-width: 560px; }
  .mt-rail { display: none; }
  .mt-copy { grid-column: 1; grid-row: 2; max-width: 560px; gap: 14px; }
  .mt-steps { display: grid; border-top: 1px solid var(--line); }
  .mt-step { padding: 14px 0 13px; border-bottom: 1px solid var(--line); gap: 6px; opacity: calc(.38 + .62 * var(--s, 0)); }
  .mt-step h3 { font-size: clamp(1.3rem, 1.75vw, 1.7rem); }
  .mt-step p:not(.mt-k) { max-height: calc(var(--s, 0) * 7em); overflow: hidden; opacity: var(--s, 0); font-size: 1rem; }
  .mt-vis { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: center; max-width: 600px; padding: 20px 22px 22px; }
  .tp-lv text { font-size: 7.6px; stroke-width: 3px; }
  .lp-ring text { font-size: 10px; }
  .fn { gap: 12px; } .fn i { height: 14px; } .fn span { font-size: .875rem; }
  .lp { grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); } .lp-ring { width: 150px; height: 150px; }
  .lp-n { font-size: .8125rem; } .lp-n b { font-size: .9375rem; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .mt-step { padding: 10px 0 9px; }
  .mt-step p:not(.mt-k) { font-size: .9375rem; }
}
.rm .ch-method .mt-head, .rm .mt-rail, .rm .mt-copy, .rm .mt-vis { position: relative !important; inset: auto !important; top: auto !important; opacity: 1 !important; transform: none !important; }
.rm .mt-rail { display: none; }
.rm .ch-method .pin { background: linear-gradient(180deg, rgba(10, 13, 16, .78), rgba(10, 13, 16, .66)); }
.rm .mt-steps, .rm .mvs { height: auto !important; }
.rm .mt-step, .rm .mv { position: relative; inset: auto; min-height: 0; align-content: start; opacity: 1 !important; transform: none !important; }
.rm .mt-step { margin-bottom: 18px; }
.rm .mt-step p:not(.mt-k) { max-height: none; opacity: 1; }
.rm .mv { margin-bottom: 22px; }
.rm .tp-rings circle { opacity: 1; }
/*HOW-WE-TRADE:END*/
/*SMOOTH-SCROLL:BEGIN (Oct 20 2026) The chapters' panes, cards and step lists cross-fade over only ~10-15 px of scroll, so
  one mouse-wheel notch (100 px) flipped them in a single frame and stepped the card heights by 60-130 px. A short ease on
  the properties the scroll engine drives makes every swap take ~1/3 s at any scroll speed; scroll position, pinning and
  layout are untouched. Reduced motion (.rm) shows static stills and gets none of this. */
html:not(.rm) :is(.hero-copy, .morning-copy, .player, .invite-copy, .pane, .rd, .ex-note, .mv, .mkt-card, .read, .mkt-copy > .display-2, .mkt-copy > .body, .edge-head, .brief-head, .mt-head, .mt-vis, .mt-rail, .mt-copy, .edge-rail, .sheet, .ex, .ek) {
  transition: opacity .34s cubic-bezier(.25,.6,.3,1), transform .34s cubic-bezier(.25,.6,.3,1); }
html:not(.rm) :is(.panes, .reads, .mvs) { transition: height .34s cubic-bezier(.25,.6,.3,1); }
html:not(.rm) .deck { transition: opacity .34s cubic-bezier(.25,.6,.3,1), height .34s cubic-bezier(.25,.6,.3,1); }
@media (max-width: 899px) {
  html:not(.rm) :is(.bens li, .mt-step) { transition: opacity .34s cubic-bezier(.25,.6,.3,1), transform .34s cubic-bezier(.25,.6,.3,1); }
  html:not(.rm) .mt-steps { transition: height .34s cubic-bezier(.25,.6,.3,1); }
}
@media (min-width: 900px) {
  html:not(.rm) :is(.bens li, .mt-step) { transition: opacity .34s cubic-bezier(.25,.6,.3,1); }
  html:not(.rm) :is(.bens p, .mt-step p:not(.mt-k)) { transition: max-height .34s cubic-bezier(.25,.6,.3,1), opacity .34s cubic-bezier(.25,.6,.3,1); }
}
/*SMOOTH-SCROLL:END*/

/* HOW-WE-TRADE preview -> live year card (playbook): controls, typical line, markers, band tints, biggest moves, live row */
.ex-ctl { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.ex-seg { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 999px; background: var(--panel); }
.ex-seg i { font: 500 .6875rem/1 var(--sans); font-style: normal; color: var(--ink-3); padding: 0 6px 0 8px; letter-spacing: .04em; text-transform: uppercase; }
.ex-seg button { font: 500 .6875rem/1 var(--sans); color: var(--ink-3); background: none; border: 0; border-radius: 999px; padding: 5px 8px; cursor: pointer; white-space: nowrap; }
@media (max-width: 480px) { .ex-ctl { flex-wrap: nowrap; } .ex-seg i { padding: 0 3px 0 6px; } .ex-note p { font-size: .8125rem; line-height: 1.4; } .ex-dist { font-size: .6875rem; } .ex-moves-l li { padding: 5px 8px; } }
.ex-seg button.on { color: var(--ground, #0b0f12); background: var(--mint, #8fe3c6); }
.ex-typ { font-size: .75rem; color: var(--ink-3); margin-top: 2px; }
.ex-cap { font-size: .75rem; color: var(--ink-3); }
.ex-disc { font-size: .75rem; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 480px) { .ex-typ, .ex-cap { font-size: .6875rem; line-height: 1.35; } .ex-ml { line-height: 1.35; } }
.ex-cap:empty { display: none; }
.ex-rail li { cursor: pointer; }
.ex-svg .band-rally { fill: rgba(79, 209, 139, .06); } .ex-svg .band-rally.on { fill: rgba(79, 209, 139, .14); }
.ex-svg .band-selloff { fill: rgba(240, 176, 70, .08); } .ex-svg .band-selloff.on { fill: rgba(240, 176, 70, .18); }
.ex-svg .mk { opacity: 0; transition: opacity .35s var(--ease); } .ex-svg .mk.on { opacity: 1; }
.ex-svg .mk circle { fill: var(--ground, #0b0f12); stroke: var(--ink); stroke-width: 1.5; }
.ex-svg .mk text { font: 600 10px var(--sans); fill: var(--ink); paint-order: stroke; stroke: rgba(11, 15, 18, .85); stroke-width: 3px; }
@media (max-width: 480px) { .ex-svg .mk text { display: none; } .ex-svg { height: 142px; } }
.ex-keys .k-mk::before { width: 7px; height: 7px; border: 1.5px solid var(--ink); border-radius: 50%; }
.ex-after { position: relative; z-index: 2; padding: 8px 20px 56px; }
.ex-after-in { max-width: 640px; margin: 0 auto; display: grid; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--card, rgba(16, 21, 25, .92)); border: 1px solid var(--line-2, rgba(231,237,240,.08)); }
@media (min-width: 900px) { .ex-after-in { margin-right: max(20px, calc((100vw - 1320px) / 2 + 20px)); } }
.ex-moves { display: grid; gap: 6px; }
.ex-moves-h { font: 600 .75rem/1.2 var(--sans); letter-spacing: .04em; color: var(--ink-2); }
.ex-moves-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; }
.ex-moves-l::-webkit-scrollbar { display: none; }
.ex-moves-l li { display: grid; gap: 1px; padding: 6px 9px; border-radius: 9px; background: var(--panel); font: 400 .6875rem/1.3 var(--sans); color: var(--ink-3); }
.ex-moves-l li .mv-t { font: 500 .6875rem/1.3 var(--sans); color: var(--ink-3); } .ex-moves-l li .mv-t.pos { color: var(--up) !important; }
.ex-moves-l li .mv-n { font: 600 .75rem/1.3 var(--sans); color: var(--ink-2); }
.ex-moves-l li b { font: 500 .8125rem var(--mono); }
.ex-live { font-size: .75rem; color: var(--ink-3); display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.ex-live-k { color: var(--ink-2); font-weight: 600; }
.ex-live-v { font: 500 .8125rem var(--mono); color: var(--ink); }
