:root {
  --white: #ffffff;
  --bg: #f5f6f8;
  --ink: #111318;
  --graphite: #20242c;
  --muted: #667085;
  --line: #dde2ea;
  --yellow: #ffd400;
  --mint: #6ee7b7;
  --green: #22c55e;
  --blue: #38bdf8;
  --danger: #dc2626;
  --shadow: 0 14px 34px rgba(17, 19, 24, 0.10);
  --hard-shadow: 5px 5px 0 var(--ink);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto; padding: 12px 24px; background: rgba(245, 246, 248, 0.94); backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgba(17,19,24,0.08); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -0.04em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 13px; }
.brand-text span { color: var(--muted); margin-left: 3px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 800; }
.nav a:not(.nav-cta) { color: var(--graphite); }
.nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--white); }
.menu-toggle { display: none; min-height: 44px; border: 1px solid var(--ink); border-radius: 12px; padding: 0 14px; background: var(--white); font-weight: 900; }

main { max-width: 1240px; margin: 0 auto; padding: 0 24px 64px; }
section, .section-block, .result-page, .checkout-section, .draft-section, .final-cta { scroll-margin-top: 84px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: 34px; align-items: center; min-height: calc(100vh - 68px); padding: 26px 0 26px; }
.eyebrow { margin: 0 0 12px; color: #9a7a00; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 950; }
h1, h2, h3 { margin: 0; letter-spacing: -0.055em; line-height: 1.02; }
h1 { max-width: 710px; font-size: clamp(42px, 5.5vw, 64px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 24px; }
.lead { max-width: 690px; margin: 16px 0 20px; color: #3e4653; font-size: 18px; line-height: 1.5; }

.check-card { max-width: 690px; padding: 18px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: var(--hard-shadow); }
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border-radius: 16px; background: #edf0f4; margin-bottom: 18px; }
.mode-tab { min-height: 42px; border: 0; border-radius: 12px; background: transparent; color: var(--graphite); font-weight: 950; }
.mode-tab.active { background: var(--yellow); box-shadow: inset 0 0 0 2px var(--ink); }
label { display: block; margin-bottom: 8px; font-weight: 900; color: var(--ink); }
.input-wrap { position: relative; }
input, select { width: 100%; min-height: 50px; border: 2px solid var(--line); border-radius: 15px; background: var(--white); color: var(--ink); padding: 0 48px 0 16px; outline: none; }
select { padding-right: 16px; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18); }
.clear-btn { position: absolute; right: 8px; top: 8px; width: 38px; height: 38px; border: 0; border-radius: 12px; background: #eef2f6; color: var(--muted); font-size: 22px; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.plate-grid { display: grid; grid-template-columns: 1fr 180px; gap: 12px; }
.primary { min-height: 52px; border: 0; border-radius: 15px; padding: 0 22px; background: var(--green); color: #052e16; font-weight: 950; box-shadow: 0 8px 0 #15803d; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.primary:hover { transform: translateY(-1px); }
.primary:active { transform: translateY(4px); box-shadow: 0 4px 0 #15803d; }
.primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.wide { width: 100%; margin-top: 12px; text-transform: uppercase; }
.secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 2px solid var(--ink); border-radius: 14px; padding: 0 18px; background: var(--white); color: var(--ink); font-weight: 950; }
.link-btn { display: inline-flex; align-items: center; justify-content: center; }
.price-line { margin: 12px 0 3px; font-weight: 950; text-align: center; }
.secure-line { margin: 0; color: var(--muted); text-align: center; }
.message { min-height: 22px; margin: 12px 0 0; color: var(--muted); font-weight: 800; }
.message.error { color: var(--danger); }
.message.ok { color: #047857; }
.hidden { display: none !important; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.trust-strip span, .payment-pills span { padding: 12px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-weight: 850; text-align: center; }
.payment-pills span { padding: 8px 10px; font-size: 13px; }
.hero-art { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero-picture { display: block; width: min(100%, 760px); }
.hero-picture img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 28px rgba(17, 19, 24, 0.12)); }

.loading-section, .result-page, .checkout-section, .draft-section, .section-block, .final-cta { margin-top: 52px; }
.scanner-card, .vehicle-result-card, .checkout-card, .success-card, .price-card, .steps-grid article, .reviews-grid article, .faq, .sample-pdf, .checkout-trust, .mini-cta { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.scanner-card { position: relative; overflow: hidden; padding: 32px; }
.scanner-card ol { display: grid; gap: 8px; margin: 18px 0 0; padding-left: 22px; color: var(--muted); }
.scan-line { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--blue), transparent); animation: scan 1.2s infinite linear; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.back-link { display: inline-flex; margin-bottom: 8px; font-size: 14px; font-weight: 900; color: var(--muted); }
.result-page { max-width: 1180px; margin: 18px auto 0; }
.result-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.result-header div { display: flex; gap: 16px; color: var(--muted); font-weight: 850; }
.result-page .result-header { display: none; }
.vehicle-result-card { display: grid; grid-template-columns: minmax(260px, 0.72fr) auto minmax(520px, 1.28fr); gap: 14px; align-items: center; padding: 14px 16px; border: 2px solid var(--ink); }
.plate-confirm { margin: 10px 0 0; color: var(--muted); font-weight: 800; }
.verified-badge { align-self: start; padding: 8px 12px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: 14px; font-weight: 950; }
.vehicle-result-card h2 { font-size: clamp(30px, 3.3vw, 44px); }
.vehicle-facts { grid-column: auto; display: grid; grid-template-columns: 1.45fr repeat(3, 0.75fr); gap: 8px; margin: 0; }
.vehicle-facts div { padding: 10px 12px; border-radius: 14px; background: #f7f8fa; }
dt { color: var(--muted); font-weight: 800; }
dd { margin: 3px 0 0; font-weight: 950; font-size: 17px; }
.vin-fact code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; }
.vin-fact dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vin-fact button { min-height: 34px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 900; }
.plate-confirm-box { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin-top: 18px; padding: 22px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff8c9; box-shadow: 6px 6px 0 var(--ink); }
.plate-confirm-box p { margin: 8px 0 0; color: var(--graphite); font-weight: 800; }
.confirm-actions { display: grid; gap: 10px; min-width: 260px; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading p { color: var(--muted); font-size: 17px; line-height: 1.55; }
#reportChooser { margin-top: 14px; padding: 14px; border: 1px solid #dfe5ee; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(241,245,249,0.72)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); }
.compact-heading { margin-top: 0; margin-bottom: 12px; }
.compact-heading h2 { font-size: clamp(25px, 2.6vw, 32px); }
.compact-heading p { display: none; margin: 8px 0 0; }
.report-grid { display: grid; grid-template-columns: 1.16fr 1fr 1fr; gap: 10px; align-items: stretch; }
.report-card { position: relative; display: grid; gap: 8px; padding: 16px 14px 14px; border: 2px solid var(--line); border-radius: 18px; background: var(--white); text-align: left; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; overflow: hidden; transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.report-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--blue); }
.report-card:nth-child(2) { background: linear-gradient(180deg, #eff8ff, #ffffff); border-color: #bae6fd; }
.report-card:nth-child(2)::before { background: var(--blue); }
.report-card:nth-child(2) .price { color: #0369a1; }
.report-card:nth-child(3) { background: linear-gradient(180deg, #ecfdf5, #ffffff); border-color: #bbf7d0; }
.report-card:nth-child(3)::before { background: var(--green); }
.report-card:nth-child(3) .price { color: #047857; }
.report-card.recommended { grid-column: auto; border-color: #c59b00; background: linear-gradient(135deg, #fff3a3, #fffbea 58%, #ffffff); box-shadow: var(--hard-shadow); }
.report-card.recommended::before { background: var(--yellow); height: 8px; }
.report-card.recommended .price { color: #047857; }
.report-card:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: 0 16px 36px rgba(17, 19, 24, 0.14); }
.report-card.selected { border-color: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,0.16), var(--shadow); }
.report-card .top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.report-title { display: grid; gap: 6px; min-width: 0; }
.report-card h3 { font-size: 21px; }
.report-card .price { color: #047857; font-size: 32px; font-weight: 950; letter-spacing: -0.06em; line-height: 0.95; }
.selected-pill { width: fit-content; padding: 4px 8px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: 11px; font-weight: 950; text-transform: uppercase; }
.old-price { color: var(--muted); text-decoration: line-through; font-size: 16px; margin-right: 6px; }
.badge { width: fit-content; padding: 5px 9px; border-radius: 999px; background: var(--ink); color: var(--yellow); border: 1px solid var(--ink); font-size: 11px; font-weight: 950; text-transform: uppercase; }
.checkmark { position: absolute; right: 14px; bottom: 14px; display: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--white); place-items: center; font-size: 14px; font-weight: 950; }
.report-card.selected .checkmark { display: grid; }
.record-list { display: flex; flex-wrap: wrap; gap: 5px; color: var(--graphite); font-size: 12px; font-weight: 850; }
.record-list span { padding: 4px 7px; border-radius: 999px; background: var(--white); border: 1px solid #d8dee8; box-shadow: none; line-height: 1.2; }
.record-list span:first-child { font-weight: 950; }
.report-card.recommended .record-list span { border-color: #f0c400; background: #fff9cf; }
.report-card.recommended .record-list span:first-child { background: #111318; border-color: #111318; color: var(--yellow); }
.report-card:nth-child(2) .record-list span { border-color: #bae6fd; background: #f0f9ff; }
.report-card:nth-child(3) .record-list span { border-color: #bbf7d0; background: #f0fdf4; }
.report-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.select-hint { font-size: 14px; font-weight: 950; color: var(--muted); }
.selected-action { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.selected-action div { display: grid; gap: 3px; }
.selected-action span { color: var(--muted); font-weight: 800; }
.checkout-trust { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 10px 12px; }
.checkout-trust div:first-child { display: grid; gap: 4px; }
.checkout-trust span { color: var(--muted); }
.payment-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 0; }

.checkout-card { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 28px; padding: 28px; }
.checkout-card p { color: var(--muted); line-height: 1.55; }
.checkout-form { display: grid; gap: 12px; }
.success-card { padding: 28px; text-align: center; }
.disabled-pay { display: inline-grid; place-items: center; min-height: 54px; margin-top: 18px; padding: 0 22px; border: 2px dashed var(--line); border-radius: 14px; color: var(--muted); font-weight: 900; }

.steps-grid, .pricing-grid, .included-grid, .reviews-grid { display: grid; gap: 18px; }
.steps-grid { grid-template-columns: repeat(3, 1fr); }
.steps-grid article, .reviews-grid article { padding: 20px; }
.steps-grid span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 15px; background: var(--yellow); font-weight: 950; }
.steps-grid p, .reviews-grid p, .sample-block p, .note { color: var(--muted); line-height: 1.6; }
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: center; }
.price-card { padding: 24px; }
.price-card { display: grid; grid-template-rows: auto auto auto auto 1fr auto; min-height: 455px; }
.price-card.best { border: 2px solid var(--ink); background: #fff8c9; transform: translateY(-6px); box-shadow: var(--hard-shadow); }
.badge-placeholder { display: block; min-height: 28px; }
.price-card strong { display: block; margin: 14px 0 8px; color: #047857; font-size: 46px; letter-spacing: -0.06em; }
.price-card p { color: var(--muted); line-height: 1.5; }
.price-card ul { display: grid; gap: 8px; margin: 16px 0 20px; padding-left: 20px; color: var(--graphite); }
.price-btn { width: 100%; }
.save { margin: 0; font-weight: 950; color: #047857; }
.included-grid { grid-template-columns: repeat(4, 1fr); }
.included-grid div { padding: 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); font-weight: 900; }
.included-grid div::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 9px; border-radius: 50%; background: #dcfce7; color: #166534; }
.compare-table { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.compare-table div { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.compare-table div:first-child { background: var(--ink); color: var(--white); }
.compare-table div:last-child { border-bottom: 0; }
.mini-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 18px; background: #ecfeff; }
.sample-block { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: center; }
.sample-pdf { padding: 24px; border: 2px solid var(--ink); box-shadow: var(--hard-shadow); }
.sample-pdf span { display: inline-block; margin-bottom: 36px; padding: 8px 10px; border-radius: 8px; background: var(--danger); color: var(--white); font-weight: 950; }
.sample-pdf p { padding: 11px; border-radius: 12px; background: #f7f8fa; color: var(--graphite); font-weight: 850; }
.sample-meta, .blur-lines { display: grid; gap: 8px; margin: 14px 0; }
.sample-meta i, .blur-lines i { display: block; height: 9px; border-radius: 999px; background: #e5e7eb; }
.sample-meta i:nth-child(1) { width: 72%; }
.sample-meta i:nth-child(2) { width: 55%; }
.sample-meta i:nth-child(3) { width: 88%; }
.blur-lines { filter: blur(2px); opacity: 0.7; }
.reviews-grid { grid-template-columns: repeat(3, 1fr); }
.reviews-grid article { border-left: 6px solid var(--yellow); }
.dm-card span { display: inline-block; margin-bottom: 12px; color: var(--muted); font-size: 13px; font-weight: 900; }
.faq { padding: 6px 20px; }
details { border-bottom: 1px solid var(--line); padding: 13px 0; }
details:last-child { border-bottom: 0; }
summary { cursor: pointer; display: flex; justify-content: space-between; gap: 18px; font-size: 17px; font-weight: 950; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "-"; }
details p { color: var(--muted); line-height: 1.65; }
.final-cta { display: grid; gap: 12px; place-items: center; padding: 34px 24px; border: 2px solid var(--ink); border-radius: 30px; background: var(--yellow); text-align: center; box-shadow: var(--hard-shadow); }
.final-cta p { margin: 0; color: var(--graphite); }
.final-cta span { font-weight: 950; }

.mobile-continue { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; gap: 10px; align-items: center; padding: 12px; border: 2px solid var(--ink); border-radius: 18px; background: var(--white); box-shadow: 0 18px 48px rgba(17,19,24,0.24); }
.mobile-continue span { font-weight: 950; }
.footer { max-width: 1240px; margin: 0 auto; padding: 44px 24px; border-top: 1px solid var(--line); color: var(--muted); }
.footer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; color: var(--graphite); font-weight: 850; }
.legal { grid-column: 1 / -1; font-size: 13px; line-height: 1.6; }

@media (max-width: 960px) {
  .site-header { padding: 14px 18px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { position: fixed; top: 66px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; padding: 18px; border: 2px solid var(--ink); border-radius: 20px; background: var(--white); box-shadow: var(--hard-shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  main { padding: 0 16px 96px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 24px; }
  h1 { font-size: clamp(36px, 10vw, 42px); }
  .lead { font-size: 16px; }
  .hero-art { min-height: 300px; order: -1; }
  .hero-picture { max-width: 520px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .plate-grid, .checkout-card, .sample-block, .footer { grid-template-columns: 1fr; }
  .result-header { display: none; }
  .vehicle-result-card { grid-template-columns: 1fr; padding: 16px; }
  .plate-confirm-box { grid-template-columns: 1fr; }
  .confirm-actions { min-width: 0; }
  .vehicle-facts { grid-template-columns: repeat(2, 1fr); }
  #reportChooser { padding: 10px; border-radius: 18px; }
  .report-grid, .steps-grid, .pricing-grid, .included-grid, .reviews-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
  .price-card.best { transform: none; order: -1; }
  .report-card.recommended { grid-column: auto; }
  .checkout-trust { display: grid; }
  .payment-pills { justify-content: flex-start; }
  .compare-table { overflow-x: auto; }
  .compare-table div { min-width: 680px; }
  .mini-cta { flex-direction: column; align-items: stretch; }
  .footer nav { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .check-card { padding: 16px; box-shadow: 5px 5px 0 var(--ink); }
  .hero-art { min-height: 230px; }
  .hero-picture { max-width: 410px; }
  .field-meta { display: grid; }
  .vehicle-facts { grid-template-columns: 1fr; }
  .report-card { padding: 16px; border-radius: 18px; }
  .report-card h3 { font-size: 22px; }
  .report-card .price { font-size: 34px; }
  .record-list { font-size: 13px; }
  .selected-action { display: none; }
  .mobile-continue:not(.hidden) { display: grid; }
  .mobile-continue .primary { width: 100%; }
}
