@font-face {font-family:"Geist";src:url("/fonts/Geist.woff2") format("woff2");font-style:normal;font-weight:400 500;font-display:swap;}
@font-face {font-family:"Geist Mono";src:url("/fonts/GeistMono.woff2") format("woff2");font-style:normal;font-weight:400 500;font-display:swap;}

:root {
  color-scheme: light dark;
  --canvas: light-dark(#f5f7fa, #0b1118);
  --surface: light-dark(#ffffff, #111a24);
  --surface-top: light-dark(#edf1f6, #182534);
  --recess: light-dark(#e8edf3, #080d13);
  --line: light-dark(rgba(16, 42, 72, 0.12), rgba(148, 197, 238, 0.11));
  --line-hi: light-dark(rgba(16, 42, 72, 0.26), rgba(148, 197, 238, 0.24));

  --text: light-dark(#0b1118, #eef4fa);
  --text-2: light-dark(#33475b, #b0c1d1);
  --muted: light-dark(#5a6d80, #788c9f);
  --dim: light-dark(#a7b6c5, #4c5f72);

  --accent: light-dark(#0369a1, #7dd3fc);
  --accent-soft: light-dark(rgba(3, 105, 161, 0.09), rgba(125, 211, 252, 0.12));
  --attention: light-dark(#c2410c, #fb923c);
  --attention-soft: light-dark(rgba(194, 65, 12, 0.09), rgba(251, 146, 60, 0.14));
  --success: light-dark(#0f766e, #5eead4);
  --success-soft: light-dark(rgba(15, 118, 110, 0.1), rgba(94, 234, 212, 0.11));

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: 16px;
}
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line-hi); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4, b, strong, th { font-weight: 500; }
button { font: inherit; color: inherit; }
button:active, .action:active { transform: scale(0.97); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
code { font-family: var(--mono); font-size: .9em; }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--surface); border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

.top { position: sticky; top: 0; z-index: 5; background: var(--canvas); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -.015em; text-decoration: none; }
.brand-mark { display: grid; gap: 2.5px; width: 18px; }
.brand-mark i { display: block; height: 3.5px; border-radius: 1.5px; background: var(--accent); }
.brand-mark i:nth-child(2) { width: 82%; background: var(--attention); }
.brand-mark i:nth-child(3) { width: 64%; background: var(--muted); opacity: .6; }
.nav { display: none; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav a, .family { padding: 6px 10px; border-radius: 7px; color: var(--text-2); font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.nav a:hover, .family:hover { color: var(--text); background: var(--accent-soft); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.theme-toggle { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: var(--text-2); stroke-width: 1.6; stroke-linecap: round; }
.theme-toggle:hover { background: var(--accent-soft); }

.hero { padding: 56px 0 48px; }
.hero-top { display: flex; justify-content: space-between; gap: 28px; }
.hero-copy { max-width: 760px; }
h1 { margin: 0; font-size: clamp(38px, 7vw, 64px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
h1 em { display: block; margin-top: 12px; font-style: normal; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -.03em; color: var(--accent); }
.lead { margin: 20px 0 0; max-width: 60ch; color: var(--text-2); font-size: 16.5px; }
.lead b { color: var(--text); font-family: var(--mono); font-size: .92em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.action { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--line-hi); border-radius: 8px; font-size: 14px; text-decoration: none; transition: background-color .15s; }
.action:hover { background: var(--accent-soft); }
.action.main { background: var(--accent); border-color: var(--accent); color: var(--canvas); }
.action.main:hover { background: var(--accent); opacity: .9; }

.plates { display: none; flex: none; width: 104px; height: 120px; position: relative; margin-top: 8px; }
.plates i { position: absolute; left: 0; height: 22px; border-radius: 5px; background: var(--accent); }
.plates i:nth-child(1) { top: 18px; width: 104px; }
.plates i:nth-child(2) { top: 50px; width: 84px; background: var(--attention); }
.plates i:nth-child(3) { top: 82px; width: 66px; background: var(--muted); opacity: .6; }

.stats { display: grid; gap: 1px; margin: 40px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--surface); }
.stat dd { display: contents; }
.stat b { order: -1; font-family: var(--mono); font-size: 30px; line-height: 1.1; letter-spacing: -.03em; color: var(--accent); }
.stat dt { color: var(--text-2); font-size: 14px; }
.stat span { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.stats-note { margin: 12px 0 0; color: var(--muted); font-size: 13.5px; }

.band { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { margin: 0; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
h3 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
h4 { margin: 0 0 4px; font-size: 14px; color: var(--text-2); }
.section-lead { margin: 14px 0 0; max-width: 68ch; color: var(--text-2); font-size: 16px; }
.section-lead b { color: var(--text); }

.cards { display: grid; gap: 16px; margin-top: 32px; }
.card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.card p { margin: 10px 0 0; color: var(--text-2); }
.card .tiers { margin-top: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.split { display: grid; gap: 16px; margin-top: 16px; }
.split p { margin: 0; }

.table-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
caption { padding: 14px 16px 0; text-align: left; font-weight: 500; }
th, td { padding: 11px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
caption + thead tr:first-child th { border-top: 0; }
tbody th small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.bench td { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.bench td.arm { font-family: var(--sans); font-size: 14px; }
.bench tr.cold td { color: var(--accent); }
.bench tbody th { min-width: 170px; }
.tiers-table { min-width: 620px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.tag.done { background: var(--success-soft); color: var(--success); }
.tag.next { background: var(--attention-soft); color: var(--attention); }

.charts { display: grid; gap: 16px; margin-top: 32px; }
.chart-card { min-width: 0; margin: 0; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.chart-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.chart-card figcaption span { color: var(--muted); font-size: 13.5px; }
.chart { display: block; width: 100%; height: auto; max-width: 560px; font-family: var(--sans); }
.chart text { font-size: 14px; fill: var(--text-2); }
.chart .group { font-size: 15px; fill: var(--text); font-weight: 500; }
.chart .value { font-family: var(--mono); font-size: 13.5px; fill: var(--text); }
.chart .coin-label { font-family: var(--mono); font-size: 12.5px; fill: var(--muted); }
.chart .track { fill: var(--recess); }
.chart .bar.stock { fill: var(--dim); }
.chart .bar.shot { fill: var(--attention); }
.chart .bar.cold { fill: var(--accent); }
.chart .bar.floor { fill: var(--line-hi); }
.chart .bar.human { fill: var(--success); }
.chart .ci { stroke: var(--text); stroke-width: 1.4; fill: none; opacity: .75; }
.chart .coin { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-2); }
.legend li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 2px; vertical-align: -1px; }
.legend .stock::before { background: var(--dim); }
.legend .shot::before { background: var(--attention); }
.legend .cold::before { background: var(--accent); }
.legend .floor::before { background: var(--line-hi); }
.legend .human::before { background: var(--success); }
.sub { margin-top: 56px; font-size: 20px; }
.table-wrap.flat { margin-top: 0; border: 0; border-radius: 0; background: none; }
.flat th, .flat td { padding: 10px 8px; }
.flat thead th { white-space: normal; }
.flat .bench td.arm { white-space: normal; padding-left: 0; }
.flat thead th:first-child { padding-left: 0; }

.notes { display: grid; gap: 22px; margin-top: 36px; }
.notes p, .status li { margin: 8px 0 0; color: var(--text-2); font-size: 14.5px; }

.reader { margin-top: 28px; }
.reader-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button, .blind-toggle, .pick { padding: 7px 12px; border: 1px solid var(--line-hi); border-radius: 8px; background: none; font-size: 13.5px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.blind-toggle[aria-pressed="true"] { background: var(--attention-soft); border-color: var(--attention); color: var(--attention); }
.sample { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.sample + .sample { margin-top: 16px; }
.sample header p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.brief { margin-top: 16px; padding: 14px 16px; background: var(--recess); border-radius: 8px; }
.brief span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.brief p { margin: 4px 0 0; color: var(--text-2); }
.cols { display: grid; gap: 14px; margin-top: 16px; }
.col { display: flex; flex-direction: column; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.col figcaption { margin-bottom: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.col[data-kind="cold"] figcaption .real { color: var(--accent); }
.col[data-kind="human"] figcaption .real { color: var(--success); }
.sample-text { flex: 1; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.6; }
.pick { margin-top: 14px; align-self: flex-start; }
.pick:hover, .tabs button:hover, .blind-toggle:hover { background: var(--accent-soft); }
.col.right { border-color: var(--success); }
.col.wrong { border-color: var(--attention); }
.verdict { margin: 14px 0 0; color: var(--text-2); font-size: 14.5px; }
.verdict:empty { display: none; }

.how { display: grid; gap: 28px; margin-top: 32px; align-items: start; }
.diagram { margin: 0; max-width: 420px; }
.diagram svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.diagram .node { fill: var(--surface); stroke: var(--line-hi); }
.diagram .node.key { stroke: var(--accent); }
.diagram .node.next { stroke: var(--attention); stroke-dasharray: 5 4; }
.diagram .node.out { fill: var(--accent-soft); stroke: var(--accent); }
.diagram .node-t { font-size: 14px; font-weight: 500; fill: var(--text); }
.diagram .node-s { font-size: 12.5px; fill: var(--text-2); }
.diagram .chip { fill: var(--recess); }
.diagram .chip-t { font-family: var(--mono); font-size: 12px; fill: var(--text); }
.diagram .flow { stroke: var(--muted); stroke-width: 1.5; }
.diagram .arrow-head { fill: var(--muted); }
.status { display: grid; gap: 28px; }
.status ul { margin: 12px 0 0; padding-left: 18px; }
.status li::marker { color: var(--muted); }

.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
.foot-row { display: grid; gap: 12px; }
.foot p { margin: 0; }
.foot .fine { max-width: 80ch; color: var(--muted); font-size: 12.5px; }

@media (min-width: 720px) {
  :root { --pad: 32px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .cards, .split, .notes, .status { grid-template-columns: repeat(2, 1fr); }
  .notes { grid-template-columns: repeat(3, 1fr); }
  .plates { display: block; }
  .hero { padding: 88px 0 64px; }
  .band { padding: 88px 0; }
}
@media (min-width: 960px) {
  .nav { display: flex; margin-left: 12px; }
  .charts { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: repeat(3, 1fr); }
  .how { grid-template-columns: 400px 1fr; gap: 56px; }
  .status { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  button:active, .action:active { transform: none; }
}
