:root {
  --navy: #0b1f3a;
  --navy-2: #12325f;
  --blue: #2563eb;
  --blue-2: #3b82f6;
  --accent: #0ea5e9;
  --gold: #f59e0b;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  color: #fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
}
.brand-name { font-weight: 800; font-size: 20px; color: var(--navy); line-height: 1; }
.brand-sub { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 20px; flex: 1; }
.main-nav a { color: var(--text); font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: var(--blue); }
.header-actions { display: flex; gap: 10px; }

.dropdown { position: relative; display: inline-block; }
.dropbtn { background: none; border: none; color: var(--text); font-weight: 500; font-size: 15px; cursor: pointer; font-family: inherit; }
.dropdown-content {
  display: none; position: absolute; background: var(--surface);
  min-width: 200px; box-shadow: var(--shadow-lg); border-radius: var(--radius);
  border: 1px solid var(--border); z-index: 200; overflow: hidden; top: 28px; left: -10px;
}
.dropdown-content a { display: block; padding: 10px 16px; color: var(--text); font-size: 14px; }
.dropdown-content a:hover { background: var(--bg); color: var(--blue); }
.dropdown:hover .dropdown-content { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 14px;
  cursor: pointer; border: none; transition: all 0.15s ease; text-decoration: none;
  font-family: inherit;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #15803d; color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }

/* Flash */
.flash-container { margin-top: 16px; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.flash-success { background: #dcfce7; color: #166534; }
.flash-error { background: #fee2e2; color: #991b1b; }
.flash-info { background: #dbeafe; color: #1e40af; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1e40af 100%);
  color: #fff; padding: 90px 0 110px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.25), transparent 70%);
}
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.1; max-width: 640px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 19px; color: #cbd5e1; max-width: 560px; margin: 20px 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-primary { background: var(--gold); color: var(--navy); }
.hero .btn-primary:hover { background: #fbbf24; }
.hero .btn-ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }

/* Sections */
.section { padding: 72px 0; }
.section-title { font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 12px; }
.section-sub { color: var(--muted); text-align: center; max-width: 560px; margin: 0 auto 44px; font-size: 17px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: all 0.2s ease;
  box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .price { font-size: 28px; font-weight: 800; color: var(--navy); margin: 12px 0; }
.card .btn { margin-top: 12px; }

/* Feature row */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature { text-align: center; padding: 32px 20px; }
.feature .feature-icon {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
  background: #e0f2fe; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Forms */
.form-card { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; transition: border 0.15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Auth pages */
.auth-wrap { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-wrap .form-card { width: 100%; max-width: 460px; }
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-title { text-align: center; font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--muted); margin-bottom: 28px; }

/* Quote wizard */
.quote-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.quote-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.quote-steps { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.step-pill { padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.step-pill.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.step-title { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.quote-summary {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: sticky; top: 84px;
}
.quote-summary .total { text-align: center; margin-bottom: 20px; }
.quote-summary .total .amount { font-size: 40px; font-weight: 800; color: var(--navy); }
.quote-summary .total .per { color: var(--muted); }
.breakdown { margin: 16px 0; }
.breakdown-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.breakdown-row span:last-child { font-weight: 600; }

/* Dashboard */
.page-header { padding: 40px 0 24px; }
.page-header h1 { font-size: 32px; font-weight: 800; }
.page-header p { color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.stat-card .stat-value { font-size: 34px; font-weight: 800; color: var(--navy); }
.stat-card .stat-label { color: var(--muted); font-size: 14px; }

/* Tables */
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 14px 18px; background: var(--bg); color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--border); font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; }
td { padding: 14px 18px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f8fafc; }

/* Badges */
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-hot { background: #fee2e2; color: #b91c1c; }
.badge-new { background: #dbeafe; color: #1d4ed8; }
.badge-contact { background: #fef3c7; color: #92400e; }
.badge-won { background: #dcfce7; color: #166534; }
.badge-active { background: #dcfce7; color: #166534; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-signed { background: #dcfce7; color: #166534; }
.badge-unsigned { background: #e2e8f0; color: #475569; }
.badge-paid { background: #dcfce7; color: #166534; }

/* Insurance card */
.id-card-outer {
  max-width: 640px; margin: 0 auto; background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: 18px; padding: 3px;
}
.id-card {
  background: var(--surface); border-radius: 15px; padding: 36px;
  position: relative; overflow: hidden;
}
.id-card::before {
  content: ""; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 70%); border-radius: 50%;
}
.id-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; border-bottom: 2px solid var(--border); padding-bottom: 20px; }
.id-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.id-field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); font-weight: 600; }
.id-field .val { font-size: 17px; font-weight: 700; color: var(--navy); }

/* Admin layout */
.admin-nav { background: var(--navy); }
.admin-nav .container { display: flex; align-items: center; gap: 8px; height: 52px; overflow-x: auto; }
.admin-nav a { color: #cbd5e1; padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.08); color: #fff; }

/* Misc */
.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; } .flex-between { display: flex; justify-content: space-between; align-items: center; } .gap { gap: 16px; }
.signature-box {
  border: 1px dashed var(--border); border-radius: 10px; padding: 20px; text-align: center; margin: 16px 0;
}
.signature-name { font-family: 'Brush Script MT', 'Segoe Script', cursive; font-size: 32px; color: var(--navy); }
.document { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
.document h2 { border-bottom: 2px solid var(--border); padding-bottom: 12px; margin-bottom: 20px; }
.document p { margin-bottom: 14px; }
.trust-badges { display: flex; gap: 20px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }

@media (max-width: 800px) {
  .main-nav { display: none; }
  .hero h1 { font-size: 34px; }
  .quote-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .id-card-grid { grid-template-columns: 1fr; }
}
/* ---------- AI intake, VIN decoder, accuracy meter, explanation ---------- */
.ai-intake { background: linear-gradient(135deg, #eff6ff, #f0f9ff); border: 1px solid #bfdbfe; border-radius: var(--radius); padding: 18px; margin-bottom: 24px; }
.ai-intake-head { font-weight: 700; color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.ai-intake textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; font-size: 14px; resize: vertical; background: #fff; }
.ai-badge { background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; letter-spacing: .5px; }

.vin-box { border: 1px dashed var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 24px; }
.vin-box label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.vin-row { display: flex; gap: 10px; }
.vin-row input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; font-family: ui-monospace, Menlo, monospace; letter-spacing: 1px; text-transform: uppercase; }
.vin-card { margin-top: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 12px 14px; }
.vin-card.error { background: #fef2f2; border-color: #fecaca; color: #991b1b; font-size: 14px; }
.vin-title { font-weight: 700; color: var(--navy); }
.vin-safety { font-size: 13px; margin-top: 6px; }
.vin-tag { background: #dcfce7; color: #166534; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 5px; margin-left: 4px; }

.quote-summary .total .range { font-size: 13px; color: var(--muted); margin-top: 4px; }
.accuracy { margin: 8px 0 16px; }
.acc-bar { height: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin: 6px 0; }
.acc-fill { height: 100%; width: 0; transition: width .4s ease; background: var(--gold); }
.acc-fill.good { background: var(--success); }
.acc-fill.ok { background: var(--accent); }
.acc-hint { font-size: 12px; color: var(--muted); line-height: 1.5; }

.explain { margin-top: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 14px; font-size: 14px; }
.explain p { margin: 6px 0; color: var(--text); }
.explain ul { margin: 4px 0 8px 18px; padding: 0; }
.explain li { margin: 4px 0; line-height: 1.45; }
.explain .drivers { list-style: none; margin-left: 0; }
.explain-head { font-weight: 800; color: var(--navy); font-size: 15px; }
.explain-sub { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-top: 12px; }
.explain-foot { font-size: 11px; color: var(--muted); margin-top: 10px; border-top: 1px solid var(--border); padding-top: 8px; }
.explain .up { color: var(--danger); font-size: 11px; }
.explain .down { color: var(--success); font-size: 11px; }

/* =====================================================================
   CoreBridge v2 design layer: icons, hero, product cards, SEO pages,
   footer, exit-intent modal, mobile CTA
   ===================================================================== */
:root { --gold-2: #fbbf24; --ink-soft: #334155; --surface-2: #f1f5f9; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; stroke: currentColor; }
.btn .icon { margin-left: 2px; }
.btn { gap: 8px; }
.small { font-size: 13px; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; color: #fff; }

/* Header */
.main-nav a, .dropbtn { display: inline-flex; align-items: center; gap: 6px; }
.dropbtn .chev { transform: rotate(90deg); width: 14px; height: 14px; transition: transform .2s; }
.dropdown.open .dropdown-content { display: block; }
.dropdown-content a { display: flex; gap: 10px; align-items: center; }
.dropdown-content a .icon { color: var(--blue); }
.dropdown-content { top: 100%; padding: 6px 0; }
.dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; margin-left: auto; }
.nav-toggle span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile-only { display: none !important; }

/* Buttons */
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(245,158,11,.35); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-primary { box-shadow: 0 6px 18px rgba(37,99,235,.25); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.eyebrow.text-center { display: flex; justify-content: center; }
.eyebrow-light { color: var(--gold-2); }
.hero-lead { font-size: 19px; color: #cbd5e1; max-width: 560px; margin: 18px 0 28px; line-height: 1.55; }
.hero-lead.center { margin-left: auto; margin-right: auto; }
.lead { font-size: 18px; color: var(--ink-soft); margin-bottom: 20px; }
.narrow { max-width: 820px; }
.section-alt { background: var(--surface-2); }
.section-tight { padding: 48px 0 72px; }

/* Home hero */
.hero-split { background: radial-gradient(1200px 600px at 85% -10%, rgba(14,165,233,.28), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 65%, #1e3a8a 100%); color: #fff; padding: 64px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.hero-copy h1 span { color: #7dd3fc; }
.hero-media { position: relative; }
.hero-media img { border-radius: 24px; aspect-ratio: 5 / 6; object-fit: cover; width: 100%; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.hero-float { position: absolute; display: flex; gap: 10px; align-items: center; background: #fff; color: var(--text); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); max-width: 250px; }
.hero-float .icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #e0f2fe; color: var(--blue); }
.hero-float strong { display: block; font-size: 14px; }
.hero-float span { display: block; font-size: 12px; color: var(--muted); }
.hero-float-top { top: 28px; left: -36px; }
.hero-float-bottom { bottom: 36px; right: -20px; }

.quote-starter { background: #fff; color: var(--text); border-radius: 18px; padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.25); max-width: 580px; }
.starter-label { font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.starter-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.starter-option { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border: 1.5px solid var(--border); border-radius: 14px; color: var(--navy); font-weight: 600; font-size: 14px; text-align: center; transition: all .15s; }
.starter-option:hover { border-color: var(--blue); background: #eff6ff; color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,.15); }
.starter-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #dbeafe, #e0f2fe); color: var(--blue); flex: none; }
.starter-icon .icon { width: 22px; height: 22px; }
.starter-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.starter-trust li { display: inline-flex; align-items: center; gap: 6px; }
.starter-trust .icon { color: var(--success); }
.starter-trust-light { color: #cbd5e1; margin-top: 22px; }
.starter-trust-light .icon { color: #86efac; }

/* How it works */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px 26px; box-shadow: var(--shadow); }
.step-num { position: absolute; top: 20px; right: 22px; font-size: 44px; font-weight: 800; color: #e2e8f0; line-height: 1; }
.step-icon { display: inline-flex; width: 52px; height: 52px; border-radius: 14px; align-items: center; justify-content: center; background: var(--blue); color: #fff; margin-bottom: 18px; }
.step-icon .icon { width: 26px; height: 26px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-media { position: relative; display: block; }
.product-media img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.product-badge { position: absolute; left: 16px; bottom: -22px; width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(37,99,235,.35); }
.product-badge .icon { width: 24px; height: 24px; }
.product-body { padding: 34px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 19px; margin-bottom: 8px; }
.product-body h3 a { color: var(--navy); }
.product-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media img { border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split-copy h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.check-list { list-style: none; margin: 0 0 26px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list li > .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }

/* Features */
.feature .feature-icon .icon { width: 28px; height: 28px; }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature-left { text-align: left; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.feature-left .feature-icon { margin: 0 0 14px; border-radius: 12px; width: 52px; height: 52px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { transition: transform .2s; color: var(--muted); }
.faq-item[open] .faq-chev { transform: rotate(90deg); }
.faq-item p { padding: 0 0 18px; color: var(--ink-soft); }
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.faq-jump a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-weight: 600; font-size: 14px; }
.faq-heading { display: flex; align-items: center; gap: 10px; font-size: 22px; margin: 36px 0 14px; color: var(--navy); scroll-margin-top: 90px; }
.faq-heading .icon { color: var(--blue); }
.faq-cta { margin-top: 12px; }
.callout { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 16px; padding: 24px; flex-wrap: wrap; }

/* Product + page heroes */
.product-hero { position: relative; color: #fff; padding: 56px 0 84px; background: linear-gradient(90deg, rgba(11,31,58,.94) 0%, rgba(11,31,58,.82) 45%, rgba(11,31,58,.35) 100%), var(--hero-img) center / cover no-repeat; }
.product-hero h1 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; line-height: 1.1; max-width: 680px; letter-spacing: -0.02em; }
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 56px 0 60px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #cbd5e1; margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { color: #e2e8f0; }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .6; }
.breadcrumb-dark { color: var(--muted); }
.breadcrumb-dark a { color: var(--blue); }

/* Rate factors */
.factor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.factor-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.factor-card h3 { font-size: 16px; margin-bottom: 10px; color: var(--navy); }
.factor-options { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.factor-options li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); }
.mini-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-product { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px; color: var(--text); transition: all .15s; }
.mini-product:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--text); }
.mini-product > span:nth-child(2) { flex: 1; }
.mini-product strong { display: block; color: var(--navy); }
.mini-product small { color: var(--muted); }

/* Quote start */
.choose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 980px; margin: -90px auto 0; position: relative; }
.choose-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); color: var(--text); transition: transform .2s, box-shadow .2s; }
.choose-card:hover { transform: translateY(-4px); color: var(--text); box-shadow: 0 20px 50px rgba(15,23,42,.18); }
.choose-card img { aspect-ratio: 16 / 7; object-fit: cover; width: 100%; }
.choose-body { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.choose-text { flex: 1; }
.choose-text strong { display: block; font-size: 18px; color: var(--navy); }
.choose-text small { color: var(--muted); font-size: 14px; }
.choose-arrow { color: var(--blue); width: 22px; height: 22px; transition: transform .15s; }
.choose-card:hover .choose-arrow { transform: translateX(4px); }
.page-hero + .section-tight .choose-grid { margin-top: -80px; }
.page-hero:has(+ .section-tight .choose-grid) { padding-bottom: 120px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: start; }
.form-card-wide { max-width: none; margin: 0; }
.contact-aside img { border-radius: 16px; margin-bottom: 22px; box-shadow: var(--shadow); }
.success-state { text-align: center; padding: 20px 0; }
.success-icon .icon { width: 56px; height: 56px; color: var(--success); margin: 0 auto 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--navy); color: #cbd5e1; margin-top: 0; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 48px 24px; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.footer-cta h2 { color: #fff; font-size: 28px; font-weight: 800; }
.footer-cta p { color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 44px 24px; }
.footer-grid h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid a { display: flex; align-items: center; gap: 8px; color: #cbd5e1; font-size: 14.5px; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-muted { color: #94a3b8; font-size: 14.5px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: #94a3b8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 24px 28px; font-size: 12.5px; color: #94a3b8; display: grid; gap: 6px; }
.footer-bottom a { color: #cbd5e1; text-decoration: underline; }

/* Sticky mobile CTA */
.mobile-cta { display: none; }

/* Exit-intent modal */
.exit-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .2s; }
.exit-modal.visible { opacity: 1; }
.exit-modal[hidden] { display: none; }
.exit-backdrop { position: absolute; inset: 0; background: rgba(11,31,58,.6); backdrop-filter: blur(3px); }
.exit-panel { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; max-width: 820px; width: 100%; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.35); transform: translateY(12px) scale(.98); transition: transform .2s; }
.exit-modal.visible .exit-panel { transform: none; }
.exit-media img { height: 100%; object-fit: cover; width: 100%; }
.exit-body { padding: 36px 32px 28px; }
.exit-body h2 { font-size: 28px; font-weight: 800; line-height: 1.15; color: var(--navy); margin-bottom: 8px; }
.exit-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0 14px; }
.exit-options a { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1.5px solid var(--border); border-radius: 12px; font-weight: 600; color: var(--navy); transition: all .15s; }
.exit-options a:hover, .exit-options a:focus-visible { border-color: var(--blue); background: #eff6ff; color: var(--blue); }
.exit-options .icon { color: var(--blue); width: 22px; height: 22px; }
.exit-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy); z-index: 2; }
.exit-close:hover { background: #fff; }
.exit-dismiss { background: none; border: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }
.modal-open { overflow: hidden; }

/* Quote page */
.quote-header { background: linear-gradient(180deg, #eff6ff, var(--bg)); padding: 28px 0 26px; }
.quote-header h1 { display: flex; align-items: center; gap: 12px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--navy); }
.quote-header h1 .icon { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--blue); color: #fff; }
.quote-guide { list-style: none; display: flex; gap: 10px 26px; margin-top: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); font-weight: 600; }
.quote-guide li { display: flex; align-items: center; gap: 8px; }
.quote-guide span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1.5px solid var(--border); font-size: 13px; }
.quote-guide li.done, .quote-guide li.current { color: var(--navy); }
.quote-guide li.done span, .quote-guide li.current span { background: var(--blue); border-color: var(--blue); color: #fff; }
#steps { display: none; }
.summary-title { font-size: 18px; margin-bottom: 14px; }
.summary-trust { list-style: none; display: grid; gap: 6px; margin: 16px 0 10px; font-size: 13px; color: var(--muted); }
.summary-trust li { display: flex; gap: 6px; align-items: center; }
.summary-trust .icon { color: var(--success); }
.ai-badge { display: inline-flex; align-items: center; gap: 4px; }
.ai-badge .icon { width: 12px; height: 12px; }
.vin-title, .vin-safety { display: flex; align-items: center; gap: 6px; }
.vin-title .icon { color: var(--success); }
.vin-safety .icon { color: var(--blue); }
.explain .drivers li { display: flex; gap: 8px; align-items: flex-start; }
.explain .up .icon, .explain .down .icon, .explain .muted .icon { width: 16px; height: 16px; margin-top: 2px; }

/* Responsive */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-float-top { left: 12px; }
  .hero-float-bottom { right: 12px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .main-nav.open { display: flex; }
  .main-nav > a, .dropbtn { padding: 12px 4px; border-bottom: 1px solid var(--border); width: 100%; justify-content: space-between; font-size: 16px; }
  .dropdown { display: block; }
  .dropdown-content { position: static; box-shadow: none; border: none; display: none; padding: 0 0 8px 8px; }
  .dropdown:hover .dropdown-content { display: none; }
  .dropdown.open .dropdown-content { display: block; }
  .dropdown.open .chev { transform: rotate(-90deg); }
  .nav-mobile-only { display: flex !important; }
  .hide-sm, .header-phone { display: none; }
  .header-inner { gap: 12px; position: relative; }
  .header-actions .btn { padding: 9px 14px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-reverse .split-media { order: 0; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-media { max-width: 560px; }
  .steps { grid-template-columns: 1fr; }
  .mini-products { grid-template-columns: 1fr; }
  .exit-panel { grid-template-columns: 1fr; }
  .exit-media { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(15,23,42,.08); transform: translateY(110%); transition: transform .25s; }
  .mobile-cta.show { transform: none; }
  .site-footer { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero-split { padding: 36px 0 56px; }
  .starter-options { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .feature-grid-4, .choose-grid { grid-template-columns: 1fr; }
  .hero-float { display: none; }
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta h2 { font-size: 22px; }
  .brand-sub { display: none; }
  .quote-form { padding: 22px; }
  .vin-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Fixes after visual review */
.exit-media { position: relative; min-height: 100%; }
.exit-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-mobile-bar { display: none; }
@media (max-width: 900px) {
  .quote-mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: var(--navy); color: #fff; box-shadow: 0 -8px 24px rgba(15,23,42,.2); }
  .quote-mobile-bar:hover { color: #fff; }
  .quote-mobile-bar small { color: #94a3b8; font-size: 12px; }
  .quote-mobile-bar strong { font-size: 22px; margin: 0 2px 0 8px; }
  .qmb-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--gold-2); font-size: 14px; }
  .page-quote .site-footer { padding-bottom: 80px; }
  .quote-summary { scroll-margin-top: 80px; }
}
