
:root {
  --bg: #f6f1e8;
  --ink: #14231c;
  --muted: #4a5a51;
  --card: #fffdf8;
  --line: #d9d0c3;
  --green: #163528;
  --green-2: #1f4a36;
  --accent: #c07a10;
  --accent-ink: #1a1204;
  --soon: #6b6258;
  --max: 68rem;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 1.0625rem;
}
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.site-header {
  background: var(--green);
  color: #f4efe6;
  position: sticky; top: 0; z-index: 5;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0; flex-wrap: wrap;
}
.logo { color: #f4efe6; font-weight: 750; letter-spacing: .01em; text-decoration: none; font-size: 1.05rem; }
.nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.nav a { color: #f4efe6; text-decoration: none; padding: .45rem 0; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .logo:hover { text-decoration: underline; }
main { padding: 1.5rem 0 3.5rem; }
.hero { padding: 1.25rem 0 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--muted); margin: 0 0 .4rem; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; margin: 0 0 .75rem; }
h2 { font-size: 1.25rem; margin: 1.75rem 0 .6rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.section-title { margin-top: 1.5rem; }
.grid.cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.15rem 1.2rem;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column; gap: .4rem;
  min-height: 9.5rem;
}
a.card:hover { border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.card h2 { margin: 0; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); flex: 1; }
.cta { color: var(--green); font-weight: 700; margin-top: .4rem; }
.badge { color: var(--soon); font-weight: 700; font-size: .85rem; }
.card.soon { opacity: .9; }
.brand-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .4rem 1rem; }
.brand-list a, .model-list a { color: var(--green-2); font-weight: 600; text-decoration: none; display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .2rem; min-height: 44px; align-items: center; border-bottom: 1px solid var(--line); }
.brand-list a:hover, .model-list a:hover { text-decoration: underline; }
.model-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.model-list .meta { color: var(--muted); font-weight: 500; font-size: .9rem; }
.callout {
  background: #fff6e5;
  border-left: 4px solid var(--accent);
  padding: .9rem 1rem;
  margin: 1.2rem 0;
  border-radius: 0 10px 10px 0;
}
.callout a { color: var(--green-2); font-weight: 650; }
.aff-inline, .aff, .fine { color: var(--muted); font-size: .92rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
table.fit { width: 100%; border-collapse: collapse; }
table.fit th, table.fit td { text-align: left; padding: .75rem .85rem; vertical-align: top; }
table.fit th { background: var(--green); color: #f4efe6; font-weight: 650; }
table.fit tbody tr { border-top: 1px solid var(--line); }
table.fit .oem-row td { padding-top: 0; border-top: none; color: var(--muted); font-size: .95rem; }
a.buy {
  display: inline-flex; align-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none;
  padding: .45rem .7rem; border-radius: 8px; min-height: 40px;
}
a.buy:hover { filter: brightness(1.05); }
a.buy-oem { background: var(--green); color: #f4efe6; }
.pill { display: inline-block; font-size: .75rem; background: #e6efe9; color: var(--green); padding: .1rem .4rem; border-radius: 999px; margin-left: .35rem; font-weight: 700; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .35rem; color: var(--muted); font-size: .9rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--line); }
.crumbs a { color: var(--green-2); }
.sources { padding-left: 1.1rem; }
.sources a, main a { color: var(--green-2); }
.filter { margin: 1rem 0; }
.filter label { display: block; font-weight: 650; margin-bottom: .3rem; }
.filter input {
  width: min(24rem, 100%); font: inherit; padding: .65rem .75rem;
  border: 1px solid var(--line); border-radius: 8px; min-height: 44px; background: #fff;
}
.site-footer { background: var(--green); color: #d7e3db; padding: 2rem 0; }
.site-footer a { color: #f4efe6; }
.site-footer .aff { color: #f4efe6; font-weight: 650; }
@media (max-width: 40rem) {
  table.fit thead { display: none; }
  table.fit tr { display: block; padding: .6rem 0; }
  table.fit td { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem .85rem; }
  table.fit td::before { content: attr(data-label); font-weight: 700; color: var(--muted); }
  table.fit .oem-row td { display: block; }
  table.fit .oem-row td::before { content: none; }
}
