/* Auto Policy Bind - home page hero + home-only blocks (2026-11-19). CSS-only motion; settles in its final state. */
@property --qm-pct { syntax: "<integer>"; inherits: false; initial-value: 0; }

/* ---------- hero shell ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #c9d2f2;
  padding: clamp(56px, 7vw, 104px) 0 clamp(96px, 9vw, 140px);
  background: linear-gradient(160deg, #0b1233 0%, #111f6e 62%, #1530d8 130%);
}
.home-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero { contain: paint; }
.home-aurora { position: absolute; border-radius: 50%; opacity: .5; will-change: transform; transform: translate3d(0, 0, 0); }
.home-aurora--1 { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -12vw; top: -18vw; background: radial-gradient(circle, rgba(64, 96, 255, .8), rgba(64, 96, 255, .25) 40%, transparent 70%); animation: homeDriftA 22s ease-in-out infinite alternate; }
.home-aurora--2 { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -10vw; top: 10%; background: radial-gradient(circle, rgba(92, 200, 255, .75), transparent 65%); animation: homeDriftB 26s ease-in-out infinite alternate; }
.home-aurora--3 { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: 35%; bottom: -22vw; background: radial-gradient(circle, rgba(120, 90, 255, .55), transparent 65%); animation: homeDriftA 30s ease-in-out -8s infinite alternate; }
@keyframes homeDriftA { to { transform: translate3d(8vw, 5vw, 0) scale(1.12); } }
@keyframes homeDriftB { to { transform: translate3d(-7vw, 6vw, 0) scale(1.08); } }
.home-gridlines {
  position: absolute; inset: 0; opacity: .22;
  background-image: linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .hero__inner { grid-template-columns: minmax(0, 1fr); } }

.hero__copy { animation: homeRise .9s var(--ease) both; }
@keyframes homeRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .eyebrow { color: #9fdcff; }
.hero .eyebrow::before { display: none; }
.home-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: homePing 2.4s ease-out infinite; }
@keyframes homePing { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } }
.hero h1 { color: #fff; margin-bottom: 20px; }
.home-accent { background: linear-gradient(100deg, #8fe0ff 0%, #5cc8ff 40%, #9aa8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: #d3dbfa; max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-primary { box-shadow: 0 14px 34px -10px rgba(92, 140, 255, .8); }
.hero .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .3); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.hero__trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: #c9d2f2; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { color: #5cc8ff; flex: none; }

/* ---------- hero visual / quote mockup ---------- */
.hero__visual { position: relative; min-height: 480px; display: grid; place-items: center; padding: 64px 0 72px; }
@media (max-width: 960px) { .hero__visual { min-height: 440px; } }
@media (max-width: 520px) { .hero__visual { min-height: 420px; } }
.qm-glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(92, 200, 255, .32), rgba(21, 48, 216, .12) 45%, transparent 70%); animation: qmBreathe 7s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes qmBreathe { from { opacity: .6; transform: scale(.95); } to { opacity: 1; transform: scale(1.04); } }

.qm-route { position: absolute; left: -4%; right: -4%; bottom: 0; width: 108%; height: auto; overflow: visible; }
.qm-route path { stroke-width: 2.2; stroke-linecap: round; fill: none; }
.qm-route__lane { stroke: rgba(255, 255, 255, .1); stroke-width: 10 !important; }
.qm-route__base { stroke-dasharray: 100; stroke-dashoffset: 100; animation: qmDraw 2.2s .2s var(--ease) forwards; }
.qm-route__pulse { stroke: #e9f8ff; stroke-width: 3 !important; stroke-dasharray: 6 94; stroke-dashoffset: 100; opacity: 0; filter: drop-shadow(0 0 6px #5cc8ff); animation: qmPulse 4.5s 2.4s linear infinite; }
@keyframes qmDraw { to { stroke-dashoffset: 0; } }
@keyframes qmPulse { 0% { stroke-dashoffset: 100; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

.qm-car { position: absolute; left: 2%; bottom: 8%; width: 38%; max-width: 220px; opacity: .85; }
.qm-car path, .qm-car circle { stroke: rgba(201, 214, 255, .75); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: qmDraw 2s .7s var(--ease) forwards; }
.qm-car .qm-car__glass { stroke: rgba(92, 200, 255, .7); animation-delay: 1.2s; }
.qm-car .qm-car__wheel { animation-delay: 1.5s; }
.qm-car .qm-car__light { stroke: #ffe08a; stroke-width: 3; stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; animation: qmFade .4s 2.6s forwards; filter: drop-shadow(0 0 4px #ffd25a); }
@media (max-width: 520px) { .qm-car { display: none; } }

.qm-card {
  position: relative; z-index: 2; width: min(440px, 100%); padding: 22px; border-radius: 22px; color: #e8edff;
  background: linear-gradient(160deg, rgba(48, 66, 170, .92), rgba(20, 30, 98, .94)); border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 40px 80px -30px rgba(3, 8, 40, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
  animation: qmCardIn 1s .2s var(--ease) both;
}
@keyframes qmCardIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
.qm-card__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.qm-card__badge { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: linear-gradient(140deg, #3b5cff, #1530d8); box-shadow: 0 8px 18px -8px rgba(59, 92, 255, .9); flex: none; }
.qm-card__heading { display: flex; flex-direction: column; min-width: 0; }
.qm-card__title { font: 700 1.05rem/1.2 var(--font-head); color: #fff; }
.qm-card__sub { font-size: .82rem; color: #aebbe8; }
.qm-status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.qm-status__dot { width: 8px; height: 8px; border-radius: 50%; background: #ffc35a; box-shadow: 0 0 10px #ffc35a; animation: qmDot 3.5s forwards; }
@keyframes qmDot { 0%, 92% { background: #ffc35a; box-shadow: 0 0 10px #ffc35a; } 100% { background: #3ddc84; box-shadow: 0 0 10px #3ddc84; } }
.qm-status__text { display: grid; }
.qm-status__pending, .qm-status__ready { grid-area: 1 / 1; }
.qm-status__pending { animation: qmOut .3s 3.3s forwards; }
.qm-status__ready { opacity: 0; color: #9ff0c4; animation: qmFade .4s 3.4s forwards; }
@keyframes qmFade { to { opacity: 1; } }
@keyframes qmOut { to { opacity: 0; } }

.qm-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qm-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 22px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); opacity: 0; transform: translateX(12px); animation: qmRowIn .5s var(--ease) forwards; }
.qm-row--1 { animation-delay: .7s; } .qm-row--2 { animation-delay: 1.2s; } .qm-row--3 { animation-delay: 1.7s; } .qm-row--4 { animation-delay: 2.2s; }
@keyframes qmRowIn { to { opacity: 1; transform: none; } }
.qm-row__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #9fdcff; background: rgba(92, 200, 255, .12); }
.qm-row__body { display: flex; flex-direction: column; min-width: 0; }
.qm-row__label { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #93a2d6; }
.qm-row__field { position: relative; display: block; min-height: 20px; }
.qm-row__skel { position: absolute; left: 0; top: 5px; height: 10px; width: 70%; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .22), rgba(255, 255, 255, .08)); background-size: 200% 100%; animation: qmShimmer 1.1s linear infinite, qmOut .25s forwards; }
.qm-row__value { display: block; font-weight: 600; font-size: .92rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; animation: qmFade .35s forwards; }
.qm-row--1 .qm-row__skel { animation-delay: 0s, 1.1s; } .qm-row--1 .qm-row__value { animation-delay: 1.15s; }
.qm-row--2 .qm-row__skel { animation-delay: 0s, 1.6s; } .qm-row--2 .qm-row__value { animation-delay: 1.65s; }
.qm-row--3 .qm-row__skel { animation-delay: 0s, 2.1s; } .qm-row--3 .qm-row__value { animation-delay: 2.15s; }
.qm-row--4 .qm-row__skel { animation-delay: 0s, 2.6s; } .qm-row--4 .qm-row__value { animation-delay: 2.65s; }
@keyframes qmShimmer { to { background-position: -200% 0; } }
.qm-row__check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #0b1233; background: #3ddc84; transform: scale(0); animation: qmPop .4s var(--ease) forwards; }
.qm-row--1 .qm-row__check { animation-delay: 1.25s; } .qm-row--2 .qm-row__check { animation-delay: 1.75s; } .qm-row--3 .qm-row__check { animation-delay: 2.25s; } .qm-row--4 .qm-row__check { animation-delay: 2.75s; }
@keyframes qmPop { 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

.qm-progress { margin-top: 16px; }
.qm-progress__meta { display: flex; justify-content: space-between; font-size: .8rem; color: #aebbe8; margin-bottom: 8px; }
.qm-progress__pct { font-weight: 700; color: #fff; counter-reset: qmpct var(--qm-pct); animation: qmCount 2.6s .8s var(--ease) forwards; }
.qm-progress__pct::after { content: counter(qmpct) "%"; }
@keyframes qmCount { to { --qm-pct: 100; } }
.qm-progress__track { display: block; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.qm-progress__bar { display: block; height: 100%; width: 100%; border-radius: 8px; background: linear-gradient(90deg, #3b5cff, #5cc8ff); transform: scaleX(0); transform-origin: 0 50%; animation: qmBar 2.6s .8s var(--ease) forwards; box-shadow: 0 0 14px rgba(92, 200, 255, .6); }
@keyframes qmBar { to { transform: scaleX(1); } }

.qm-result { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px; border-radius: 16px; background: rgba(11, 18, 51, .35); border: 1px solid rgba(255, 255, 255, .1); }
.qm-shield { width: 46px; height: 46px; flex: none; }
.qm-shield__fill { fill: rgba(61, 220, 132, .14); opacity: 0; animation: qmFade .5s 4s forwards; }
.qm-shield__outline { stroke: #5cc8ff; stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: qmDraw .9s 3.4s var(--ease) forwards; }
.qm-shield__check { stroke: #3ddc84; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: qmDraw .6s 4.1s var(--ease) forwards; }
.qm-result__copy { display: grid; min-width: 0; }
.qm-result__state { grid-area: 1 / 1; display: flex; flex-direction: column; }
.qm-result__state--pending { animation: qmOut .3s 4.1s forwards; }
.qm-result__state--ready { opacity: 0; animation: qmFade .45s 4.2s forwards; }
.qm-result__title { font: 700 .98rem/1.3 var(--font-head); color: #fff; }
.qm-result__text { font-size: .82rem; color: #aebbe8; }

.qm-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: #fff; background: rgba(28, 42, 128, .92); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 18px 30px -18px rgba(3, 8, 40, .9); white-space: nowrap; opacity: 0; will-change: transform; }
.qm-chip__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(92, 200, 255, .2); color: #9fdcff; }
.qm-chip--a { top: 6px; right: 4%; animation: qmFade .6s 1.4s forwards, qmFloat 6s 2s ease-in-out infinite alternate; }
.qm-chip--b { bottom: 8px; right: 10%; animation: qmFade .6s 2s forwards, qmFloat 7s 2.6s ease-in-out infinite alternate-reverse; }
@keyframes qmFloat { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@media (max-width: 520px) { .hero__visual { padding: 56px 0 60px; } .qm-chip--a { top: 4px; right: 2%; } .qm-chip--b { bottom: 4px; right: auto; left: 2%; } .qm-card { padding: 18px; } .qm-status { display: none; } }

/* ---------- home-only blocks ---------- */
.home-benefits { padding-top: 0; margin-top: -64px; position: relative; z-index: 3; }
.home-benefits .card { box-shadow: var(--shadow); }
.home-media { position: relative; }
.home-media__badge { position: absolute; right: -8px; bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: 280px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .92rem; color: var(--ink-2); animation: qmFloat 6s ease-in-out infinite alternate; }
.home-media__badge strong { color: var(--ink); font-family: var(--font-head); }
.home-media__badge-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; color: #fff; background: linear-gradient(140deg, var(--blue), #3b5cff); }
@media (max-width: 600px) { .home-media__badge { right: 8px; bottom: 12px; max-width: 240px; } }
.home-center { text-align: center; margin-top: 36px; }
.home-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--blue); font-size: .95rem; }
.home-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card--link:hover .home-more svg { transform: translateX(4px); }

/* ---------- hero: kinetic headline (words wrapped by apb-fx.js) ---------- */
.hero h1.is-split .kw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin: 0 -.02em -.1em; }
.hero h1.is-split .kw > span { display: inline-block; transform: translate3d(0, 110%, 0); animation: kwUp .95s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 65ms + 120ms); }
@keyframes kwUp { to { transform: translate3d(0, 0, 0); } }
.hero h1.is-split .home-accent { background: none; color: inherit; }
.hero h1.is-split .home-accent .kw > span { background: linear-gradient(100deg, #8fe0ff 0%, #5cc8ff 40%, #9aa8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- hero: 3D tilt + depth parallax (vars set by apb-fx.js) ---------- */
.hero__visual { perspective: 1100px; --px: 0; --py: 0; }
.qm-tilt { position: relative; z-index: 2; width: min(440px, 100%); transform-style: preserve-3d; will-change: transform; }
.qm-tilt > .qm-card { width: 100%; }
.qm-sheen { position: absolute; inset: 0; z-index: 5; border-radius: 22px; pointer-events: none; opacity: var(--so, 0); transition: opacity .5s var(--ease); background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 0%), rgba(255, 255, 255, .18), transparent 45%); }
.qm-chip { translate: calc(var(--px) * -22px) calc(var(--py) * -16px); }
.qm-glow { translate: calc(var(--px) * 14px) calc(var(--py) * 12px); }
.qm-route, .qm-car { translate: calc(var(--px) * 10px) calc(var(--py) * 4px); }

/* ---------- benefits ribbon ---------- */
.home-marquee { position: relative; overflow: hidden; padding: 20px 0; background: linear-gradient(90deg, #0b1233, #13227a 50%, #0b1233); }
.home-marquee__track { display: flex; width: max-content; animation: homeMarquee 42s linear infinite; will-change: transform; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.home-marquee:hover .home-marquee__track { animation-play-state: paused; }
.home-marquee__group { display: flex; list-style: none; margin: 0; padding: 0; }
.home-marquee__group li { display: inline-flex; align-items: center; gap: 16px; padding: 0 30px; font: 700 clamp(1rem, .9rem + .55vw, 1.4rem)/1.2 var(--font-head); color: #fff; white-space: nowrap; letter-spacing: -.01em; }
.home-marquee__group li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #5cc8ff, #8fa2ff); box-shadow: 0 0 14px rgba(92, 200, 255, .9); }
@keyframes homeMarquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- coverage explorer ---------- */
.home-cx-section .section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.cx { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 960px) { .cx { grid-template-columns: minmax(0, 1fr); } }
.cx__stage { position: relative; border-radius: 24px; padding: clamp(14px, 3vw, 34px); border: 1px solid rgba(255, 255, 255, .1); background: radial-gradient(70% 80% at 50% 62%, rgba(92, 200, 255, .14), transparent 70%), rgba(255, 255, 255, .03); overflow: hidden; }
.cx__stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(60% 70% at 50% 55%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 55%, #000, transparent); }
.cx__svg { position: relative; width: 100%; height: auto; overflow: visible; display: block; }
.cx-ground { stroke: rgba(255, 255, 255, .2); stroke-width: 1.5; stroke-dasharray: 4 9; }
.cx-car { animation: cxIdle 4.5s ease-in-out infinite; }
@keyframes cxIdle { 50% { transform: translateY(-2px); } }
.cx-car path, .cx-car circle { stroke-linecap: round; stroke-linejoin: round; }
.cx-car__body { stroke: url(#cx-body); stroke-width: 2.6; fill: rgba(255, 255, 255, .035); }
.cx-car__glass { stroke: rgba(143, 162, 255, .75); stroke-width: 1.6; fill: rgba(92, 200, 255, .08); }
.cx-car__line { stroke: rgba(223, 230, 255, .35); stroke-width: 1.4; }
.cx-car__light { stroke: #ffe08a; stroke-width: 4.5; }
.cx-car__tail { stroke: #ff7b7b; stroke-width: 4.5; }
.cx-car__wheel { stroke: rgba(223, 230, 255, .9); stroke-width: 2.6; fill: #0f1a55; }
.cx-car__hub { stroke: rgba(143, 162, 255, .8); stroke-width: 2; fill: rgba(92, 200, 255, .12); }
.cx-zone { opacity: 0; transition: opacity .55s var(--ease); }
.cx[data-active="liability"] [data-zone="liability"], .cx[data-active="collision"] [data-zone="collision"], .cx[data-active="comprehensive"] [data-zone="comprehensive"],
.cx[data-active="uninsured"] [data-zone="uninsured"], .cx[data-active="medical"] [data-zone="medical"], .cx[data-active="roadside"] [data-zone="roadside"] { opacity: 1; }
.cx-badge circle { fill: #1530d8; stroke: rgba(255, 255, 255, .7); stroke-width: 1.5; }
.cx-badge path { stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.cx-ring { stroke: #5cc8ff; stroke-width: 2; stroke-dasharray: 7 11; fill: rgba(92, 200, 255, .045); }
.cx[data-active="liability"] .cx-ring { animation: cxDash 14s linear infinite; }
.cx-ring--2 { fill: none; stroke-dasharray: none; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.cx[data-active="liability"] .cx-ring--2 { animation: cxPulse 2.6s ease-out infinite; }
@keyframes cxDash { to { stroke-dashoffset: -360; } }
@keyframes cxPulse { 0% { transform: scale(.94); opacity: .7; } 100% { transform: scale(1.05); opacity: 0; } }
.cx-hi { stroke: #5cc8ff; stroke-width: 6; stroke-linecap: round; fill: none; opacity: .9; }
.cx-burst { stroke: #5cc8ff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.cx[data-active="collision"] .cx-burst { animation: cxDraw .6s .15s var(--ease) forwards; }
.cx[data-active="collision"] .cx-hi { animation: cxGlow 1.6s ease-in-out infinite alternate; }
.cx[data-active="roadside"] .cx-hi { animation: cxGlow 1.6s ease-in-out infinite alternate; }
@keyframes cxDraw { to { stroke-dashoffset: 0; } }
@keyframes cxGlow { from { opacity: .45; } to { opacity: 1; } }
.cx-glass-fill { fill: rgba(92, 200, 255, .32); }
.cx-hail { stroke: #9fdcff; stroke-width: 2.4; stroke-linecap: round; }
.cx[data-active="comprehensive"] .cx-hail { animation: cxHail 1.3s linear infinite; }
@keyframes cxHail { 0% { transform: translateY(-12px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }
.cx-phantom { stroke: #9fdcff; stroke-width: 5; stroke-dasharray: 16 12; fill: rgba(159, 220, 255, .05); }
.cx[data-active="uninsured"] .cx-phantom { animation: cxDash 6s linear infinite; }
.cx-person { stroke: #9fdcff; stroke-width: 2.4; fill: rgba(159, 220, 255, .16); }
.cx__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cx__tab { min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #c9d2f2; font: 600 .92rem/1.1 var(--font-body); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.cx__tab:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.cx__tab[aria-selected="true"] { background: #fff; color: var(--blue-700); border-color: #fff; box-shadow: 0 10px 26px -10px rgba(92, 200, 255, .8); }
.cx__panels { min-height: 190px; }
.cx__info[hidden] { display: none; }
.cx__info { animation: cxInfo .5s var(--ease); }
.cx__info h3 { color: #fff; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin-bottom: 12px; }
.cx__info p { color: #c9d2f2; font-size: 1.06rem; }
@keyframes cxInfo { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cx__more { color: #9fdcff; font-weight: 700; text-decoration: none; }
.cx__more::after { content: " \2192"; display: inline-block; transition: transform .3s var(--ease); }
.cx__more:hover { color: #fff; }
.cx__more:hover::after { transform: translateX(4px); }
.cx__timer { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); margin: 20px 0 24px; overflow: hidden; }
.cx__timer span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #5cc8ff, #8fa2ff); transform: scaleX(0); transform-origin: 0 50%; }
.cx.is-playing .cx__timer span { animation: cxTimer var(--cx-ms, 5200ms) linear forwards; }
.cx.is-paused .cx__timer span { animation-play-state: paused; }
@keyframes cxTimer { to { transform: scaleX(1); } }

/* ---------- how it works: road with a car that drives as you scroll ---------- */
.home-road { position: relative; height: 120px; margin: 0 0 22px; }
.home-road + .steps::before { display: none; }
.home-road__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.home-road__lane { stroke: #e3e7f1; stroke-width: 20; stroke-linecap: round; fill: none; }
.home-road__dash { stroke: #fff; stroke-width: 2.2; stroke-dasharray: 12 14; fill: none; animation: homeRoadDash 1.4s linear infinite; }
@keyframes homeRoadDash { to { stroke-dashoffset: -26; } }
.home-road__progress { stroke: #1530d8; stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: calc(1000 - var(--road-p, 0) * 1000); }
.home-road__car { position: absolute; left: 0; top: 0; width: 64px; height: 28px; margin: -26px 0 0 -32px; color: var(--blue); transform: translate3d(var(--car-x, 0px), var(--car-y, 92px), 0) rotate(var(--car-r, 0deg)); will-change: transform; }
.home-road__car svg { display: block; filter: drop-shadow(0 6px 8px rgba(21, 48, 216, .3)); }
.step__num { transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.step.is-reached .step__num { box-shadow: 0 0 0 7px rgba(21, 48, 216, .13), 0 12px 24px -10px rgba(21, 48, 216, .85); transform: translateY(-2px); }
@media (max-width: 760px) { .home-road { display: none; } .home-road + .steps::before { display: block; } }

/* ---------- odometer stats (reels built by apb-fx.js) + animated border ---------- */
@property --stat-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.section--dark .stat-band { position: relative; padding: 2px; gap: 2px; background: conic-gradient(from var(--stat-ang), rgba(92, 200, 255, .9), rgba(21, 48, 216, .25) 25%, rgba(143, 162, 255, .9) 50%, rgba(21, 48, 216, .25) 75%, rgba(92, 200, 255, .9)); animation: statSpin 9s linear infinite; }
@keyframes statSpin { to { --stat-ang: 360deg; } }
.section--dark .stat { background: #0e1850; }
.stat__num.is-odo { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; display: inline-flex; justify-content: center; align-items: flex-start; text-shadow: 0 0 24px rgba(92, 200, 255, .45); }
.odo__reel { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.odo__strip { display: block; transform: translate3d(0, 0, 0); transition: transform 1.9s cubic-bezier(.16, 1, .3, 1); will-change: transform; }
.odo__strip > span { display: block; height: 1em; line-height: 1; }
.odo__fix { display: inline-block; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero h1.is-split .kw > span { transform: none !important; }
  .home-marquee__track { animation: none !important; }
  .cx-zone { transition: none; }
  .qm-chip, .qm-glow, .qm-route, .qm-car { translate: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .qm-row, .qm-row__value, .qm-status__ready, .qm-result__state--ready, .qm-shield__fill, .qm-chip, .qm-car .qm-car__light { opacity: 1 !important; transform: none !important; }
  .qm-row__skel, .qm-status__pending, .qm-result__state--pending { opacity: 0 !important; }
  .qm-row__check { transform: none !important; }
  .qm-progress__bar { transform: none !important; }
  .qm-progress__pct { --qm-pct: 100; }
  .qm-route__base, .qm-car path, .qm-car circle, .qm-shield__outline, .qm-shield__check { stroke-dashoffset: 0 !important; }
  .qm-route__pulse { display: none; }
  .qm-status__dot { background: #3ddc84; }
}
