/* ==========================================================================
   CarCoverCompass — main stylesheet
   ========================================================================== */

:root {
  --navy: #0A1A33;
  --ink: #14233D;
  --text: #3A4A63;
  --muted: #6B7A93;
  --line: #E3EAF5;
  --line-strong: #CFDAEB;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FE;
  --bg-tint: #EEF3FF;
  --primary: #2F6BFF;
  --primary-600: #1F55E0;
  --primary-50: #EAF0FF;
  --teal: #12C2A5;
  --teal-50: #E3F8F4;
  --amber: #FFB547;
  --danger: #E5484D;
  --success: #12A37F;
  --grad: linear-gradient(135deg, #2F6BFF 0%, #12C2A5 100%);
  --grad-dark: linear-gradient(135deg, #0A1A33 0%, #13305E 100%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 51, .06), 0 2px 8px rgba(10, 26, 51, .04);
  --shadow: 0 10px 30px -10px rgba(10, 26, 51, .18), 0 2px 6px rgba(10, 26, 51, .05);
  --shadow-lg: 0 30px 60px -20px rgba(16, 45, 110, .30), 0 8px 20px -8px rgba(10, 26, 51, .10);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(47, 107, 255, .45); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(47, 107, 255, .8); }
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .35) 45%, transparent 65%);
  transform: translateX(-120%);
  z-index: -1;
  animation: shine 4.5s ease-in-out infinite 1.5s;
}
.btn-primary:hover { background: var(--primary-600); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(47, 107, 255, .9); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { color: var(--primary-600); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 6px 12px rgba(47, 107, 255, .28)); transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-text { font-size: 21px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.logo-light, .logo-light:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 26, 51, .4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.main-nav { display: flex; gap: 6px; }
.main-nav a { position: relative; padding: 8px 14px; color: var(--text); font-weight: 600; font-size: 15px; border-radius: 10px; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--primary); background: var(--primary-50); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 15px; }
.header-phone svg { width: 18px; height: 18px; color: var(--primary); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .header-phone { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 12px 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(10, 26, 51, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 12px; font-size: 17px; }
}
@media (max-width: 420px) {
  .logo-text { font-size: 18px; }
  .logo-mark { width: 34px; height: 34px; }
  .header-actions .btn-sm { padding: 0 14px; }
}

/* ---------- Section basics ---------- */
.section { padding: 110px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.h2 { font-size: clamp(30px, 4vw, 46px); }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 760px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } .section-head p { font-size: 16px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 64px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(47, 107, 255, .12), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(18, 194, 165, .12), transparent 60%),
    linear-gradient(180deg, #fff 0%, #F7FAFF 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(20, 35, 61, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.hero-badge b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--teal-50); color: #0B8F79; font-size: 12px; }
.hero-badge b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(18, 194, 165, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18, 194, 165, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(18, 194, 165, 0); } }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 .underline { position: relative; white-space: nowrap; }
.hero h1 .underline svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 14px; overflow: visible; }
.hero h1 .underline path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.2s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-lead { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }

.zip-form { max-width: 540px; }
.zip-field {
  display: flex; align-items: center; gap: 8px;
  padding: 8px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s;
}
.zip-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 5px rgba(47, 107, 255, .12), var(--shadow); }
.zip-field.has-error { border-color: var(--danger); animation: shake .4s; }
.zip-field .zip-icon { width: 22px; height: 22px; margin-left: 12px; color: var(--primary); flex: none; }
.zip-field input {
  flex: 1; min-width: 0;
  height: 52px;
  border: 0; outline: 0;
  background: transparent;
  font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: .04em;
}
.zip-field input::placeholder { color: #9AA8BF; font-weight: 600; letter-spacing: 0; }
.zip-error { min-height: 22px; margin: 8px 4px 0; font-size: 14px; color: var(--danger); font-weight: 600; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 10px; padding: 0; list-style: none; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hero-trust svg { width: 20px; height: 20px; color: var(--teal); }
.hero-legal { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* Hero art */
.hero-visual { position: relative; }
.hero-art-wrap { position: relative; aspect-ratio: 560 / 500; }
.hero-art { width: 100%; height: 100%; overflow: visible; }
.hero-art .ring { transform-origin: 280px 250px; animation: spin 80s linear infinite; }
.hero-art .needle { transform-origin: 280px 250px; animation: needle 7s var(--ease) infinite; }
.hero-art .road-dash { animation: road .9s linear infinite; }
.hero-art .car { animation: bob 1.6s ease-in-out infinite; }
.hero-art .wheel { transform-box: fill-box; transform-origin: center; animation: spin .7s linear infinite; }
.hero-art .shield { transform-origin: 280px 150px; animation: float 5s ease-in-out infinite; }
.hero-art .shield-check { stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw .9s 1s var(--ease) forwards; }
.hero-art .glow { transform-origin: 280px 150px; animation: pulse 3s ease-in-out infinite; }
.hero-art .cloud { animation: drift 14s linear infinite; }
.hero-art .cloud.c2 { animation-duration: 20s; animation-delay: -8s; }
.hero-art .spark { transform-box: fill-box; transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
.hero-art .spark.s2 { animation-delay: .8s; }
.hero-art .spark.s3 { animation-delay: 1.6s; }
.hero-art .beam { animation: beam 2.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes needle { 0%, 100% { transform: rotate(-18deg); } 30% { transform: rotate(24deg); } 55% { transform: rotate(8deg); } 75% { transform: rotate(14deg); } }
@keyframes road { to { stroke-dashoffset: 40; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.12); opacity: .9; } }
@keyframes drift { from { transform: translateX(-60px); } to { transform: translateX(80px); } }
@keyframes twinkle { 0%, 100% { transform: scale(.4); opacity: .2; } 50% { transform: scale(1); opacity: 1; } }
@keyframes beam { 0%, 100% { opacity: .35; } 50% { opacity: .7; } }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(227, 234, 245, .9);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-card .fc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; }
.float-card .fc-icon svg { width: 22px; height: 22px; }
.float-card strong { display: block; color: var(--ink); font-size: 14px; line-height: 1.25; }
.float-card small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
.card-a { top: 6%; left: -4%; animation-delay: -1s; }
.card-a .fc-icon { background: var(--teal-50); color: var(--teal); }
.card-b { top: 40%; right: -6%; flex-direction: column; align-items: stretch; gap: 8px; width: 200px; padding: 14px 16px; animation-delay: -3s; }
.card-b .bars { display: grid; gap: 7px; }
.card-b .bar { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: var(--muted); }
.card-b .bar i { display: block; height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; position: relative; }
.card-b .bar i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 6px; background: var(--grad); transform-origin: left; animation: grow 2.6s var(--ease) infinite alternate; }
.card-b .bar:nth-child(2) i::after { animation-delay: .3s; }
.card-b .bar:nth-child(3) i::after { animation-delay: .6s; }
@keyframes grow { from { transform: scaleX(.25); } to { transform: scaleX(1); } }
.card-c { bottom: 4%; left: 4%; animation-delay: -4.5s; }
.card-c .fc-icon { background: var(--primary-50); color: var(--primary); }

@media (max-width: 1080px) { .card-a { left: 0; } .card-b { right: 0; } }
@media (max-width: 960px) {
  .hero { padding: 40px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: center; }
  .hero-lead, .zip-form { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .hero-lead { font-size: 17px; }
  .zip-field { flex-wrap: wrap; padding: 8px; border-radius: 18px; }
  .zip-field .zip-icon { display: none; }
  .zip-field input { flex-basis: 100%; height: 50px; padding: 0 12px; text-align: center; }
  .zip-field .btn { width: 100%; }
  .card-b { display: none; }
  .float-card { transform: scale(.88); }
  .card-a { top: 0; left: -2%; }
  .card-c { bottom: 0; left: auto; right: -2%; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding: 22px 0;
  background: var(--navy);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: #DDE6F7; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.marquee-item svg { width: 18px; height: 18px; color: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -48px; position: relative; z-index: 2; }
.benefit {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.benefit .b-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; background: var(--primary-50); color: var(--primary); }
.benefit:nth-child(2n) .b-icon { background: var(--teal-50); color: var(--teal); }
.benefit .b-icon svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 18px; margin-bottom: 6px; }
.benefit p { margin: 0; font-size: 15px; color: var(--muted); }
.benefits-wrap { padding-bottom: 20px; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); margin-top: 0; } .benefits-wrap { padding-top: 40px; } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps-line { position: absolute; top: 46px; left: 16%; right: 16%; height: 3px; overflow: visible; }
.steps-line line { stroke: var(--line-strong); stroke-width: 3; stroke-dasharray: 8 10; }
.steps-line .progress { stroke: var(--primary); stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s var(--ease) .3s; }
.steps.is-visible .steps-line .progress { stroke-dashoffset: 0; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
  position: relative;
  display: grid; place-items: center;
  width: 92px; height: 92px;
  margin: 0 auto 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--primary);
  transition: transform .4s var(--ease);
}
.step:hover .step-num { transform: translateY(-6px) rotate(-4deg); }
.step-num svg { width: 38px; height: 38px; }
.step-num::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -10px; right: -10px;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: 0 6px 14px -4px rgba(47, 107, 255, .6);
}
.step h3 { font-size: 21px; }
.step p { color: var(--muted); max-width: 320px; margin: 0 auto; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 40px; } .steps-line { display: none; } }

/* ---------- Coverage ---------- */
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cov-card {
  position: relative;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cov-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.cov-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cov-card:hover::before { transform: scaleX(1); }
.cov-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px; background: var(--bg-tint); color: var(--primary); transition: transform .4s var(--ease), background .3s, color .3s; }
.cov-card:hover .cov-icon { background: var(--primary); color: #fff; transform: rotate(-6deg) scale(1.05); }
.cov-icon svg { width: 28px; height: 28px; }
.cov-card h3 { font-size: 20px; margin-bottom: 8px; }
.cov-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.cov-tag { display: inline-block; margin-top: 16px; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; background: var(--teal-50); color: #0B8F79; }
.cov-tag.opt { background: var(--bg-tint); color: var(--primary); }
@media (max-width: 960px) { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .coverage-grid { grid-template-columns: 1fr; } }

/* ---------- Factors (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .h2 { margin-bottom: 18px; }
.split-lead { font-size: 18px; color: var(--muted); margin-bottom: 28px; }
.factor-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0; margin: 0; list-style: none; }
.factor-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s var(--ease);
}
.factor-list li:hover { border-color: var(--primary); transform: translateX(4px); }
.factor-list .f-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--primary-50); color: var(--primary); flex: none; }
.factor-list .f-ic svg { width: 19px; height: 19px; }
.factor-list strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.factor-list span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.split-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* Phone mockup */
.phone-stage { position: relative; display: grid; place-items: center; padding: 30px 0; }
.phone-stage::before {
  content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(47, 107, 255, .18), rgba(18, 194, 165, .12) 50%, transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}
.phone {
  position: relative;
  width: 300px; max-width: 80%;
  padding: 14px;
  border-radius: 44px;
  background: var(--navy);
  box-shadow: 0 40px 80px -30px rgba(10, 26, 51, .55), inset 0 0 0 2px rgba(255, 255, 255, .06);
  transform: rotate(-4deg);
  transition: transform .6s var(--ease);
}
.phone-stage:hover .phone { transform: rotate(0); }
.phone-screen { position: relative; border-radius: 32px; overflow: hidden; background: #fff; padding: 46px 18px 22px; min-height: 520px; }
.phone-screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 90px; height: 24px; border-radius: 14px; background: var(--navy); transform: translateX(-50%); }
.ps-progress { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-bottom: 18px; }
.ps-progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 6px; animation: psprog 6s var(--ease) infinite; }
@keyframes psprog { 0% { width: 12%; } 30% { width: 38%; } 60% { width: 66%; } 90%, 100% { width: 88%; } }
.ps-title { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.25; margin-bottom: 14px; text-align: center; }
.ps-opt { display: flex; align-items: center; gap: 10px; padding: 12px; margin-bottom: 10px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.ps-opt i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--bg-tint); color: var(--primary); flex: none; }
.ps-opt i svg { width: 17px; height: 17px; }
.ps-opt::after { content: ""; margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.ps-opt.sel { border-color: var(--primary); background: var(--primary-50); animation: selpulse 3s ease-in-out infinite; }
.ps-opt.sel::after { border: 5px solid var(--primary); }
@keyframes selpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0); } 50% { box-shadow: 0 0 0 5px rgba(47, 107, 255, .12); } }
.ps-btn { margin-top: 16px; height: 46px; border-radius: 14px; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.ps-secure { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: var(--muted); font-weight: 600; }
.ps-secure svg { width: 13px; height: 13px; color: var(--teal); }
.phone-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow-lg);
  font-size: 13px; font-weight: 700; color: var(--ink);
  animation: float 5s ease-in-out infinite;
}
.phone-chip svg { width: 18px; height: 18px; }
.phone-chip.pc1 { top: 14%; right: 2%; color: var(--success); }
.phone-chip.pc1 span { color: var(--ink); }
.phone-chip.pc2 { bottom: 16%; left: 0; animation-delay: -2.5s; }
.phone-chip.pc2 svg { color: var(--amber); }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .phone-stage { order: -1; }
}
@media (max-width: 520px) { .factor-list { grid-template-columns: 1fr; } .phone-chip { font-size: 12px; } }

/* ---------- Tips ---------- */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tip {
  display: flex; gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.tip:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.tip-num { flex: none; font-size: 15px; font-weight: 800; color: #fff; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); }
.tip h3 { font-size: 18px; margin-bottom: 6px; }
.tip p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .tips-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tips-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside p { color: var(--muted); font-size: 17px; }
.faq-contact { margin-top: 24px; padding: 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.faq-contact strong { display: block; color: var(--ink); margin-bottom: 4px; }
.faq-contact a { font-weight: 700; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq-item.is-open { border-color: rgba(47, 107, 255, .4); box-shadow: var(--shadow); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; padding: 22px 24px;
  border: 0; background: transparent; text-align: left;
  font-size: 17px; font-weight: 700; color: var(--ink);
}
.faq-q .pm { position: relative; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--bg-tint); transition: background .3s, transform .4s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--primary); transition: transform .4s var(--ease), background .3s; }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-item.is-open .pm { background: var(--primary); transform: rotate(180deg); }
.faq-item.is-open .pm::before, .faq-item.is-open .pm::after { background: #fff; }
.faq-item.is-open .pm::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; margin: 0; color: var(--muted); }
@media (max-width: 960px) { .faq-wrap { grid-template-columns: 1fr; gap: 32px; } .faq-aside { position: static; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 72px 64px;
  border-radius: 32px;
  background: var(--grad-dark);
  overflow: hidden;
  color: #C9D6EE;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; filter: blur(10px); }
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(47, 107, 255, .55), transparent 65%); animation: pulse 7s ease-in-out infinite; }
.cta-band::after { width: 360px; height: 360px; left: -140px; bottom: -200px; background: radial-gradient(circle, rgba(18, 194, 165, .45), transparent 65%); animation: pulse 9s ease-in-out infinite; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.cta-band p { margin: 0; font-size: 18px; }
.cta-band .zip-field { border-color: transparent; }
.cta-band .zip-error { color: #FFB4B6; }
.cta-band .hero-trust li { color: #DDE6F7; }
@media (max-width: 960px) { .cta-band { grid-template-columns: 1fr; padding: 48px 28px; text-align: center; } .cta-band .hero-trust { justify-content: center; } }
@media (max-width: 560px) { .cta-band { padding: 40px 18px; border-radius: 24px; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { margin-top: 110px; background: var(--navy); color: #9FB0CC; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding: 72px 0 48px; }
.footer-brand p { margin: 18px 0 22px; max-width: 380px; }
.footer-contact { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }
.footer-contact a { color: #DDE6F7; }
.footer-contact a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; letter-spacing: .02em; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #9FB0CC; transition: color .2s, padding .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-disclaimer { padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.7; color: #8193B0; }
.footer-disclaimer p:last-child { margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom a { color: #DDE6F7; font-weight: 600; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .site-footer { margin-top: 72px; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; } }

/* ---------- Cookie banner ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 560px;
  display: flex; gap: 16px; align-items: center;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  transform: translateY(140%);
  transition: transform .6s var(--ease);
}
.cookie-bar.is-shown { transform: none; }
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar .cb-actions { display: flex; gap: 8px; flex: none; }
.cookie-bar .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 560px) { .cookie-bar { flex-direction: column; align-items: stretch; } .cookie-bar .cb-actions .btn { flex: 1; } }

/* ==========================================================================
   QUIZ (full-screen funnel)
   ========================================================================== */
.quiz {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(47, 107, 255, .08), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(18, 194, 165, .08), transparent 60%),
    #fff;
  opacity: 0; visibility: hidden;
  transform: scale(1.02);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.quiz.is-open { opacity: 1; visibility: visible; transform: none; }
.quiz-top { position: sticky; top: 0; z-index: 2; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.quiz-bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.quiz-close { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, transform .3s var(--ease); }
.quiz-close:hover { border-color: var(--ink); transform: rotate(90deg); }
.quiz-close svg { width: 20px; height: 20px; }
.quiz-progress { height: 4px; background: var(--line); }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .6s var(--ease); border-radius: 0 4px 4px 0; }
.quiz-body { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 40px 16px 48px; }
.quiz-inner { width: 100%; max-width: 640px; }
.quiz-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; min-height: 36px; }
.quiz-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px 8px 8px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.quiz-back:hover { background: var(--bg-soft); color: var(--ink); }
.quiz-back svg { width: 18px; height: 18px; }
.quiz-back[hidden] { display: inline-flex; visibility: hidden; }
.quiz-count { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.secured { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--success); }
.secured svg { width: 16px; height: 16px; }

.q-step { animation: stepIn .5s var(--ease) both; }
.q-step.is-leaving { animation: stepOut .25s ease-in both; }
.q-step.is-back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes stepOut { to { opacity: 0; transform: translateY(-10px); } }
.q-title { font-size: clamp(26px, 4vw, 36px); text-align: center; margin-bottom: 10px; outline: none; }
.q-sub { text-align: center; color: var(--muted); font-size: 17px; margin-bottom: 32px; }
.q-options { display: grid; gap: 12px; }
.q-options.cols-2 { grid-template-columns: 1fr 1fr; }
.q-options.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.q-opt {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease), background .2s;
  animation: optIn .5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms + 80ms);
}
@keyframes optIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.q-opt:hover { border-color: var(--primary); box-shadow: 0 8px 22px -12px rgba(47, 107, 255, .5); transform: translateY(-2px); }
.q-opt.is-selected { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 4px rgba(47, 107, 255, .12); }
.q-opt .o-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg-tint); color: var(--primary); flex: none; transition: background .2s, color .2s, transform .3s var(--ease); }
.q-opt:hover .o-ic, .q-opt.is-selected .o-ic { background: var(--primary); color: #fff; transform: scale(1.05); }
.q-opt .o-ic svg { width: 24px; height: 24px; }
.q-opt .o-txt { flex: 1; min-width: 0; }
.q-opt strong { display: block; font-size: 17px; line-height: 1.3; }
.q-opt small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.q-opt .o-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; transition: border .2s; }
.q-opt.is-selected .o-radio { border: 7px solid var(--primary); }
.q-opt.tile { justify-content: center; text-align: center; padding: 16px 8px; font-weight: 800; font-size: 17px; }
.q-opt.tile.wide { grid-column: span 2; }
.q-opt.big { flex-direction: column; text-align: center; padding: 28px 16px 24px; gap: 12px; }
.q-opt.big .o-ic { width: 60px; height: 60px; border-radius: 18px; }
.q-opt.big .o-ic svg { width: 30px; height: 30px; }
.q-opt.big .o-radio { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; }
.q-opt.big.is-selected .o-radio { border-width: 6px; }
@media (max-width: 560px) {
  .quiz-body { padding: 28px 16px 40px; }
  .q-options.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .q-options.cols-2.stack-sm { grid-template-columns: 1fr; }
  .q-opt { padding: 16px; gap: 14px; }
  .q-opt.big { padding: 22px 12px 18px; }
  .q-sub { font-size: 15px; margin-bottom: 24px; }
  .secured span { display: none; }
}

/* ZIP step */
.q-zip { max-width: 420px; margin: 0 auto; }
.q-zip .zip-field { box-shadow: var(--shadow-sm); }
.q-zip .zip-field input { text-align: center; font-size: 26px; letter-spacing: .3em; height: 60px; }
.q-zip .btn { margin-top: 8px; }

/* Lead form */
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: #9AA8BF; pointer-events: none; transition: color .2s; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; height: 56px;
  padding: 0 16px 0 48px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 16px; font-weight: 600;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.field select { padding-left: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A93' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
.field.plain input { padding-left: 16px; }
.field input::placeholder, .field textarea::placeholder { color: #A7B3C7; font-weight: 500; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47, 107, 255, .12); }
.input-wrap:focus-within svg { color: var(--primary); }
.field.is-valid input[name] { border-color: rgba(18, 163, 127, .55); }
.field.has-error input[name], .field.has-error select[name], .field.has-error textarea[name] { border-color: var(--danger); background: #FFF8F8; }
.field-error { font-size: 13px; font-weight: 600; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.consent {
  grid-column: 1 / -1;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  font-size: 12.5px; line-height: 1.55; color: var(--muted);
  cursor: pointer;
  transition: border-color .2s;
}
.consent.has-error { border-color: var(--danger); }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid var(--line-strong); border-radius: 7px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.consent input::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); margin-top: -2px; transition: transform .2s var(--ease); }
.consent input:checked { background: var(--primary); border-color: var(--primary); }
.consent input:checked::after { transform: rotate(45deg) scale(1); }
.consent a { font-weight: 700; }
.lead-form .btn { grid-column: 1 / -1; min-height: 60px; font-size: 18px; }
.form-secure { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.form-secure svg { width: 16px; height: 16px; color: var(--success); }
@media (max-width: 560px) { .lead-form { grid-template-columns: 1fr; } }

/* Loading */
.q-loading { text-align: center; padding-top: 20px; }
.loader-compass { position: relative; width: 120px; height: 120px; margin: 0 auto 32px; }
.loader-compass svg { width: 100%; height: 100%; }
.loader-compass .lc-ring { transform-origin: 60px 60px; animation: spin 1.4s linear infinite; }
.loader-compass .lc-needle { transform-origin: 60px 60px; animation: needle 1.6s var(--ease) infinite; }
.load-list { list-style: none; padding: 0; margin: 28px auto 0; max-width: 360px; display: grid; gap: 14px; text-align: left; }
.load-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--muted); transition: color .3s; }
.load-list li i { position: relative; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; transition: background .3s, border-color .3s; }
.load-list li.is-active i { border-color: var(--primary); border-right-color: transparent; animation: spin .8s linear infinite; }
.load-list li.is-done { color: var(--ink); }
.load-list li.is-done i { background: var(--success); border-color: var(--success); animation: none; }
.load-list li.is-done i::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Success */
.q-success { text-align: center; }
.success-check { width: 112px; height: 112px; margin: 0 auto 28px; }
.success-check circle { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw .8s var(--ease) forwards; }
.success-check .sc-bg { transform-origin: 56px 56px; animation: popIn .6s .1s var(--ease) both; }
.success-check path { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .5s .6s var(--ease) forwards; }
@keyframes popIn { from { transform: scale(0); } 70% { transform: scale(1.08); } to { transform: scale(1); } }
.q-success .q-sub { max-width: 520px; margin-left: auto; margin-right: auto; }
.summary { margin: 0 auto 28px; max-width: 520px; padding: 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); text-align: left; }
.summary h3 { font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.summary dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 0; }
.summary dt { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.summary dd { margin: 2px 0 0; color: var(--ink); font-weight: 700; font-size: 15px; }
.next-steps { list-style: none; padding: 0; margin: 0 auto 32px; max-width: 520px; display: grid; gap: 10px; text-align: left; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 15px; }
.next-steps svg { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 1px; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 101; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-hero {
  position: relative;
  padding: 72px 0 56px;
  background:
    radial-gradient(800px 400px at 90% -20%, rgba(47, 107, 255, .14), transparent 60%),
    radial-gradient(600px 300px at 0% 120%, rgba(18, 194, 165, .12), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.legal-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 14px; }
.legal-hero .lead { max-width: 720px; font-size: 18px; color: var(--muted); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.legal-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text); }
.legal-meta svg { width: 15px; height: 15px; color: var(--primary); }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 64px; padding-top: 56px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: 8px; }
.legal-toc p { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.legal-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.4; transition: color .2s, border-color .2s; }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a.is-active { color: var(--primary); border-left-color: var(--primary); }
.legal-content { max-width: 780px; min-width: 0; font-size: 16.5px; line-height: 1.75; }
.legal-content h2 { font-size: 26px; margin: 48px 0 16px; padding-top: 8px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 19px; margin: 28px 0 10px; }
.legal-content ul, .legal-content ol { padding-left: 22px; margin: 0 0 1.2em; }
.legal-content li { margin-bottom: 8px; }
.legal-content li::marker { color: var(--primary); }
.legal-content strong { color: var(--ink); }
.legal-content .callout { padding: 20px 22px; margin: 0 0 28px; border-radius: var(--radius); background: var(--primary-50); border: 1px solid rgba(47, 107, 255, .2); color: var(--ink); }
.legal-content .callout p:last-child { margin: 0; }
.legal-content .caps { text-transform: uppercase; font-size: 15px; letter-spacing: .01em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: var(--radius); }
.legal-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.legal-content th, .legal-content td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-content th { background: var(--bg-soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
.legal-content tr:last-child td { border-bottom: 0; }
.contact-card { display: grid; gap: 4px; padding: 22px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); font-style: normal; margin-bottom: 1.2em; }
.contact-card strong { font-size: 17px; }
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .legal-toc { position: static; max-height: none; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
  .legal-toc ol { columns: 2; column-gap: 16px; border: 0; }
  .legal-toc a { padding-left: 0; border: 0; }
}
@media (max-width: 560px) { .legal-toc ol { columns: 1; } .legal-hero { padding: 48px 0 40px; } .legal-content { font-size: 16px; } .legal-content h2 { font-size: 22px; } }

/* Static forms on legal/contact pages */
.panel { padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); margin: 8px 0 32px; }
.panel h3 { margin-top: 0; }
.panel .lead-form .btn { min-height: 54px; font-size: 16px; }
.form-success { text-align: center; padding: 16px 8px; animation: stepIn .5s var(--ease) both; }
.form-success .success-check { width: 84px; height: 84px; margin-bottom: 18px; }
.form-success h3 { font-size: 22px; }
.form-success p { color: var(--muted); margin: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.contact-tile { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-tile .b-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; background: var(--primary-50); color: var(--primary); }
.contact-tile .b-icon svg { width: 22px; height: 22px; }
.contact-tile strong { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-tile a, .contact-tile span { font-size: 15px; word-break: break-word; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } .panel { padding: 22px 18px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
