@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 {
  --bench: #0b0e10;
  --panel: #111619;
  --panel-2: #171d20;
  --panel-3: #1d2428;
  --line: rgba(226, 238, 230, 0.13);
  --line-2: rgba(226, 238, 230, 0.28);
  --ink: #e9eee9;
  --muted: #9aa8a2;
  --lime: #c9f25b;
  --lime-dim: rgba(201, 242, 91, 0.12);
  --amber: #f4b94c;
  --coral: #ff7051;
  --coral-dim: rgba(255, 112, 81, 0.1);
  --blue: #8fb6ff;
  --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);
  --r: 3px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bench);
  background-image:
    linear-gradient(rgba(226, 238, 230, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 238, 230, 0.028) 1px, transparent 1px);
  background-size: 36px 36px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

button,
input { font: inherit; }

button { cursor: pointer; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--bench);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-decoration: none;
}
.skip:focus { top: 12px; }

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

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

/* ---------- bar ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bench);
  border-bottom: 1px solid var(--line);
}

.bar-in {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand-a {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 108;
}

.brand-b {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.bar-tool {
  margin: 0;
  color: var(--muted);
}

.bar-live {
  margin-left: auto;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.bar-live b {
  font-family: var(--sans);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--lime);
}

.reset {
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.reset:hover { border-color: var(--lime); color: var(--lime); }

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

.intro {
  padding: clamp(2.4rem, 5vw, 4.6rem) 0 clamp(1.8rem, 3.2vw, 2.8rem);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.4rem, 5vw, 5rem);
  align-items: end;
}

h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 108;
  text-wrap: balance;
}

.intro-copy p {
  margin: 0 0 1.3rem;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.intro-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.intro-specs li { display: flex; gap: 0.45rem; }
.intro-specs b { color: var(--ink); font-weight: 500; }

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

.bench {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 1px;
  margin-top: clamp(1.4rem, 2.6vw, 2.2rem);
  border: 1px solid var(--line);
  background: var(--line);
}

.build,
.stage {
  min-width: 0;
  padding: clamp(1rem, 2.3vw, 1.9rem);
  background: var(--panel);
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.panel-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.panel-head .mono { color: var(--muted); text-align: right; }

.presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.preset {
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: transparent;
  color: var(--muted);
  text-align: left;
}
.preset b {
  display: block;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
}
.preset span {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.preset:hover { border-color: var(--line-2); }
.preset.is-on { border-color: var(--lime); background: var(--lime-dim); color: var(--lime); }
.preset.is-on b { color: var(--lime); }

.tasks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.task {
  position: relative;
  display: block;
  min-height: 78px;
  padding: 0.7rem 0.8rem;
  border: 0;
  background: var(--panel);
  color: var(--ink);
  text-align: left;
}
.task:hover { background: var(--panel-2); }
.task::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--line-2);
  background: transparent;
}
.task.is-on { background: var(--lime-dim); }
.task.is-on .task-note,
.task.is-on .task-load { color: #c7d3cc; }
.task.is-on::after { background: var(--lime); border-color: var(--lime); }

.task-top {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.15rem;
}
.task-code {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--lime);
}
.task-name {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.25;
}
.task-note {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}
.task-load {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.week-load {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin: 0.9rem 0 0;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.week-load b { color: var(--ink); font-weight: 500; }

.limits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
  margin-top: 1.1rem;
}

.limit { min-width: 0; }
.limit-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}
.limit-head label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.limit-head output {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink);
}
.limit-hint {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1.3;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(to right, var(--lime) 0 var(--fill, 50%), var(--line-2) var(--fill, 50%) 100%);
}
input[type="range"]::-moz-range-track {
  height: 3px;
  background: linear-gradient(to right, var(--lime) 0 var(--fill, 50%), var(--line-2) var(--fill, 50%) 100%);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6.5px;
  border: 2px solid var(--bench);
  border-radius: 2px;
  background: var(--lime);
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid var(--bench);
  border-radius: 2px;
  background: var(--lime);
}

.os {
  display: flex;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.os button {
  flex: 1;
  min-height: 44px;
  padding: 0.35rem 0.4rem;
  border: 0;
  background: var(--panel);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.os button:hover { color: var(--ink); }
.os button.is-on { background: var(--lime); color: var(--bench); }

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

.stage { display: flex; flex-direction: column; }

.stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.stage-head .mono { color: var(--muted); }
.stage-name {
  margin: 0.15rem 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.stage-price {
  text-align: right;
  white-space: nowrap;
}
.stage-price b {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.laptop {
  width: min(100%, 520px);
  margin: 0.2rem auto 1.1rem;
}

.lid {
  position: relative;
  padding: 9px 9px 15px;
  border: 1px solid var(--line-2);
  border-radius: 10px 10px 2px 2px;
  background: #050708;
}
.lid::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 50px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 0 0 4px 4px;
  background: var(--panel-3);
}

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: clamp(10px, 2vw, 16px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background-color: #08100e;
  background-image:
    linear-gradient(rgba(201, 242, 91, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 242, 91, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.screen-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.screen-state { color: var(--lime); }
.screen-state.is-warn { color: var(--amber); }
.screen-state.is-hot { color: var(--coral); }

.screen-readout {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin: 0.2rem 0 0.35rem;
}
.screen-big {
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.05em;
  font-variation-settings: "wdth" 108;
  color: var(--lime);
}
.screen-big.is-warn { color: var(--amber); }
.screen-big.is-hot { color: var(--coral); }
.screen-readout span:last-child {
  padding-bottom: 0.2rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.screen-bars { display: grid; gap: 0.32rem; margin-top: auto; }
.sbar {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sbar-track { height: 4px; background: rgba(226, 238, 230, 0.12); }
.sbar-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--lime);
  transition: width 0.38s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
}
.sbar-track i.is-warn { background: var(--amber); }
.sbar-track i.is-hot { background: var(--coral); }
.sbar b { color: var(--ink); font-weight: 500; text-align: right; }

.screen-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.55rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.screen-foot b { color: var(--ink); font-weight: 500; }

.screen.is-hot { border-color: rgba(255, 112, 81, 0.5); }

.base {
  position: relative;
  height: clamp(92px, 15vw, 120px);
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top-color: var(--line-2);
  border-radius: 3px 3px 12px 12px;
  background: linear-gradient(180deg, var(--panel-3), #0d1113 70%);
}
.keys {
  position: absolute;
  inset: 11px 82px 36px 13px;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(226, 238, 230, 0.14) 16px 17px),
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(226, 238, 230, 0.14) 10px 11px);
  opacity: 0.7;
}
.trackpad {
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 34%;
  height: 22px;
  transform: translateX(-50%);
  border: 1px solid var(--line-2);
  border-radius: 3px;
}
.fan {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.fan svg { width: 38px; height: 38px; overflow: visible; }
.fan-blades {
  transform-origin: 50% 50%;
  animation: spin var(--fan-speed, 1.6s) linear infinite;
  animation-play-state: var(--fan-play, paused);
}
@keyframes spin { to { transform: rotate(360deg); } }

.heat-lines {
  position: absolute;
  right: 84px;
  bottom: 26px;
  display: flex;
  gap: 7px;
  opacity: 0;
  transition: opacity 0.3s;
}
.heat-lines i {
  display: block;
  width: 2px;
  height: 22px;
  background: linear-gradient(to top, transparent, var(--coral));
  animation: rise 1.7s ease-in-out infinite;
}
.heat-lines i:nth-child(2) { height: 15px; animation-delay: 0.3s; }
.heat-lines i:nth-child(3) { height: 27px; animation-delay: 0.6s; }
@keyframes rise {
  0%, 100% { transform: translateY(4px) scaleY(0.7); opacity: 0.25; }
  50% { transform: translateY(-5px) scaleY(1); opacity: 0.9; }
}

.gauges { margin-top: auto; border-top: 1px solid var(--line); }
.gauge {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}
.gauge:last-child { border-bottom: 0; }
.g-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.g-track { height: 4px; background: var(--line); }
.g-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--lime);
  transition: width 0.38s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
}
.g-track i.is-warn { background: var(--amber); }
.g-track i.is-hot { background: var(--coral); }
.g-val {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink);
  text-align: right;
}

.stage-foot { margin-top: 0.9rem; }
.bottleneck {
  margin: 0 0 0.8rem;
  min-height: 3.2em;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
.bottleneck b { color: var(--ink); font-weight: 600; }

.stage-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--lime);
  border-radius: var(--r);
  background: var(--lime);
  color: var(--bench);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
}
.btn:hover { background: #d8ff74; border-color: #d8ff74; }
.btn:active { transform: translateY(1px); }
.btn.ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn.ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn:disabled { opacity: 0.45; cursor: default; transform: none; }

/* ---------- wall ---------- */

.wall {
  padding: clamp(2.6rem, 5.5vw, 5rem) 0 clamp(1rem, 2vw, 1.6rem);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 1.2rem 3rem;
  align-items: end;
  margin-bottom: 1.3rem;
}
.sec-head h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 106;
}
.sec-head p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.chart-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: clamp(0.9rem, 2vw, 1.5rem);
}

.chart-wrap { position: relative; }
.chart-wrap svg { display: block; width: 100%; height: auto; }

.chart-grid line { stroke: var(--line); stroke-width: 1; }
.chart-wall { fill: rgba(255, 112, 81, 0.05); }
.chart-wall-line { stroke: var(--coral); stroke-width: 1; stroke-dasharray: 3 5; opacity: 0.5; }
.chart-axis {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chart-wrap svg.is-compact .chart-axis { font-size: 12px; }
.chart-wrap svg.is-compact .chart-playhead-label { font-size: 11px; }
.chart-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-line.is-selected { stroke-width: 3; }
.chart-dot { stroke: var(--panel); stroke-width: 2; }
.chart-playhead { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.65; }
.chart-playhead-label { fill: var(--ink); font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; }

.chart-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}
.chart-scrub { flex: 1 1 260px; min-width: 180px; }
.chart-scrub input { width: 100%; }
.scrub-read {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.scrub-read b { color: var(--ink); font-weight: 500; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}
.legend button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.legend button:hover { border-color: var(--line-2); color: var(--ink); }
.legend button.is-on { border-color: var(--line-2); color: var(--ink); }
.legend .swatch { width: 16px; height: 3px; background: var(--lime); }
.legend .legend-fit { color: var(--ink); }

.chart-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}
.chart-note b { color: var(--ink); font-weight: 500; }

/* ---------- picks ---------- */

.picks { padding: clamp(2.4rem, 5vw, 4.4rem) 0; }

.picks-list {
  margin-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.pick { border-bottom: 1px solid var(--line); }

.pick-select {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 84px 92px;
  gap: 0.9rem;
  align-items: start;
  width: 100%;
  padding: 1rem 0.7rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.pick:hover { background: var(--panel); }
.pick.is-selected { background: linear-gradient(90deg, var(--lime-dim), transparent 55%); }
.pick.is-selected .pick-rank { color: var(--lime); }

.pick-rank {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.pick-name {
  display: block;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.pick-spec {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pick-why {
  display: block;
  margin-top: 0.4rem;
  max-width: 64ch;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
.pick-fit { text-align: right; }
.pick-fit b {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pick-fit span {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pick-price { text-align: right; }
.pick-price b { display: block; font-size: 0.95rem; font-weight: 600; }
.pick-price span {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pick-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  margin: 0 0 1rem 3.1rem;
  padding: 0 0.7rem;
}
.pick-wall {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pick-wall::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--lime);
}
.pick-wall.is-warn::before { background: var(--amber); }
.pick-wall.is-hot::before { background: var(--coral); }
.pick-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 0;
  margin-left: auto;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 242, 91, 0.4);
  padding-bottom: 1px;
}
.pick-link:hover { border-color: var(--lime); }
.picks-empty {
  margin-top: 1.2rem;
  padding: 1.4rem;
  border: 1px dashed var(--line-2);
  color: var(--muted);
}
.picks-empty b { display: block; color: var(--ink); margin-bottom: 0.3rem; }
.picks-empty .btn { margin-top: 0.8rem; }

/* ---------- compare ---------- */

.compare { padding: clamp(2.4rem, 5vw, 4.4rem) 0; border-top: 1px solid var(--line); }

.table-wrap {
  margin-top: 0.6rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}
.table-hint { display: none; margin: 1rem 0 0; color: var(--muted); }
table { width: 100%; min-width: 900px; border-collapse: collapse; }
th {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
}
td {
  padding: 0.7rem 0.75rem;
  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 td { opacity: 0.42; }
td.num { font-family: var(--mono); font-size: 0.68rem; white-space: nowrap; }
td .sub {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.row-bench {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  text-align: left;
}
.row-bench:hover { color: var(--lime); }
.row-bench:disabled { color: var(--muted); cursor: default; }
.fit-cell { display: flex; align-items: center; gap: 0.5rem; }
.fit-mini { width: 52px; height: 3px; background: var(--line); flex: none; }
.fit-mini i { display: block; height: 100%; background: var(--lime); }
.fit-mini i.is-warn { background: var(--amber); }
.fit-mini i.is-hot { background: var(--coral); }

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

.method { padding: 0 0 clamp(2.4rem, 4vw, 3.6rem); }
.method details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
}
.method summary::-webkit-details-marker { display: none; }
.method summary .mono:first-child { color: var(--ink); }
.method summary .mono:last-child { color: var(--muted); }
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2.4rem;
  padding: 0.4rem 0 1.8rem;
}
.method h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.method p,
.method li {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}
.method p { margin: 0 0 0.8rem; }
.method ul { margin: 0 0 0.8rem; padding: 0; list-style: none; }
.method li { padding: 0.2rem 0; border-bottom: 1px solid var(--line); }
.method li b { color: var(--ink); font-weight: 500; }
.weights li { display: flex; justify-content: space-between; gap: 1rem; }
.weights li span:last-child { font-family: var(--mono); font-size: 0.6875rem; color: var(--ink); }
.sources a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.sources a:hover { color: var(--lime); border-color: var(--lime); }
.fine { color: var(--muted); font-size: 0.7rem; }

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

.foot { border-top: 1px solid var(--line); padding: 1.4rem 0 2rem; }
.affiliate-disclaimer {
  margin: 0 0 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  max-width: 88ch;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}
.affiliate-disclaimer strong { color: var(--ink); font-weight: 600; }
.foot-in { display: flex; flex-wrap: wrap; gap: 0.7rem 1.5rem; align-items: baseline; }
.foot-mark { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
.foot .mono { color: var(--muted); margin: 0; }
.foot .mono:last-child { margin-left: auto; }

noscript p { color: var(--muted); }

@media (max-width: 1050px) {
  .intro-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .intro-copy p { max-width: 62ch; }
  .bench { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: 0.6rem; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .bar-tool { display: none; }
  .table-hint { display: block; }
  .pick-select { grid-template-columns: 34px minmax(0, 1fr) 70px; }
  .pick-price { grid-column: 2 / -1; text-align: left; margin-top: -0.2rem; }
  .pick-price b,
  .pick-price span { display: inline; }
  .pick-price span { margin-left: 0.4rem; }
  .pick-foot { margin-left: 2.6rem; }
}

@media (max-width: 620px) {
  .panel-head { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .panel-head .mono { text-align: left; }
  .tasks { grid-template-columns: 1fr; }
  .task { min-height: 62px; padding: 0.55rem 0.7rem; }
  .task-note { display: none; }
  .task-load { margin-top: 0.2rem; }
  .limits { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .foot .mono:last-child { margin-left: 0; }
  .bar-live { display: none; }
  .presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick-select { grid-template-columns: 28px minmax(0, 1fr) 58px; gap: 0.5rem; }
  .pick-name { font-size: 1rem; }
  .pick-foot { margin-left: 2.2rem; }
  .pick-link { margin-left: 0; }
  .chart-controls { align-items: stretch; }
  .scrub-read { justify-content: space-between; }
}

@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; }
