*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; }

body { font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-2); background: var(--surface); font-weight: 400; }
h1, h2, h3 { color: var(--ink); letter-spacing: var(--tracking-display); line-height: var(--lh-tight); font-weight: 800; }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-snug); }
.num { font-variant-numeric: tabular-nums; }

html { overflow-x: hidden; }
body { overflow-x: hidden; }
a:not(.btn),
a:not(.btn):link,
a:not(.btn):visited,
a:not(.btn):hover,
a:not(.btn):active { color: var(--accent); }
a.brand, a.brand:link, a.brand:visited, a.brand:hover, a.brand:active { color: var(--ink); }
p + p, ul + p, table + p, .card p { margin-top: 12px; }
.figure, .money, .soh, .num { font-variant-numeric: tabular-nums; }

.sr-only {
  position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* A nowrap table ignores width:1px and widens the page. Fixed layout keeps the words in the tree. */
table.sr-only { table-layout: fixed; width: 1px; max-width: 1px; overflow: clip; }
.skip {
  position: absolute; left: 16px; top: -48px; background: var(--ink); color: var(--paper);
  padding: 8px 12px; z-index: 40; border-radius: var(--radius-pill);
}
.skip:focus { top: 8px; }

.container, .wrap:not(:has(> .section)) {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap:has(> .section) { max-width: none; width: 100%; padding-inline: 0; margin: 0; }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--surface-dark); color: var(--on-dark-body); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark-heading); }
.section-head { margin-bottom: var(--section-head-gap); }
.section-head .eyebrow {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 8px;
}
.section--dark .section-head .eyebrow { color: var(--brand-blue-on-dark); }
.section-head .lead { font-size: 18px; max-width: 640px; color: var(--muted); margin-top: 12px; }
.grid-2, .grid-3 { display: grid; gap: var(--stack-gap); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow-1);
}

.site-header {
  position: sticky; top: 0; z-index: 30; height: 68px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { height: 68px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.header-row > .brand { flex: 0 1 auto; min-width: 0; }
.theme-toggle {
  flex: 0 0 40px; width: 40px; height: 40px; padding: 0; display: inline-flex;
  align-items: center; justify-content: center; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer;
}
.theme-toggle svg { width: 20px; height: 20px; }
.theme-icon--sun { display: none; }
html[data-theme="dark"] .theme-icon--moon { display: none; }
html[data-theme="dark"] .theme-icon--sun { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme-icon--moon { display: none; }
  html:not([data-theme="light"]) .theme-icon--sun { display: block; }
}
.site-nav__cluster { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav__links { display: flex; align-items: center; gap: 28px; }
.site-nav__links a:not(.btn) { font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.site-nav__links a:not(.btn):hover { color: var(--ink); }

.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.nav-desktop { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav__panel a:not(.btn) {
  font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.site-nav__panel a:not(.btn):hover { color: var(--ink); }
.header-cta { margin-left: 8px; }
.menu-button { display: none; margin-left: auto; }
.site-nav__panel {
  position: absolute; left: 0; right: 0; top: 68px; background: var(--surface);
  border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 24px;
  display: grid; gap: 12px; box-shadow: var(--shadow-2);
}
.site-nav__panel[hidden] { display: none; }
.site-nav__panel nav { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.site-nav__panel a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; }
.site-nav__panel .btn--block { margin-top: 8px; }

.btn, .button, button.primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--radius-pill); border: 0;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: 16px;
  text-decoration: none; transition: background 150ms, color 150ms, border-color 150ms;
  cursor: pointer;
}
.btn--primary, .button, button.primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover, .button:hover, button.primary:hover { background: var(--ink-2); }
.btn--secondary, .button.secondary {
  background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink);
}
.btn--secondary:hover, .button.secondary:hover { background: var(--surface-alt); }
.btn--ghost-light { background: transparent; color: var(--paper); border: 1.5px solid var(--paper); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); }
.btn--lg { height: 56px; font-size: 17px; }
.btn--sm { height: 40px; font-size: 14px; padding: 0 16px; }
.btn--block { width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field > label, .label-row label { font-size: 14px; font-weight: 700; color: var(--ink); }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.input, input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-size: 17px; background: var(--panel); color: var(--ink);
}
textarea { height: auto; min-height: 120px; padding: 12px 16px; }
.input:focus, input:not([type="radio"]):not([type="checkbox"]):focus, select:focus, textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); outline: none;
}
.input-vin { text-transform: uppercase; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.vin-help { position: relative; }
.vin-help summary {
  list-style: none; cursor: pointer; color: var(--accent); font-size: 14px; font-weight: 700;
}
.vin-help summary::-webkit-details-marker { display: none; }
.vin-help p { margin-top: 8px; color: var(--muted); font-size: 14px; font-weight: 400; }
.odo-row { display: flex; gap: 12px; align-items: flex-end; }
.odo-row .field { flex: 1; }
.segmented {
  display: flex; height: 52px; width: 140px; flex: 0 0 140px; margin: 0 0 16px;
  padding: 4px; border: 0; border-radius: var(--radius-pill); background: var(--surface-alt);
}
.segmented label {
  position: relative; flex: 1; display: flex; align-items: center; justify-content: center;
  margin: 0; border-radius: var(--radius-pill); font-weight: 700; color: var(--ink-2); cursor: pointer;
}
.segmented input {
  position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.segmented label:has(input:checked) { background: var(--panel); color: var(--ink); box-shadow: var(--shadow-1); }
.form-card {
  background: var(--panel); box-shadow: var(--shadow-2); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--line);
}
.beta-pill {
  display: inline-flex; align-items: center; background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 700; border-radius: var(--radius-pill); padding: 6px 12px; margin-bottom: 16px;
}
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 16px 0 24px; }
.hero-grid { display: grid; gap: 16px; align-items: start; }
.trust-list { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 0; margin-top: 16px; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.trust-list svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--accent); }

.report-preview { box-shadow: var(--shadow-2); }
.preview-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.example-pill {
  display: inline-flex; background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 700; border-radius: var(--radius-pill); padding: 4px 10px;
}
.tier-pill, .pill, .tier-estimated, .tier-connected, .tier-measured, .evidence-badge {
  display: inline-flex; align-items: center; border-radius: var(--radius-pill);
  padding: 4px 10px; font-weight: 700; font-size: 13px;
}
.tier-connected, .evidence-connected { background: var(--tier-con-bg); color: var(--tier-con-fg); }
.tier-estimated, .evidence-estimated { background: var(--tier-est-bg); color: var(--tier-est-fg); }
.tier-measured, .evidence-measured { background: var(--tier-mea-bg); color: var(--tier-mea-fg); }
.grade-row { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.grade-mark {
  width: 56px; height: 56px; border-radius: 12px; color: var(--paper); font-size: 28px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex: 0 0 56px;
}
.grade-bar, .spectrum { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.grade-seg { height: 10px; border-radius: var(--radius-pill); }
.grade-seg.is-active { outline: 2px solid var(--ink); outline-offset: 2px; }
.seg { text-align: center; font-weight: 800; color: var(--ink); padding: 8px 0; border-radius: 8px; }
.watermark {
  position: absolute; inset: 12px auto auto 12px; background: var(--warn-bg); color: var(--ink);
  font-weight: 800; padding: 4px 8px; border-radius: var(--radius-pill);
}
.preview { position: relative; }

#vehicles ul, .vehicle-chips {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0;
}
#vehicles li, .vehicle-chips li {
  background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 8px 14px;
}
table { width: 100%; border-collapse: collapse; }
th { color: var(--ink); font-weight: 700; }
th, td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
details > summary { cursor: pointer; }
.faq details, #faq details, #faq details {
  border-bottom: 1px solid var(--line);
}
.faq details > summary, #faq details > summary, main details:not(.vin-help) > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 0; font-weight: 700; color: var(--ink); list-style: none;
}
.faq details > summary::-webkit-details-marker,
#faq details > summary::-webkit-details-marker,
main details:not(.vin-help) > summary::-webkit-details-marker { display: none; }
main details:not(.vin-help) > summary::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); flex: 0 0 8px;
}
main details:not(.vin-help)[open] > summary::after { transform: rotate(-135deg); }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding-block: 32px; }
.site-footer a:not(.btn) { color: var(--ink); margin-right: 12px; display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-weight: 600; }
.legal-draft { background: var(--warn-bg); color: var(--ink); padding: 12px 16px; font-weight: 800; }
.error { color: var(--danger-fg); font-weight: 700; }
.share-highlight { outline: 3px solid var(--accent); border-radius: var(--radius); padding: 12px; }
.muted { color: var(--muted); }
#cookie-banner {
  position: sticky; bottom: 0; z-index: 35; background: var(--surface-dark); color: var(--paper);
  padding: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
#cookie-banner[hidden] { display: none !important; }
#cookie-banner .btn--primary { background: var(--paper); color: var(--ink); }
#cookie-banner .btn--primary:hover { background: var(--surface-alt); }

@media (max-width: 480px) {
  .odo-row { flex-direction: column; align-items: stretch; }
  .segmented { width: 100%; flex-basis: auto; }
}
@media (max-width: 899px) {
  .nav-desktop, .header-cta { display: none; }
  .menu-button { display: inline-flex; }
}
@media (min-width: 768px) {
  .container, .wrap:not(:has(> .section)) { padding-inline: 24px; }
  .section { padding-block: var(--section-y); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .site-nav__panel { display: none !important; }
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    column-gap: 40px; row-gap: 16px; align-items: start;
  }
  .hero-grid > .beta-pill { grid-column: 1; grid-row: 1; }
  .hero-grid > .hero-main { grid-column: 1; grid-row: 2; }
  .hero-grid > .hero-preview { grid-column: 2; grid-row: 2; align-self: start; justify-self: end; max-width: 460px; width: 100%; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .report-preview { transform: none; }
}
@media (max-width: 720px) {
  .stack-table, .stack-table thead, .stack-table tbody { display: block; }
  .stack-table tr { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .stack-table td, .stack-table th { display: block; border: 0; padding: 0; }
}

/* Visual system: sections, cards, and shared controls. */
main.page:not(:has(.section)) { padding-top: 40px; padding-bottom: 80px; }
.section.hero { padding-top: 32px; padding-bottom: var(--section-y); }
.icon { width: 20px; height: 20px; flex: 0 0 20px; }
.icon-tile {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.icon-tile .icon { width: 20px; height: 20px; }
.persona { display: flex; flex-direction: column; padding: 24px; transition: box-shadow 150ms, transform 150ms; }
.persona:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.persona .eyebrow { margin-bottom: 8px; }
.persona-action { margin-top: auto; padding-top: 24px; }
.persona-action .btn { margin-top: 0; }
.eyebrow {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin: 0 0 8px;
}
.sample-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.sample-card p, .sample-card h3 { margin-top: 0; }
.sample-top, .preview-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sample-action { margin-top: auto; padding-top: 8px; }
.sample-action a, .text-link { font-weight: 700; text-decoration: none; }
.sample-action a:hover, .text-link:hover { text-decoration: underline; }
.grade-chip {
  width: 36px; height: 36px; border-radius: 10px; color: var(--paper); font-size: 18px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px;
}
.tier-pill {
  height: 26px; padding: 0 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700;
  gap: 6px; margin: 0; white-space: nowrap;
}
.tier-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 6px;
}
.grade-scale { display: grid; gap: 6px; }
.grade-bar, .spectrum { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.grade-seg { height: 10px; border-radius: 999px; opacity: .25; }
.grade-seg.is-active {
  opacity: 1;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--seg, var(--ink)) 30%, transparent);
}
.grade-bar--mini .grade-seg { height: 6px; }
.grade-letters { display: grid; grid-template-columns: repeat(5, 1fr); font-size: 12px; color: var(--muted); text-align: center; }
.grade-letters .is-active { color: var(--ink); font-weight: 700; }
.preview-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.preview-stats > div { padding: 0 8px; min-width: 0; }
.preview-stats > div + div { border-left: 1px solid var(--line); }
.preview-stats p { margin: 0; }
.stat-value { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
.preview-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.example-pill { margin-top: 0; }
.grade-row p { margin: 0; }
.steps {
  display: grid; grid-template-columns: 1fr; gap: 32px; list-style: none; padding: 0; margin: 0;
  container-type: inline-size;
}
.step { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.step__marker {
  position: relative; width: 40px; height: 40px; z-index: 1; border-radius: 50%;
  background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.step:not(:last-child) .step__marker::after {
  content: ""; position: absolute; top: 50%; left: 52px;
  width: calc((100cqw - 64px) / 3 - 32px);
  border-top: 2px dashed var(--line); transform: translateY(-50%); z-index: 0;
}
.step__body { margin-top: 16px; }
.step h3 { text-decoration: none; margin: 0 0 8px; }
.steps p, .step p { margin: 0; }
.tier-grid { align-items: stretch; }
.tier-card { display: flex; flex-direction: column; height: 100%; gap: 0; }
.tier-card .pill {
  display: inline-flex; width: auto; align-self: flex-start; align-items: center; gap: 6px; margin: 0;
}
.tier-card .pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 6px;
}
.tier-card h3 { margin: 12px 0 0; }
.tier-fact { margin-top: 16px; }
.tier-label {
  margin: 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700;
}
.tier-value { margin: 4px 0 0; font-size: 16px; color: var(--ink); }
.tier-meter { margin-top: auto; padding-top: 20px; }
.meter { height: 8px; background: var(--line); border-radius: var(--radius-pill); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; background: var(--tier-est-fg); }
.tier-card:has(.tier-connected) .meter span { background: var(--tier-con-fg); }
.tier-card:has(.tier-measured) .meter span { background: var(--tier-mea-fg); }
.meter-label {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 12px; color: var(--muted); margin: 8px 0 0;
}
.method-grid { display: grid; gap: 32px; align-items: start; }
.method-copy { max-width: 600px; }
.method-copy p { margin-top: 12px; }
.empty-card { text-align: center; padding: 20px; }
.empty-card h3, .empty-card p { margin-top: 0; }
.empty-icon { color: var(--accent); display: flex; justify-content: center; margin-bottom: 12px; }
.empty-icon .icon { width: 32px; height: 32px; flex-basis: 32px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.chip-row span {
  background: var(--surface-alt); border-radius: var(--radius-pill); padding: 4px 10px;
  font-size: 13px; font-weight: 700; color: var(--ink-2);
}
#vehicles .vehicle-chips, .vehicle-chips {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  list-style: none; padding: 0; margin: 0 0 20px;
}
#vehicles .vehicle-chips li, .vehicle-chips li {
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-width: 0;
}
.vchip-name { font-size: 16px; font-weight: 700; color: var(--ink); min-width: 0; }
.vchip-tag {
  font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--surface-alt);
  border-radius: var(--radius-pill); padding: 4px 8px; white-space: nowrap; text-transform: uppercase;
  min-width: 56px; text-align: center; flex: 0 0 auto;
}
.partner-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: var(--stack-gap);
}
.partner-card p, .partner-card h3 { margin: 0; }
.partner-card .btn { margin-top: auto; align-self: flex-start; }
.section--dark .icon-tile { background: rgba(255,255,255,.08); color: var(--paper); }
.faq-list { max-width: 800px; margin-inline: auto; }
.faq-list .section-head { margin-bottom: 8px; }
main details:not(.vin-help) > summary {
  padding: 20px 0; font-size: 18px; font-weight: 700;
}
main details:not(.vin-help) > summary::after {
  content: ""; width: 20px; height: 20px; border: 0; flex: 0 0 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") center / 20px 20px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") center / 20px 20px no-repeat;
  transform: none; transition: transform 200ms;
}
main details:not(.vin-help)[open] > summary::after { transform: rotate(180deg); }
main details:not(.vin-help) > p { font-size: 17px; color: var(--ink-2); padding-bottom: 20px; max-width: 720px; margin-top: 0; }
.about-block { max-width: 720px; margin-inline: auto; text-align: center; }
.about-block .section-head, .about-block p { margin-inline: auto; }
.monogram {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px;
}
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.site-footer {
  background: var(--surface-alt); border-top: 1px solid var(--line); color: var(--muted);
  padding: 48px 0; 
}
.footer-grid { display: grid; gap: 28px; }
.footer-brand p { margin-top: 12px; max-width: 280px; color: var(--muted); }
.site-footer h2 {
  font-family: inherit; font-size: 14px; line-height: 1.3; letter-spacing: 0;
  margin: 0 0 8px; color: var(--ink);
}
.site-footer a:not(.btn) {
  color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none;
  display: flex; align-items: center; min-height: 36px; margin: 0;
}
.site-footer a:not(.btn):hover { text-decoration: underline; }
.site-footer .brand { color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; min-height: 40px; }
.site-footer .brand:hover { text-decoration: none; }
.footer-meta { font-size: 13px; color: var(--muted); margin-top: 32px; }
#cookie-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 40; width: min(420px, calc(100% - 32px));
  background: var(--panel); color: var(--ink-2); padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-2); display: grid; gap: 12px; align-items: start;
  animation: cookie-in 200ms ease;
}
#cookie-banner p { margin: 0; font-size: 15px; color: var(--ink-2); }
#cookie-banner .btn--primary { background: var(--ink); color: var(--paper); }
#cookie-banner .btn--secondary { background: var(--paper); color: var(--ink); }
@keyframes cookie-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
main button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--radius-pill); border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: 16px; text-decoration: none;
}
main button.text-link {
  display: inline; height: auto; padding: 0; border-radius: 0; background: transparent;
  color: var(--accent); font-weight: 700; font-size: inherit; text-decoration: underline;
}
main label { display: grid; gap: 6px; font-weight: 700; color: var(--ink); margin: 0 0 16px; }
main label:has(> input[type="checkbox"]) { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
main label:has(> input[type="checkbox"]) input { width: 20px; height: 20px; margin-top: 2px; }
.wrap ul.plain { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.wrap:not(:has(> .section)) h1 { margin-bottom: 12px; }
.wrap:not(:has(> .section)) h2 { margin: 28px 0 8px; }
.wrap:not(:has(> .section)) > p, .wrap:not(:has(> .section)) p { max-width: 760px; }
.wrap:not(:has(> .section)) ul { padding-left: 1.25rem; }
.wrap:not(:has(> .section)) li { margin: 6px 0; }
@media (max-width: 767px) {
  main.page:not(:has(.section)) { padding-top: 24px; }
  .section.hero { padding-top: 32px; padding-bottom: var(--section-y); }
}
@media (min-width: 768px) {
  .section.hero { padding-top: 32px; padding-bottom: var(--section-y); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .method-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--stack-gap); align-items: start; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #vehicles .vehicle-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #vehicles .vchip-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #faq .faq-layout { grid-template-columns: 320px minmax(0, 1fr); gap: 64px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  #cookie-banner { animation: none; }
  .persona { transition: none; }
  main details:not(.vin-help) > summary::after { transition: none; }
}
@media (min-width: 900px) {
  .site-nav__panel { display: none !important; }
}

[hidden] { display: none !important; }
.report-shell { display: grid; gap: 24px; }
.report-head h1 { font-size: clamp(32px, 4vw, 44px); margin: 0; }
.report-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); font-size: 14px; margin-top: 12px; }
.report-meta .tier-pill { margin: 0; }
.sample-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  background: var(--accent-soft); color: var(--ink); border-radius: var(--radius); padding: 14px 18px;
}
.sample-banner p { margin: 0; flex: 1 1 220px; }
.print-url { display: none; margin: 8px 0 0; font-size: 13px; color: var(--muted); word-break: break-all; }
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.report-main, .report-sidebar, .report-wide { min-width: 0; }
.report-wide { display: grid; gap: 24px; }
.summary-card { padding: 32px; }
.grade-row--lg { align-items: center; }
.grade-chip--lg { width: 72px; height: 72px; font-size: 36px; border-radius: 14px; flex-basis: 72px; }
.summary-card h2 { font-size: 24px; line-height: 1.2; margin: 0 0 4px; }
.summary-card .grade-row p { margin: 0; font-size: 15px; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 24px; }
.stat { min-width: 0; padding-right: 12px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 16px; }
.stat p { margin: 0; }
.stat-k { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.stat-v { font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1.1; margin: 6px 0; }
.stat-sub { font-size: 14px; color: var(--muted); }
.percentile { margin-top: 20px; }
.percentile-track { position: relative; height: 8px; background: var(--line); border-radius: var(--radius-pill); }
.percentile-dot {
  position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--paper); transform: translate(-50%, -50%);
}
.percentile-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
.dollar-how { margin-top: 16px; }
.basis { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.basis li { display: flex; gap: 8px; align-items: flex-start; }
.details-card h2 { font-size: 20px; margin: 0 0 16px; }
.defs { display: grid; grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr); gap: 12px 16px; margin: 0; }
.defs > div { display: contents; }
.defs dt { margin: 0; font-size: 13px; color: var(--muted); font-weight: 700; }
.defs dd { margin: 0; min-width: 0; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.defs dd p { margin: 6px 0 0; font-weight: 400; color: var(--ink-2); }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.history li { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; min-width: 0; }
.history-date { flex: 0 0 7.5rem; }
.history-method { flex: 0 1 auto; }
.history-distance, .history-health { white-space: nowrap; }
.history-distance { margin-left: auto; }
.disclaimer-row { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 14px; margin-top: 16px; }
.disclaimer-row .disclaimer { margin: 0; font-size: 14px; color: var(--muted); }
.report-sidebar { display: grid; gap: 16px; align-content: start; }
.side-card { display: grid; gap: 12px; }
.side-card h3, .side-card p { margin: 0; }
.side-help { font-size: 13px; color: var(--muted); }
.feedback-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.share-field { position: relative; min-width: 0; max-width: 100%; overflow: hidden; }
.share-url { color: transparent; text-shadow: none; display: block; width: 100%; max-width: 100%; }
.share-mid {
  position: absolute; left: 12px; right: 12px; top: 0; bottom: 0;
  display: flex; align-items: center; gap: 0; pointer-events: none; color: var(--ink); overflow: hidden;
}
.share-start { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.share-end { flex: none; white-space: nowrap; }
.side-card .btn, .side-card button { max-width: 100%; }
#improve-form input::placeholder { color: var(--muted); opacity: 1; }
.side-card pre {
  margin: 0; padding: 12px; background: var(--surface-alt); border-radius: var(--radius-sm);
  overflow-x: auto; font-size: 13px; white-space: pre-wrap; word-break: break-all;
}
.verify-label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin: 0; }
.verify-verified .verify-label { color: var(--tier-mea-fg); }
.verify-sample .verify-label { color: var(--muted); }
.verify-expired .verify-label { color: var(--warn-fg); }
.verify-revoked .verify-label { color: var(--grade-f); }
.empty-center { max-width: 560px; margin: 48px auto; text-align: center; }
.empty-center h1 { font-size: clamp(32px, 4vw, 44px); }
@media (max-width: 640px) {
  .stat-row { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; margin-top: 16px; }
  .summary-card { padding: 20px; }
  .history-date { flex-basis: 6.5rem; }
}
@media (min-width: 1024px) {
  .report-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-areas: "main side" "wide wide";
    gap: 32px;
    align-items: start;
  }
  .report-main { grid-area: main; }
  .report-sidebar { grid-area: side; }
  .report-wide { grid-area: wide; }
}
@media print {
  .site-header, .report-sidebar, .feedback, #cookie-banner, .menu-button, .site-nav__menu-btn { display: none !important; }
  main details:not(.vin-help) > summary::after { display: none !important; }
  details, details > * { display: block !important; }
  details:not([open]) > *:not(summary) { display: block !important; }
  .print-url { display: block !important; }
  .share-url { color: var(--ink); }
  .share-mid { display: none !important; }
  .summary-card { width: 100%; break-inside: avoid; }
  .report-grid { display: block; }
}


main.page:has(.section):not(:has(.hero)) { padding-top: 40px; padding-bottom: 80px; }
.page-head { margin-bottom: 40px; }
.page-head .lead { max-width: 680px; margin-top: 12px; font-size: 19px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.reading { max-width: 760px; }
.tier-legend { display: flex; flex-wrap: wrap; gap: 12px 20px; list-style: none; padding: 0; margin: 0 0 20px; }
.tier-legend li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; }
.vehicle-filters {
  position: sticky; top: 76px; z-index: 20; display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow-1);
}
.filter-search { position: relative; flex: 1; display: block; margin: 0; }
.filter-search .icon { position: absolute; left: 14px; top: 12px; color: var(--muted); }
.filter-search input { height: 44px; padding-left: 42px; }
.filter-chips { display: flex; gap: 8px; }
.filter-chip { position: relative; margin: 0; }
.filter-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.filter-chip span {
  display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap;
}
.filter-chip:has(input:checked) span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-count { margin: 0; font-size: 14px; color: var(--muted); white-space: nowrap; }
.make-card { background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); margin-top: 16px; overflow: hidden; }
.make-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.make-head h2 { font-size: 18px; margin: 0; font-weight: 800; }
.count-pill { background: var(--surface-alt); border-radius: var(--radius-pill); padding: 4px 10px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.vehicle-row {
  display: grid; grid-template-columns: minmax(0, 1.6fr) auto auto auto; gap: 12px; align-items: center;
  padding: 16px 20px; border-top: 1px solid var(--line); text-decoration: none; color: inherit;
}
.vehicle-row:hover { background: var(--surface-alt); }
.vehicle-name { font-weight: 700; color: var(--ink); font-size: 16px; }
.vehicle-years { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.power-pill { background: var(--surface-alt); border-radius: var(--radius-pill); padding: 4px 10px; font-size: 12px; font-weight: 700; }
.tier-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.vehicle-action { justify-self: end; font-weight: 700; color: var(--accent); white-space: nowrap; }
.request-band { max-width: 640px; margin-inline: auto; text-align: center; }
.request-band h2 { margin-bottom: 8px; }
.request-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left; }
.form-success { background: var(--tier-mea-bg); color: var(--tier-mea-fg); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 700; }
@media (max-width: 767px) {
  main.page:has(.section):not(:has(.hero)) { padding-top: 24px; }
  .vehicle-filters { flex-wrap: wrap; }
  .filter-search { flex: 1 1 100%; }
  .filter-chips { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .filter-count { display: none; }
  .vehicle-row { grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 8px 12px; }
  .make-card { background: transparent; border: 0; }
  .vehicle-action { justify-self: start; }
  .request-grid { grid-template-columns: 1fr; }
}

.hero h1 { font-size: clamp(36px, 4.4vw, 48px); max-width: 16em; }
.decode-line { min-height: 1.4em; margin: 8px 0 0; color: var(--ink-2); font-weight: 700; }
.check-consent { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.form-details { margin-top: 12px; }
.form-details > summary { font-weight: 700; }
.form-card .input, .form-card select.input { width: 100%; max-width: 100%; }
.unit-note { margin: 0 0 16px; font-weight: 700; color: var(--ink-2); }
.help { color: var(--ink-2); font-size: 14px; }
.gauge-icon { margin-right: 6px; vertical-align: -2px; }
.tier-estimated_dash, .evidence-estimated_dash { background: var(--tier-est-bg); color: var(--tier-est-fg); }
.scope-banner { background: var(--surface-alt); border-radius: var(--radius-sm); padding: 12px 16px; margin: 16px 0; }
.warranty-pill { display: inline-flex; border-radius: var(--radius-pill); background: var(--surface-alt); padding: 4px 10px; font-weight: 700; }
.risk-card details { margin-top: 8px; }
.preview-flag { margin-top: 12px; color: var(--ink-2); }
.tip { border: 0; background: transparent; color: var(--ink-2); font-weight: 700; cursor: help; }
main.page:has(.hero) .section-head .lead { color: var(--muted); }
main.page:has(.hero) .section { padding-block: var(--section-y); }
main.page:has(.hero) .section.hero { padding-top: 32px; padding-bottom: var(--section-y); }
#faq .faq-layout { display: grid; gap: 24px; }
#faq .faq-accordion { min-width: 0; }
#about-teaser .about-layout { display: grid; gap: 16px; text-align: left; justify-items: start; }
#about-teaser .monogram { margin: 0; }
#about-teaser .about-copy { min-width: 0; }
#about-teaser .about-copy > p { max-width: 640px; margin-inline: 0; }
#about-teaser .about-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
#about-teaser .text-link { justify-content: flex-start; }
@media (max-width: 767px) {
  #vehicles .vehicle-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  main.page:has(.hero) .section { padding-block: var(--section-y); }
  main.page:has(.hero) .section.hero { padding-top: 32px; padding-bottom: var(--section-y); }
  #about-teaser .about-layout { grid-template-columns: 64px minmax(0, 1fr); column-gap: 24px; align-items: start; }
}
@media (max-width: 1023px) {
  .steps { grid-template-columns: 1fr; }
  .step__marker::after { display: none; }
}

.btn--primary,
.btn--primary:link,
.btn--primary:visited,
.btn--primary:hover,
.btn--primary:active,
.btn--primary:focus-visible { color: var(--paper); }
.btn--primary svg { stroke: currentColor; }
.btn--secondary, .btn--secondary:link, .btn--secondary:visited { color: var(--ink); }
.btn--ghost-light, .btn--ghost-light:link, .btn--ghost-light:visited { color: var(--paper); }

.footer-compact { display: none; }
.footer-compact__links, .footer-compact__legal { list-style: none; padding: 0; margin: 0; }
@media (max-width: 767px) {
  .footer-cols { display: none; }
  .site-footer { padding: 32px 0; }
  .site-footer .container { display: grid; gap: 16px; }
  .footer-compact { display: grid; gap: 16px; }
  .footer-compact__links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .footer-compact__links a:not(.btn) {
    display: inline; min-height: 0; margin: 0; font-size: 15px; color: var(--ink-2);
  }
  .footer-compact__legal { display: flex; flex-wrap: wrap; align-items: center; }
  .footer-compact__legal a:not(.btn) {
    display: inline; min-height: 0; margin: 0; font-size: 13px; color: var(--muted);
  }
  .footer-compact__legal a + a::before { content: "·"; margin: 0 0.45em; color: var(--muted); }
  .footer-meta { margin-top: 0; font-size: 13px; color: var(--muted); }
}
@media (min-width: 768px) {
  .footer-compact { display: none; }
}


.vin-flow.is-ready .flow-step { display: none; }
.vin-flow.is-ready .flow-step.is-current { display: block; }
.vin-flow.is-ready .no-js-submit { display: none; }
.vin-flow.is-ready #country-field { display: none; }
.vin-flow.is-ready #country-field.is-open { display: block; }
.input-vin { letter-spacing: .06em; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.step-progress { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.preview-head, .preview-details div { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.report-preview { padding: 24px; }
.preview-meta, .preview-note, .stat-sub, .check-consent { font-size: 13px; color: var(--muted); }
.preview-meta { font-size: 14px; }
.preview-stats { display: grid; grid-template-columns: 1fr 1fr; }
.preview-stats .stat + .stat { border-left: 1px solid var(--line); padding-left: 16px; }
.stat-label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stat-value { font-size: 28px; font-weight: 800; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: 14px; }
.provisional-pill { display: inline-block; margin-left: 6px; font-size: 11px; letter-spacing: 0; text-transform: none; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 1px 6px; }
.preview-details div { border-top: 1px solid var(--line); padding: 8px 0; font-size: 15px; }
.preview-details dt, .preview-details dd { margin: 0; }
@media (max-width: 480px) {
  .vin-flow .odo-row { display: grid; grid-template-columns: 1fr; }
}

.tier-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .tier-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
  .tier-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.veh-body { fill: var(--veh-body); stroke: var(--veh-stroke); stroke-width: 2.5; stroke-linejoin: round; }
.veh-glass { fill: var(--veh-glass); }
.veh-pillar { stroke: var(--veh-body); stroke-width: 5; }
.veh-tire { fill: var(--veh-tire); }
.veh-hub { fill: var(--veh-hub); }
.veh-ground { stroke: var(--veh-ground); stroke-width: 1.5; }
.veh-line { stroke: var(--veh-stroke); stroke-width: 1.5; }
.pack-shell { fill: var(--pack-empty); stroke: var(--pack-shell); stroke-width: 1.5; }
.pack-fill { transform-box: fill-box; transform-origin: left center; animation: fill .4s ease-out both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .pack-fill { animation: none; } }
.veh-silhouette { width: min(100%, 520px); height: auto; }
.report-silhouette { max-height: none; }
.preview-silhouette { width: min(100%, 280px); max-height: none; }
.sample-silhouette { width: min(100%, 180px); max-height: none; }
.vehicle-icon { width: 48px; height: auto; }
.battery-gauge, .range-bar, .health-chart { margin: 0; min-width: 0; }
.gauge-scale { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
.gauge-track, .range-track, .timeline-track { position: relative; height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.timeline-track { height: 6px; overflow: visible; }
.gauge-fill { display: block; height: 100%; background: var(--accent); }
.gauge-band { position: absolute; top: 0; height: 10px; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.gauge-tick { position: absolute; top: -4px; width: 2px; height: 18px; background: var(--accent); }
.gauge-caption, .range-caption, .timeline-note, .step__num { font-size: 12px; color: var(--muted); }
.range-now { display: block; height: 100%; background: var(--accent); float: left; }
.range-lost { display: block; height: 100%; background: color-mix(in srgb, var(--grade-f) 45%, transparent); float: left; }
.chart-band { fill: color-mix(in srgb, var(--accent) 14%, transparent); }
.chart-median, .chart-adac { stroke: var(--accent); stroke-width: 2; }
.chart-dashed { stroke: var(--accent); stroke-width: 2; }
.mileage-line { stroke: var(--ink); }
.car-point { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.chart-label, .chart-tick { font-size: 12px; fill: var(--muted); }
.timeline-marker { position: absolute; top: -3px; width: 4px; height: 12px; border-radius: 2px; }
.report-visuals { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.chart-head { display: grid; gap: 16px; align-items: start; }
.health-chart svg { display: block; width: 100%; height: auto; }
.health-chart figcaption { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (min-width: 720px) {
  .chart-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}
.logo-mark { width: 40px; height: 40px; }
.step__num { margin: 4px 0 0; }

.evidence { display: grid; gap: 16px; }
.evidence-q1, .evidence-q2, .evidence-card { min-width: 0; }
.evidence-q1 {
  background: var(--surface-alt);
  border-radius: 14px;
  padding: 20px;
}
.evidence-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.evidence-q1 h3, .evidence-card h3 { margin: 0 0 8px; }
.evidence-q1 p, .evidence-card p { margin: 0 0 8px; }
.evidence-caption { margin: 8px 0 0; font-size: 14px; color: var(--ink); }
.evidence-muted, .report-answers, .gap-line { font-size: 14px; color: var(--muted); }
.evidence-muted { margin: 4px 0 0; font-size: 13px; }
.report-answers { margin: 8px 0 0; }
.evidence-cards { display: grid; gap: 12px; }
.evidence-card { display: flex; flex-direction: column; }
.accuracy-tag {
  align-self: flex-start;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--success-fg);
  background: var(--success-bg);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}
.range-band { margin-top: 8px; }
.range-band__track {
  position: relative;
  height: 14px;
  border-radius: 7px;
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 1px var(--line);
}
.range-band__fill { position: absolute; top: 0; height: 14px; border-radius: 7px; }
.range-band__fill--model { background: var(--band-model); }
.range-band__fill--car { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.range-band__fill--measured { background: color-mix(in srgb, var(--grade-a) 35%, transparent); }
.range-band__dot {
  position: absolute;
  top: 2px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--ink);
}
.range-band__labels { position: relative; height: 20px; margin-top: 16px; }
.range-band__label {
  position: absolute;
  top: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: var(--ink);
  white-space: nowrap;
}
.range-band__label[data-edge="mid"] { transform: translateX(-50%); }
.range-band__label[data-edge="end"] { transform: translateX(-100%); }
.range-band__label--ref::before,
.range-band__label--car::before {
  content: "";
  display: inline-block;
  margin-right: 4px;
  vertical-align: -1px;
}
.range-band__label--ref::before {
  width: 14px;
  height: 8px;
  border-radius: 4px;
  background: var(--band-model);
}
.range-band__label--car::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--band-dot);
}
.range-band__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.range-band__once { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.accuracy-progress { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.accuracy-progress li { font-size: 14px; color: var(--muted); }
.data-request { margin-top: 16px; display: grid; gap: 8px; }
.data-request-fields { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.data-request-fields label { display: grid; gap: 4px; font-size: 14px; }
.stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-row.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) {
  .stat-row, .stat-row.tiles-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat + .stat { border-left: 1px solid var(--line); border-top: 0; padding: 0 0 0 16px; margin-top: 0; }
}
@media (min-width: 900px) {
  .evidence { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); align-items: stretch; }
  .evidence-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.site-nav__menu-btn { display: none; }
@media (max-width: 899px) {
  .site-nav__links, .site-nav__cta { display: none; }
  .site-nav__menu-btn { display: inline-flex; }
}

.hero h1 { font-size: var(--fs-display); font-weight: 800; }
.lead { font-size: var(--fs-lead); font-weight: 400; }
.eyebrow { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--accent); }
.figure, .money, .soh, .num, .stat { font-variant-numeric: tabular-nums; }
.brand-lockup { height: 36px; width: auto; }
.footer-brand .brand-lockup, .footer-compact .brand-lockup { height: 32px; }
.brand-lockup--dark { display: none; }
html[data-theme="dark"] .brand-lockup--light { display: none; }
html[data-theme="dark"] .brand-lockup--dark { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .brand-lockup--light { display: none; }
  html:not([data-theme="light"]) .brand-lockup--dark { display: block; }
}
@media (max-width: 899px) {
  .brand-lockup { height: 32px; }
}
.btn, .button, button.primary { border-radius: var(--radius-pill); font-weight: 700; }
.btn:focus-visible, .button:focus-visible, button:focus-visible { box-shadow: var(--focus-ring); }
html[data-theme="dark"] .btn--primary,
html[data-theme="dark"] .btn--primary:link,
html[data-theme="dark"] .btn--primary:visited,
html[data-theme="dark"] .btn--primary:hover { background: var(--accent); color: var(--brand-ink); }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .btn--primary,
  html:not([data-theme="light"]) .btn--primary:link,
  html:not([data-theme="light"]) .btn--primary:visited,
  html:not([data-theme="light"]) .btn--primary:hover { background: var(--accent); color: var(--brand-ink); }
}
.btn--secondary, .button.secondary { background: var(--surface); border: 1.5px solid var(--ink); }
.input, input:not([type="radio"]):not([type="checkbox"]), select, textarea { border-color: var(--line-strong); background-color: var(--panel); color: var(--ink); }
.card, .form-card { border-radius: var(--radius); }
.form-card, .report-main, .hero .form-card { border-radius: var(--radius-lg); }
.card:hover { box-shadow: var(--shadow-2); }
a:not(.btn) { text-underline-offset: 3px; }
a:not(.btn):hover { color: var(--accent-strong); }
.hero { position: relative; overflow: hidden; }
.hero-mark { display: none; }
@media (min-width: 1024px) {
  .hero-mark {
    display: block; position: absolute; right: 4%; top: 40px; width: 420px; height: auto;
    color: var(--line-strong); opacity: .06; pointer-events: none;
  }
}
.mini-band { display: inline-block; width: 16px; height: 8px; margin-right: 8px; vertical-align: middle; }
.band-loader {
  width: 120px; height: 14px; border-radius: 7px; background: var(--band-model); position: relative; overflow: hidden;
}
.band-loader::after {
  content: ""; position: absolute; top: 2px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--band-dot); box-shadow: 0 0 0 2px var(--band-dot-ring);
  animation: band-slide 1.2s ease-in-out infinite alternate;
}
@keyframes band-slide { from { left: 4px; } to { left: 106px; } }
@media (prefers-reduced-motion: reduce) {
  .band-loader::after { animation: none; left: 55px; }
}
.missing-glyph { width: 72px; height: 42px; color: var(--muted); }
.brand-page { display: grid; gap: 24px; }
.brand-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-swatch { width: 96px; height: 64px; border-radius: var(--radius-sm); border: 1px solid var(--line); }

.verdict { border-radius: var(--radius); padding: 16px; margin: 12px 0; }
.verdict h3 { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.verdict p { font-size: 15px; margin: 0; }
.verdict--info { background: var(--info-bg); color: var(--info-fg); }
.verdict--success { background: var(--success-bg); color: var(--success-fg); }
.verdict--warning { background: var(--warn-bg); color: var(--warn-fg); }
.verdict--danger { background: var(--danger-bg); color: var(--danger-fg); }
.decision-tiles, .what-you-get { display: grid; gap: 12px; }
.decision-card { container-type: inline-size; }
.keep-phrase { white-space: nowrap; }
@container (min-width: 40rem) {
  .decision-tiles:has(> .stat:nth-child(2)) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (min-width: 800px) {
  .what-you-get { grid-template-columns: repeat(3, 1fr); }
}
.decision-legend { display: flex; gap: 16px; list-style: none; padding: 0; margin: 8px 0; font-size: 14px; }
.next-move { margin: 8px 0 0; padding-left: 20px; }
.decision-vehicle { font-weight: 700; }
.what-you-get + .persona-action { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Homepage density: hero alignment, tighter sections, compact steps. */
.hero-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero .beta-pill, .hero h1, .hero .lead, .hero .trust-list { margin: 0; }
.hero h1 { font-size: clamp(34px, 3.6vw, 46px); max-width: 18ch; }
.hero .lead { max-width: 52ch; }
.hero .form-card { padding: 20px; width: 100%; }
.hero .trust-list { margin-top: -4px; }
.hero-preview { min-width: 0; }
.hero-mark { display: none !important; }
#vin-help-button.text-link {
  height: auto; min-height: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: var(--accent); font-size: 14px; font-weight: 700;
  box-shadow: none;
}
#vin-help-button.text-link:hover { background: transparent; color: var(--accent); text-decoration: underline; }
.shift-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.shift-list li { margin: 0; }
.steps--compact { margin: 0 0 24px; gap: var(--stack-gap); }
.steps--compact .step { flex-direction: row; align-items: flex-start; gap: 12px; }
.steps--compact .step__icon { flex: 0 0 32px; width: 32px; height: 32px; }
.steps--compact .step-art { width: 32px; height: 32px; }
.steps--compact .step__body { margin-top: 0; }
.steps--compact .step__body p { font-size: 14px; }
.sample-action { margin-top: 0; padding-top: 0; }
.sample-card { padding: 20px; }
#vehicles.section, #partners.section { padding-block: calc(var(--section-y) * 0.75); }
#vehicles .vchip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.section-head .lead { max-width: 68ch; }
.site-footer .footer-founder { margin: 8px 0 0; max-width: 36ch; font-size: 14px; color: var(--muted); }
.site-footer .footer-founder a {
  display: inline; min-height: 0; margin: 0; font-size: 14px; font-weight: 700; color: var(--accent);
}
@media (min-width: 768px) {
  #vehicles .vehicle-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .hero-preview { max-width: none; width: 100%; justify-self: stretch; }
}

/* The example card stays in its own column. Citations wrap inside the card. */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 28.75rem);
    column-gap: 48px;
  }
  .hero-grid > .hero-main,
  .hero-grid > .hero-preview {
    min-width: 0;
    width: auto;
    max-width: 100%;
    justify-self: stretch;
    align-self: start;
  }
}
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid > .hero-main,
  .hero-grid > .hero-preview {
    grid-column: 1;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
}
.hero-preview .decision-card { max-width: 100%; min-width: 0; }
.decision-sources,
.decision-sources a,
.health-chart figcaption,
.health-chart figcaption a {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  font-size: 14px;
  line-height: 1.45;
}
.vin-flow .flow-step .btn--block + p { margin-top: 12px; }
.btn-spinner {
  width: 1em; height: 1em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  display: inline-block; vertical-align: -0.15em;
  animation: btn-spin 0.7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn-spinner { animation: none; border-right-color: currentColor; opacity: 0.7; }
}
button[aria-busy="true"] { cursor: progress; }

html[data-theme="dark"] main button:not(.text-link),
html[data-theme="dark"] button.primary,
html[data-theme="dark"] #cookie-banner .btn--primary {
  background: var(--accent);
  color: var(--brand-ink);
}
html[data-theme="dark"] #cookie-banner .btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
html[data-theme="dark"] .skip {
  background: var(--brand-ink);
  color: #FFFFFF;
}
html[data-theme="dark"] .filter-chip:has(input:checked) span {
  background: var(--accent);
  color: var(--brand-ink);
  border-color: var(--accent);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) main button:not(.text-link),
  html:not([data-theme="light"]) button.primary,
  html:not([data-theme="light"]) #cookie-banner .btn--primary {
    background: var(--accent);
    color: var(--brand-ink);
  }
  html:not([data-theme="light"]) #cookie-banner .btn--secondary {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line-strong);
  }
  html:not([data-theme="light"]) .skip {
    background: var(--brand-ink);
    color: #FFFFFF;
  }
  html:not([data-theme="light"]) .filter-chip:has(input:checked) span {
    background: var(--accent);
    color: var(--brand-ink);
    border-color: var(--accent);
  }
}
