/* Car-site additions on top of the shared system: only parts the Fine Print system lacks. */
.vin { margin-top: var(--s4); border-top: 2px solid var(--ink); padding-top: var(--s2); max-width: 66ch; }
.vin label { display: block; font-size: 17px; color: var(--ink2); }
.vin-row { display: flex; gap: var(--s1); margin-top: 12px; }
.vin input { flex: 1; min-width: 0; font: 600 17px/1.2 "Archivo", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 12px; border: 1px solid var(--ink); border-radius: 3px; background: #F4F5F2; color: var(--ink); }
.vin input::placeholder { color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
.vin .btn { padding: 10px 16px; font-size: 16px; border: 0; cursor: pointer; }
.vin-o { margin-top: 12px; font-size: 17px; color: var(--ink2); min-height: 1px; }
.vin-o:empty { display: none; }
ol.checks { padding-left: 1.3em; }
ol.checks li + li { margin-top: 10px; }
@media (max-width: 560px) { .vin-row { flex-direction: column; } .vin .btn { width: 100%; } }
/* Hero on a dark photo: light wash behind the callout column (desktop only), amber leader lines readable on light and dark. */
@media (min-width: 561px) {
  .hero-fig .hf-img::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 46% 48% at 0% 0%, rgba(231,232,228,.95) 0%, rgba(231,232,228,.88) 55%, rgba(231,232,228,0) 100%); }
  .hero-fig .hf-call { z-index: 2; }
  .hero-fig .hf-lines { z-index: 1; }
}
.hf-lines polyline { stroke: var(--signal); opacity: 1; }
.hf-lines circle { fill: var(--signal); stroke: #fff; }
/* Claims table on phones: two compact lines per product (name + price; then amps · rating · source), no stacked labels. */
@media (max-width: 700px) {
  #claims .ledger tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  #claims .ledger td { display: inline; padding: 0; border: 0; font-size: 15px; }
  #claims .ledger td[data-l]::before { content: none; display: none; }
  #claims .ledger td.p { display: block; margin-bottom: 4px; }
  #claims .ledger td[data-l="Engine rating"]::after, #claims .ledger td[data-l="Box says"]::after { content: " · "; color: var(--muted); }
  #claims .ledger thead { display: none; }
}
/* One chart, two drawings: the wide one on desktop, a narrow one on phones (text stays ~12px). */
.ch-narrow { display: none; }
@media (max-width: 560px) { .ch-wide { display: none; } .ch-narrow { display: block; } }
/* Hero two-part rec: one row per pick (tile, who/name/rating/price, button). */
.hpicks { margin-top: var(--s3); border-top: 2px solid var(--ink); max-width: 46ch; }
.hpick { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.35; }
.hpick b { color: var(--ink); font-size: 17px; }
.hp-who { display: block; font-size: 13px; color: var(--muted); }
.h-tile { display: block; width: 64px; height: 64px; background: var(--taupe); border-radius: 4px; overflow: hidden; }
.h-tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; }
.hpick .btn { white-space: nowrap; }
.hnote { margin-top: 12px; font-size: 15px; color: var(--ink2); max-width: 46ch; }
/* Engine picker: radio buttons styled as a row of choices; one product card shows at a time (no JS needed). */
.eng-pick > input { position: absolute; opacity: 0; pointer-events: none; }
.eng-opts { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s2) 0 var(--s3); }
.eng-opts label { border: 1px solid var(--ink); border-radius: 3px; padding: 8px 14px; cursor: pointer; font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.2; }
.eng-opts label span { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; }
.eng-pick > input:focus-visible + * { outline: none; }
.eng-card { display: none; max-width: 760px; }
.eng-card p { font-size: 16px; margin-top: 8px; max-width: 52ch; }
.eng-card .kicker { margin: 0 0 6px; font-size: 15px; }
.eng-price { font-size: 17px; }
.eng-card .btn.wide, .vin-o .btn.wide { margin-top: 14px; max-width: 360px; }
.vin-o .verdict2 { margin-top: 14px; }
@media (max-width: 560px) {
  .hpick { grid-template-columns: 120px 1fr; } .hpick .btn { grid-column: 1 / -1; text-align: center; }
  .hpick .h-tile { width: 120px; height: 120px; }
  .eng-opts label { flex: 1 1 45%; }
}
/* Our picks: three cards, Wirecutter-style (photo, role, benefit, name, rating, price, button). */
.picks3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s2); }
.pk { border-top: 2px solid var(--ink); padding-top: var(--s2); display: flex; flex-direction: column; }
.pk-tile { display: block; background: var(--taupe); border-radius: 4px; aspect-ratio: 4 / 3; overflow: hidden; }
.pk-tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 18px; }
.pk-role { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--signal-text); }
.pk h3 { font-size: 20px; line-height: 1.2; margin-top: 4px; }
.pk-name { margin-top: 8px; font-size: 15px; color: var(--ink); }
.pk-meta { margin-top: 2px; font-size: 14px; color: var(--muted); }
.pk-price { margin-top: 10px; font-size: 17px; }
.pk .btn.wide { margin-top: auto; }
.pk-price + .btn { margin-top: 12px; }
/* One section per pick: NOCO photo, who/why/flaws, buy line. */
.dive h2 { margin-bottom: var(--s2); }
.dive-fig { margin: 0 0 var(--s3); max-width: 640px; }
.dive-fig img { width: 100%; height: auto; border-radius: 4px; }
.dive-fig figcaption, .howto-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.dive .read p + p { margin-top: 14px; }
.dive-buy { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--rule); max-width: 66ch; flex-wrap: wrap; }
.dive-buy b { font-size: 20px; color: var(--ink); }
/* How-to: our diagram beside NOCO's four steps. */
.howto { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: var(--s4); align-items: start; }
.howto-fig { margin: 0; }
.jdiag { width: 100%; height: auto; background: var(--taupe); border-radius: 4px; }
.jd-bat { fill: var(--ink2); } .jd-post { fill: #9aa0a6; } .jd-sign { fill: #fff; font: 800 34px "Archivo", sans-serif; }
.jd-lab { fill: var(--ink); font: 600 13px "Archivo", sans-serif; } .jd-bat + .jd-post { }
.jd-bolt { fill: #9aa0a6; stroke: var(--ink2); stroke-width: 3; }
.jd-red { fill: none; stroke: #C8102E; stroke-width: 7; stroke-linecap: round; } .jd-redc { fill: #C8102E; }
.jd-blk { fill: none; stroke: #111; stroke-width: 7; stroke-linecap: round; } .jd-blkc { fill: #111; }
text.jd-lab[x="140"] { fill: #fff; }
@media (max-width: 860px) { .picks3 { grid-template-columns: 1fr; } .howto { grid-template-columns: 1fr; } }
/* Width: the picks row, how-to and each pick's photo+text row use the full column, not the 66ch reading cap. */
.layout .block > :is(.picks3, .howto, .dive-row) { max-width: none; }
.dive-row { display: grid; grid-template-columns: 320px minmax(0, 66ch); gap: var(--s4); align-items: start; }
.dive-row .dive-fig { margin: 0; max-width: none; }
.dive-row .dive-buy { margin-top: var(--s3); }
@media (max-width: 860px) { .dive-row { grid-template-columns: 1fr; } .dive-row .dive-fig { max-width: 360px; } }
/* Comparison hero: real product photos side by side on one taupe panel, a 2-level callout under each. */
.ph { margin: 0; background: var(--taupe); border-radius: 4px; padding: var(--s3) var(--s3) var(--s2); }
.hero .ph { order: 2; }
.ph-row { display: grid; gap: var(--s3); }
.ph-1 { max-width: 400px; margin: 0 auto; } .ph-2 { grid-template-columns: 1fr 1fr; } .ph-3 { grid-template-columns: 1fr 1fr 1fr; }
.ph-img { display: block; aspect-ratio: 1; }
.ph-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ph-k { margin-top: 10px; font-size: 13px; color: var(--ink2); }
.ph-v { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.15; letter-spacing: -.01em; }
.ph-v.bad { color: var(--signal-text); }
@media (max-width: 860px) { .hero .ph { order: 0; } }
@media (max-width: 560px) { .ph { padding: var(--s2); } .ph-v { font-size: 16px; } .ph-3 { gap: 10px; } }
/* Related guides: plain list of sibling pages. */
ul.related { list-style: none; border-top: 2px solid var(--ink); max-width: 66ch; }
ul.related li { border-bottom: 1px solid var(--rule); padding: 12px 0; font-size: 17px; }
/* Comparison hero sits in the same 12-column hero grid slot as the photo hero. */
.hero .ph { grid-column: 6 / 13; grid-row: 1; order: 0; }
@media (max-width: 900px) { .hero .ph { grid-column: 1; grid-row: auto; order: 2; } }
.picks3.two { grid-template-columns: 1fr 1fr; max-width: 760px; }
.pk > .pk-role:first-child { margin-top: 0; }
@media (max-width: 860px) { .picks3.two { grid-template-columns: 1fr; } }
/* Trust pages + home index. */
.trust { max-width: 66ch; padding: var(--s4) 0 var(--s5); }
.trust h1 { margin-bottom: var(--s2); }
.trust h2 { margin-top: var(--s4); }
.trust-lede { font-size: 20px; line-height: 1.45; color: var(--ink2); }
ul.plain { padding-left: 1.2em; } ul.plain li + li { margin-top: 10px; }
.home-hero { padding: var(--s5) 0 var(--s3); max-width: 760px; }
.home-hero h1 { font-size: 52px; }
.home-hero .answer { max-width: 60ch; }
ul.guides { list-style: none; border-top: 2px solid var(--ink); max-width: 900px; }
ul.guides li { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: var(--s3); }
ul.guides a { color: var(--ink); } ul.guides span { color: var(--ink2); font-size: 16px; }
@media (max-width: 700px) { ul.guides li { grid-template-columns: 1fr; gap: 4px; } .home-hero h1 { font-size: 38px; } }
/* O-pages */
.swarm rect.ok { fill: var(--ink); }
.layout .block > table.ledger.codes { max-width: 420px; }
/* O-pages: compact tables on phones (name on its own line, then the cells inline with their labels). */
@media (max-width: 700px) {
  .ledger.oc tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .ledger.oc tr.group { padding: 16px 0 6px; }
  .ledger.oc td { display: inline; padding: 0; border: 0; font-size: 15px; }
  .ledger.oc td.p { display: block; margin-bottom: 4px; font-size: 16px; }
  .ledger.oc td[data-l]::before { content: attr(data-l) ": "; display: inline; margin: 0; color: var(--muted); font-size: 13px; }
  .ledger.oc td[data-l]:not(:last-child)::after { content: " · "; color: var(--muted); }
  .ledger.oc.stack td[data-l] { display: block; margin-top: 2px; }
  .ledger.oc.stack td[data-l]::after { content: none; }
}
@media (max-width: 560px) { .mk-pick .verdict2 { grid-template-columns: minmax(0, 1fr); } .mk-pick .verdict2 > div { display: block; } .mk-pick .verdict2 .v-tile { display: none; } .mk-pick .verdict2 .btn { margin-top: 14px; } }

/* product pages: fit cards line up as a grid */
.fit > p { margin: 0; }
.hero-text .dive-buy { margin: var(--s2) 0; }

/* car lookup (year / make / model / engine), 2026-11-02 */
.car { margin-top: var(--s3); border-top: 2px solid var(--ink); padding-top: var(--s2); max-width: 66ch; }
.car-h { font-size: 17px; color: var(--ink2); margin: 0; }
.car-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s1); margin-top: 12px; align-items: end; }
.car-row label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); min-width: 0; }
.car select, .car input { font: 500 16px/1.2 "Archivo", system-ui, sans-serif; color: var(--ink); background: var(--stone, #f4f3ef);
  border: 1px solid var(--ink); border-radius: 0; padding: 10px 8px; width: 100%; min-width: 0; }
.car select:disabled { opacity: .45; }
.car .btn { padding: 10px 16px; font-size: 16px; border: 0; cursor: pointer; }
.car-own { margin-top: 14px; font-size: 16px; color: var(--ink2); }
.car-own summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.car-own .car-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
@media (max-width: 560px) { .car-row, .car-own .car-row { grid-template-columns: 1fr 1fr; } .car-own .btn { grid-column: 1 / -1; width: 100%; } }
/* 2026-11-02: on phones the shared .verdict2 grid places only the photo, name, table and button; the engine cards' kicker,
   text and price fell into the 96px photo column. Everything but the photo and the name spans the card. */
@media (max-width: 560px) {
  .eng-cards .verdict2 > div > :not(.v-name), .vin-o .verdict2 > div > :not(.v-name) { grid-column: 1 / -1; }
  .eng-cards .verdict2 .v-name, .vin-o .verdict2 .v-name { align-self: center; }
}

/* ===== 2026-11-02 design upgrade: same layout system, new skin =====
   Paper white page, navy brand band, white product tiles (Amazon photos sit on white), one action blue for buy buttons,
   product name as the card title. Contrast: ink on paper 16.9:1, white on --act 6.6:1, muted on paper 5.6:1 (WCAG AA). */
:root {
  --stone: #F7F6F2; --taupe: #FFFFFF; --rule: #DCD9D1;
  --ink: #0F1D2C; --ink2: #27323E; --muted: #57616C;
  --navy: #0F1D2C; --act: #0B5CAD; --act-hover: #084985;
  --signal: #E58A0F; --signal-text: #8A5200;
}
body { background: var(--stone); }
/* header: a navy band carries the brand */
.top { background: var(--navy); border-bottom: 0; }
.top .logo { color: #FFFFFF; font-size: 20px; }
.top .logo-ast { color: var(--signal); }
.top .nav a { color: #C8D2DD; }
.top .nav a:hover { color: #FFFFFF; }
.top :focus-visible { outline-color: #FFFFFF; }
/* buttons: blue means "go buy" */
.btn { background: var(--act); color: #FFFFFF; border-radius: 6px; }
.btn:hover { background: var(--act-hover); }
.btn.ghost { background: transparent; color: var(--act); border: 1px solid var(--act); }
/* product tiles: white, hairline border, photo blends cleanly */
.pk-tile, .v-tile, .pick-tile, .dd-tile, .rail-tile { background: #FFFFFF; border: 1px solid var(--rule); border-radius: 8px; }
.pk-tile img, .v-tile img { mix-blend-mode: normal; }
/* pick cards: product name is the title, who it's for under it, then the one-line reason */
.pk { background: #FFFFFF; border: 1px solid var(--rule); border-radius: 10px; padding: var(--s2); display: flex; flex-direction: column; }
.pk .pk-tile { border: 0; border-radius: 6px; }
.pk h3.pk-name { margin-top: 14px; font-size: 21px; line-height: 1.2; font-weight: 700; color: var(--ink); }
.pk .pk-role { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ink2); }
.pk .pk-head { margin-top: 6px; font-size: 15px; color: var(--muted); }
.pk .pk-meta { margin-top: 8px; }
.pk .pk-price { margin-top: auto; padding-top: 14px; font-size: 18px; }
.pk .btn.wide { margin-top: 10px; }
.picks3 { gap: var(--s2); }
/* section rules: lighter, so headings carry the hierarchy */
.picksec, .vin, .car { border-top-width: 1px; border-top-color: var(--rule); }
/* home hero: the car finder is the first thing to do */
.home-hero { padding: var(--s4) 0 var(--s3); }
.home-car { margin-top: var(--s3); background: #FFFFFF; border: 1px solid var(--rule); border-top: 1px solid var(--rule); border-radius: 10px; padding: var(--s2); max-width: 760px; }
.home-car .btn { margin-top: 14px; padding: 12px 18px; font-size: 17px; }
.home-car .bar2-src { margin-top: 10px; }
.home-hero .byline { margin-top: var(--s2); }
/* matcher on the size guide: same card look */
#car-f { background: #FFFFFF; border: 1px solid var(--rule); border-radius: 10px; padding: var(--s2); }
.car select, .car input { background: #FFFFFF; border-color: #9AA3AD; border-radius: 6px; }
@media (max-width: 560px) { .home-car .btn { width: 100%; } }
.to-car { margin-top: 14px; font-size: 17px; font-weight: 600; }
.to-car a { color: var(--act); }
#car-f { scroll-margin-top: 16px; }
/* fresh review 11-02: no small label above a product title. The card's label moves under the name, plain text, no star. */
.verdict2 > div > * { order: 3; }
.verdict2 > div > .v-name { order: 1; margin-top: 0; }
.verdict2 > div > .kicker { order: 2; margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--ink2); }
@media (min-width: 561px) { .verdict2 > div { display: flex; flex-direction: column; } }
.kicker.star::before { content: none; }
/* product deep-dive sections: heading first, then who it's for (was a small starred label above the h2) */
.block.dive { display: flex; flex-direction: column; }
.block.dive > * { order: 3; }
.block.dive > h2 { order: 1; margin-bottom: 4px; }
.block.dive > .kicker { order: 2; margin: 0 0 var(--s2); font-size: 16px; font-weight: 600; color: var(--ink2); }

/* W-892: no doubled divider where a list ends right above the next section border */
ul.related li:last-child, ul.guides li:last-child { border-bottom: 0; }
.row-buy { display: block; margin-top: 8px; } .row-buy .btn { font-size: 14px; padding: 8px 12px; }
.ledger td.p .row-buy a.btn, .ledger td.p .row-buy a.btn:visited { color: #FFFFFF; }
.row-buy .btn { white-space: normal; max-width: 100%; box-sizing: border-box; }
.para-buy { margin: 8px 0 18px; } .para-buy .btn { white-space: normal; max-width: 100%; box-sizing: border-box; }

/* W-3171: table-row Check price buttons keep white text (beats .ledger td.p a colour) */
.ledger td.p a.btn, .ledger.results td.p a.btn { color: var(--stone); font-size: 15px; font-weight: 600; display: inline-block; margin-top: 6px; }
