/* motoservicelog.com
   Light theme active, high contrast. Every surface is bounded by a border so
   nothing reads as white-on-white. A dark theme is built in below and turns
   on with data-theme="dark" on <html>; nothing sets it yet.
   One accent (the app icon's burnt orange) for primary actions and links. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/public-sans-latin-wght-italic.woff2") format("woff2-variations");
}

:root {
  --bg: #f4f1ec;
  --bg-deep: #ebe6de;
  --surface: #ffffff;
  --surface-2: #faf8f5;
  --line: #d8d1c6;
  --line-strong: #b3aa9c;
  --ink: #15120e;
  --ink-2: #433c34;
  --ink-3: #5f574d;
  --accent: #bb3a02;
  --accent-ink: #ffffff;
  --accent-hover: #9a2f00;
  --accent-soft: #fbeee6;
  --factory: #1d5b37;
  --factory-soft: #e6f2ea;
  --aftermarket: #1e4c86;
  --aftermarket-soft: #e7eef8;
  --guideline: #5f574d;
  --guideline-soft: #efebe5;
  --focus: #1e4c86;
  --shadow-sm: 0 1px 2px rgba(21, 18, 14, 0.06);
  --shadow: 0 1px 2px rgba(21, 18, 14, 0.05), 0 6px 20px rgba(21, 18, 14, 0.07);
  --shadow-lg: 0 2px 4px rgba(21, 18, 14, 0.05), 0 18px 48px rgba(21, 18, 14, 0.12);
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}

:root[data-theme="dark"] {
  --bg: #121110;
  --bg-deep: #0b0a09;
  --surface: #1c1a18;
  --surface-2: #232120;
  --line: #3b3733;
  --line-strong: #5b554e;
  --ink: #f6f3ee;
  --ink-2: #d9d3ca;
  --ink-3: #b9b1a6;
  --accent: #ff7a3d;
  --accent-ink: #160b05;
  --accent-hover: #ff9a6b;
  --accent-soft: #3a1d10;
  --factory: #7fd3a0;
  --factory-soft: #15301f;
  --aftermarket: #9cc2f5;
  --aftermarket-soft: #162740;
  --guideline: #cfc6ba;
  --guideline-soft: #2b2825;
  --focus: #9cc2f5;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-stretch: 100%;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 10;
  background: var(--surface); color: var(--ink); padding: 8px 14px;
  border: 2px solid var(--ink); border-radius: var(--r-sm);
}
.skip:focus { left: 12px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
:root[data-theme="dark"] .site-head { background: rgba(28, 26, 24, 0.94); }
.site-head-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; font-stretch: 92%; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 8px 12px; border-radius: var(--r-sm);
}
.nav a:hover { color: var(--ink); background: var(--bg); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-deep); }
.nav .nav-cta { background: var(--ink); color: var(--surface); margin-left: 6px; }
.nav .nav-cta:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- buttons and small parts ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--font-body);
  padding: 14px 22px; border-radius: var(--r);
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { padding: 9px 14px; font-size: 0.92rem; }
.btn[aria-disabled="true"] { cursor: default; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-stretch: 80%;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.eyebrow-accent { color: var(--accent); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-stretch: 85%; font-weight: 700;
  font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 9px 4px 8px; border-radius: 5px; border: 1px solid; line-height: 1.2;
  white-space: nowrap;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
.tag-factory { color: var(--factory); background: var(--factory-soft); border-color: currentColor; }
.tag-aftermarket { color: var(--aftermarket); background: var(--aftermarket-soft); border-color: currentColor; }
.tag-guideline { color: var(--guideline); background: var(--guideline-soft); border-color: currentColor; }
.tag-coming { color: var(--accent); background: var(--accent-soft); border-color: currentColor; }
.tag-plain::before { display: none; }
.muted { color: var(--ink-3); }
.lede { font-size: 1.2rem; color: var(--ink-2); line-height: 1.55; max-width: 38em; }

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; margin-bottom: 14px; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 24px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 850; font-stretch: 94%;
  letter-spacing: -0.03em; line-height: 0.98; margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-bottom: 30px; }
.hero-art { position: relative; }
.hero-art img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 18px 18px rgba(21, 18, 14, 0.18)); }
.hero-art::after {
  content: ""; position: absolute; left: 6%; right: 4%; bottom: 1.5%; height: 9%;
  background: radial-gradient(closest-side, rgba(21, 18, 14, 0.28), rgba(21, 18, 14, 0));
  z-index: 0;
}
.hero-caption { margin-top: 10px; text-align: right; font-size: 0.85rem; }

/* quick picker */
.picker {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 18px; max-width: 560px;
}
.picker-title { font-family: var(--font-head); font-weight: 750; font-size: 1.02rem; margin: 0 0 12px; }
.picker-row { display: grid; grid-template-columns: 1.1fr 0.8fr 1.4fr; gap: 10px; }
.picker-actions { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.field-label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--ink-3); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.05em; }
select, input[type="text"] {
  width: 100%; font: 500 1rem/1.3 var(--font-body); color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 11px 12px; min-height: 46px;
}
select { appearance: none; padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
select:disabled { color: var(--ink-3); background-color: var(--bg); }
select:hover:not(:disabled), input[type="text"]:hover { border-color: var(--ink-2); }

.section-head-inline, .sync-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; margin: 0 0 14px; }
.sync-title { margin-top: 14px; }

/* ---------- stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.stat { padding: 22px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-figure { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-pre { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; color: var(--ink-3); margin-bottom: 6px; }
.stat-label { color: var(--ink-3); font-size: 0.93rem; margin-top: 8px; line-height: 1.35; }

/* ---------- why it exists ---------- */
.why { padding-top: 8px; }
.why-panel {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 40px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent);
  border-radius: var(--r-lg); padding: 36px 38px; box-shadow: var(--shadow);
}
.why-panel h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 850; letter-spacing: -0.02em; line-height: 1.1; }
.why-body p { color: var(--ink-2); font-size: 1.08rem; }
.why-body p:last-child { margin-bottom: 0; }

/* ---------- showcase ---------- */
.showcase-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.sticky-col { position: sticky; top: 96px; }
.tier-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.tier-list li { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: baseline; }
.tier-list p { margin: 0; color: var(--ink-2); }

/* ---------- chart (shared by home showcase and model pages) ---------- */
.chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.chart-head { padding: 20px 22px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.chart-head h3 { font-size: 1.3rem; font-weight: 800; }
.chart-src { margin: 8px 0 0; font-size: 0.92rem; color: var(--ink-2); }
.chart-group + .chart-group { border-top: 1px solid var(--line); }
.chart-group-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 22px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.chart-group-head h4 { font-size: 1.02rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.chart-group-road .chart-group-head { background: var(--accent-soft); }
.chart-group-road .chart-group-head h4 { color: var(--accent-hover); }
.chart-count { font-size: 0.85rem; color: var(--ink-3); white-space: nowrap; }
.chart-lines { list-style: none; margin: 0; padding: 0; }
.chart-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 12px 22px; align-items: start; }
.chart-line + .chart-line { border-top: 1px solid var(--line); }
.chart-line-name { font-weight: 600; color: var(--ink); }
.chart-line-cat { font-size: 0.85rem; color: var(--ink-3); }
.chart-line-note { grid-column: 1 / -1; font-size: 0.9rem; color: var(--ink-2); margin: 0; }
.chart-foot { padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- features ---------- */
.lead-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.lead-feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 30px 26px; box-shadow: var(--shadow); }
.lead-feature h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); font-weight: 850; margin: 10px 0 12px; letter-spacing: -0.02em; }
.lead-feature > p { color: var(--ink-2); }
.mode-list { margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode-list > div { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: var(--surface-2); }
.mode-list dt { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--accent); margin-bottom: 4px; }
.mode-list dd { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.tick-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.tick-list li { position: relative; padding-left: 26px; color: var(--ink-2); }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.feature { padding: 28px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature-num { font-family: var(--font-head); font-stretch: 80%; font-weight: 700; font-size: 0.85rem; color: var(--accent); letter-spacing: 0.08em; }
.feature h3 { font-size: 1.28rem; font-weight: 800; margin: 10px 0 10px; }
.feature p { color: var(--ink-2); margin: 0; }

/* ---------- era strip ---------- */
.eras { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; }
.eras > * { scroll-snap-align: start; }

/* ---------- bike cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
a.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--line-strong); color: var(--ink); }
.card-photo { aspect-ratio: 4 / 3; background: var(--bg-deep); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-photo-none { display: flex; align-items: center; justify-content: center; }
.card-photo-none img { width: 38%; height: auto; opacity: 0.32; filter: grayscale(1); border-radius: 14px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-kicker { font-size: 0.82rem; color: var(--ink-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.card-title { font-family: var(--font-head); font-weight: 750; font-size: 1.08rem; line-height: 1.22; letter-spacing: -0.005em; }
.card-meta { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 0.85rem; color: var(--ink-3); }

/* ---------- sync (coming) ---------- */
.sync { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 52px; align-items: center; }
.sync-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.sync-points li { padding-left: 28px; position: relative; color: var(--ink-2); }
.sync-points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 2px; background: var(--accent); }
.browser { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--bg-deep); border-bottom: 1px solid var(--line); }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser-url { margin-left: 10px; flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font-size: 0.8rem; color: var(--ink-3); }
.browser-body { padding: 18px; }
.browser-label { font-size: 0.78rem; color: var(--ink-3); margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.garage { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.garage th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line-strong); }
.garage td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.garage tr:last-child td { border-bottom: 0; }
.garage .bike-name { font-weight: 700; }
.state { font-weight: 700; font-size: 0.82rem; }
.state-over { color: var(--accent); }
.state-soon { color: var(--aftermarket); }
.state-ok { color: var(--factory); }

/* ---------- privacy band and get-the-app ---------- */
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.panel p { color: var(--ink-2); margin: 0; }
.get {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px;
  padding: 30px 34px; box-shadow: var(--shadow);
}
.get img { border-radius: 22px; box-shadow: var(--shadow); }
.get h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 850; margin-bottom: 6px; }
.get p { margin: 0; color: var(--ink-2); }
.store-btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: var(--ink); color: var(--surface); border-radius: 12px; padding: 12px 20px;
  border: 1px solid var(--ink); min-width: 210px;
}
.store-btn-small { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; font-weight: 700; }
.store-btn-big { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; line-height: 1.1; }

.section-get { padding-top: 0; padding-bottom: 88px; }

/* ---------- page heads, crumbs ---------- */
.page-head { padding: 44px 0 30px; }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 850; letter-spacing: -0.025em; margin-bottom: 12px; }
.crumbs { font-size: 0.9rem; color: var(--ink-3); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--line-strong); }

/* ---------- makes index ---------- */
.filter { max-width: 420px; margin-bottom: 26px; }
.make-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.make-card { flex-direction: row; align-items: stretch; }
.make-card .card-photo { aspect-ratio: auto; width: 96px; flex: 0 0 96px; border-bottom: 0; border-right: 1px solid var(--line); }
.make-card .card-body { padding: 12px 14px; gap: 2px; }
.make-card .card-title { font-size: 1.12rem; }
.empty-note { display: none; padding: 20px; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--ink-2); }
.empty-note.show { display: block; }

/* ---------- make page: year picker ---------- */
.years { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.decade { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px 18px; align-items: center; }
.decade + .decade { border-top: 1px solid var(--line); }
.decade-label { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.year-links { display: flex; flex-wrap: wrap; gap: 6px; }
.year-links a {
  font-weight: 650; font-variant-numeric: tabular-nums; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: var(--surface-2); border-radius: 7px; padding: 6px 10px; font-size: 0.95rem;
}
.year-links a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.year-links a[aria-current="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.subhead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 48px 0 18px; flex-wrap: wrap; }
.subhead h2 { font-size: 1.6rem; font-weight: 800; }
.pager { display: flex; gap: 8px; }

/* ---------- model page ---------- */
.model-top { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 40px; align-items: start; padding: 36px 0 12px; }
.model-photo { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.model-photo img { width: 100%; }
.model-photo-none { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: var(--bg-deep); }
.model-photo-none img { width: 34%; opacity: 0.3; filter: grayscale(1); border-radius: 18px; }
.photo-credit { padding: 10px 14px; font-size: 0.82rem; color: var(--ink-3); border-top: 1px solid var(--line); background: var(--surface-2); }
.photo-credit a { color: var(--ink-2); }
.model-info h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 850; letter-spacing: -0.025em; margin: 4px 0 10px; }
.model-make { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink-2); }
.model-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 20px; }
.source-box { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--factory); border-radius: var(--r); padding: 16px 18px; margin-bottom: 20px; }
.source-box-aftermarket { border-left-color: var(--aftermarket); }
.source-box-guideline { border-left-color: var(--guideline); }
.source-box h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); margin-bottom: 6px; font-weight: 700; }
.source-title { font-weight: 700; margin: 0 0 4px; }
.source-box p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.source-box .btn { margin-top: 12px; }
.controls { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 8px; }
.control { min-width: 140px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.seg a { padding: 11px 16px; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: 0.95rem; min-height: 46px; display: inline-flex; align-items: center; }
.seg a + a { border-left: 1px solid var(--line-strong); }
.seg a[aria-current="true"] { background: var(--ink); color: var(--surface); }
.summary-line { color: var(--ink-2); font-size: 0.95rem; margin: 10px 0 0; }
.layout { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.layout summary { cursor: pointer; padding: 12px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.layout summary::-webkit-details-marker { display: none; }
.layout summary::after { content: "+"; font-weight: 800; color: var(--ink-3); }
.layout[open] summary::after { content: "\2212"; }
.layout dl { margin: 0; padding: 4px 16px 14px; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 0.93rem; }
.layout dt { color: var(--ink-3); }
.layout dd { margin: 0; color: var(--ink); }
.model-chart { margin-top: 28px; }
.disclaimer { margin-top: 18px; font-size: 0.9rem; color: var(--ink-3); max-width: 64em; }
.cta-strip { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.cta-strip h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.cta-strip p { margin: 0; color: var(--ink-2); }

/* ---------- VIN decoder ---------- */
.vin-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 36px; align-items: start; }
.vin-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
.vin-input-row { display: flex; gap: 10px; }
.vin-input-row input { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.vin-examples { margin: 12px 0 0; font-size: 0.9rem; color: var(--ink-3); }
.vin-examples code { font-family: ui-monospace, Consolas, monospace; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
.result { margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.result-head { padding: 16px 20px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.result-head h2 { font-size: 1.2rem; font-weight: 800; }
.result-vin { font-family: ui-monospace, Consolas, monospace; font-size: 1.15rem; letter-spacing: 0.08em; margin-top: 6px; display: block; }
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; }
.facts dt, .facts dd { padding: 10px 20px; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { color: var(--ink-3); font-size: 0.93rem; }
.facts dd { font-weight: 600; }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
.ok { color: var(--factory); }
.warn { color: var(--accent); }
.result-body { padding: 16px 20px; }
.result-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.match-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.match-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); background: var(--surface-2); }
.match-list a:hover { border-color: var(--accent); background: var(--accent-soft); }
.notice { padding: 14px 18px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); margin-top: 18px; }
.notice-warn { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.aside-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.aside-panel h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.aside-panel p, .aside-panel li { color: var(--ink-2); font-size: 0.97rem; }
.aside-panel ul { padding-left: 18px; margin: 0 0 14px; }
.aside-panel p { margin: 0; }
.lede .num, .aside-panel .num { white-space: nowrap; }

/* ---------- prose pages ---------- */
.prose { max-width: 760px; padding-bottom: 72px; }
.prose h2 { font-size: 1.45rem; font-weight: 800; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.credit-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 0.92rem; }
.credit-table th, .credit-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.credit-table th { background: var(--surface-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.table-scroll { overflow-x: auto; border-radius: var(--r); }

/* ---------- 404 ---------- */
.lost { padding: 96px 0 120px; max-width: 640px; }
.lost h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 850; margin-bottom: 14px; }

/* ---------- footer ---------- */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); margin-top: 0; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 32px; }
.foot-brand p { color: var(--ink-3); margin: 14px 0 0; max-width: 34em; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 4px; font-weight: 700; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--accent); text-decoration: underline; }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 26px; background: linear-gradient(var(--line), var(--line)) 24px 0 / calc(100% - 48px) 1px no-repeat; color: var(--ink-3); font-size: 0.85rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .showcase-grid, .sync, .model-top, .vin-grid, .why-panel { grid-template-columns: 1fr; }
  .why-panel { gap: 16px; padding: 26px 22px; }
  .hero-art { order: -1; max-width: 640px; margin: 0 auto; }
  .sticky-col { position: static; }
  .hero { padding-top: 32px; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
  .split { grid-template-columns: 1fr; }
  .lead-features { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .section { padding: 64px 0; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .nav a { padding: 8px 9px; font-size: 0.9rem; }
  .nav a:not(.nav-cta):nth-child(3) { display: none; }
  .brand-name { font-size: 1.05rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .picker-row { grid-template-columns: 1fr; }
  .mode-list { grid-template-columns: 1fr; }
  .lead-feature { padding: 22px 20px; }
  .features { grid-template-columns: 1fr; }
  .feature { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .feature:last-child { border-bottom: 0 !important; }
  .tier-list li { grid-template-columns: 1fr; gap: 4px; }
  .get { grid-template-columns: 1fr; text-align: left; padding: 24px; }
  .get img { width: 72px; height: 72px; }
  .decade { grid-template-columns: 1fr; gap: 8px; }
  .chart-line, .chart-group-head, .chart-head { padding-left: 16px; padding-right: 16px; }
  .garage .hide-sm { display: none; }
  .vin-input-row { flex-direction: column; }
  .site-head-row { min-height: 58px; }
}
@media (max-width: 460px) {
  .nav a:not(.nav-cta):nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

[hidden] { display: none !important; }
