/* Vibe-coder frontier — one dark theme, tokens first. */
:root {
  --bg: #090c10;
  --surface: #0f141a;
  --surface-2: #141a22;
  --surface-3: #1b222c;
  --line: #222a35;
  --line-soft: #1a212a;
  --text: #e8ecf1;
  --text-2: #b3bcc8;
  --muted: #7c8695;
  --accent: #f4c95d;
  --accent-ink: #1b1505;
  --accent-wash: rgba(244, 201, 93, 0.10);
  --you: #7dd3fc;
  --good: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.8);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
body::before { /* faint top glow, sets the stage without a hero image */
  content: ""; position: fixed; inset: 0 0 auto 0; height: 520px; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 100% at 50% 0%, rgba(244, 201, 93, 0.07), transparent 70%);
}
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
code { font-size: 0.92em; background: var(--surface-3); padding: 1px 5px; border-radius: 4px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ---------- top nav ---------- */
.topnav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(9, 12, 16, 0.78); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 20px; margin-left: 8px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-gh {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; text-decoration: none; color: var(--text-2);
  border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px 6px 10px;
}
.nav-gh:hover { border-color: var(--muted); color: var(--text); }
.nav-gh svg { width: 16px; height: 16px; }
.nav-gh .tag { font-size: 11px; color: var(--muted); }
@media (max-width: 760px) { .nav-links { display: none; } .nav-gh .tag { display: none; } }

/* ---------- hero ---------- */
.hero { padding-top: 64px; padding-bottom: 40px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.06; font-weight: 700; margin: 14px 0 16px; max-width: 820px; letter-spacing: -0.03em; }
.hero .lede { font-size: 18px; color: var(--text-2); max-width: 680px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lab-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; color: var(--muted); font-size: 13px; }
.lab-strip img { width: 20px; height: 20px; opacity: 0.8; }
.hero .meta { margin-top: 14px; color: var(--muted); font-size: 13px; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: center; }
.hero-pick { display: block; text-decoration: none; padding: 22px; border-color: rgba(244, 201, 93, 0.25);
  background: linear-gradient(180deg, rgba(244, 201, 93, 0.06), transparent 120px), var(--surface); transition: border-color .15s, transform .15s; }
.hero-pick:hover { border-color: rgba(244, 201, 93, 0.5); transform: translateY(-2px); }
.hero-pick .names { font-size: 18px; font-weight: 650; line-height: 1.3; margin: 14px 0 4px; }
.hero-pick .sub { color: var(--muted); font-size: 13px; }
.hero-pick .big { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.hero-pick .big b { font-size: 40px; letter-spacing: -0.03em; }
.hero-pick .big span { color: var(--muted); font-size: 13px; }
.hero-pick .cta { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--accent); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-pick { max-width: 420px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14px/1 var(--font); padding: 12px 18px; border-radius: 10px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #f7d67f; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 8px; }

/* ---------- sections & cards ---------- */
.section { padding-top: 56px; padding-bottom: 8px; }
.section-head { display: grid; gap: 6px; margin-bottom: 20px; }
.section-head h2 { font-size: 26px; font-weight: 680; }
.section-head p { color: var(--muted); max-width: 680px; }
.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.card + .card { margin-top: 16px; }
.card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.card-head h3 { font-size: 16px; font-weight: 650; }
.card-head .sub { color: var(--muted); font-size: 13px; flex-basis: 100%; }
.note { font-size: 12.5px; color: var(--muted); }
.warn { color: var(--bad); }

/* ---------- builder layout ---------- */
.builder { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 20px; align-items: start; }
.panel { position: sticky; top: 74px; max-height: calc(100vh - 90px); overflow: auto; scrollbar-width: thin; }
@media (max-width: 960px) { .builder { grid-template-columns: 1fr; } .panel { position: static; max-height: none; } }

/* ---------- form controls ---------- */
.field { margin-top: 22px; position: relative; }
.field:first-child { margin-top: 0; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.field-label .hint { font-weight: 450; color: var(--muted); font-size: 12px; }
.field .help { font-size: 12px; color: var(--muted); margin-top: 6px; }
input, select {
  width: 100%; font: 500 14px var(--font); color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 11px; outline: none; transition: border-color .15s;
}
input:focus, select:focus { border-color: var(--accent); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.affix { display: flex; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.affix:focus-within { border-color: var(--accent); }
.affix input { border: 0; background: transparent; padding-left: 4px; font-size: 16px; font-weight: 600; }
.affix span { color: var(--muted); padding: 0 10px; font-size: 14px; white-space: nowrap; }
.affix span:first-child { padding-right: 0; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; margin-bottom: 8px; }
.seg .chip { border: 0; border-radius: 7px; text-align: center; padding: 6px 0; font-weight: 600; font-size: 13px; background: transparent; color: var(--text-2); }
.seg .chip.on { background: var(--accent); color: var(--accent-ink); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.trio small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; text-align: center; }
.trio input { text-align: center; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; height: 6px; padding: 0; border: 0; border-radius: 99px;
  background: linear-gradient(to right, var(--good) var(--fill, 50%), var(--surface-3) var(--fill, 50%));
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--text); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: 3px solid var(--bg); cursor: pointer; }
.readout { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.readout strong { color: var(--good); }
.deal { position: relative; margin-top: 8px; font-size: 12px; color: var(--good); display: flex; gap: 6px; align-items: baseline; }
.deal::before { content: "●"; font-size: 8px; transform: translateY(-2px); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); margin-top: 12px; cursor: pointer; }
label.check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
/* info tooltips: hover or tap; the body spans its field so it never leaves the panel */
.tip {
  display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: 5px; vertical-align: 1px;
  border: 1px solid var(--line); border-radius: 50%; font: italic 600 10px/1 Georgia, serif; color: var(--muted); cursor: help;
}
.tip:hover, .tip:focus { color: var(--text); border-color: var(--muted); outline: none; }
.tip-body {
  display: none; position: absolute; left: 0; right: 0; top: 24px; z-index: 5;
  background: var(--surface-3); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  font: 450 12.5px/1.5 var(--font); color: var(--text-2); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.9);
}
.deal .tip-body { top: calc(100% + 6px); }
.tip:hover .tip-body, .tip:focus .tip-body { display: block; }
details.adv { margin-top: 20px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
details.adv summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-2); list-style: none; display: flex; justify-content: space-between; }
details.adv summary::after { content: "+"; color: var(--muted); }
details.adv[open] summary::after { content: "–"; }
details.adv summary::-webkit-details-marker { display: none; }

/* seat picker ("plans I already pay for") */
.picker { display: flex; flex-wrap: wrap; gap: 6px; }
.pick {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2);
  border: 1px solid var(--line); border-radius: 99px; padding: 4px 9px 4px 5px; cursor: pointer; user-select: none; background: transparent;
  font-family: var(--font);
}
.pick img { width: 16px; height: 16px; }
.pick.on { border-color: var(--you); color: var(--text); background: rgba(125, 211, 252, 0.08); }

/* chips (filters) */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font: 500 12.5px var(--font); padding: 5px 11px; border-radius: 99px; cursor: pointer; user-select: none;
  border: 1px solid var(--line); color: var(--text-2); background: transparent;
}
.chip:hover { border-color: var(--muted); }
.chip.on { background: var(--surface-3); border-color: var(--muted); color: var(--text); }
.chip:focus-visible, .pick:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- lab icons ---------- */
.ico { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.icons { display: inline-flex; align-items: center; }
.icons .chipico {
  width: 30px; height: 30px; border-radius: 50%; background: var(--surface-3); border: 2px solid var(--surface);
  display: grid; place-items: center; margin-left: -8px;
}
.icons .chipico:first-child { margin-left: 0; }
.icons .chipico img { width: 16px; height: 16px; }
.icons.lg .chipico { width: 44px; height: 44px; margin-left: -10px; border-width: 3px; }
.icons.lg .chipico img { width: 22px; height: 22px; }
.icons.lg .chipico:first-child { margin-left: 0; }

/* ---------- answer card (the #1 stack) ---------- */
.answer { border-color: rgba(244, 201, 93, 0.28); background: linear-gradient(180deg, rgba(244, 201, 93, 0.05), transparent 140px), var(--surface); padding: 24px; }
.answer-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.answer-title { font-size: 24px; font-weight: 700; line-height: 1.2; margin: 8px 0 6px; letter-spacing: -0.02em; }
.answer-title a { text-decoration: none; }
.answer-title a:hover { color: var(--accent); }
.answer-meta { color: var(--muted); font-size: 13.5px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; margin-top: 20px; }
.stat { background: var(--surface); padding: 14px 16px; }
.stat .k { font-size: 12px; color: var(--muted); }
.stat .v { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.stat .v small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.stat .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat .v.good { color: var(--good); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .answer-top .icons { display: none; } }
.answer-why { margin-top: 14px; font-size: 13.5px; color: var(--text-2); }
.seat-list { margin-top: 18px; display: grid; gap: 8px; }
.seat-line {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center;
  padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 10px;
}
.seat-line .nm { font-weight: 600; font-size: 14px; }
.seat-line .ds { font-size: 12px; color: var(--muted); }
.seat-line .perk { font-size: 12px; color: var(--good); }
.seat-line .pr { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.get { font: 600 12.5px var(--font); color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; white-space: nowrap; }
.get:hover { border-color: var(--accent); color: var(--accent); }
table.plans .get { border-color: transparent; color: var(--text-2); font-weight: 500; }
table.plans tr.row:hover .get { border-color: var(--line); color: var(--text); }
@media (max-width: 560px) { .seat-line { grid-template-columns: auto minmax(0, 1fr) auto; } .seat-line .pr { display: none; } }
.fine { margin-top: 14px; font-size: 12px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.tag.you { background: rgba(125, 211, 252, 0.12); color: var(--you); }
.tag.paused { background: rgba(248, 113, 113, 0.12); color: var(--bad); }
.tag.weak { background: rgba(251, 191, 36, 0.12); color: var(--warn); }
.tag.front { background: var(--accent-wash); color: var(--accent); }

/* tracker banner (slim, under the answer) */
.tracker-slim {
  display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 16px; text-decoration: none;
  border: 1px dashed var(--line); border-radius: 12px; color: var(--text-2); font-size: 13.5px;
}
.tracker-slim:hover { border-color: var(--muted); color: var(--text); }
.tracker-slim b { color: var(--text); font-weight: 600; }
.tracker-slim .go { margin-left: auto; white-space: nowrap; font-weight: 600; color: var(--text); }
.tracker-slim svg { flex: none; }

/* ---------- runners-up ---------- */
.runners { list-style: none; margin: 0; padding: 0; }
.runner {
  display: grid; grid-template-columns: 28px auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 14px 4px; border-top: 1px solid var(--line-soft); transition: background .3s;
}
.runner:first-child { border-top: 0; }
.runner .rk { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; }
.runner .nm { font-weight: 600; font-size: 14px; }
.runner .nm a { text-decoration: none; }
.runner .nm a:hover { color: var(--accent); }
.runner .df { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.runner .rt { text-align: right; }
.runner .cap { font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.runner .cap small, .runner .pr small { color: var(--muted); font-weight: 500; font-size: 12px; }
.runner .pr { font-size: 13px; color: var(--text-2); margin-top: 1px; }
.cov { display: inline-flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.cov span { font-size: 11px; padding: 1px 7px; border-radius: 99px; background: rgba(52, 211, 153, 0.1); color: var(--good); }
.cov span.thin { background: rgba(251, 191, 36, 0.12); color: var(--warn); }
.flash { background: var(--surface-3) !important; }
@media (max-width: 560px) { .runner { grid-template-columns: 22px minmax(0, 1fr) auto; } .runner .icons { display: none; } }
.stack-line { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(125, 211, 252, 0.06); border: 1px solid rgba(125, 211, 252, 0.2); font-size: 13px; color: var(--text-2); }
.copy-row { display: flex; gap: 8px; }

/* ---------- charts ---------- */
.chart { width: 100%; height: 420px; }
.chart.tall { height: 460px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 12.5px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.key { display: inline-block; flex: none; }
.key.dot { width: 8px; height: 8px; border-radius: 50%; background: #56606e; }
.key.line { width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.key.band { width: 18px; height: 10px; background: rgba(244, 201, 93, 0.16); border-radius: 2px; }
.key.star { width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; }
.key.ring { width: 10px; height: 10px; border: 2px solid var(--you); border-radius: 50%; }
.key.dash { width: 18px; height: 0; border-top: 1.5px dashed var(--muted); }
.key.hatch { width: 18px; height: 10px; border-radius: 2px; background: repeating-linear-gradient(135deg, rgba(47, 191, 143, 0.55) 0 3px, rgba(47, 191, 143, 0.15) 3px 6px); }
.chart-fail { padding: 40px 12px; text-align: center; color: var(--muted); font-size: 13px; }
#bundle-click { min-height: 18px; margin-top: 8px; }

/* hours breakdown (stacked bars per role) */
.hb { display: grid; grid-template-columns: 64px minmax(0, 1fr) 92px; gap: 6px 12px; align-items: center; }
.hb-role { font-size: 13px; font-weight: 600; }
.hb-track { position: relative; height: 26px; }
.hb-bar { display: flex; gap: 2px; height: 100%; }
.hb-seg { height: 100%; border-radius: 3px; display: flex; align-items: center; justify-content: center; overflow: hidden; min-width: 0; }
.hb-seg:last-child { border-radius: 3px 5px 5px 3px; }
.hb-seg img { width: 15px; height: 15px; }
.hb-seg.off { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 3px, transparent 3px 6px); }
.hb-need, .hb-cap { position: absolute; top: -4px; bottom: -4px; width: 0; }
.hb-need { border-left: 2px solid var(--text); }
.hb-cap { border-left: 1.5px dashed var(--muted); }
.hb-val { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hb-val small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.hb-axis { grid-column: 2; position: relative; height: 18px; font-size: 11px; color: var(--muted); }
.hb-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }

/* budget ladder */
.bento-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 10px 8px; margin: 0 -8px; border-radius: 10px; cursor: pointer; }
.bento-row:hover { background: var(--surface-2); }
.bento-row.cur .bento-label { color: var(--accent); }
.bento-label { font-weight: 700; font-size: 15px; text-align: right; }
.bento-bar { display: flex; gap: 2px; height: 34px; }
.bento-seg { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; border-radius: 4px; min-width: 0; font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; }
.bento-seg img { width: 16px; height: 16px; flex: none; }
.bento-seg.narrow { justify-content: center; padding: 0; }
.bento-cap { grid-column: 2; color: var(--muted); font-size: 12px; }
.bento-none { color: var(--muted); font-size: 13px; font-style: italic; }

/* ---------- plans table ---------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 14px; }
.tbl-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
table.plans { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
table.plans th {
  text-align: left; font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 8px 10px;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.plans th.sortable { cursor: pointer; }
table.plans th.sortable:hover, table.plans th.sorted { color: var(--text); }
table.plans th.sorted::after { content: " ↓"; }
table.plans th.num, table.plans td.num { text-align: right; }
table.plans td { padding: 12px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.plans tr.row { cursor: pointer; transition: background .3s; }
table.plans tr.row:hover td { background: var(--surface-2); }
table.plans tr.row.open td { background: var(--surface-2); border-bottom-color: transparent; }
table.plans tr.pausedrow td { opacity: 0.55; }
.pl { display: flex; align-items: center; gap: 10px; }
.pl .nm { font-weight: 600; }
.pl .lb { font-size: 12px; color: var(--muted); }
.price { font-weight: 600; font-variant-numeric: tabular-nums; }
.range { display: grid; grid-template-columns: minmax(120px, 1fr) 64px; gap: 10px; align-items: center; }
.rb { position: relative; height: 10px; }
.rb .wh { position: absolute; top: 4px; height: 2px; background: #333d4a; border-radius: 2px; }
.rb .pk, .rb .op { position: absolute; top: 0; height: 10px; border-radius: 2px; }
.rb .op { opacity: 0.5; background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0 2px, transparent 2px 5px); }
.rv { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; white-space: nowrap; }
.rv small { display: block; font-size: 11px; font-weight: 500; color: var(--good); }
.q { display: inline-flex; gap: 10px; }
.q span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.q i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--surface-3); }
.q i.on { background: var(--text-2); }
.q i.on.top { background: var(--accent); }
.src { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.src.official::before { background: var(--good); }
.src.single::before, .src.guess::before { background: var(--warn); }
tr.detail td { padding: 0 10px 16px; background: var(--surface-2); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 28px; font-size: 13px; color: var(--text-2); padding: 4px 0 0 30px; }
.detail-grid table { border-collapse: collapse; font-size: 12.5px; width: 100%; }
.detail-grid th, .detail-grid td { text-align: left; padding: 3px 8px 3px 0; border: 0; background: none !important; font-variant-numeric: tabular-nums; }
.detail-grid th { color: var(--muted); font-weight: 500; }
@media (max-width: 760px) { .detail-grid { grid-template-columns: 1fr; padding-left: 0; } }

@media (max-width: 700px) {
  table.plans { min-width: 0; }
  table.plans th:nth-child(4), table.plans td:nth-child(4), table.plans th:nth-child(5), table.plans td:nth-child(5),
  table.plans th:nth-child(6), table.plans td:nth-child(6) { display: none; }
  table.plans tr.detail td { display: table-cell; }
  .range { grid-template-columns: minmax(60px, 1fr) 56px; }
  table.plans th { white-space: normal; }
  .rv { white-space: normal; }
  .pl .ico { display: none; }
}

/* ---------- method + FAQ ---------- */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.how .card + .card { margin-top: 0; }
.how .card h3 { font-size: 15px; margin-bottom: 6px; }
.how .card p { font-size: 13.5px; color: var(--text-2); }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 8px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 10px; color: var(--text-2); font-size: 14px; }

/* ---------- tracker promo + partners ---------- */
.promo {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center;
  background: radial-gradient(80% 120% at 100% 0%, rgba(125, 211, 252, 0.08), transparent 60%), var(--surface);
  padding: 28px;
}
.promo h2 { font-size: 24px; margin: 8px 0 10px; }
.promo p { color: var(--text-2); }
.promo .eyebrow { color: var(--you); }
.promo ul { margin: 14px 0 20px; padding-left: 18px; color: var(--text-2); font-size: 14px; }
.promo li { margin: 4px 0; }
.tray {
  font: 12px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; background: #0b0f14; border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px; color: var(--text-2);
}
.tray .row { display: grid; grid-template-columns: 58px 1fr 38px 30px; gap: 8px; align-items: center; margin: 3px 0; }
.tray .hd { color: var(--text); font-weight: 700; letter-spacing: .06em; margin-top: 8px; }
.tray .hd:first-child { margin-top: 0; }
.tray .bar { height: 7px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.tray .bar i { display: block; height: 100%; border-radius: 99px; }
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; } }
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.partner { display: block; text-decoration: none; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; }
.partner:hover { border-color: var(--muted); }
.partner b { display: block; }
.partner span { font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */
footer { margin-top: 72px; border-top: 1px solid var(--line-soft); padding: 28px 0 48px; color: var(--muted); font-size: 13px; }
footer .container { display: grid; gap: 10px; }
footer a { color: var(--text-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }

.reflink { text-decoration: none; }
.reflink:hover { color: var(--accent); }

/* ---------- watch: changelog, freshness, stale banner ---------- */
.changelog { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.changelog li { display: flex; gap: 14px; align-items: baseline; font-size: 13.5px; color: var(--text-2); }
.changelog .cl-date { flex: 0 0 52px; font-size: 12px; color: var(--muted); }
.changelog a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.changelog a:hover { color: var(--text); }
.stale {
  margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; font-size: 13px;
  color: var(--warn); background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.25);
}
@media (max-width: 640px) { .changelog li { flex-direction: column; gap: 2px; } .changelog .cl-date { flex-basis: auto; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
