@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("assets/fonts/azeret-mono-var.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --ground: #0d0f0e;
  --ground-2: #131614;
  --ground-3: #1a1e1b;
  --line: rgba(239, 234, 221, 0.12);
  --line-2: rgba(239, 234, 221, 0.28);
  --ink: #efeadd;
  --muted: #a8b3ac;
  --volt: #d9ff4a;
  --red: #ff5b3d;
  --amber: #f2b544;
  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "Azeret Mono", ui-monospace, "SFMono-Regular", monospace;
  --max: 1360px;
  --gutter: clamp(18px, 4.2vw, 56px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--ground);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(217, 255, 74, 0.045), transparent 58%),
    linear-gradient(rgba(239, 234, 221, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 234, 221, 0.025) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--volt); color: var(--ground); }
* { scrollbar-width: thin; scrollbar-color: var(--line-2) var(--ground); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--line-2); border: 3px solid var(--ground); }

a { color: inherit; }
button,
input,
select { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--volt);
  color: var(--ground);
  font-family: var(--mono);
  font-size: 12px;
}
.skip:focus { top: 12px; }

.mono {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- header ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(13, 15, 14, 0.94);
  border-bottom: 1px solid var(--line);
}
.bar-in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 10px 0;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.45em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-a {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}
.brand-b {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.bar-tool {
  margin: 0;
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}
.bar-live {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bar-live b {
  color: var(--volt);
  font-size: 0.78rem;
}
.reset {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.reset:hover { border-color: var(--volt); color: var(--volt); }

/* ---------- intro ---------- */

.intro {
  padding: clamp(44px, 7vw, 88px) 0 clamp(26px, 4vw, 44px);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.intro h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.25rem, 5.2vw, 4.8rem);
  font-weight: 800;
  font-stretch: 110%;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.intro-copy p {
  margin: 0 0 20px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.intro-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}
.intro-specs li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: var(--ground);
}
.intro-specs .mono { color: var(--muted); font-size: 0.55rem; letter-spacing: 0.08em; }
.intro-specs b { font-size: 1.05rem; font-weight: 700; }

/* ---------- bench ---------- */

.bench {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(18px, 2.6vw, 32px);
  align-items: start;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.build {
  border: 1px solid var(--line);
  background: var(--ground-2);
  padding: clamp(16px, 2vw, 24px);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 { margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.panel-head .mono { color: var(--muted); font-size: 0.55rem; text-align: right; }

.presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.preset {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 54px;
  padding: 8px 9px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  text-align: left;
}
.preset b { color: var(--ink); font-size: 0.78rem; font-weight: 700; }
.preset span {
  font-family: var(--mono);
  font-size: 0.52rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: none;
}
.preset:hover { border-color: var(--volt); }
.preset[aria-pressed="true"] {
  border-color: var(--volt);
  background: var(--volt);
  color: rgba(13, 15, 14, 0.72);
}
.preset[aria-pressed="true"] b { color: var(--ground); }

.control-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.control-group:last-child { border-bottom: 0; padding-bottom: 0; }
.control-group h3 {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 0 0 14px;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.control-group h3 .mono { color: var(--volt); font-size: 0.6rem; }

.field { display: block; margin: 0 0 15px; }
.field:last-child { margin-bottom: 0; }
.field > .mono,
.field > span.mono {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}
.field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.field-head label { font-weight: 600; font-size: 0.9rem; }
.field-head output {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--volt);
  white-space: nowrap;
}

select {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: var(--ground);
  color: var(--ink);
  font-size: 0.86rem;
}
select:hover { border-color: var(--muted); }
select:focus-visible { border-color: var(--volt); }

.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.two .field { margin-bottom: 15px; }

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 0.82rem;
}
.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--volt);
}
.checkbox input:disabled + span { opacity: 0.45; }

.hint {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 30px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(90deg, var(--volt) var(--fill, 50%), var(--line-2) var(--fill, 50%));
}
input[type="range"]::-moz-range-track {
  height: 3px;
  background: var(--line-2);
}
input[type="range"]::-moz-range-progress {
  height: 3px;
  background: var(--volt);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 22px;
  margin-top: -10px;
  border: 2px solid var(--ground);
  border-radius: 1px;
  background: var(--volt);
}
input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 20px;
  border: 2px solid var(--ground);
  border-radius: 1px;
  background: var(--volt);
}
input[type="range"]:disabled { opacity: 0.35; cursor: not-allowed; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips button {
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chips button:hover { border-color: var(--volt); color: var(--ink); }
.chips button[aria-pressed="true"] {
  border-color: var(--volt);
  background: var(--volt);
  color: var(--ground);
}

/* ---------- stage ---------- */

.stage {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #121614, #0e1110);
  padding: clamp(16px, 2vw, 24px);
}
.stage-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.stage-head .mono { color: var(--muted); font-size: 0.55rem; }
.stage-name {
  margin: 4px 0 0;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.stage-price { text-align: right; flex: 0 0 auto; }
.stage-price b {
  display: block;
  color: var(--volt);
  font-family: var(--mono);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.2;
}
.stage-price span { display: block; margin-top: 3px; color: var(--muted); font-size: 0.52rem; }

.scene {
  position: relative;
  margin: 14px 0 10px;
  border: 1px solid var(--line);
  background: #0a0c0b;
  overflow: hidden;
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 66% 54%, rgba(217, 255, 74, 0.06), transparent 56%);
}
#garage { display: block; width: 100%; height: auto; }
.scene-hud {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  pointer-events: none;
}
.scene-hud .mono { color: var(--muted); font-size: 0.52rem; }
.scene-hud b {
  color: var(--volt);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}
.scene-hud b.is-hot { color: var(--red); }
.scene-clock {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 11px;
  text-align: right;
  pointer-events: none;
}
.scene-clock span {
  display: block;
  color: var(--muted);
  font-size: 0.52rem;
}
.scene-clock b {
  font-family: var(--mono);
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  color: var(--ink);
}

/* garage svg */
.g-grid path { fill: none; stroke: rgba(239, 234, 221, 0.035); stroke-width: 1; }
.g-floor { fill: #090b0a; }
.g-floor-line { stroke: rgba(239, 234, 221, 0.16); stroke-width: 1; }
.g-panel-box { fill: #141816; stroke: #3a423d; stroke-width: 1.5; }
.g-label { fill: #7e8b84; font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; }
.g-amp { fill: var(--ink); font-family: var(--mono); font-size: 23px; font-weight: 700; }
.g-small { fill: #b9c4bd; font-family: var(--mono); font-size: 10px; }
.g-breakers rect { fill: #2a312d; stroke: #4a544e; stroke-width: 0.6; }
.g-meter-track { fill: #0b0d0c; stroke: #3a423d; }
.g-meter-fill { fill: var(--volt); transition: y 0.25s ease, height 0.25s ease, fill 0.2s ease; }
.g-meter-fill.is-warn { fill: var(--amber); }
.g-meter-fill.is-hot { fill: var(--red); }
.g-charger-box { fill: #151a17; stroke: #4a544e; stroke-width: 1.5; }
.g-charger-slot { fill: #0a0c0b; stroke: #3a423d; }
.g-charger-port { fill: #2a312d; }
.g-led { fill: #3f4843; transition: fill 0.2s ease; }
.g-led.is-live { fill: var(--volt); filter: url(#glow); }
.g-led.is-hot { fill: var(--red); filter: url(#glow); }
.g-cable {
  fill: none;
  stroke: #3a423d;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke 0.2s ease;
}
.g-cable.is-live {
  stroke: var(--volt);
  stroke-dasharray: 10 8;
  animation: cable-flow 0.8s linear infinite;
}
.g-cable.is-hot { stroke: var(--red); }
@keyframes cable-flow { to { stroke-dashoffset: -18; } }
.g-car-body { fill: url(#carGrad); stroke: #4a544e; stroke-width: 1.5; }
.g-car-glass { fill: #0b1517; stroke: #37413d; stroke-width: 1; }
.g-battery-track { fill: #0a0c0b; stroke: #4a544e; stroke-width: 1; }
.g-car-fill { fill: var(--volt); transition: width 0.2s linear, fill 0.2s ease; }
.g-car-fill.is-hot { fill: var(--red); }
.g-wheel { fill: #0a0c0b; stroke: #4a544e; stroke-width: 2; }
.g-wheel-hub { fill: #2a312d; }
.g-port { fill: var(--volt); }
.g-note { fill: #6f7b75; font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; }

.gauges {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px 16px;
  margin: 14px 0;
}
.gauge {
  display: grid;
  grid-template-columns: 5.1rem minmax(0, 1fr) 3.1rem;
  align-items: center;
  gap: 8px;
}
.g-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.g-track {
  position: relative;
  height: 6px;
  border: 1px solid var(--line);
  background: var(--ground);
  overflow: hidden;
}
.g-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--volt);
  transition: width 0.25s ease, background 0.2s ease;
}
.g-track i.is-warn { background: var(--amber); }
.g-track i.is-hot { background: var(--red); }
.g-val {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-align: right;
  white-space: nowrap;
}

.rate {
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.rate .field-head { margin-bottom: 2px; }
.rate .field-head label { font-size: 0.86rem; }
.ticks {
  display: flex;
  justify-content: space-between;
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
}

.stage-foot {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.verdict {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.verdict b { color: var(--ink); }
.verdict .warn { color: var(--red); }
.stage-actions { display: flex; flex-wrap: wrap; gap: 9px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--volt);
  border-radius: 2px;
  background: var(--volt);
  color: var(--ground);
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
}
.btn:hover { background: #c4ea2e; border-color: #c4ea2e; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn.ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
  font-weight: 500;
}
.btn.ghost:hover { border-color: var(--volt); color: var(--volt); background: transparent; }
.btn-sm {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-sm:hover { border-color: var(--volt); color: var(--volt); }

/* ---------- sections ---------- */

.lanes,
.picks,
.bill,
.compare,
.method { padding-top: clamp(38px, 5.5vw, 70px); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(18px, 3vw, 40px);
  align-items: end;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.sec-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.sec-head p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.lane-list { display: grid; gap: 8px; }
.lane {
  display: block;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--ground-2);
  color: var(--ink);
  text-align: left;
}
.lane:hover { border-color: var(--line-2); }
.lane[aria-pressed="true"] { border-color: var(--volt); }
.lane-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 7px;
}
.lane-head b { font-size: 0.95rem; }
.lane-head .mono { color: var(--muted); font-size: 0.55rem; }
.lane-track {
  display: block;
  height: 9px;
  border: 1px solid var(--line);
  background: var(--ground);
  overflow: hidden;
}
.lane-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--volt);
  transition: width 0.2s linear, background 0.2s ease;
}
.lane-track i.is-hot { background: var(--red); }
.lane-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.68rem;
}
.lane-foot b { color: var(--ink); }
.lane-empty {
  padding: 18px;
  border: 1px dashed var(--line-2);
  color: var(--muted);
  font-size: 0.9rem;
}

.picks-list { display: grid; gap: 10px; }
.pick {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: 16px;
  padding: 17px;
  border: 1px solid var(--line);
  background: var(--ground-2);
}
.pick-rank {
  color: var(--volt);
  font-family: var(--mono);
  font-size: 1.3rem;
  line-height: 1;
}
.pick-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: baseline;
}
.pick-head h3 { margin: 0; font-size: 1.12rem; letter-spacing: -0.01em; }
.pick-score {
  color: var(--volt);
  font-family: var(--mono);
  font-size: 1rem;
  white-space: nowrap;
}
.pick-score small { color: var(--muted); font-size: 0.55rem; }
.pick-why { margin: 9px 0 6px; font-size: 0.9rem; line-height: 1.5; }
.pick-trade,
.pick-fails {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
.pick-trade b,
.pick-fails b { color: var(--ink); }
.pick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 11px 0;
  color: var(--muted);
  font-size: 0.55rem;
}
.pick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.pick-actions a {
  color: var(--volt);
  font-size: 0.82rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 255, 74, 0.38);
  padding-bottom: 1px;
}
.pick-actions a:hover { border-color: var(--volt); }
.pick-empty {
  padding: 20px;
  border: 1px dashed var(--line-2);
  color: var(--muted);
}
.pick-empty b { color: var(--ink); }
.pick-empty .btn { margin-top: 12px; }

.bill-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr);
  gap: clamp(16px, 2.6vw, 30px);
  align-items: start;
}
.bill-lines { border-top: 1px solid var(--line); }
.bill-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.bill-line span:first-child { color: var(--muted); }
.bill-line b { font-family: var(--mono); font-weight: 500; }
.bill-line.is-charger span:first-child { color: var(--ink); font-weight: 600; }
.bill-total {
  padding: 17px;
  border: 1px solid var(--line);
  background: var(--ground-2);
}
.bill-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}
.bill-row span { color: var(--muted); }
.bill-row b { font-family: var(--mono); font-weight: 500; }
.bill-row-net {
  margin-top: 4px;
  padding-top: 13px;
  border-top: 1px solid var(--line-2);
  border-bottom: 0;
}
.bill-row-net b { color: var(--volt); font-size: 1.15rem; }
.bill-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.5;
}

.table-hint { display: none; margin: 0 0 8px; color: var(--muted); font-size: 0.55rem; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--ground-2);
}
table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
}
thead th {
  padding: 9px 11px;
  border-bottom: 1px solid var(--line-2);
  background: var(--ground-3);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr.is-out { opacity: 0.42; }
.row-name b { display: block; font-size: 0.84rem; }
.row-name span { color: var(--muted); font-size: 0.66rem; }
.row-fit { font-family: var(--mono); }
.row-fit .why { display: block; max-width: 15ch; color: var(--muted); font-family: var(--sans); font-size: 0.66rem; line-height: 1.3; }
.row-bench {
  padding: 5px 7px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.row-bench:hover { border-color: var(--volt); color: var(--volt); }
.chart-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

/* ---------- method ---------- */

.method details {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.method summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}
.method summary::-webkit-details-marker { display: none; }
.method summary .mono:first-child { color: var(--ink); font-size: 0.66rem; }
.method summary .mono:last-child { color: var(--muted); font-size: 0.55rem; text-align: right; }
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px 40px;
  padding: 8px 0 0;
}
.method-grid h3 { margin: 0 0 8px; font-size: 0.98rem; }
.method-grid p { margin: 0 0 10px; color: var(--muted); font-size: 0.84rem; line-height: 1.6; }
.weights {
  list-style: none;
  margin: 11px 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.weights li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}
.weights li span:last-child { color: var(--volt); font-family: var(--mono); }
.limits { margin: 0; padding-left: 17px; color: var(--muted); font-size: 0.8rem; line-height: 1.55; }
.limits li { margin-bottom: 8px; }
.limits b { color: var(--ink); }
.sources { list-style: none; margin: 0; padding: 0; }
.sources li { margin-bottom: 5px; font-size: 0.76rem; line-height: 1.45; }
.sources a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.sources a:hover { color: var(--volt); border-color: var(--volt); }
.rebate-wrap {
  max-height: 320px;
  overflow: auto;
  border: 1px solid var(--line);
}
.rebate-table { min-width: 0; }
.rebate-table th,
.rebate-table td { padding: 6px 8px; font-size: 0.66rem; }
.rebate-table td:first-child { color: var(--ink); }
.rebate-table td:last-child { color: var(--muted); }
.fine { margin: 12px 0 0; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }

/* ---------- footer ---------- */

.foot {
  margin-top: clamp(48px, 7vw, 90px);
  border-top: 1px solid var(--line);
  padding: 22px 0 30px;
}
.affiliate-disclaimer {
  max-width: 94ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
}
.affiliate-disclaimer strong { color: var(--ink); }
.foot-in {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.foot-in p { margin: 0; }
.foot-mark { font-weight: 700; }
.foot-in .mono { color: var(--muted); font-size: 0.55rem; }

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro h1 { max-width: 18ch; }
  .bench { grid-template-columns: 1fr; }
  .presets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .bar-tool { display: none; }
  .bar-in { gap: 12px; }
  .bar-live { margin-left: auto; }
  .intro-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: 1fr; }
  .checkbox { margin-top: 0; }
  .gauges { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: 10px; }
  .bill-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .table-hint { display: block; }
  .pick { grid-template-columns: 2rem minmax(0, 1fr); gap: 12px; padding: 14px; }
  .pick-rank { font-size: 1rem; }
  .lane-head { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .brand-b { display: none; }
  .bar-live { font-size: 0.52rem; }
  .bar-live b { font-size: 0.68rem; }
  .reset { padding: 7px 9px; font-size: 0.52rem; }
  .intro { padding-top: 34px; }
  .intro h1 { font-size: clamp(2rem, 10vw, 2.9rem); }
  .intro-copy p { font-size: 0.92rem; }
  .build, .stage { padding: 13px; }
  .panel-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .panel-head .mono { text-align: left; }
  .presets { grid-template-columns: 1fr; }
  .preset { min-height: 0; }
  .stage-head { flex-direction: column; gap: 8px; }
  .stage-price { text-align: left; }
  .scene-hud { top: 7px; left: 8px; }
  .scene-clock { top: 7px; right: 8px; }
  .scene-clock span { display: none; }
  .scene-hud .mono { font-size: 0.45rem; }
  .gauge { grid-template-columns: 4.4rem minmax(0, 1fr) 2.7rem; }
  .g-label { font-size: 0.46rem; }
  .g-val { font-size: 0.56rem; }
  .pick-head { flex-wrap: wrap; gap: 4px; }
  .pick-score { font-size: 0.85rem; }
  .pick-meta { gap: 5px 11px; }
  .lane { padding: 11px 12px; }
  .lane-foot { font-size: 0.6rem; }
  .method summary .mono:last-child { display: none; }
  .foot-in { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
/* Related decisions, last-checked line and touch targets (added 2026-11-06) */
.related-tools { padding-top: 1.6rem; }
.related-title { margin: 0 0 0.5rem; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; }
.related-tools ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.related-tools a { color: inherit; opacity: 0.9; }
.related-tools a:hover { opacity: 1; text-decoration: underline; }
.last-checked { margin: 0.55rem 0 0; font-size: 0.72rem; letter-spacing: 0.02em; opacity: 0.7; }

/* The quotable answer under the h1. */
.lede-answer { max-width: 62ch; margin: 0 0 0.9rem; font-size: 1.06em; line-height: 1.6; }
