:root {
  --ink: #111214; --ink-2: #2b2d31; --muted: #62656c; --line: #e4e5e8; --paper: #ffffff; --soft: #f5f5f6;
  --red: #c4161c; --red-dark: #9e1015; --red-tint: #fdecec; --ok: #16794a;
  --radius: 14px; --shadow: 0 10px 30px rgba(17, 18, 20, .10);
  --head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; letter-spacing: -.015em; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; }

/* header */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--head); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.brand img { width: 42px; height: 42px; border-radius: 50%; background: #fff; }
.brand small { display: block; font-size: .72rem; letter-spacing: .14em; color: #c9cacd; font-family: var(--body); font-weight: 600; }
#site-nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
#site-nav a { color: #e9e9ea; text-decoration: none; font-weight: 600; font-size: .95rem; }
#site-nav a:hover { color: #fff; }
.call { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff !important; padding: 9px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.call:hover { background: var(--red-dark); }
.phone-button { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 14px rgba(196, 22, 28, .35); }
.phone-button:hover { background: var(--red-dark); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.6rem; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .phone-button { padding: 9px 14px; font-size: .92rem; }
  #site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; gap: 0; }
  #site-nav.open { display: flex; }
  #site-nav a { padding: 12px 0; border-bottom: 1px solid #2a2b2f; }
  #site-nav .call { margin-top: 12px; justify-content: center; border: 0; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 14px 22px; font: 700 1rem var(--body); cursor: pointer; text-decoration: none; }
.btn-red { background: var(--red); color: #fff; } .btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn:disabled { opacity: .6; cursor: default; }

/* hero */
.hero { background: linear-gradient(180deg, #14161a 0%, #1d2026 100%); color: #fff; padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: #d7d8db; max-width: 34em; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #a9adb5; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: #e6e7e9; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 36px 0 44px; } }

/* quote card */
.card { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.quick-quote h2 { font-size: 1.7rem; margin-bottom: .2em; }
.field { display: grid; gap: 6px; margin-bottom: 14px; position: relative; }
.field > span, .field legend { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; font: 1rem var(--body); padding: 13px 14px; border: 1.5px solid #cfd1d5; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(196, 22, 28, .25); border-color: var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.fine { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
.ac-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; margin: 4px 0 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); max-height: 280px; overflow: auto; }
.ac-list li { padding: 9px 10px; border-radius: 7px; cursor: pointer; }
.ac-list li:hover, .ac-list li.active { background: var(--red-tint); }

/* full quote */
.quote-page { background: var(--soft); padding: 40px 0 64px; }
.quote-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 8px 0 22px; }
.progress > span { display: block; height: 100%; width: 25%; background: var(--red); transition: width .25s; }
.step h2 { font-size: 1.8rem; }
.step-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0 0 14px; }
.choices legend { margin-bottom: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; border: 1.5px solid #cfd1d5; border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.choice span b { display: block; }
.choice span small { color: var(--muted); }
.choice input:checked + span { border-color: var(--red); background: var(--red-tint); box-shadow: inset 0 0 0 1px var(--red); }
.choice input:focus-visible + span { outline: 3px solid rgba(196, 22, 28, .3); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-2); margin: 4px 0 16px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.estimate { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; position: sticky; top: 90px; }
.est-label { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: #ff8a8d; font-weight: 700; margin: 0 0 4px; }
.est-price { font-family: var(--head); font-size: 2.2rem; letter-spacing: -.02em; font-weight: 700; line-height: 1; margin: 0 0 8px; }
.est-meta { color: #d4d5d8; font-weight: 600; margin-bottom: 10px; }
.est-note { color: #aeb0b5; font-size: .85rem; margin: 0; }
.help-card { margin-top: 16px; }
.alert { background: var(--red-tint); border: 1px solid #f3b4b6; color: #7a0c10; padding: 12px 14px; border-radius: 10px; margin-top: 12px; }

/* sections */
.section { padding: 64px 0; }
.section.alt { background: var(--soft); }
.section.dark { background: var(--ink); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 30px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid3, .grid4 { grid-template-columns: 1fr; } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tile h3 { margin-bottom: .3em; }
.tile p:last-child { margin: 0; }
a.tile { color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
a.tile:hover { border-color: var(--red); transform: translateY(-2px); }
.num { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); color: var(--ink); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge { border: 1px solid #3a3b40; color: #e3e4e6; border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 600; }

/* data pages */
.page-hero { background: var(--ink); color: #fff; padding: 40px 0 44px; }
.page-hero p { color: #d2d3d6; max-width: 46em; }
.crumbs { font-size: .85rem; color: #a9abb0; margin-bottom: 12px; }
.crumbs a { color: #d6d7da; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 0; }
.stat { background: #1d1e22; border: 1px solid #2d2e33; border-radius: 12px; padding: 14px 16px; }
.stat b { display: block; font-family: var(--head); font-size: 1.8rem; line-height: 1.1; }
.stat span { color: #b5b7bc; font-size: .85rem; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
table.prices { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: .95rem; }
table.prices th, table.prices td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
table.prices th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
table.prices td.p { font-weight: 700; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.link-cloud { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.link-cloud a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: .9rem; background: #fff; }
.link-cloud a:hover { border-color: var(--red); color: var(--red); }
.sticky-quote { position: sticky; top: 90px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.callout { border-left: 4px solid var(--red); background: var(--red-tint); padding: 16px 18px; border-radius: 0 10px 10px 0; margin: 18px 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }

/* footer */
.site-footer { background: #0b0c0d; color: #a8aaaf; padding: 48px 0 90px; font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #d4d5d8; text-decoration: none; } .site-footer a:hover { color: #fff; }
.legal { border-top: 1px solid #222327; margin-top: 30px; padding-top: 18px; font-size: .8rem; color: #85878d; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); }
  .mobile-bar .btn { padding: 12px; }
}

/* conversion details (quote funnel) */
.ico { flex: none; display: block; }
.phone-button .ico { width: 16px; height: 16px; }
@media (max-width: 420px) { .phone-button span { display: none; } .phone-button { padding: 10px 12px; } }
.vehicle-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 0 16px; }
.vbadge { position: relative; }
.vbadge input { position: absolute; opacity: 0; }
.vbadge span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 9px; border: 1px solid var(--line); border-radius: 10px; font-size: .82rem; font-weight: 600; cursor: pointer; background: #fff; color: #44474e; transition: border-color .15s, color .15s; }
.vbadge span:hover { border-color: #b9bcc2; }
.vbadge input:checked + span { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.vbadge input:focus-visible + span { outline: 3px solid rgba(17, 18, 20, .2); }
.risk-reversal { margin: 10px 0 0; text-align: center; font-size: .78rem; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.tip { position: relative; display: inline-flex; vertical-align: -3px; margin-left: 4px; cursor: help; color: var(--muted); }
.tip-text { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 240px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 500; padding: 7px 10px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 5; }
.tip:hover .tip-text, .tip:focus .tip-text { opacity: 1; }
.choice.has-pill { padding-top: 11px; }
.pill { position: absolute; top: 0; left: 12px; z-index: 2; font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .02em; padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.pill-red { background: var(--ink); color: #fff; } .pill-dark { background: #fff; color: var(--ink); border: 1px solid #c9ccd1; }
.micro { font-size: .8rem; color: var(--muted); margin: 8px 0 14px; }
.trust-badges { list-style: none; padding: 14px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 18px; }
.trust-badges li { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; color: #4b4e55; }
.trust-badges .ico { color: var(--ink); }
.sms-banner { display: flex; gap: 12px; align-items: flex-start; background: #eef7f1; border: 1px solid #b9dcc5; border-left: 4px solid var(--ok); color: #14532d; font-weight: 600; border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; }
.sms-banner[hidden] { display: none; }

/* carrier portal */
.c-narrow { max-width: 640px; }
.c-account { margin: 14px 0 0; font-size: .9rem; color: #c9cacd; }
.c-account a, .c-account .c-link { color: #fff; }
.c-link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.c-pill { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: #eef0f3; color: #3b3e45; vertical-align: 1px; }
.c-ok { background: #e8f5ec; color: #14532d; } .c-wait { background: #fff6e0; color: #7a5200; } .c-bad { background: #fdecec; color: #8f1116; }
.c-bad-text { color: #8f1116; }
.c-note { margin: 12px 0; padding: 10px 14px; border-radius: 8px; font-size: .92rem; background: #f3f4f6; }
.c-note[hidden] { display: none; }
.c-muted { color: var(--muted); font-size: .9rem; }
.c-empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; }
.c-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 16px; }
.c-filters label { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.c-filters select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
.c-count { margin-left: auto; font-size: .9rem; color: var(--muted); }
.c-load { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; }
.c-lane { font-size: 1.05rem; }
.c-meta { color: #4b4e55; font-size: .9rem; margin-top: 4px; }
.c-pay { font-weight: 700; font-size: 1.15rem; margin-top: 8px; }
.c-pay .c-muted { font-weight: 500; margin-left: 6px; }
.c-lock { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
.c-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.c-actions .btn { padding: 10px 16px; }
.c-actions input { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; min-width: 220px; }
.c-bid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.c-bid[hidden] { display: none; }
.c-bid input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; flex: 1 1 160px; }
.c-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; font-size: .92rem; }
.c-dl dt { color: var(--muted); font-weight: 600; } .c-dl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .c-dl { grid-template-columns: 1fr; } .c-dl dd { margin-bottom: 6px; } .c-count { margin-left: 0; width: 100%; } }
.c-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 16px; counter-reset: s; }
.c-steps li { flex: 1; font-size: .8rem; font-weight: 600; color: var(--muted); border-top: 3px solid var(--line); padding-top: 6px; counter-increment: s; }
.c-steps li::before { content: counter(s) ". "; }
.c-steps li.on { color: var(--ink); border-color: var(--ink); }
.c-lanepick { border: 0; padding: 0; margin: 0 0 12px; }
.c-lanepick select { padding: 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.c-lanes { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.c-lanes li { background: #f3f4f6; border-radius: 999px; padding: 4px 6px 4px 12px; font-size: .85rem; font-weight: 600; }
.c-lanes button { border: 0; background: none; cursor: pointer; font-size: 1rem; padding: 0 6px; }
.a-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; align-items: center; }
.a-tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.a-tabs a.on { color: var(--ink); border-color: var(--ink); }
.a-tabs .c-link { font-size: .9rem; padding: 0 8px; } #a-test-alert { margin-left: auto; }
.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.a-grid label { display: grid; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.a-grid input, .a-grid select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
#a-view h2 { font-size: 1.2rem; margin: 22px 0 12px; }
