:root {
  --navy: #071a36;
  --navy-2: #0b2855;
  --blue: #1264d8;
  --blue-dark: #0b4da9;
  --sky: #eaf4ff;
  --gold: #f2b632;
  --gold-dark: #d79409;
  --ink: #17243a;
  --muted: #5b6779;
  --line: #dce5f0;
  --soft: #f4f8fc;
  --white: #fff;
  --green: #18794e;
  --red: #c63737;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(4, 24, 57, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 9999; padding: 10px 16px; color: white; background: var(--blue); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.page-width { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; color: white; border-bottom: 1px solid rgba(255,255,255,.18); }
.nav-wrap { width: min(1220px, calc(100% - 40px)); height: 92px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand span { font: 800 23px/1 Outfit, sans-serif; letter-spacing: -.03em; }
.brand b { color: #77b4ff; }
.brand small { margin-top: 7px; color: #b9d8ff; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.top-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.top-links a { text-decoration: none; }
.top-links a:not(.nav-cta):hover { color: #b9d8ff; }
.top-links .phone { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.3); }
.nav-cta { padding: 11px 19px; color: #102444; background: var(--gold); border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }

.hero { position: relative; min-height: 820px; overflow: hidden; color: white; background: var(--navy); }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { background: url("auto-hero.jpeg") center 58%/cover no-repeat; transform: scale(1.015); }
.hero-shade { background: linear-gradient(90deg, rgba(5,20,47,.96) 0%, rgba(7,27,60,.88) 43%, rgba(7,28,62,.36) 72%, rgba(7,28,62,.14) 100%), linear-gradient(0deg, rgba(3,18,41,.68), transparent 45%); }
.hero-inner { position: relative; z-index: 2; width: min(1220px, calc(100% - 40px)); min-height: 820px; margin-inline: auto; padding: 144px 0 70px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(440px, .8fr); gap: 74px; align-items: center; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 30px; color: #c4d9f7; font-size: 13px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: white; text-decoration: underline; }
.eyebrow, .section-kicker { color: #0b57ba; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; padding: 7px 12px; color: #d9eaff; background: rgba(25,111,221,.2); border: 1px solid rgba(125,181,255,.3); border-radius: 999px; }
.eyebrow span { display: grid; width: 18px; height: 18px; place-items: center; color: #102444; background: var(--gold); border-radius: 50%; }
.hero-copy h1 { margin: 22px 0; max-width: 650px; font: 800 clamp(45px, 5.2vw, 76px)/.99 Outfit, sans-serif; letter-spacing: -.055em; }
.hero-copy h1 em { color: #8ec3ff; font-style: normal; }
.hero-copy > p { max-width: 600px; margin: 0; color: #d3dfef; font-size: 18px; line-height: 1.75; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 25px; margin: 30px 0 0; padding: 0; list-style: none; color: #dce7f7; font-size: 13px; font-weight: 700; }
.trust-row li::before { content: "✓"; margin-right: 8px; color: var(--gold); }

.decoder-card { padding: 31px; color: var(--ink); background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.78); border-radius: 26px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.card-heading { display: flex; gap: 15px; align-items: center; margin-bottom: 23px; }
.round-icon { display: grid; flex: 0 0 48px; height: 48px; place-items: center; color: white; background: linear-gradient(135deg, var(--blue), #4136cf); border-radius: 15px; font: 800 22px/1 Outfit, sans-serif; }
.card-heading h2 { margin: 0 0 2px; font: 800 24px/1.2 Outfit, sans-serif; letter-spacing: -.025em; }
.card-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 22px; padding: 4px; background: #edf2f8; border-radius: 13px; }
.mode-tab { padding: 10px 8px; color: #667386; background: transparent; border: 0; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 800; }
.mode-tab.active { color: #0b4da9; background: white; box-shadow: 0 2px 8px rgba(22,45,79,.11); }
label { display: block; margin-bottom: 8px; color: #24334c; font-size: 13px; font-weight: 800; }
.input-shell { position: relative; }
.input-shell input { width: 100%; height: 56px; padding: 0 67px 0 15px; color: #101d31; background: white; border: 2px solid #d9e3ee; border-radius: 13px; outline: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.input-shell input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18,100,216,.12); }
.input-shell input.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(198,55,55,.09); }
.input-shell span { position: absolute; top: 50%; right: 15px; color: #7a8798; font-size: 11px; font-weight: 700; transform: translateY(-50%); }
.field-help { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.field-message { min-height: 22px; margin: 4px 0 0; color: var(--red); font-size: 12px; font-weight: 700; }
.field-message.success { color: var(--green); }
.form-actions { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; margin-top: 10px; }
.primary-button, .scan-button, .official-button, .gold-button, .outline-button, .reset-button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; cursor: pointer; font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.primary-button { color: white; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); border: 0; box-shadow: 0 9px 20px rgba(18,100,216,.22); }
.primary-button:hover, .gold-button:hover { transform: translateY(-1px); }
.primary-button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.scan-button { color: #15355f; background: white; border: 1px solid #cfdbe8; }
.scan-button:hover { background: #f5f9fd; }
.full { width: 100%; }
.privacy-strip { display: flex; gap: 10px; align-items: flex-start; margin-top: 21px; padding-top: 18px; color: #526176; border-top: 1px solid #e4ebf3; font-size: 11px; }
.privacy-strip span { color: var(--green); font-size: 10px; }
.privacy-strip p { margin: -3px 0 0; }
.plate-note { margin-bottom: 16px; padding: 13px 14px; color: #624a15; background: #fff7df; border: 1px solid #f4dda1; border-radius: 11px; font-size: 12px; line-height: 1.55; }
.plate-result { margin-top: 15px; padding: 16px; background: #f5f8fc; border: 1px solid var(--line); border-radius: 13px; text-align: center; }
.plate-result > span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.plate-result strong { display: block; margin: 4px 0; font: 800 26px/1.2 ui-monospace, monospace; letter-spacing: .12em; }
.plate-result p { margin: 7px 0 14px; color: var(--muted); font-size: 11px; }

.results-section { padding: 82px 0 90px; background: var(--soft); border-top: 1px solid #e3eaf2; }
.results-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.results-top h2, .how-section h2, .faq-section h2, .cta-section h2 { margin: 6px 0; font: 800 clamp(31px, 4vw, 46px)/1.1 Outfit, sans-serif; letter-spacing: -.04em; }
.results-top p { margin: 0; color: var(--muted); font-size: 13px; }
.reset-button { min-height: 43px; padding: 0 17px; color: #264b7d; background: white; border: 1px solid #cad8e6; }
.status-banner { min-height: 0; margin-bottom: 20px; }
.status-banner:not(:empty) { padding: 12px 15px; color: #195391; background: #e9f4ff; border: 1px solid #c5e0fb; border-radius: 12px; font-size: 13px; font-weight: 700; }
.status-banner.error { color: #943434; background: #fff0f0; border-color: #f2c5c5; }
.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.result-card { padding: 26px; background: white; border: 1px solid #e1e8f0; border-radius: 20px; box-shadow: 0 10px 34px rgba(22,43,73,.07); }
.vehicle-card { grid-column: 1 / -1; }
.result-card-head { display: flex; gap: 13px; align-items: center; margin-bottom: 22px; }
.result-card-head h3 { margin: 0 0 2px; font: 800 20px/1.2 Outfit, sans-serif; }
.result-card-head p { margin: 0; color: var(--muted); font-size: 12px; }
.result-icon { display: grid; flex: 0 0 41px; height: 41px; place-items: center; border-radius: 12px; font: 800 15px/1 Outfit, sans-serif; }
.result-icon.blue { color: #0b57ba; background: #e3f0ff; }
.result-icon.red { color: #b12a2a; background: #ffe9e9; }
.result-icon.gold { color: #9f6900; background: #fff3cf; }
.result-icon.green { color: #126a43; background: #e2f6ec; font-size: 10px; }
.detail-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin: 0; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 13px; }
.detail-grid div { min-width: 0; padding: 14px; background: #fafdff; }
.detail-grid dt { color: #6c788a; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.detail-grid dd { overflow-wrap: anywhere; margin: 4px 0 0; color: #1c2a40; font-size: 13px; font-weight: 700; }
.notice { margin-top: 16px; padding: 13px 15px; border-radius: 11px; font-size: 12px; }
.notice.amber { color: #70521a; background: #fff8e7; border: 1px solid #f4dfa7; }
.async-content { min-height: 86px; color: #34445d; font-size: 13px; }
.loading-line { height: 13px; margin: 11px 0; background: linear-gradient(90deg,#edf2f6 25%,#f8fafc 50%,#edf2f6 75%); background-size: 200% 100%; border-radius: 8px; animation: shimmer 1.3s infinite; }
.loading-line.short { width: 66%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-state { padding: 15px; color: #5f6d80; background: #f6f9fc; border-radius: 10px; }
.stat-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 11px 13px; border-bottom: 1px solid #e7edf3; }
.stat-row:last-of-type { border-bottom: 0; }
.stat-row strong { color: #163258; font-weight: 800; text-align: right; }
.stat-row span { color: #66768a; font-size: 12px; }
.rating-stars { color: var(--gold-dark); letter-spacing: 2px; }
.rating-note { margin: 14px 0 0; color: #66768a; font-size: 11px; }
.official-button { width: 100%; min-height: 44px; margin-top: 16px; padding: 0 13px; color: #0d4e9b; background: #edf6ff; border: 1px solid #c9e2fa; }
.handoff-note { margin: 14px 0 -7px; color: #5d6b7e; font-size: 11px; }
.recall-count { margin: 0 0 13px; font-weight: 700; }
.recall-list { display: grid; gap: 9px; }
.recall-list details { background: #f8fafc; border: 1px solid #e5eaf0; border-radius: 10px; }
.recall-list summary { padding: 11px 12px; cursor: pointer; font-weight: 700; }
.recall-body { padding: 0 12px 13px; color: #536176; font-size: 12px; }
.recall-body p { margin: 8px 0 0; }

.how-section { padding: 100px 0; background: white; }
.two-column { display: grid; grid-template-columns: 1.12fr .88fr; gap: 76px; align-items: center; }
.lead { max-width: 620px; color: var(--muted); font-size: 17px; }
.steps { display: grid; gap: 22px; margin-top: 35px; }
.steps article { display: flex; gap: 17px; align-items: flex-start; }
.steps article > span { display: grid; flex: 0 0 40px; height: 40px; place-items: center; color: white; background: var(--blue); border-radius: 12px; font: 800 15px/1 Outfit, sans-serif; }
.steps h3 { margin: 0 0 3px; font: 800 17px/1.3 Outfit, sans-serif; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }
.source-card { position: relative; padding: 37px; color: white; background: linear-gradient(145deg,var(--navy-2),var(--navy)); border-radius: 24px; box-shadow: 0 25px 60px rgba(5,27,61,.2); }
.source-card::before { content: ""; position: absolute; top: 0; right: 0; width: 120px; height: 120px; background: radial-gradient(circle at top right,rgba(68,147,248,.35),transparent 70%); }
.source-badge { display: inline-block; padding: 5px 9px; color: #10213f; background: var(--gold); border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.source-card h3 { margin: 15px 0 10px; font: 800 28px/1.15 Outfit, sans-serif; }
.source-card p, .source-card li { color: #c9d7e9; font-size: 13px; }
.source-card ul { margin: 22px 0; padding: 0; list-style: none; }
.source-card li { margin: 10px 0; }
.source-card li::before { content: "✓"; margin-right: 9px; color: var(--gold); font-weight: 900; }
.source-card .fine-print { padding-top: 15px; color: #90a3bd; border-top: 1px solid rgba(255,255,255,.14); font-size: 10px; }

.faq-section { padding: 96px 0; background: #f4f8fc; }
.faq-width { max-width: 880px; }
.center-heading { margin-bottom: 36px; text-align: center; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { overflow: hidden; background: white; border: 1px solid #dce5ef; border-radius: 14px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 21px; cursor: pointer; list-style: none; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue); font-size: 22px; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 21px 21px; color: var(--muted); font-size: 14px; }

.cta-section { padding: 67px 0; color: white; background: linear-gradient(115deg,#0b2855,#0c4c9a); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.cta-section h2 { margin: 5px 0 8px; }
.cta-section p { max-width: 650px; margin: 0; color: #cbdcf1; }
.section-kicker.light { color: #9bc8ff; }
.cta-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.gold-button, .outline-button { min-height: 50px; padding: 0 19px; }
.gold-button { color: #10213e; background: var(--gold); }
.outline-button { color: white; border: 1px solid rgba(255,255,255,.45); }
.outline-button:hover { background: rgba(255,255,255,.1); }
.site-footer { padding: 59px 0 24px; color: #aebdd0; background: #06162f; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 70px; padding-bottom: 43px; }
.footer-grid h2 { margin: 0 0 10px; color: white; font: 800 23px Outfit,sans-serif; }
.footer-grid h3 { margin: 0 0 10px; color: white; font-size: 13px; }
.footer-grid p, .footer-grid a { display: block; margin: 4px 0; font-size: 12px; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #7889a2; font-size: 10px; }

.ocr-overlay { position: fixed; z-index: 9999; inset: 0; display: grid; padding: 20px; place-items: center; background: rgba(3,14,33,.82); backdrop-filter: blur(5px); }
.ocr-modal { width: min(410px,100%); padding: 35px; background: white; border-radius: 20px; box-shadow: var(--shadow); text-align: center; }
.ocr-modal h2 { margin: 19px 0 7px; font: 800 24px Outfit,sans-serif; }
.ocr-modal p { margin: 0; color: var(--muted); font-size: 13px; }
.spinner { width: 43px; height: 43px; margin-inline: auto; border: 4px solid #dce9f7; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.text-button { margin-top: 20px; padding: 7px 14px; color: var(--blue-dark); background: transparent; border: 0; cursor: pointer; font-weight: 800; }
.noscript { position: fixed; z-index: 10000; left: 15px; right: 15px; bottom: 15px; padding: 15px; color: #602d2d; background: #ffecec; border: 1px solid #efbcbc; border-radius: 10px; text-align: center; }

:focus-visible { outline: 3px solid #0b57ba; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
@media (max-width: 980px) {
  .top-links > a:not(.nav-cta):not(.phone) { display: none; }
  .hero { min-height: auto; }
  .hero-shade { background: linear-gradient(180deg,rgba(5,20,47,.76),rgba(5,20,47,.96) 55%,#071a36); }
  .hero-inner { min-height: auto; padding: 135px 0 70px; grid-template-columns: 1fr; gap: 45px; }
  .hero-copy { text-align: center; }
  .breadcrumbs, .trust-row { justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  .decoder-card { width: min(620px,100%); margin-inline: auto; }
  .two-column { grid-template-columns: 1fr; gap: 50px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 720px) {
  .page-width, .nav-wrap, .hero-inner { width: min(100% - 28px, 1160px); }
  .site-header { background: rgba(5,22,49,.78); backdrop-filter: blur(8px); }
  .nav-wrap { height: 76px; }
  .brand span { font-size: 19px; }
  .brand small { font-size: 8px; }
  .top-links .phone { display: none; }
  .nav-cta { padding: 9px 13px; font-size: 12px; }
  .hero-inner { padding-top: 116px; }
  .breadcrumbs { margin-bottom: 22px; font-size: 11px; }
  .hero-copy h1 { font-size: clamp(39px,13vw,57px); }
  .hero-copy > p { font-size: 16px; }
  .trust-row { gap: 9px 16px; font-size: 11px; }
  .decoder-card { padding: 22px 17px; border-radius: 20px; }
  .card-heading h2 { font-size: 21px; }
  .form-actions { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .vehicle-card { grid-column: auto; }
  .detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .results-section, .how-section, .faq-section { padding: 68px 0; }
  .results-top { align-items: flex-start; flex-direction: column; gap: 15px; }
  .reset-button { width: 100%; }
  .result-card { padding: 21px 17px; }
  .source-card { padding: 29px 23px; }
  .cta-actions { width: 100%; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 390px) {
  .mode-tab { font-size: 11px; }
  .detail-grid { grid-template-columns: 1fr; }
  .stat-row { align-items: flex-start; flex-direction: column; gap: 3px; }
  .stat-row strong { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
