:root {
  --blue: #1358d6;
  --blue-dark: #0b3c99;
  --navy: #0e1f3d;
  --accent: #f2711c;
  --accent-dark: #d65f10;
  --bg: #f4f6fa;
  --card: #ffffff;
  --text: #1b2433;
  --muted: #637087;
  --line: #dfe4ec;
  --pass: #138a4b;
  --pass-bg: #e3f6ec;
  --caution: #a86a00;
  --caution-bg: #fff3d6;
  --avoid: #c62828;
  --avoid-bg: #fde6e6;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(14, 31, 61, 0.06), 0 4px 16px rgba(14, 31, 61, 0.06);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 0.6em; }
h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: 0.9em; background: rgba(0,0,0,0.06); padding: 0.1em 0.35em; border-radius: 4px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.section { padding: 40px 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.mono { font-family: var(--mono); letter-spacing: 0.03em; }
.hidden { display: none !important; }
.loading { color: var(--muted); padding: 12px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.lead { font-size: 1.12rem; color: #3b475c; }
.warn { color: var(--caution); }
.ok { color: var(--pass); }
.form-error { color: var(--avoid); font-size: 0.9rem; min-height: 0; margin: 6px 0; }
.form-error:empty { margin: 0; }
.req { color: var(--avoid); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--blue); color: #fff; border: 1px solid var(--blue);
  padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; text-decoration: none; font-family: inherit; white-space: nowrap;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: #eaf1fe; color: var(--blue-dark); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: #e8eefb; border-color: #e8eefb; }
.btn-sm { padding: 6px 12px; font-size: 0.85rem; }
.btn-lg { padding: 13px 24px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; color: var(--navy); letter-spacing: -0.01em; }
.logo:hover { text-decoration: none; }
.logo-mark { color: var(--blue); display: inline-flex; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav a.active { color: var(--blue); }
.nav a.btn { color: #fff; }
.nav a.btn-outline { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--navy); }

.demo-bar { background: #fff8e6; border-bottom: 1px solid #f1dfb0; font-size: 0.85rem; color: #6b4e00; }
.demo-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.demo-controls { display: inline-flex; align-items: center; gap: 8px; }
.demo-controls select { font: inherit; padding: 2px 6px; border-radius: 6px; border: 1px solid #e0c98a; background: #fff; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(160deg, var(--navy) 0%, #143a7d 60%, var(--blue) 100%); color: #fff; padding: 64px 0 72px; }
.hero h1 { color: #fff; max-width: 820px; font-size: clamp(1.9rem, 4.2vw, 3rem); }
.hero .lead { color: #d5e1f7; max-width: 720px; }
.hero .eyebrow { color: #8fb6ff; }
.hero-hint { color: #b9cbec; margin-top: 10px; }
.hero-hint a { color: #fff; text-decoration: underline; }
.hero .form-error { color: #ffb4b4; }

/* ---------- VIN form ---------- */
.vin-form { display: flex; gap: 8px; max-width: 640px; }
.vin-form input {
  flex: 1; min-width: 0; padding: 11px 14px; font-size: 1rem; font-family: var(--mono);
  letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 8px;
}
.vin-form input::placeholder { text-transform: none; letter-spacing: normal; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.vin-form-lg input { padding: 15px 18px; font-size: 1.15rem; border: 0; box-shadow: var(--shadow); }
.vin-form-lg .btn { padding: 0 26px; font-size: 1.05rem; }
.vin-form + .form-error { margin-top: 8px; }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; overflow: hidden; }
.card-body { padding: 20px 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.grid .card { margin: 0; }

.teaser { display: block; color: inherit; transition: transform 0.12s, box-shadow 0.12s; }
.teaser:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(14,31,61,0.12); }
.teaser-thumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #22324f, #3f5a8a); display: flex; align-items: center; justify-content: center; }
.teaser-thumb .play { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; padding-left: 3px; }
.lock-pill { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.75rem; padding: 3px 9px; border-radius: 99px; }
.teaser .card-body { padding: 14px 16px; }
.teaser-title { font-weight: 700; color: var(--navy); }
.teaser-meta { display: flex; justify-content: space-between; color: var(--muted); margin-top: 6px; gap: 8px; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.section-head h2 { margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: #eaf1fe; color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }

.band { background: var(--navy); color: #fff; padding: 40px 0; margin-top: 20px; }
.band h2 { color: #fff; }
.band p { color: #c7d3ea; margin: 0; max-width: 640px; }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }

/* ---------- badges ---------- */
.badge { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-big { font-size: 0.95rem; padding: 6px 14px; }
.badge-pass { background: var(--pass-bg); color: var(--pass); }
.badge-caution { background: var(--caution-bg); color: var(--caution); }
.badge-avoid { background: var(--avoid-bg); color: var(--avoid); }
.badge-none { background: #eef1f6; color: var(--muted); }
.count-pill { display: inline-block; background: #eaf1fe; color: var(--blue); font-size: 0.8rem; padding: 1px 9px; border-radius: 99px; vertical-align: middle; }

/* ---------- VIN results ---------- */
.vin-layout { display: grid; grid-template-columns: 340px 1fr; gap: 24px; margin-top: 24px; align-items: start; }
.vehicle-title { font-size: 1.35rem; margin-bottom: 4px; }
.results-title { font-size: 1.25rem; }
.facts { margin-top: 14px; display: grid; gap: 0; }
.fact { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #eef1f5; font-size: 0.92rem; }
.fact:last-child { border-bottom: 0; }
.fact-label { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.fact-value { text-align: right; font-weight: 500; word-break: break-word; }
.recalls { list-style: none; padding: 0; margin: 0; }
.recalls li { border-top: 1px solid #eef1f5; padding: 8px 0; }
.recalls summary { cursor: pointer; font-size: 0.92rem; }
.recalls details p { margin: 8px 0 0; }

.inspection-video { background: #000; }
.inspection-video video { display: block; width: 100%; max-height: 520px; background: #000; }
.video-wrap { position: relative; background: #000; overflow: hidden; }
.video-wrap video { display: block; width: 100%; max-height: 520px; background: #000; }
.wm-pattern {
  position: absolute; inset: -45%;
  display: flex; flex-wrap: wrap; gap: 36px 52px;
  align-content: center; justify-content: center;
  transform: rotate(-28deg);
  pointer-events: none; user-select: none;
  color: rgba(255,255,255,0.16);
  font-weight: 800; font-size: clamp(0.85rem, 2.2vw, 1.35rem);
  letter-spacing: 0.16em; text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.wm-pattern span { white-space: nowrap; }
.wm-credit {
  position: absolute; left: 12px; bottom: 48px; right: 40%;
  pointer-events: none; user-select: none;
  max-width: 72%;
  padding: 8px 10px;
  background: linear-gradient(90deg, rgba(0,0,0,0.62), rgba(0,0,0,0.28), transparent);
  border-radius: 4px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.85);
}
.wm-credit-title { font-size: 0.84rem; font-weight: 800; line-height: 1.25; }
.wm-credit-line { font-size: 0.78rem; font-weight: 600; opacity: 0.95; margin-top: 2px; }
.wm-credit-cta { font-size: 0.7rem; font-weight: 600; opacity: 0.88; margin-top: 2px; }
.wm-viewer {
  position: absolute; right: 12px; bottom: 48px;
  pointer-events: none; user-select: none;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.courtesy {
  margin: 12px 0 4px;
  padding: 12px 14px;
  background: #eaf1fe;
  border: 1px solid #c8d9fa;
  border-radius: 8px;
}
.courtesy-title { font-weight: 800; color: var(--navy); }
.courtesy-line { margin-top: 4px; }
.followup {
  margin: 14px 0 6px;
  padding: 14px 16px;
  display: flex;
  gap: 16px;
  align-items: stretch;
  background: #eaf1fe;
  border: 1px solid #c8d9fa;
  border-radius: 10px;
}
.followup-stale { background: #fff6ea; border-color: #f0d2a8; }
.followup-metric {
  flex: 0 0 auto;
  min-width: 88px;
  padding: 8px 10px;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #d5e2f8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.followup-stale .followup-metric { border-color: #f0d2a8; }
.followup-num { font-size: 1.7rem; font-weight: 800; line-height: 1.05; color: var(--navy); }
.followup-unit { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.followup-body { min-width: 0; }
.followup-title { font-weight: 800; color: var(--navy); }
.followup-body p { margin: 4px 0 8px; font-size: 0.95rem; }
.followup-line { margin: 0 0 10px; }
.followup-body .btn { margin-bottom: 8px; }
.followup-body .small { margin: 0; }
.credit-card { border-color: #c8d9fa; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.optional-block { margin: 8px 0 18px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #f9fbfe; }
.optional-block summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.optional-block[open] summary { margin-bottom: 12px; }
.email-hint { margin-bottom: 16px; background: #eaf1fe; border-color: #c8d9fa; }
.email-post h2 { margin-bottom: 8px; }
.ingest-addr { display: flex; gap: 8px; margin: 10px 0; }
.ingest-addr input { flex: 1; min-width: 0; padding: 10px 12px; font: inherit; font-weight: 700; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 12px; }
.inline-form label { flex: 1; min-width: 220px; margin: 0; font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.inline-form input { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; font: inherit; font-weight: 400; border: 1px solid #cdd5e1; border-radius: 7px; }
.demo-email { margin-top: 16px; }
.demo-email summary { cursor: pointer; color: var(--blue); }
.draft-card { border-color: #f1dfb0; background: #fffdf6; }
.vin-confirm { margin-top: 14px; }
.vin-confirm label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.vin-confirm input { display: block; width: 100%; max-width: 360px; margin-top: 5px; padding: 9px 11px; font: inherit; font-weight: 400; border: 1px solid #cdd5e1; border-radius: 7px; }
.video-placeholder { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: #c3cde0; background: linear-gradient(135deg, #22324f, #3f5a8a); font-size: 0.95rem; }
.inspection-head { display: flex; gap: 14px; align-items: center; }
.inspection-title { font-weight: 700; color: var(--navy); font-size: 1.08rem; }
.verdict-blurb { margin: 10px 0 0; color: var(--muted); }
.notes { margin-top: 14px; background: #f7f9fc; border-radius: 8px; padding: 12px 14px; }
.notes p { margin: 6px 0 0; }

/* ---------- AI analysis ---------- */
.ai-panel { margin-top: 16px; border: 1px solid #d6e2fb; background: #f5f8ff; border-radius: 10px; padding: 14px 16px; }
.ai-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.ai-title { font-weight: 800; color: var(--navy); }
.beta-pill { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); border: 1px solid #b8cdf7; border-radius: 99px; padding: 1px 7px; }
.ai-head .badge { margin-left: auto; }
.ai-summary { margin: 0 0 10px; }
.ai-panel details summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.ai-alert { background: var(--caution-bg); color: #7a4d00; border-radius: 8px; padding: 8px 12px; font-size: 0.88rem; margin: 10px 0; }
.findings { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.finding { background: #fff; border: 1px solid var(--line); border-left: 4px solid #c3ccda; border-radius: 8px; padding: 9px 12px; }
.finding-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 2px; }
.finding .sev { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.sev-critical, .sev-major { border-left-color: var(--avoid); }
.sev-critical .sev, .sev-major .sev { color: var(--avoid); }
.sev-moderate { border-left-color: #e0a100; }
.sev-moderate .sev { color: var(--caution); }
.ts { margin-left: auto; font: inherit; font-size: 0.8rem; font-family: var(--mono); background: var(--navy); color: #fff; border: 0; border-radius: 6px; padding: 2px 8px; cursor: pointer; }
.ts:hover { background: var(--blue); }
.ai-extra { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 10px 0; }
.remarks div { font-style: italic; margin-top: 2px; }
.ai-disclaimer { margin: 10px 0 0; }
.spinner { display: inline-block; width: 12px; height: 12px; border: 2px solid #b8cdf7; border-top-color: var(--blue); border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: -1px; margin-right: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

.paywall { position: relative; }
.paywall-blur { padding: 24px; filter: blur(3px); opacity: 0.5; }
.fake-line { height: 14px; background: #d8dfeb; border-radius: 6px; margin-bottom: 12px; }
.w60 { width: 60%; } .w75 { width: 75%; } .w90 { width: 90%; }
.paywall-body { padding: 0 24px 26px; text-align: center; }
.paywall-icon { font-size: 2rem; }
.price-line { color: var(--navy); }
.paywall-body .btn { margin: 4px; }

.empty h3 { margin-bottom: 8px; }

.share-row { display: flex; gap: 8px; margin: 8px 0; }
.share-row input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 0.88rem; color: var(--muted); }

/* ---------- forms ---------- */
.form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; color: var(--navy); }
.form input:not([type=radio]):not([type=checkbox]):not([type=file]),
.form select, .form textarea, .filters input, .filters select {
  display: block; width: 100%; margin-top: 5px; padding: 9px 11px; font: inherit; font-weight: 400;
  border: 1px solid #cdd5e1; border-radius: 7px; background: #fff; color: var(--text);
  min-height: 42px; box-sizing: border-box;
}
.form input:focus, .form select:focus, .form textarea:focus, .vin-form input:focus { outline: 2px solid rgba(19, 88, 214, 0.35); border-color: var(--blue); }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form legend { font-weight: 800; color: var(--navy); font-size: 1.05rem; margin-bottom: 10px; padding: 0; }
.row2, .row3 { display: grid; gap: 12px; }
.row2 { grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: repeat(3, 1fr); }
.inline-input { display: flex; gap: 8px; align-items: center; margin-top: 5px; }
.inline-input input { margin-top: 0 !important; }
.form .btn-field { display: flex; align-items: flex-end; margin-bottom: 14px; }
.form .btn-field .btn { width: 100%; min-height: 42px; }
.file-drop { border: 2px dashed #b9c5d8; border-radius: 10px; padding: 20px; text-align: center; background: #f9fbfe; font-weight: 500 !important; color: var(--muted) !important; }
.file-drop.drag { border-color: var(--blue); background: #eaf1fe; }
.file-drop label { margin: 0; cursor: pointer; }
.file-drop input[type=file] { display: block; margin: 0 auto 10px; }
.file-drop [data-clear-file] { margin-top: 10px; }
#preview { width: 100%; max-height: 360px; border-radius: 8px; background: #000; margin-top: 8px; }
.verdict-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.form label.radio { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; cursor: pointer; }
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.88rem; color: var(--text); }
.form label.check input { margin-top: 3px; }
.progress { position: relative; height: 26px; background: #eef1f6; border-radius: 8px; overflow: hidden; margin: 10px 0; }
.progress-bar { height: 100%; width: 0; background: var(--blue); transition: width 0.2s; }
#progress-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.auth { max-width: 460px; }

.filters-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.filters label { font-weight: 600; font-size: 0.85rem; color: var(--navy); flex: 1; min-width: 160px; }

/* ---------- signup chooser & verification ---------- */
.chooser { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0; text-align: left; }
.choice { display: flex; flex-direction: column; gap: 10px; padding: 26px; color: inherit; margin: 0; transition: transform 0.12s, box-shadow 0.12s, border-color 0.12s; }
.choice:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--blue); box-shadow: 0 6px 22px rgba(14,31,61,0.12); }
.choice h2 { margin: 0; font-size: 1.25rem; }
.choice p { margin: 0; color: var(--muted); flex: 1; }
.choice .btn { margin-top: 6px; }
.choice-icon { font-size: 2rem; }

.onetime { background: #eaf1fe; border: 1px solid #c8d9fa; border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; color: #1d3a72; }
.onetime .ready { margin-top: 8px; color: #33507f; }
.step-pill { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.8rem; align-items: center; justify-content: center; margin-right: 6px; vertical-align: 1px; }
.steps-bar { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 6px; flex-wrap: wrap; }
.steps-bar li { flex: 1; min-width: 130px; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.steps-bar li span { width: 22px; height: 22px; border-radius: 50%; background: #eef1f6; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.78rem; flex-shrink: 0; }
.steps-bar li.done { color: var(--pass); }
.steps-bar li.done span { background: var(--pass-bg); color: var(--pass); }
.steps-bar li.current { color: var(--navy); border-color: var(--blue); font-weight: 600; }
.steps-bar li.current span { background: var(--blue); color: #fff; }
.big-check { width: 64px; height: 64px; border-radius: 50%; background: var(--pass-bg); color: var(--pass); font-size: 2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 4px auto 14px; }

/* ---------- dashboard & admin ---------- */
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid #eef1f5; font-size: 0.92rem; }
.table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); background: #f7f9fc; }
.table tr:last-child td { border-bottom: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs a { padding: 9px 16px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--blue); border-bottom-color: var(--blue); }
.tabs a:hover { text-decoration: none; color: var(--navy); }
.admin-layout { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: start; }
.checklist { position: sticky; top: 90px; }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.app-head h2 { margin: 0 0 4px; }
.two-col { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.app-files { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; }
.doc-slot { margin-top: 6px; }
.doc-slot video { width: 100%; max-height: 240px; background: #000; border-radius: 8px; }
.admin-note { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.admin-note textarea { display: block; width: 100%; margin-top: 5px; padding: 8px 10px; font: inherit; font-weight: 400; border: 1px solid #cdd5e1; border-radius: 7px; }
.admin-actions { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }

/* ---------- pricing ---------- */
.plan { max-width: 420px; margin: 28px auto; text-align: left; }
.plan-name { font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; }
.plan-price { font-size: 2.6rem; font-weight: 800; color: var(--navy); margin: 6px 0 14px; }
.plan-price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { padding: 6px 0 6px 26px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--pass); font-weight: 800; }

.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: 0.4em; }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.logo-footer { margin-bottom: 4px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.92rem; }
.footer-fine { font-size: 0.8rem; margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .vin-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .admin-layout { grid-template-columns: 1fr; }
  .checklist { position: static; }
}
@media (max-width: 640px) {
  .chooser, .app-files, .two-col { grid-template-columns: 1fr; }
  .table th:nth-child(2), .table td:nth-child(2), .table th:nth-child(5), .table td:nth-child(5) { display: none; }
  .followup { flex-direction: column; gap: 10px; }
  .followup-metric { min-width: 0; flex-direction: row; align-items: baseline; gap: 8px; justify-content: flex-start; padding: 8px 12px; }
  .followup-num { font-size: 1.35rem; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav a.btn { margin-top: 8px; }
  .header-inner { position: relative; }
  .row3, .row2 { grid-template-columns: 1fr; }
  .vin-form { flex-direction: column; }
  .vin-form-lg .btn { padding: 14px; }
  .hero { padding: 40px 0 48px; }
}
