/* Layout concept: one long page that reads like an annual report for a small fund.
   Big editorial type, generous white space, one midnight band for the numbers,
   and a signature motif: every promo we've run drawn as a dot. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #0b1324;
  --ink-2: #4a5568;
  --muted: #6b7485;
  --line: #e2e6ec;
  --line-2: #cfd6e0;
  --brand: #2b45e8;
  --brand-ink: #1e33b8;
  --brand-wash: #eef1fe;
  --on-brand: #ffffff;
  --night: #0a1020;
  --night-2: #121a30;
  --night-ink: #e9edf7;
  --night-muted: #9aa5bd;
  --night-line: #232d47;
  --win: #12a36a;
  --even: #a7afbc;
  --loss: #ef6a52;
  --glow: rgba(43, 69, 232, 0.16);
  --shadow: 0 1px 2px rgba(11, 19, 36, 0.05), 0 12px 32px -12px rgba(11, 19, 36, 0.18);

  --f-display: "Funnel Display", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --f-body: "Funnel Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 76rem;
  --r: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070c17; --surface: #0e1627; --ink: #eaf0fa; --ink-2: #b4bfd2; --muted: #8592a8; --line: #1d2940; --line-2: #2a3857;
    --brand: #7c8fff; --brand-ink: #a5b2ff; --brand-wash: #141f3a; --on-brand: #070c17;
    --night: #0d1528; --night-2: #141e36; --night-ink: #eaf0fa; --night-muted: #9aa5bd; --night-line: #26324f;
    --win: #2fbf83; --even: #5b6678; --loss: #f07a63; --glow: rgba(124, 143, 255, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070c17; --surface: #0e1627; --ink: #eaf0fa; --ink-2: #b4bfd2; --muted: #8592a8; --line: #1d2940; --line-2: #2a3857;
  --brand: #7c8fff; --brand-ink: #a5b2ff; --brand-wash: #141f3a; --on-brand: #070c17;
  --night: #0d1528; --night-2: #141e36; --night-ink: #eaf0fa; --night-muted: #9aa5bd; --night-line: #26324f;
  --win: #2fbf83; --even: #5b6678; --loss: #f07a63; --glow: rgba(124, 143, 255, 0.14);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 0.2em; }
a:hover { color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: max(1rem, 4vw); }
.eyebrow { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 36rem; line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.mono { font-family: var(--f-mono); }
.num { font-variant-numeric: tabular-nums; }
.hl-win { color: var(--win); }
[hidden] { display: none !important; }
.fields { display: grid; gap: 1.1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- header ---------------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; transition: background 0.25s, border-color 0.25s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 22px; flex: none; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.97rem; }
.nav a:hover { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); border-radius: 999px; padding: 0.45rem 0.95rem; font: 500 0.92rem var(--f-body); cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 0.5rem max(1rem, 4vw) 1rem; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 0.8rem; justify-content: center; border-bottom: 0; }
}

/* ---------------- buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.85rem 1.35rem; border-radius: 999px; font: 600 1rem var(--f-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 20px -8px var(--brand); }
.btn-primary:hover { background: var(--brand-ink); color: var(--on-brand); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.nav .btn { padding: 0.6rem 1.1rem; font-size: 0.95rem; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--on-brand); }

/* ---------------- sections ---------------- */
section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 { margin-top: 0.9rem; }
.sec-head p { margin-top: 1.1rem; color: var(--ink-2); font-size: 1.15rem; }

/* ---------------- hero ---------------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.hero h1 { margin-top: 1.1rem; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { margin-top: 1.5rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.proof div { display: grid; }
.proof strong { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.1; }
.proof span { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 480px) { .proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; } .proof strong { font-size: 1.3rem; } .proof span { font-size: 0.78rem; line-height: 1.3; } }
.field-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 1.25rem 1.25rem 1rem; }
.field-card .fc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.field-card .fc-top h3 { font-size: 1rem; }
.field-card .fc-top .mono { font-size: 0.72rem; color: var(--muted); }
.field { position: relative; margin-top: 0.9rem; aspect-ratio: 30 / 25; width: 100%; max-width: 100%; }
.field canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.field-legend { display: grid; gap: 0.35rem; margin-top: 0.9rem; font-size: 0.9rem; color: var(--ink-2); }
.field-legend span { display: flex; align-items: center; gap: 0.55rem; }
.field-legend i { width: 0.7rem; height: 0.7rem; border-radius: 50%; flex: none; }
.field-legend b { font-family: var(--f-mono); font-weight: 500; color: var(--ink); min-width: 2.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { font: 500 0.75rem var(--f-mono); padding: 0.2rem 0.55rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--surface); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------------- night band ---------------- */
.night { background: var(--night); color: var(--night-ink); overflow: hidden; }
.night::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--night-line) 1px, transparent 1px); background-size: 22px 22px; opacity: 0.55; mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); pointer-events: none; }
.night .wrap { position: relative; }
.night .eyebrow { color: var(--night-muted); }
.night h2 { color: var(--night-ink); }
.night .sec-head p { color: var(--night-muted); }
.big-stats { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--night-line); }
.big-stat { padding: 1.75rem 1.5rem 0.5rem 0; }
.big-stat + .big-stat { padding-left: 1.5rem; border-left: 1px solid var(--night-line); }
.big-stat .v { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 4.3vw, 3.9rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-stat .v.win { color: var(--win); }
.big-stat .l { margin-top: 0.75rem; color: var(--night-muted); font-size: 1rem; max-width: 15rem; }
@media (max-width: 900px) { .big-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .big-stat:nth-child(3) { padding-left: 0; border-left: 0; } .big-stat:nth-child(n+3) { border-top: 1px solid var(--night-line); } }
@media (max-width: 420px) { .big-stat .v { font-size: 2.3rem; } .big-stat + .big-stat { padding-left: 1rem; } .big-stat { padding-right: 0.75rem; } }
.night-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; margin-top: 3rem; }
.night-card { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r); padding: 1.4rem 1.5rem; }
.night-card h3 { color: var(--night-ink); font-size: 1.05rem; }
.night-card p { color: var(--night-muted); margin-top: 0.5rem; font-size: 0.97rem; }
.night-card strong { color: var(--night-ink); }
@media (max-width: 800px) { .night-foot { grid-template-columns: 1fr; } }

/* ---------------- steps ---------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.steps-line { position: absolute; left: 0; right: 0; top: 1.15rem; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps-line i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 1)); background: var(--brand); }
.step { position: relative; }
.step .n { position: relative; z-index: 1; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; font: 500 0.85rem var(--f-mono); background: var(--surface); border: 2px solid var(--brand); color: var(--brand); }
.step h3 { margin-top: 1.25rem; }
.step p { margin-top: 0.5rem; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps-line { display: none; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------------- settle ---------------- */
.settle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.settle-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.75rem; display: grid; gap: 1.1rem; align-content: start; }
.settle-card .tag { font: 500 0.75rem var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.settle-card .tag.up { color: var(--win); }
.settle-card .tag.down { color: var(--loss); }
.settle-card h3 { font-size: 1.45rem; }
.settle-card .note { color: var(--ink-2); }
.settle-card .result { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.settle-card .result b { font-family: var(--f-mono); font-weight: 500; color: var(--ink); }
@media (max-width: 800px) { .settle { grid-template-columns: 1fr; } }

/* ---------------- features ---------------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; display: grid; gap: 0.6rem; align-content: start; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.feature .ic { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand); }
.feature .ic svg { width: 1.35rem; height: 1.35rem; }
.feature p { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------------- trust ---------------- */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.trust p + p { margin-top: 1rem; }
.trust .lead { max-width: none; }
.nevers { list-style: none; margin: 0; padding: 0; }
.nevers li { display: flex; gap: 0.9rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.nevers li:first-child { border-top: 1px solid var(--line); }
.nevers li::before { content: "\2715"; font-size: 0.8rem; color: var(--loss); flex: none; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* ---------------- breakdown ---------------- */
.breakdown { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; min-width: 0; }
.panel h3 { font-size: 1.1rem; }
.panel .sub { color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { background: none; border: 0; padding: 0.4rem 0.85rem; border-radius: 999px; font: 500 0.88rem var(--f-body); color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 19, 36, 0.15); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.25rem; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1rem; display: grid; gap: 0.15rem; align-content: start; min-width: 0; }
.tile .tl { font-size: 0.8rem; color: var(--muted); }
.tile .tv { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tile .tv.win { color: var(--win); }
@media (max-width: 1000px) { .breakdown { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chart { margin-top: 1rem; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .bar { fill: var(--brand); }
.chart .hit { fill: transparent; }
.chart .hit:hover + .bar, .chart .hit:focus + .bar { opacity: 0.78; }
.chart .v { fill: var(--ink); font: 500 12.5px var(--f-mono); }
.chart .c { fill: var(--muted); font: 400 12px var(--f-body); }
.chart .base { stroke: var(--line-2); stroke-width: 1; }
.outcome { display: flex; gap: 3px; height: 2.6rem; border-radius: 8px; overflow: hidden; margin-top: 1rem; }
.outcome > div { display: flex; align-items: center; padding-left: 0.65rem; font: 500 0.85rem var(--f-mono); color: #fff; white-space: nowrap; min-width: 0; overflow: hidden; }
.outcome .w { background: var(--win); } .outcome .e { background: var(--even); color: var(--ink); } .outcome .l { background: var(--loss); }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 0.75rem; font-size: 0.85rem; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend i { width: 0.65rem; height: 0.65rem; border-radius: 2px; }
.table-wrap { overflow-x: auto; margin-top: 0.75rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th { text-align: left; font: 500 0.72rem var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
td { padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
td.r, th.r { text-align: right; }
.cellbar { display: flex; align-items: center; gap: 0.55rem; }
.cellbar i { height: 7px; border-radius: 4px; background: var(--brand); display: block; }
details.method { margin-top: 1.25rem; border-top: 1px solid var(--line); }
details.method summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details.method summary::-webkit-details-marker { display: none; }
details.method summary::after { content: "+"; font-family: var(--f-mono); color: var(--muted); }
details.method[open] summary::after { content: "\2212"; }
details.method ul { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--ink-2); display: grid; gap: 0.45rem; font-size: 0.97rem; }

/* ---------------- partners ---------------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pcard { border-radius: 16px; padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 0.6rem; align-content: start; }
.pcard .eyebrow { color: var(--brand); }
.pcard p { color: var(--ink-2); }
.rules { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rules span { font-size: 0.9rem; padding: 0.4rem 0.8rem; border-radius: 999px; background: var(--brand-wash); color: var(--ink); }
@media (max-width: 900px) { .partner-grid { grid-template-columns: 1fr; } }

/* ---------------- FAQ ---------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.2rem 1.2rem 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.3rem; top: 1.45rem; width: 0.6rem; height: 0.6rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq details p { padding: 0 0 1.3rem; color: var(--ink-2); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------------- start / form ---------------- */
.start { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.start-side { display: grid; gap: 1.5rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; color: var(--ink-2); }
.checklist li::before { content: ""; flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; border-radius: 50%; background: var(--brand-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232b45e8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.9rem no-repeat; }
.note-box { border-radius: 12px; padding: 1rem 1.2rem; background: var(--brand-wash); font-size: 0.95rem; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 3.5vw, 2.25rem); display: grid; gap: 1.1rem; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
label, legend { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.4rem; }
.hint { font-weight: 400; color: var(--muted); font-size: 0.84rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; font: 400 1rem var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 0.75rem 0.85rem; transition: border-color 0.2s, box-shadow 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--glow); }
textarea { min-height: 5.5rem; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.pick label { margin: 0; display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 0.9rem; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; font-weight: 500; }
.pick input { accent-color: var(--brand); }
.pick label:has(input:checked) { border-color: var(--brand); background: var(--brand-wash); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.35rem 1rem; }
.check { display: flex; gap: 0.5rem; align-items: center; font-weight: 400; font-size: 0.95rem; margin: 0; }
.check input, .agree input { accent-color: var(--brand); }
.agree { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.93rem; padding: 0.85rem 1rem; border-radius: 12px; background: var(--bg); margin: 0; }
.agree input { margin-top: 0.3rem; }
.form-msg { border-radius: 12px; padding: 0.85rem 1rem; font-size: 0.95rem; }
.form-msg.ok { background: color-mix(in srgb, var(--win) 14%, var(--surface)); border: 1px solid var(--win); }
.form-msg.warn { background: var(--brand-wash); border: 1px solid var(--line-2); }
.hp { position: absolute; left: -5000px; }
@media (max-width: 900px) { .start { grid-template-columns: 1fr; } }

/* ---------------- closing band ---------------- */
.closing { background: var(--night); color: var(--night-ink); text-align: left; overflow: hidden; }
.closing .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; }
.closing h2 { color: var(--night-ink); max-width: 36rem; }
.closing p { color: var(--night-muted); margin-top: 0.6rem; }

/* ---------------- footer ---------------- */
.site-footer { padding-block: 3.5rem 2.5rem; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.foot h4 { margin: 0 0 0.8rem; font: 500 0.74rem var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.foot a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.foot a:hover { color: var(--ink); }
.fine { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); }
.fine .rg { color: var(--ink-2); font-weight: 600; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* ---------------- legal page ---------------- */
.page-intro { padding-block: 3.5rem 2.5rem; border-bottom: 1px solid var(--line); }
.page-intro .lead { margin-top: 1rem; }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.6rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose p, .prose ul { margin-top: 0.9rem; color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; }

/* ---------------- tooltip ---------------- */
.tooltip { position: fixed; z-index: 60; pointer-events: none; background: var(--ink); color: var(--bg); border-radius: 8px; padding: 0.5rem 0.7rem; font-size: 0.82rem; line-height: 1.35; box-shadow: var(--shadow); max-width: 16rem; }
.tooltip strong { display: block; font: 500 0.98rem var(--f-mono); }

/* ---------------- motion (only when JS confirms it's wanted) ---------------- */
.motion .reveal.pending { opacity: 0; transform: translateY(28px); }
.motion .reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.motion .settle-card .grow { transition: transform 1s var(--ease) 0.25s; }
.motion .settle-card .grow.late { transition-delay: 1.05s; }
.motion .settle-card.pending .grow { transform: scaleY(0.02); }
.motion .settle-card .swoop { transition: stroke-dashoffset 0.7s var(--ease) 0.75s; }
.motion .settle-card.pending .swoop { stroke-dashoffset: 120; }
.motion .settle-card .swoop-head, .motion .settle-card .t-cover, .motion .settle-card .tags { transition: opacity 0.5s 1.2s; }
.motion .settle-card .t-zero { transition: opacity 0.4s 2s, transform 0.5s var(--ease) 2s; transform-box: fill-box; transform-origin: 50% 100%; }
.motion .settle-card.pending .swoop-head, .motion .settle-card.pending .t-cover, .motion .settle-card.pending .tags, .motion .settle-card.pending .t-zero { opacity: 0; }
.motion .settle-card.pending .t-zero { transform: translateY(6px); }
.motion .hbars .fill { transition: width 1.1s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------------- field card extras ---------------- */
.field-card .fc-top { align-items: center; }
.fc-sub { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 0.2rem; }
.seg-sm button { padding: 0.32rem 0.7rem; font-size: 0.8rem; }
.field-legend i.ring { background: transparent; border: 2px solid var(--brand); box-shadow: inset 0 0 0 2px var(--surface); position: relative; }
.field-legend i.ring::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--loss); }

/* ---------------- horizontal bars (night cards) ---------------- */
.hbars { display: grid; gap: 0.6rem; margin-top: 1.1rem; }
.hb { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) 3.4rem; gap: 0.75rem; align-items: center; font-size: 0.9rem; color: var(--night-muted); }
.hb .track { height: 10px; background: var(--night-line); border-radius: 999px; overflow: hidden; }
.hb .fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--win))); width: 0; }
.hbars:not(.periods) .fill { background: linear-gradient(90deg, color-mix(in srgb, var(--win) 70%, var(--brand)), var(--win)); }
.hb b { font-family: var(--f-mono); font-weight: 500; color: var(--night-ink); text-align: right; }

/* ---------------- settle diagrams ---------------- */
.flow { width: 100%; height: auto; display: block; overflow: visible; margin-top: 0.25rem; }
.flow .zero { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 4; }
.flow .z { fill: var(--muted); font: 400 11px var(--f-mono); }
.flow .grow { transform-box: fill-box; }
.flow .grow.up { transform-origin: 50% 100%; }
.flow .grow.down { transform-origin: 50% 0%; }
.flow .seg-you { fill: var(--win); }
.flow .seg-us { fill: color-mix(in srgb, var(--brand) 30%, var(--surface)); stroke: color-mix(in srgb, var(--brand) 45%, var(--surface)); }
.flow .seg-cover { fill: var(--brand); }
.flow .h-bg { fill: color-mix(in srgb, var(--loss) 14%, var(--surface)); }
.flow .h-ln { stroke: color-mix(in srgb, var(--loss) 55%, var(--surface)); stroke-width: 3; }
.flow .seg-loss { stroke: var(--loss); stroke-width: 1.5; }
.flow .lead { stroke: var(--line-2); stroke-width: 1; }
.flow text { font: 600 13px var(--f-body); }
.flow .t-you { fill: var(--win); } .flow .t-us { fill: var(--ink-2); } .flow .t-loss { fill: var(--loss); } .flow .t-cover { fill: var(--brand); }
.flow .swoop { fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-dasharray: 120; stroke-dashoffset: 0; }
.flow .swoop-head { fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- model ---------------- */
.model-sec { padding-top: 0; }
.model { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.ev-card { margin-top: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem 1.25rem 1rem; box-shadow: var(--shadow); }
.ev { width: 100%; height: auto; display: block; overflow: visible; }
.ev-axis { stroke: var(--line-2); stroke-width: 1; }
.ev-zero { stroke: var(--loss); stroke-width: 1.2; stroke-dasharray: 3 4; }
.ev-t { fill: var(--muted); font: 400 11px var(--f-mono); }
.ev-fill { fill: color-mix(in srgb, var(--win) 16%, transparent); }
.ev-fill-l { fill: color-mix(in srgb, var(--loss) 14%, transparent); }
.ev-line { fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linejoin: round; }
.ev-mean { stroke: var(--win); stroke-width: 2; }
.ev-m { fill: var(--win); font: 600 12px var(--f-body); }
.ev-cap { margin-top: 0.75rem; font-size: 0.85rem; color: var(--muted); }
.factors { display: grid; gap: 0.75rem; }
.factor { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: transform 0.3s var(--ease), border-color 0.3s; }
.factor:hover { transform: translateX(4px); border-color: var(--line-2); }
.factor .ic { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--brand-wash); color: var(--brand); }
.factor .ic svg { width: 1.3rem; height: 1.3rem; }
.factor h3 { font-size: 1.05rem; }
.factor p { color: var(--ink-2); font-size: 0.95rem; margin-top: 0.2rem; }
@media (max-width: 900px) { .model { grid-template-columns: 1fr; } }

/* ---------------- side rail + mobile dock ---------------- */
.rail { position: fixed; right: 1.1rem; top: 50%; transform: translateY(-50%); z-index: 35; display: none; flex-direction: column; align-items: flex-end; gap: 1rem; transition: opacity 0.3s, transform 0.3s var(--ease); }
.rail.hide { opacity: 0; pointer-events: none; transform: translate(12px, -50%); }
.rail-dots { display: grid; gap: 0.15rem; justify-items: end; }
.rail-dots a { display: flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0; text-decoration: none; }
.rail-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: transform 0.25s var(--ease), background 0.25s; }
.rail-dots .lbl { font-size: 0.78rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 0.15rem 0.5rem; border-radius: 999px; opacity: 0; transform: translateX(6px); transition: opacity 0.2s, transform 0.2s; white-space: nowrap; }
.rail-dots a:hover .lbl, .rail-dots a:focus-visible .lbl { opacity: 1; transform: none; }
.rail-dots a.on i { background: var(--brand); transform: scale(1.5); }
.rail.on-dark .rail-dots i { background: var(--night-line); }
.rail.on-dark .rail-dots a.on i { background: var(--brand); }
.rail-cta { writing-mode: vertical-rl; display: flex; align-items: center; gap: 0.6rem; padding: 1rem 0.65rem; border-radius: 999px; background: var(--brand); color: var(--on-brand); text-decoration: none; font: 600 0.9rem var(--f-body); letter-spacing: 0.02em; box-shadow: 0 10px 24px -10px var(--brand); transition: transform 0.2s var(--ease), background 0.2s; }
.rail-cta:hover { background: var(--brand-ink); color: var(--on-brand); transform: translateX(-2px); }
.rail-cta b { writing-mode: horizontal-tb; font-size: 1rem; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(4px); } }
@media (min-width: 1180px) { .rail { display: flex; } }
.dock { position: fixed; left: 1rem; right: 1rem; bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); z-index: 35; display: none; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.9rem 1.15rem; border-radius: 16px; background: var(--brand); color: var(--on-brand); text-decoration: none; font-weight: 600; box-shadow: 0 16px 32px -12px rgba(11, 19, 36, 0.45); transition: transform 0.35s var(--ease), opacity 0.35s; }
.dock:hover { color: var(--on-brand); }
.dock.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (max-width: 1179px) { .dock { display: flex; } .site-footer { padding-bottom: 6rem; } }

.flow .ghost { fill: none; stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 3 3; }
.flow .t-zero circle { fill: var(--surface); stroke: var(--brand); stroke-width: 2; }
.flow .t-zero text { fill: var(--ink); font: 600 12px var(--f-body); }
.breakdown { align-items: start; }
.range { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.range div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.range dt { color: var(--muted); }
.range dd { margin: 0; font-family: var(--f-mono); color: var(--ink); }
