:root {
  --bg: #f7f5ef; --surface: #ffffff; --ink: #1b2620; --muted: #56635b; --line: #dcd8cc;
  --brand: #14281d; --accent: #b8860b; --accent-ink: #1b1400; --link: #1f5f3f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1612; --surface: #17211b; --ink: #e8ece9; --muted: #a3b0a8; --line: #2b3a31;
    --brand: #0b1510; --accent: #e8b33b; --accent-ink: #1b1400; --link: #8fd3ad;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1612; --surface: #17211b; --ink: #e8ece9; --muted: #a3b0a8; --line: #2b3a31;
  --brand: #0b1510; --accent: #e8b33b; --accent-ink: #1b1400; --link: #8fd3ad;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px; z-index: 10; }

.top { background: var(--brand); color: #fff; }
.top .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; line-height: 1.2; }
.brand span { display: block; font-weight: 500; font-size: 12px; opacity: .8; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
.top nav a { color: #fff; text-decoration: none; padding: 4px 0; }
.top nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.top nav a.navbuy { background: var(--accent); color: var(--accent-ink); padding: 4px 12px; border-radius: 6px; font-weight: 700; }

main { padding: 24px 16px 48px; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 8px 0 12px; }
h2 { font-size: 24px; line-height: 1.25; margin: 40px 0 12px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.lede { font-size: 19px; color: var(--ink); max-width: 760px; }
.muted { color: var(--muted); font-size: 14px; }
.eyebrow { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.crumbs { font-size: 14px; color: var(--muted); }
.fn { font-size: 13.5px; color: var(--muted); }

.hero { padding: 16px 0 8px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 8px; border: 2px solid var(--brand); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; background: var(--surface); }
:root[data-theme="dark"] .btn { border-color: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { border-color: var(--link); } }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.buy { font-size: 13px; font-weight: 700; margin-left: 6px; }

.grid2, .grid3, .makes { display: grid; gap: 16px; }
.grid2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.makes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.card p { margin: 0 0 12px; }
.card.link { text-decoration: none; color: var(--ink); display: block; }
.card.link:hover, .card.link:focus { border-color: var(--link); }
.card.link h3 { color: var(--link); }
.card.prod img { display: block; width: 96px; height: 96px; object-fit: contain; margin-bottom: 8px; }
.pick, .jump { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.pick a, .jump a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; }
.list li { margin: 4px 0; }
.bullets li { margin: 6px 0; }

.prodhead { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.prodhead img { width: 220px; height: 220px; object-fit: contain; background: #fff; border-radius: 12px; }
@media (max-width: 640px) { .prodhead { grid-template-columns: 1fr; } .prodhead img { width: 160px; height: 160px; } }

.tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg); font-size: 13.5px; }
tr:last-child td { border-bottom: 0; }
/* Wide tables scroll inside .tblwrap instead of crushing to one word per line;
   the first column stays put so a scrolled row still names its vehicle. */
@media (max-width: 720px) {
  .tblwrap table { min-width: 760px; }
  .tblwrap th:first-child, .tblwrap td:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; box-shadow: 1px 0 0 var(--line); }
  .tblwrap th:first-child { background: var(--bg); }
}
.variants { margin: 4px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); }
.gen { scroll-margin-top: 16px; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 8px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details div { margin-top: 8px; }

.foot { background: var(--brand); color: #e9efe9; padding: 32px 0; font-size: 15px; }
.foot a { color: #f1d27a; }
.idbar { background: #fff; color: #1b2620; border-bottom: 1px solid #dcd8cc; }
.amsoil-id { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 8px 0; }
.amsoil-id p { margin: 0; font-size: 13px; line-height: 1.4; }
.fcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.fine { font-size: 12.5px; opacity: .85; margin-top: 24px; }

.steps { padding-left: 22px; }
.steps li { margin: 8px 0; }
.next { margin-top: 32px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }

.pcband { display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between; margin:20px 0; padding:22px; border:2px solid var(--accent); border-radius:12px; background:var(--surface) }
.pcband h2 { margin:0 0 6px }
.pcband p { margin:0; max-width:56ch }
