/* InsureCarFast — shared stylesheet
   Mobile-first. No framework. System font stack. */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

/* ---------- Variables ---------- */
:root {
  --primary:        #5E3BEE;
  --primary-dark:   #2A1B6B;
  --primary-light:  #F0EDFE;
  --dark:           #1A1A1A;
  --text:           #1A1A1A;
  --muted:          #4A4A4A;
  --gray:           #9A9A9A;
  --light:          #FAFAFA;
  --border:         #E5E7EB;
  --white:          #FFFFFF;
  --radius:         10px;
  --radius-lg:      14px;
  --max:            1100px;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:      0 10px 40px rgba(94,59,238,0.15);
}

/* ---------- Utility ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); font-size: 14px; }

/* ---------- Header (sticky, minimal) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: inline-flex; align-items: center; }
.logo svg { height: 32px; width: auto; }
.header-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  transition: background .15s ease, color .15s ease;
}
.header-cta:hover {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
}
.hamburger {
  display: none; /* we'll show only on policy/contact nav if needed */
  background: none;
  border: 0;
  padding: 8px;
  width: 40px;
  height: 40px;
}

/* ---------- Trust strip (integrated with hero — no hard border) ---------- */
.trust-strip {
  background: var(--light);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 12px 20px;
}
.trust-strip span { white-space: nowrap; }
.trust-strip .sep { color: var(--gray); margin: 0 8px; }

/* ---------- Hero (continues trust-strip background, no visible seam) ---------- */
.hero {
  background:
    radial-gradient(1000px 400px at 100% 0%, rgba(94,59,238,0.05), transparent 60%),
    var(--light);
  padding: 24px 0 56px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.hero-copy h1 {
  font-size: clamp(28px, 6vw, 44px);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.hero-copy .subhead {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--muted);
  max-width: 56ch;
}

/* Hero value-prop bullets (replaces stock photos — cleaner, on-brand) */
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--dark);
  font-weight: 500;
}
.hero-bullet-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}
.hero-bullet-check svg { width: 14px; height: 14px; display: block; }
@media (min-width: 640px) {
  .hero-bullets { grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
}

/* Inline footnote in prose sections */
.footnote-inline {
  font-size: 12px;
  color: var(--gray);
  margin-top: 24px;
  line-height: 1.55;
}

/* ---------- Form panel ---------- */
.form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 32px rgba(94,59,238,0.08), 0 1px 2px rgba(0,0,0,0.04);
  padding: 28px 24px;
  border: 1px solid var(--border);
  min-height: 360px;
}
/* LeadsHook embed container — let it fill available width */
.form-panel .quiz-container {
  width: 100%;
  text-align: left !important; /* override LeadsHook's inline center align inside our form panel */
}
.form-panel h2 { font-size: 22px; margin-bottom: 4px; }
.form-panel .form-sub { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.form-progress {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}
.form-progress-bar > span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
  width: 25%;
  transition: width .25s ease;
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.field input,
.field select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field select { padding-right: 40px; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239A9A9A' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(94,59,238,0.15);
}
.field.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field .error { color: #C93030; font-size: 13px; margin-top: 6px; display: none; }
.field.has-error input,
.field.has-error select { border-color: #C93030; }
.field.has-error .error { display: block; }
.form-micro {
  font-size: 12px;
  color: var(--gray);
  margin-top: 10px;
  text-align: center;
}
.form-micro-step {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
  text-align: center;
  font-style: italic;
}
.tcpa-consent {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  padding: 12px;
  background: var(--light);
  border-radius: 8px;
  margin: 6px 0 12px;
}
.tcpa-consent a { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 0;
  background: var(--primary);
  color: var(--white);
  width: 100%;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
  text-decoration: none;
}
.btn:hover { background: #4E2FE0; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn.btn-inverse {
  background: var(--white);
  color: var(--primary-dark);
}
.btn.btn-inverse:hover { background: #F3F0FF; }
.btn.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  width: auto;
  padding: 10px 16px;
  font-size: 15px;
}
.btn.btn-ghost:hover { background: var(--primary); color: var(--white); }
/* (Multi-step form CSS removed — LeadsHook now renders the form inside .form-panel) */

/* ---------- Sticky mobile CTA bar ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 10px 12px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform .25s ease;
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.mobile-cta input {
  height: 44px;
  padding: 0 12px;
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
}
.mobile-cta button {
  height: 44px;
  padding: 0 14px;
  background: var(--primary);
  color: var(--white);
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}
/* Simplified mobile CTA — single full-width button (used with LeadsHook embed) */
.mobile-cta-simple .btn {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-alt { background: var(--light); }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 12px;
}
.section h3 { font-size: 20px; margin-bottom: 8px; }
.section-intro { font-size: 17px; color: var(--muted); max-width: 60ch; margin-bottom: 28px; }
.prose p { max-width: 66ch; }

/* ---------- "What we are" section ---------- */
.about-section .prose p { font-size: 16.5px; }

/* ---------- Step cards (How it works) ---------- */
.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.step-card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Inline CTA box (Section 3) ---------- */
.inline-cta {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 24px 0 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
}
.inline-cta p { margin: 0; font-weight: 600; color: var(--primary-dark); font-size: 17px; }
.inline-cta .btn { width: 100%; }

/* ---------- Factor grid (rate factors) ---------- */
.factor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.factor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .15s ease, transform .15s ease;
}
.factor-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.factor-card .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  margin-bottom: 16px;
  color: var(--primary);
}
.factor-card .card-icon svg { width: 22px; height: 22px; display: block; }
.factor-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--dark); }
.factor-card p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }

.illustrative-note {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
  max-width: 66ch;
}

/* ---------- Coverage cards ---------- */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.coverage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .15s ease, transform .15s ease;
}
.coverage-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.coverage-card .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--primary-light);
  margin-bottom: 16px;
  color: var(--primary);
}
.coverage-card .card-icon svg { width: 26px; height: 26px; display: block; }
.coverage-card h3 { font-size: 17px; margin-bottom: 8px; }
.coverage-card p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }
.coverage-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--light);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
}

/* ---------- Mid-page CTA band (replaces visual-break image) ---------- */
.mid-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 48px 20px;
  color: var(--white);
}
.mid-cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.mid-cta-text h2 {
  color: var(--white);
  font-size: clamp(22px, 3.4vw, 28px);
  margin-bottom: 8px;
  line-height: 1.3;
  text-wrap: balance; /* avoids widow/orphan single-letter wraps */
}
.mid-cta-text p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin: 0;
}
.mid-cta .btn {
  background: var(--white);
  color: var(--primary-dark);
  max-width: 320px;
  margin: 0 auto;
}
.mid-cta .btn:hover { background: #F3F0FF; }
@media (min-width: 800px) {
  .mid-cta { padding: 56px 20px; }
  .mid-cta-inner {
    grid-template-columns: 1fr auto;
    text-align: left;
    gap: 40px;
  }
  .mid-cta .btn { margin: 0; max-width: none; padding: 16px 32px; width: auto; }
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 48px;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.testimonial .stars { color: var(--primary); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial blockquote { margin: 0 0 12px; color: var(--dark); font-size: 15.5px; line-height: 1.6; font-style: normal; }
.testimonial cite { font-style: normal; font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* ---------- Trust pillars (horizontal layout — visually distinct from card grids) ---------- */
.trust-pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.trust-pillar {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}
.trust-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}
.trust-pillar-icon svg { width: 24px; height: 24px; display: block; }
.trust-pillar h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}
.trust-pillar p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
@media (min-width: 800px) {
  .trust-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ---------- Logo wall ---------- */
.logo-wall-heading { font-size: 15px; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 12px;
  align-items: center;
}
.logo-wall .logo-placeholder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  color: var(--gray);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  color: var(--dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--primary);
  transition: transform .2s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15.5px;
}
.faq-item .answer :last-child { margin-bottom: 0; }

/* ---------- Final CTA band ---------- */
.final-cta {
  background: var(--primary-dark);
  color: var(--white);
  text-align: center;
  padding: 56px 20px;
}
.final-cta h2 { color: var(--white); font-size: clamp(26px, 4.2vw, 34px); margin-bottom: 10px; }
.final-cta p { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 22px; }
.final-cta .btn { max-width: 320px; }
.final-cta .form-micro { color: rgba(255,255,255,0.75); margin-top: 12px; }
.final-cta .footnote {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  max-width: 640px;
  margin: 18px auto 0;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #111;
  color: var(--gray);
  font-size: 14px;
  padding: 40px 20px 28px;
  line-height: 1.6;
}
.site-footer .footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.site-footer .footer-attribution {
  color: #D0D0D0;
  font-weight: 600;
  margin-bottom: 12px;
}
.site-footer .footer-disclaimer {
  font-size: 12.5px;
  color: #8A8A8A;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: none;
}
.site-footer .footer-tcpa {
  font-size: 12px;
  color: #8A8A8A;
  line-height: 1.65;
  padding-top: 18px;
  border-top: 1px solid #2A2A2A;
  margin-bottom: 18px;
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-top: 18px;
  border-top: 1px solid #2A2A2A;
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px;
}
.site-footer .footer-links a { color: #D0D0D0; font-size: 13.5px; }
.site-footer .footer-links a:hover { color: var(--white); }
.site-footer .copyright { font-size: 12px; color: #6A6A6A; }

/* ---------- Body padding on home to account for sticky mobile CTA ---------- */
body.page-home { padding-bottom: 0; }
body.page-home.has-sticky-cta { padding-bottom: 72px; }

/* =====================================================
   POLICY + CONTACT PAGES
   ===================================================== */

.page-policy main,
.page-contact main {
  background: var(--white);
}

.page-header {
  background: var(--light);
  padding: 40px 20px 28px;
  border-bottom: 1px solid var(--border);
}
.page-header .container { max-width: 820px; }
.page-header h1 {
  font-size: clamp(26px, 4.5vw, 36px);
  margin-bottom: 8px;
}
.page-header .lede {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  max-width: 60ch;
}

.policy-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.policy-body h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--dark);
}
.policy-body h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--dark);
}
.policy-body p { font-size: 15.5px; color: var(--muted); margin-bottom: 14px; }
.policy-body ul, .policy-body ol { margin-bottom: 16px; padding-left: 1.3em; }
.policy-body li { font-size: 15.5px; color: var(--muted); margin-bottom: 6px; }
.policy-body .meta-line {
  font-size: 13px;
  color: var(--gray);
  padding: 12px 16px;
  background: var(--light);
  border-radius: 8px;
  margin-bottom: 28px;
}
.policy-body .adapt-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  background: #FFF8E6;
  border-left: 3px solid #E0B700;
  padding: 10px 14px;
  border-radius: 4px;
  margin: 16px 0;
}
.policy-body strong { color: var(--dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.contact-card h2 {
  font-size: 19px;
  margin-bottom: 10px;
  margin-top: 0;
  color: var(--primary-dark);
}
.contact-card p { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.contact-card .contact-value {
  font-size: 15.5px;
  color: var(--dark);
  font-weight: 600;
  display: block;
  margin: 6px 0 8px;
}
.contact-card address {
  font-style: normal;
  font-size: 15px;
  color: var(--dark);
  line-height: 1.7;
  background: var(--light);
  padding: 12px 14px;
  border-radius: 8px;
}
.contact-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}
.contact-final-cta {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-top: 8px;
}
.contact-final-cta h3 { color: var(--primary-dark); margin-bottom: 6px; }
.contact-final-cta p { color: var(--muted); margin-bottom: 16px; }
.contact-final-cta .btn { max-width: 280px; display: inline-block; }

/* =====================================================
   RESPONSIVE — tablet + desktop
   ===================================================== */

@media (min-width: 640px) {
  .hero { padding: 48px 0 56px; }
  .step-grid { grid-template-columns: repeat(3, 1fr); }
  .factor-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .inline-cta { grid-template-columns: 1fr auto; text-align: left; }
  .inline-cta .btn { width: auto; padding: 14px 26px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .95fr);
    gap: 48px;
    align-items: start;
  }
  .hero-copy h1 { font-size: 48px; }
  .form-panel.is-sticky {
    position: sticky;
    top: 76px;
  }
  .factor-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-wall { grid-template-columns: repeat(6, 1fr); }
  /* Sticky mobile CTA never shows on desktop */
  .mobile-cta { display: none !important; }
  body.page-home.has-sticky-cta { padding-bottom: 0; }
}

@media (max-width: 899px) {
  .mobile-cta.is-visible { display: block; }

  /* Mobile hero order on fast-quote.html (Meta speed LP):
     1. H1 (value-prop anchor — message-match for the ad hook)
     2. Form panel (action surface — still very high on the fold)
     3. Subhead (mechanic explainer)
     4. Bullets (reassurances)
     Achieved by `display: contents` on .hero-copy so its children flatten into the
     parent flex container and can be reordered alongside .form-panel. */
  .hero.hero-form-first-mobile .hero-inner {
    display: flex;
    flex-direction: column;
  }
  .hero.hero-form-first-mobile .hero-copy {
    display: contents;
  }
  .hero.hero-form-first-mobile .hero-copy > h1 {
    order: 1;
  }
  .hero.hero-form-first-mobile .form-panel {
    order: 2;
    margin-top: 8px;
    margin-bottom: 24px;
  }
  .hero.hero-form-first-mobile .hero-copy > .subhead {
    order: 3;
  }
  .hero.hero-form-first-mobile .hero-copy > .hero-bullets {
    order: 4;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
