:root {
  color-scheme: dark;
  --bg: #0a0e17;
  --panel: #101927;
  --line: #2a3c50;
  --cyan: #22d3ee;
  --amber: #f59e0b;
  --green: #10b981;
  --text: #edf5fd;
  --muted: #a7b9cd;
  font: 16px/1.55 system-ui, sans-serif;
  scroll-padding-top: 20px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #0b142033 0, var(--bg) 590px),
    repeating-linear-gradient(0deg, #27384a4d 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, #27384a4d 0 1px, transparent 1px 42px), var(--bg);
}
a { color: var(--cyan); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.masthead, .footer { display: flex; gap: 20px; align-items: center; padding-block: 20px; }
.masthead { justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { color: var(--text); font-weight: 750; text-decoration: none; }
.brand span { color: var(--cyan); font-size: 1.35rem; margin-right: .18em; }
nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a, .footer a { color: var(--muted); font-size: .9rem; }
.hero { padding: clamp(36px, 5vw, 72px) 0 34px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.2rem, 5.3vw, 4.65rem); line-height: 1.04; letter-spacing: -.055em; }
.hero h1 span { color: var(--cyan); }
.hero p { margin-top: 18px; color: var(--muted); font-size: 1.06rem; max-width: 46rem; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.2; letter-spacing: -.025em; }
h3 { font-size: 1rem; }
.panel { padding: clamp(18px, 3vw, 32px); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.controls, .assumptions, .actions { display: flex; gap: 16px; }
.controls { align-items: start; margin: 22px 0 15px; flex-wrap: wrap; }
.volume { flex: 1 1 240px; min-width: 0; }
.range-title, .range-limits { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
output, .range-limits, .kicker { font-family: ui-monospace, monospace; }
output { color: var(--cyan); font-weight: 750; }
input { accent-color: var(--cyan); }
input[type=range] { width: 100%; margin: 8px 0 0; cursor: pointer; }
.assumptions label { font-size: .83rem; color: var(--muted); }
input[type=number] { display: block; width: 100%; margin-top: 4px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg); font: inherit; color: var(--text); }
.range-limits, small, .fine { color: var(--muted); font-size: .8rem; }
.costs, .tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cost, .tools a { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.cost.self { border-color: #297c69; }
.price { margin-top: 3px; }
.price strong, .kit-price strong { font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.price span, .cost p { color: var(--muted); }
.cost p { font-size: .9rem; }
.savings { color: #77ecbd; border-left: 3px solid var(--green); padding: 4px 10px; margin-block: 16px; font-weight: 650; }
.actions { align-items: end; flex-wrap: wrap; }
.actions .fine { margin-bottom: 5px; }
.button { display: inline-block; padding: 9px 14px; background: var(--cyan); color: var(--bg); font-weight: 760; text-decoration: none; border: 1px solid var(--cyan); border-radius: 6px; }
.button.secondary { background: transparent; color: var(--cyan); }
.button:hover { box-shadow: 0 0 0 2px #22d3ee4d; }
details { margin-top: 16px; color: var(--muted); font-size: .9rem; }
summary { cursor: pointer; width: fit-content; }
details p, .legal p { margin-top: 12px; }
.source-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.kit { display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px; }
.kit, #tools { margin-top: 28px; }
.kicker { color: var(--amber); font-size: .8rem; margin-bottom: 7px; }
.kit h2 + p, #tools > p { margin-top: 8px; color: var(--muted); }
.kit-price { margin-block: 12px; }
.kit-price strong { color: var(--amber); margin-right: 5px; }
.checklist { padding-left: 20px; margin-block: 8px; }
.checklist li { margin-bottom: 3px; }
.checklist li::marker { color: var(--green); }
.tools { list-style: none; padding: 0; }
.tools a { display: grid; gap: 3px; height: 100%; text-decoration: none; }
.tools a:hover { border-color: var(--cyan); }
.tools span { color: var(--muted); font-size: .85rem; }
.footer { flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 32px; }
.footer span { flex: 1; }
.legal { max-width: 760px; padding-block: 35px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3.75rem); margin-bottom: 12px; }
.legal h2 { margin-top: 24px; }
@media (max-width: 620px) {
  .shell { width: calc(100% - 28px); }
  .masthead { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 10px; }
  nav { gap: 15px; }
  .hero { padding: 26px 0 23px; }
  .hero p { margin-top: 12px; font-size: .95rem; }
  .controls { margin-top: 14px; gap: 10px; }
  .assumptions { width: 100%; }
  .assumptions label { flex: 1; }
  .costs, .kit { grid-template-columns: 1fr; }
  .cost { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 6px; padding: 9px 11px; }
  .price { margin: 0; text-align: right; }
  .cost p { grid-column: 2; grid-row: 2; text-align: right; }
  .cost small { grid-column: 1; grid-row: 2; }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { gap: 8px 16px; }
  .footer span { flex-basis: 100%; }
}
