/* PreppedNest. Layout idea: a calm spec sheet for new parents. White paper, dark ink, hairline rules,
   one slate-blue accent, measured drawings, numbers in aligned figures. Fit colors appear only on verdicts. */
:root {
  --paper: #fbfbf9;
  --surface: #ffffff;
  --ink: #1a1d1c;
  --muted: #5d6461;
  --rule: #e2e4e0;
  --rule-strong: #c9ccc7;
  --accent: #2b4a6b;
  --accent-ink: #ffffff;
  --accent-wash: #edf1f6;
  --ok: #2c6a46;
  --ok-wash: #e9f3ec;
  --tight: #8a5a10;
  --tight-wash: #f8f0e1;
  --no: #a0382a;
  --no-wash: #f8e9e6;
  --na: #686d72;
  --na-wash: #eff0f1;

  --display: "Iowan Old Style", "Sitka Heading", "Sitka Text", Charter, "Bitstream Charter", Cambria, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: 2rem;
  --step-4: 2.75rem;
  --radius: 8px;
  --measure: 66ch;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121514;
    --surface: #181c1b;
    --ink: #e8ebe9;
    --muted: #a2a9a5;
    --rule: #2a302e;
    --rule-strong: #3a413e;
    --accent: #a9c1dc;
    --accent-ink: #10161d;
    --accent-wash: #1b2532;
    --ok: #86c8a0;
    --ok-wash: #16271d;
    --tight: #e2b468;
    --tight-wash: #2a2213;
    --no: #f0998a;
    --no-wash: #2c1a17;
    --na: #a3a8ad;
    --na-wash: #212528;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121514;
  --surface: #181c1b;
  --ink: #e8ebe9;
  --muted: #a2a9a5;
  --rule: #2a302e;
  --rule-strong: #3a413e;
  --accent: #a9c1dc;
  --accent-ink: #10161d;
  --accent-wash: #1b2532;
  --ok: #86c8a0;
  --ok-wash: #16271d;
  --tight: #e2b468;
  --tight-wash: #2a2213;
  --no: #f0998a;
  --no-wash: #2c1a17;
  --na: #a3a8ad;
  --na-wash: #212528;
  color-scheme: dark;
}

/* base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.2; margin: 0 0 .4em; text-wrap: balance; letter-spacing: -.005em; }
h2 { font-size: var(--step-3); font-weight: 500; }
h3 { font-size: var(--step-2); font-weight: 500; }
h4 { font-size: var(--step-1); }
p { margin: 0 0 .75em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
strong { font-weight: 600; }
img, svg { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.price, .totals strong, .carspecs dd, .system-total, .meter-cap, .stage-meta, .specs, .qty { font-variant-numeric: tabular-nums lining-nums; }

/* line drawings (icons and the hero figure) */
.ico { width: 40px; height: 40px; flex: none; color: var(--accent); }
.ico * { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ico .fill { fill: var(--accent-wash); }
.item.s-have .ico, .item.s-skip .ico { color: var(--muted); }

/* header */
.site-head { border-bottom: 1px solid var(--rule); background: var(--surface); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.45rem; font-weight: 600; letter-spacing: -.01em; }
.brand-accent { font-style: italic; font-weight: 500; color: var(--accent); }
.logo { width: 28px; height: 28px; }
.logo-bg { fill: var(--accent); }
.logo-tape { stroke: var(--accent-ink); stroke-width: 2.6; stroke-linecap: round; fill: none; opacity: .55; }
.logo-ticks { stroke: var(--accent-ink); stroke-width: 1.4; stroke-linecap: round; fill: none; opacity: .55; }
.logo-check { stroke: var(--accent-ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.tagline { margin: 0; color: var(--muted); font-size: .95rem; }
.sample-banner { border-bottom: 1px solid var(--rule); color: var(--muted); font-size: var(--step--1); padding: 9px 0; line-height: 1.5; }
.sample-banner strong { color: var(--ink); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; margin-right: 8px; }
main { padding-top: 32px; padding-bottom: 56px; }
.site-foot { color: var(--muted); font-size: var(--step--1); padding-top: 20px; padding-bottom: 48px; border-top: 1px solid var(--rule); }
.site-foot p { max-width: var(--measure); }

/* intro (first screen) */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding: 8px 0 36px; margin-bottom: 32px; border-bottom: 1px solid var(--rule); }
.intro h1 { font-size: var(--step-4); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin-bottom: .35em; }
.intro h1 em { font-style: italic; color: var(--accent); }
.intro .lede { font-size: 1.0625rem; }
.proof { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.proof li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; font-size: .94rem; color: var(--muted); }
.proof strong { font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.figure { margin: 0; }
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption { font-size: .75rem; color: var(--muted); margin-top: 8px; letter-spacing: .02em; }
.fig-line { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.fig-soft { fill: none; stroke: var(--rule-strong); stroke-width: 1; }
.fig-seat { fill: var(--accent-wash); stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.fig-accent { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fig-dim { fill: none; stroke: var(--accent); stroke-width: 1; }
.fig-tick { fill: var(--accent); }
.fig-label { font: 600 11px var(--sans); fill: var(--accent); letter-spacing: .02em; }
.fig-note { font: 400 10px var(--sans); fill: var(--muted); }
.fig-pill { stroke-width: 1; }
.fig-pill-text { font: 600 11px var(--sans); }
.fig-pill.ok { fill: var(--ok-wash); stroke: var(--ok); }
.fig-pill-dot.ok, .fig-pill-text.ok { fill: var(--ok); }
.fig-pill.tight { fill: var(--tight-wash); stroke: var(--tight); }
.fig-pill-dot.tight, .fig-pill-text.tight { fill: var(--tight); }
.fig-pill.no { fill: var(--no-wash); stroke: var(--no); }
.fig-pill-dot.no, .fig-pill-text.no { fill: var(--no); }
.fig-pill.na { fill: var(--na-wash); stroke: var(--na); }
.fig-pill-dot.na, .fig-pill-text.na { fill: var(--na); }

/* surfaces and buttons */
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.lede { color: var(--muted); max-width: var(--measure); }
.btn {
  border: 1px solid transparent; border-radius: 6px; padding: 10px 18px; cursor: pointer; font-weight: 600; font-size: .95rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: none;
  transition: background-color .15s, border-color .15s, color .15s, filter .15s;
}
.btn.small { padding: 6px 12px; font-size: .875rem; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.ghost.danger { color: var(--no); border-color: var(--no); }
.btn.chosen-btn { background: var(--ok-wash); color: var(--ok); border-color: transparent; cursor: default; }
.link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }

/* setup */
.setup { max-width: 720px; margin: 0 auto 20px; padding: 32px 40px 28px; }
.progress { display: flex; align-items: center; gap: 4px; margin-bottom: 24px; }
.dot { flex: 1; height: 3px; border-radius: 2px; background: var(--rule); }
.dot.done { background: var(--accent); opacity: .45; }
.dot.now { background: var(--accent); }
.progress-text { flex: none; margin-left: 12px; color: var(--muted); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.setup h2 { margin-bottom: .25em; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 16px 0; font-weight: 600; font-size: .95rem; }
.field input, .field select, .copyrow input {
  font: inherit; font-weight: 400; font-size: 1rem; padding: 10px 12px; border: 1px solid var(--rule-strong); border-radius: 6px;
  background: var(--surface); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-wash); }
.field small { color: var(--muted); font-weight: 400; font-size: var(--step--1); }
.field.small { margin: 6px 0; font-size: .9rem; }
.unit-input { position: relative; display: block; }
.unit-input em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-style: normal; font-weight: 400; font-size: .9rem; }
.group { margin-top: 24px; }
.group h3 { font-family: var(--sans); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 10px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice {
  position: relative; text-align: left; border: 1px solid var(--rule-strong); background: var(--surface); border-radius: 6px;
  padding: 12px 14px 12px 40px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; color: var(--ink);
  transition: border-color .15s, background-color .15s;
}
.choice::before {
  content: ""; position: absolute; left: 14px; top: 15px; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--rule-strong); background: var(--surface);
}
.choice:hover { border-color: var(--ink); }
.choice.on { border-color: var(--accent); background: var(--accent-wash); }
.choice.on::before { border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--surface); background: var(--accent); }
.choice-label { font-weight: 600; }
.choice-sub { font-size: var(--step--1); color: var(--muted); }
.choice.check { flex-direction: row; align-items: center; gap: 10px; padding-left: 14px; }
.choice.check::before { display: none; }
.choice .box { width: 16px; height: 16px; border-radius: 3px; border: 1.5px solid var(--rule-strong); flex: none; position: relative; background: var(--surface); }
.choice.on .box { background: var(--accent); border-color: var(--accent); }
.choice.on .box::after { content: ""; position: absolute; left: 4px; top: 0; width: 4px; height: 9px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.carpick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.carsum { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 0; margin: 10px 0 14px; }
.carsum-title { font-weight: 600; margin: 0 0 8px; font-size: .9rem; }
.grades { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
.grade { font-size: .875rem; display: inline-flex; align-items: center; gap: 6px; }
.grade .badge { min-width: 30px; justify-content: center; }
.carsum-specs { font-size: var(--step--1); color: var(--muted); margin: 0 0 4px; }
.measure { margin-top: 20px; padding: 18px 20px; border: 1px dashed var(--rule-strong); border-radius: var(--radius); }
.howto { margin: 0 0 12px; padding-left: 20px; color: var(--muted); font-size: .9rem; }
.grid-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 4px 14px; }
.nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); }
.error { color: var(--no); background: var(--no-wash); padding: 10px 14px; border-radius: 6px; margin-top: 16px; font-weight: 600; font-size: .95rem; }

/* results header */
.summary-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 0 0 18px; margin: 0 0 4px; background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: .9rem; color: var(--muted); }
.chip { white-space: nowrap; }
.chip + .chip::before { content: "\00B7"; margin: 0 9px; color: var(--rule-strong); }
.chip:first-child { color: var(--ink); font-weight: 600; }
.summary-actions { display: flex; gap: 8px; }
.tabs { display: flex; gap: 28px; margin: 0 0 28px; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.tab {
  border: 0; background: transparent; padding: 14px 0 12px; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--muted);
  white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); border-bottom-color: var(--accent); }

/* list */
.totals { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin-bottom: 36px; background: none; border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-radius: 0; }
.totals div { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; }
.totals div + div { border-left: 1px solid var(--rule); }
.totals strong { font-family: var(--display); font-size: var(--step-3); font-weight: 500; line-height: 1.1; color: var(--ink); }
.totals div:nth-child(2) strong { color: var(--accent); }
.totals span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.stage { margin: 0 0 44px; }
.stage-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; padding-bottom: 10px; margin-bottom: 0; border-bottom: 1px solid var(--ink); flex-wrap: wrap; }
.stage-head h3 { margin: 0; }
.stage-meta { color: var(--muted); font-size: .9rem; }
.item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 20px; padding: 20px 0; margin: 0;
  border-bottom: 1px solid var(--rule); background: none; align-items: start;
}
.item > .ico { margin-top: 2px; }
.item:not(:has(> .ico)) { grid-template-columns: minmax(0, 1fr) auto; }
.item.s-have, .item.s-skip { color: var(--muted); }
.item.s-have h4, .item.s-skip h4 { color: var(--muted); }
.item.s-skip h4 { text-decoration: line-through; text-decoration-color: var(--rule-strong); }
.item.s-skip .item-main > :not(h4) { display: none; }
.item h4 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 6px; font-size: 1.125rem; }
.qty { font-family: var(--sans); font-size: .85rem; color: var(--muted); font-weight: 600; }
.why { color: var(--muted); font-size: .94rem; max-width: var(--measure); margin-bottom: 8px; }
.pick { font-size: .94rem; margin-bottom: 8px; }
.notes { margin: 4px 0 8px; padding-left: 18px; font-size: .9rem; color: var(--ink); max-width: var(--measure); }
.notes li::marker { color: var(--accent); }
details { font-size: .9rem; max-width: var(--measure); }
details summary { cursor: pointer; color: var(--accent); font-weight: 600; }
details p { margin: 8px 0 0; color: var(--muted); }
.item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 168px; text-align: right; }
.price { font-family: var(--display); font-size: var(--step-1); font-weight: 600; }
.seg { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: 6px; overflow: hidden; }
.seg-btn { border: 0; background: transparent; padding: 5px 11px; cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--muted); }
.seg-btn + .seg-btn { border-left: 1px solid var(--rule-strong); }
.seg-btn:hover { color: var(--ink); }
.seg-btn.on { background: var(--ink); color: var(--paper); }
.shop { font-size: .875rem; font-weight: 600; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; font-family: var(--sans); font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em; color: var(--muted);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.opt { color: var(--na); }
.tag.used-yes { color: var(--ok); }
.tag.used-check { color: var(--tight); }
.tag.used-no { color: var(--no); }
.fineprint { color: var(--muted); font-size: var(--step--1); max-width: var(--measure); }
.note { border-left: 2px solid var(--accent); padding: 4px 0 4px 14px; font-size: .94rem; color: var(--ink); max-width: var(--measure); }

/* verdict badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 2px 8px 2px 7px;
  border-radius: 4px; max-width: 100%; line-height: 1.5;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.badge.ok { background: var(--ok-wash); color: var(--ok); }
.badge.tight { background: var(--tight-wash); color: var(--tight); }
.badge.no { background: var(--no-wash); color: var(--no); }
.badge.na { background: var(--na-wash); color: var(--na); }

/* fit */
.carbox-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.carspecs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0; margin: 14px 0; border-top: 1px solid var(--rule); }
.carspecs div { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
.carspecs dt { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.carspecs dd { margin: 2px 0 0; font-weight: 500; font-family: var(--display); font-size: var(--step-2); }
.fitgroup { margin: 40px 0; }
.fitgroup > h3 { padding-bottom: 10px; border-bottom: 1px solid var(--ink); margin-bottom: 18px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.product { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 0 18px 18px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.pband { display: flex; align-items: center; gap: 18px; margin: 0 -18px 8px; padding: 16px 18px; background: var(--accent-wash); border-bottom: 1px solid var(--rule); }
.pband .ico { width: 56px; height: 56px; }
.pband .ico .fill { fill: var(--surface); }
.pband dl { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
.pband dt { font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.pband dd { margin: 0; font-family: var(--display); font-size: 1.25rem; font-weight: 500; font-variant-numeric: tabular-nums lining-nums; }
.product.chosen { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.product-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.product-head h4 { margin: 0; font-size: 1.0625rem; }
.best { color: var(--accent); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; white-space: nowrap; padding-top: 4px; }
.specs { color: var(--muted); font-size: .85rem; margin: 0; }
.fitline { font-size: .9rem; margin: 2px 0; }
.warns { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pnote { font-size: .85rem; color: var(--muted); margin: 0 0 4px; }
.sources { font-size: .75rem; color: var(--muted); margin: 0 0 6px; }
.sources a { color: var(--muted); }
.product .btn { align-self: flex-start; margin-top: auto; }

.meter { position: relative; height: 6px; background: var(--rule); border-radius: 3px; margin: 10px 0 4px; }
.meter-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.meter.ok .meter-fill { background: var(--ok); }
.meter.tight .meter-fill { background: var(--tight); }
.meter.no .meter-fill { background: var(--no); }
.meter-mark { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink); }
.meter-cap { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }

.trunk { width: 100%; max-width: 220px; height: auto; margin: 8px 0; display: block; }
.trunk .t-floor { fill: var(--paper); stroke: var(--muted); stroke-width: .3; stroke-dasharray: 1.2 .8; }
.trunk .t-item { stroke-width: .4; }
.trunk.ok .t-item { fill: var(--ok-wash); stroke: var(--ok); }
.trunk.tight .t-item { fill: var(--tight-wash); stroke: var(--tight); }
.trunk.no .t-item { fill: var(--no-wash); stroke: var(--no); }
.trunk .t-label { font-size: 2.4px; fill: var(--muted); font-family: var(--sans); }
.trunk .t-item-label { font-size: 2.6px; fill: var(--ink); font-family: var(--sans); font-weight: 600; }

.system { border-top: 2px solid var(--accent); }
.tip { border-left: 2px solid var(--tight); padding: 4px 0 4px 14px; font-size: .92rem; max-width: var(--measure); }
.system-total { font-family: var(--display); font-size: var(--step-2); font-weight: 500; color: var(--ink); margin: 0; }

/* safety */
.recalls { list-style: none; padding: 0; margin: 0 0 12px; border-top: 1px solid var(--rule); }
.recalls li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 12px 16px; border-bottom: 1px solid var(--rule); position: relative; }
.recalls li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; border-radius: 50%; }
.recalls li.clear::before { background: var(--ok); }
.recalls li.recall::before { background: var(--no); }
.recalls li span { font-size: .9rem; color: var(--muted); }
.recalls li.recall span { color: var(--no); font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; font-size: .92rem; }
.checkline { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-size: .95rem; }
.checkline input { width: 16px; height: 16px; accent-color: var(--accent); }
.hm-result { padding: 12px 14px; border-radius: 6px; font-weight: 600; margin-top: 14px; }
.hm-result.ok { background: var(--ok-wash); color: var(--ok); }
.hm-result.tight { background: var(--tight-wash); color: var(--tight); }
.hm-result.no { background: var(--no-wash); color: var(--no); }
.dont { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.dont li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.dont strong::before { content: "\2715"; color: var(--no); margin-right: 8px; font-size: .8em; }
.dont span { color: var(--muted); font-size: .92rem; }

/* share */
.copyrow { display: flex; gap: 8px; align-items: center; }
.copyrow input { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.copy-fallback { width: 100%; font: .8rem/1.45 var(--mono); border: 1px solid var(--rule-strong); border-radius: 6px; padding: 10px; background: var(--surface); color: var(--ink); }

/* gift */
.gift-hero { background: none; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 8px 0 22px; margin-bottom: 32px; }
.gift-hero h2 { font-size: 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 600; color: var(--accent); margin-bottom: 8px; }

@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .intro h1 { font-size: 2.1rem; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  main { padding-top: 22px; }
  h2 { font-size: 1.6rem; }
  .setup { padding: 24px 18px 22px; }
  .choices.two, .choices.three { grid-template-columns: 1fr; }
  .totals { grid-template-columns: repeat(2, 1fr); }
  .totals div:nth-child(3) { border-left: 0; }
  .totals div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .item { grid-template-columns: 36px minmax(0, 1fr); gap: 12px 14px; }
  .item > .ico { width: 32px; height: 32px; }
  .item-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; min-width: 0; text-align: left; }
  .tagline { display: none; }
  .tabs { gap: 20px; }
  .carpick { grid-template-columns: 1fr; }
  .summary-actions { width: 100%; }
  .gift-hero h2 { font-size: 1.9rem; }
}

/* Spec pages: /gear/ and /cars/. Plain HTML that readers, search engines, and AI assistants can read without JavaScript. */
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 10px; font-weight: 600; }
.doc-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; font-size: .92rem; }
.doc-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; }
.doc-nav a:not(.btn):hover { color: var(--accent); }
.doc-main { padding-top: 22px; padding-bottom: 40px; }
.crumbs { font-size: var(--step--1); color: var(--muted); margin: 0 0 22px; }
.crumbs a { color: var(--muted); }
.doc-head { padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--rule); }
.doc-head h1 { font-size: var(--step-4); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin-bottom: .3em; }
.doc-head .lede { font-size: 1.0625rem; margin: 0; }
.doc-section { margin-bottom: 40px; }
.doc-section h2 { font-size: var(--step-2); margin-bottom: .6em; }
.doc-section .lede { margin-top: 0; }
.doc-section .grades { margin-top: 12px; }
.spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin: 0; border-top: 1px solid var(--rule); }
.spec-list div { padding: 14px 18px 14px 0; border-bottom: 1px solid var(--rule); }
.spec-list dt { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.spec-list dd { margin: 0; font-family: var(--display); font-size: var(--step-1); font-variant-numeric: tabular-nums lining-nums; }
.spec-list dd small { display: block; font-family: var(--sans); font-size: var(--step--1); color: var(--muted); }
.nodata { color: var(--na); font-family: var(--sans); font-size: .9rem; }
a.src { font-family: var(--sans); font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-left: 6px; }
a.src:hover { color: var(--accent); }
.plain { list-style: none; padding: 0; margin: 0; max-width: var(--measure); }
.plain li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.table-wrap { overflow-x: auto; margin: 0 0 4px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums lining-nums; }
.spec-table th { text-align: left; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 14px 8px 0; border-bottom: 1px solid var(--rule-strong); white-space: nowrap; }
.spec-table td { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec-table td a { color: var(--ink); font-weight: 600; }
.spec-table td a:hover { color: var(--accent); }
.spec-table td small { color: var(--muted); font-size: var(--step--1); white-space: nowrap; }
.spec-table .badge { white-space: nowrap; }
.why-cell { display: block; color: var(--muted); font-size: var(--step--1); max-width: 54ch; }
.cta { margin: 8px 0 0; }
@media (max-width: 720px) {
  .doc-head h1 { font-size: 2rem; }
  .doc-nav { width: 100%; justify-content: space-between; }
  .fit-table th:nth-child(3), .fit-table td:nth-child(3) { display: none; }
  .spec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-table td small { display: block; white-space: normal; }
  .spec-table th { white-space: normal; padding-right: 10px; }
  .spec-table td { padding-right: 10px; }
  .gear-index th:nth-child(5), .gear-index td:nth-child(5) { display: none; }
  .car-index th:nth-child(2), .car-index td:nth-child(2), .car-index th:nth-child(5), .car-index td:nth-child(5) { display: none; }
  .eyebrow, .spec-list dt, .spec-table th, a.src { font-size: .75rem; }
}

/* Touch screens and phones: every tap target is at least 44 px tall. */
@media (pointer: coarse), (max-width: 720px) {
  .btn, .btn.small { min-height: 44px; }
  .seg-btn { min-height: 44px; padding: 0 14px; font-size: .85rem; }
  .shop, .item .link, .pick .link { display: inline-flex; align-items: center; min-height: 44px; }
  details summary { padding: 11px 0; }
  a.badge { padding-top: 13px; padding-bottom: 13px; }
  .sources a { display: inline-block; padding: 13px 2px; }
  .links a, p > a.link:only-child { display: inline-flex; align-items: center; min-height: 44px; }
  .checkline { min-height: 44px; }
  .checkline input { width: 22px; height: 22px; }
  .doc-nav a, .crumbs a, .foot-links a, a.src, .spec-table td a { display: inline-flex; align-items: center; min-height: 44px; }
  a.brand { min-height: 44px; }
  .lede a, .plain a, .site-foot p a { padding: 14px 0; }
}

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