/* ---------- Tokens ---------- */
:root {
  --color-ink: #0F172A;
  --color-ink-hover: #1E293B;
  --color-accent: #EF4444;
  --color-accent-hover: #DC2626;
  --color-accent-soft: #FEE2E2;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-border: #E2E8F0;
  --color-muted: #64748B;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);

  --header-height: 72px;
  --container-max: 1200px;

  --font-sans: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input { font: inherit; }
a { color: inherit; }

.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;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Top accent bar ---------- */
.top-bar {
  background: var(--color-accent);
  min-height: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 12px;
}
.top-bar__stamp {
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  /* Hidden until JS injects the dynamic date so we never flash a wrong/empty stamp */
  opacity: 0;
  transition: opacity 200ms ease;
}
.top-bar__stamp[data-ready="true"] { opacity: 1; }
@media (min-width: 480px) {
  .top-bar__stamp { font-size: 11px; }
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.site-header__cobrand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-ink);
}
.site-header__cobrand-icon {
  height: 26px;
  width: auto;
  flex-shrink: 0;
}
.site-header__cobrand-text {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-ink);
  white-space: nowrap;
}

.site-header__brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-ink);
  white-space: nowrap;
}
.site-header__brand-tld { color: var(--color-accent); }

@media (max-width: 639px) {
  .site-header__brand { display: none; }
  .site-header__cobrand-text { font-size: 20px; }
  .site-header__cobrand-icon { height: 24px; }
  .site-header__row { justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  min-height: 52px;
  text-decoration: none;
  transition: background-color 120ms ease, transform 80ms ease;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: var(--color-accent-hover); }
.btn--accent:focus-visible {
  outline: 3px solid rgba(239, 68, 68, 0.4);
  outline-offset: 2px;
}
.btn--dark { background: var(--color-ink); color: #fff; }
.btn--dark:hover { background: var(--color-ink-hover); }
.btn--dark:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-bg);
  padding-block: 56px 80px;
  position: relative;
  z-index: 2;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__headline {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.hero__headline-accent { color: var(--color-accent); }
.hero__subheadline {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.45;
  max-width: 60ch;
}

.hero__visual { display: none; }

@media (max-width: 639px) {
  .hero { padding-block: 36px 80px; }
}

@media (min-width: 880px) {
  .hero {
    padding-block: 72px 144px;
    overflow: visible;
  }
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: end;
    text-align: left;
  }
  .hero__content {
    align-items: flex-start;
    align-self: start;
  }
  .hero__headline { max-width: 14ch; }
  .hero__visual {
    display: block;
    align-self: end;
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: 80px;
    margin-bottom: 0;
  }
  .hero__illo {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* ---------- Band area (light red bg, contains CTA box + carriers + intro) ---------- */
.band-area {
  background: var(--color-accent-soft);
  padding-bottom: 0;
}

/* ---------- CTA band (contained red box, overlaps into hero above) ---------- */
.cta-band {
  background: var(--color-accent);
  padding: 28px 24px;
  margin-top: -40px;
  margin-inline: auto;
  max-width: 1000px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  z-index: 3;
}

@media (min-width: 880px) {
  .cta-band { margin-top: -144px; padding: 32px 32px; }
}

/* Quote page — form is standalone, no hero to overlap into */
.quote-page .cta-band { margin-top: 0; }

/* ---------- Legal pages (privacy, terms) ---------- */
.legal-page main {
  background: var(--color-bg);
  padding-block: 48px 72px;
}
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-content h1 {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
.legal-content .legal-meta {
  margin: 0 0 28px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
}
.legal-content h2 {
  margin: 36px 0 12px;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
.legal-content h3 {
  margin: 22px 0 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--color-ink);
}
.legal-content p,
.legal-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-ink);
}
.legal-content p { margin: 0 0 16px; }
.legal-content ul,
.legal-content ol { padding-left: 24px; margin: 0 0 16px; }
.legal-content li + li { margin-top: 6px; }
.legal-content strong { font-weight: 700; }
.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--color-accent-hover); }
.legal-notice {
  margin: 0 0 28px;
  padding: 16px 20px;
  background: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
}
.legal-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-ink);
}
@media (max-width: 639px) {
  .legal-page main { padding-block: 32px 48px; }
  .legal-content h2 { margin-top: 28px; font-size: 20px; }
  .legal-content p,
  .legal-content li { font-size: 15px; }
}
.quote-main {
  background: var(--color-accent-soft);
  padding-block: 40px 64px;
  min-height: calc(100vh - 72px - 5px);
}
@media (min-width: 880px) {
  .quote-main { padding-block: 64px 96px; }
}

/* Progress bar at the top of the band — always visible, builds momentum */
.cta-band__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.cta-band__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFF9F9 100%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
  border-radius: 12px 12px 0 0;
  transition: width 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Step counter chip — small, centered, sits midway between progress bar and step title */
.cta-band__meta {
  display: flex;
  justify-content: center;
  padding: 9px 0 11px;
  margin: 0;
}
.cta-band__meta-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease;
}
.cta-band__meta-count--final {
  background: #FFFFFF;
  color: var(--color-accent);
}

/* Step container — all steps stacked, only active one in flow */
.cta-band__steps {
  position: relative;
  width: 100%;
}
.cta-step { display: none; }
.cta-step--active {
  display: block;
  animation: stepIn 320ms ease both;
}
.cta-step--back.cta-step--active {
  animation: stepInBack 320ms ease both;
}
@keyframes stepIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes stepInBack {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Step navigation row */
.cta-band__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.cta-band__back {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  cursor: pointer;
  transition: color 120ms ease, background 120ms ease;
}
.cta-band__back:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.cta-band__nav .cta-band__submit { width: auto; flex: 1 1 auto; max-width: 280px; margin-left: auto; }

/* Field grid (vehicle, contact) */
.cta-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  text-align: left;
}
@media (min-width: 640px) {
  .cta-band__grid { grid-template-columns: repeat(2, 1fr); }
}
.cta-band__grid--two { grid-template-columns: 1fr; }
@media (min-width: 480px) {
  .cta-band__grid--two { grid-template-columns: repeat(2, 1fr); }
}

.cta-field {
  text-align: left;
  margin-bottom: 0;
}
.cta-field + .cta-field,
.cta-band__grid + .cta-field,
.cta-field + .cta-band__grid,
.cta-band__grid + .cta-band__grid { margin-top: 12px; }
.cta-band__grid .cta-field + .cta-field { margin-top: 0; }
.cta-field label {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.cta-field input,
.cta-field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.cta-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230F172A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.cta-field select:disabled {
  background-color: rgba(255, 255, 255, 0.7);
  color: #94A3B8;
  cursor: not-allowed;
}
.cta-field input:focus,
.cta-field select:focus {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}
.cta-field input::placeholder { color: #94A3B8; font-weight: 400; }
.cta-field input.is-invalid,
.cta-field select.is-invalid { outline: 3px solid #fff; outline-offset: 2px; }

/* Extra-vehicle step: "Vehicle X of Y" subtitle */
.cta-band__sub {
  margin: -4px 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  text-align: center;
}

/* Address combobox: input + custom suggestions dropdown */
.cta-combobox {
  position: relative;
}
.cta-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  margin: 0;
  padding: 4px;
  list-style: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
}
.cta-suggestions[hidden] { display: none; }
.cta-suggestions__item {
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: #0F172A;
  font-size: 14px;
  line-height: 1.35;
}
.cta-suggestions__item:hover,
.cta-suggestions__item[aria-selected="true"] {
  background: #F1F5F9;
}
.cta-suggestions__main { font-weight: 700; }
.cta-suggestions__sec { color: #64748B; font-weight: 400; font-size: 13px; }

/* Visually hidden but readable by assistive tech */
.cta-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;
}

/* Choice cards (radio button card style) */
.cta-choice {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  text-align: left;
}
.cta-choice:last-of-type { margin-bottom: 0; }
/* Add top spacing when a choice group follows a field/grid (avoids visual collision) */
.cta-field + .cta-choice,
.cta-band__grid + .cta-choice { margin-top: 16px; }
.cta-choice legend {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  padding: 0;
}
.cta-choice__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cta-choice__options label {
  position: relative;
  flex: 1 1 0;
  min-width: 80px;
  cursor: pointer;
}
.cta-choice__options input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cta-choice__options span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-ink);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  white-space: nowrap; /* keep "6–12 mo" on a single line inside the chip */
}

/* 5-chip groups: 3-on-top / 2-on-bottom, all chips same width.
   The bottom row sits centered between the midpoints of the top row's
   1st and 3rd chips (so used for continuous_coverage and annual miles). */
.cta-choice__options--five {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.cta-choice__options--five label {
  flex: none;
  min-width: 0;
  grid-column: span 2; /* top row: 3 chips × 2 cols = 6 */
}
.cta-choice__options--five label:nth-child(4) {
  grid-column: 2 / span 2; /* bottom row, chip 1 centered under chip-1/chip-2 midpoint */
}
.cta-choice__options--five label:nth-child(5) {
  grid-column: 4 / span 2; /* bottom row, chip 2 centered under chip-2/chip-3 midpoint */
}

/* 5-chip groups: explicit 2 / 2 / 1 layout, with the 5th chip centered and the
   same width as the others (used on standalone Vehicle Count step). */
.cta-choice__options--five-2-2-1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.cta-choice__options--five-2-2-1 label {
  flex: none;
  min-width: 0;
  grid-column: span 2;
}
.cta-choice__options--five-2-2-1 label:nth-child(5) {
  grid-column: 2 / span 2; /* center on row 3, same width as siblings */
}
.cta-choice__options input:checked + span {
  background: var(--color-ink);
  color: #fff;
  border-color: #fff;
}
.cta-choice__options input:focus-visible + span {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}
.cta-choice__options label:hover input:not(:checked) + span { background: #fff; }

/* ---------- DOB chip picker (3-step: month → day → year) ---------- */
.cta-dob { margin: 0 0 8px; }
.cta-dob__display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 22px 16px 28px;
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 800;
  color: #94A3B8;
  user-select: none;
}
.cta-dob__slot {
  appearance: none;
  background: none;
  border: 0;
  padding: 2px 6px;
  border-radius: 4px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.cta-dob__slot:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.cta-dob__slot--active { color: var(--color-accent); }
.cta-dob__slot--filled { color: var(--color-ink); }
.cta-dob__sep { color: #CBD5E1; margin: 0 2px; pointer-events: none; }
.cta-dob__reset {
  position: absolute;
  right: 12px;
  bottom: 6px;
  background: none;
  border: 0;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
  cursor: pointer;
}
.cta-dob__reset:hover { color: var(--color-ink); }
.cta-dob__grid {
  display: grid;
  gap: 8px;
}
.cta-dob__grid--month { grid-template-columns: repeat(3, 1fr); }
.cta-dob__grid--day   { grid-template-columns: repeat(5, 1fr); }
.cta-dob__grid--year  { grid-template-columns: repeat(5, 1fr); max-height: 360px; overflow-y: auto; padding-right: 4px; }
.cta-dob__chip {
  appearance: none;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-ink);
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.cta-dob__chip:hover { background: #FFFFFF; }
.cta-dob__chip--selected {
  background: var(--color-ink);
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.cta-dob__chip--centered { grid-column: 3 / 4; }
@media (min-width: 640px) {
  .cta-dob__grid--year { max-height: 420px; }
}

/* TCPA consent (below submit button) */
.cta-band__tcpa {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  line-height: 1.5;
  text-align: left;
}

/* Thank you state */
.cta-thanks {
  padding: 24px 8px;
  color: #fff;
  text-align: center;
}
.cta-thanks__check {
  margin: 0 auto 16px;
  color: #fff;
  display: block;
}
.cta-thanks__title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 32px);
  color: #fff;
}
.cta-thanks__body {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.55;
  max-width: 44ch;
}

/* ---------- Sticky scroll-triggered ZIP bar ---------- */
.sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.10);
  transform: translateY(-100%);
  transition: transform 280ms ease;
  padding-block: 12px;
  visibility: hidden;
}
.sticky-cta--visible { transform: translateY(0); visibility: visible; }
.sticky-cta__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sticky-cta__title {
  margin: 0;
  font-weight: 800;
  color: var(--color-ink);
  font-size: 15px;
  white-space: nowrap;
}
.sticky-cta__form {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.sticky-cta__input {
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
  width: 130px;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  font-family: inherit;
}
.sticky-cta__input::-webkit-outer-spin-button,
.sticky-cta__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sticky-cta__input:focus {
  outline: 3px solid rgba(15, 23, 42, 0.15);
  outline-offset: 1px;
  border-color: var(--color-ink);
}
.sticky-cta__input.is-invalid { border-color: var(--color-accent); }
.sticky-cta__submit {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 15px;
}

@media (max-width: 559px) {
  .sticky-cta__title { display: none; }
  .sticky-cta__form { width: 100%; margin-left: 0; }
  .sticky-cta__input { flex: 1 1 auto; width: auto; }
}
.cta-band__title {
  margin: 0 0 18px;
  color: #fff;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.01em;
}
.cta-band__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}
.cta-band__input {
  height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  width: 100%;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}
.cta-band__input::-webkit-outer-spin-button,
.cta-band__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cta-band__input::placeholder { color: #94A3B8; font-weight: 400; }
.cta-band__input:focus {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}
.cta-band__input.is-invalid {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.cta-band__submit { width: 100%; min-height: 52px; }
.cta-band__error {
  margin: 10px 0 0;
  min-height: 1.2em;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 560px) {
  .cta-band__row { flex-direction: row; }
  .cta-band__input { flex: 1 1 auto; }
  .cta-band__submit { width: auto; flex-shrink: 0; }
}

@media (max-width: 639px) {
  .cta-band {
    margin-top: -40px;
    padding: 24px 18px;
  }
}

/* ---------- Trust strip (sits on light red band) ---------- */
.trust-strip {
  padding-block: 40px 12px;
  background: transparent;
}
.trust-strip__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-ink);
  opacity: 0.6;
}

/* Carrier logo marquee — continuous horizontal scroll */
.carrier-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 8px;
  --marquee-fade: 80px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--marquee-fade), #000 calc(100% - var(--marquee-fade)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--marquee-fade), #000 calc(100% - var(--marquee-fade)), transparent 100%);
}
.carrier-marquee__track {
  display: flex;
  width: max-content;
  gap: 42px; /* mobile: 25% tighter than desktop */
  animation: carrier-scroll 19.5s linear infinite; /* mobile: 25% faster than desktop */
}
.carrier-marquee:hover .carrier-marquee__track {
  animation-play-state: paused;
}
.carrier-slot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 48px;
  overflow: visible;
}
.carrier-marquee__logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: opacity 200ms ease;
}
.carrier-marquee__logo:hover {
  opacity: 1;
}

@keyframes carrier-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .carrier-marquee__track {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 960px) {
  .carrier-slot { width: 180px; height: 56px; }
  .carrier-marquee__track { gap: 64px; animation-duration: 26s; }
  .carrier-marquee { --marquee-fade: 120px; }
}

/* ---------- Intro section (sits on the same light red band) ---------- */
.intro-section {
  padding-block: 64px 80px;
  text-align: center;
}
.intro-section__title {
  margin: 0 auto 24px;
  color: var(--color-accent);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 24ch;
}
.intro-section__body {
  margin: 0 auto;
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.7;
  max-width: 64ch;
}

@media (max-width: 639px) {
  .intro-section { padding-block: 48px 56px; }
  .intro-section__body { font-size: 15px; }
}

/* ---------- Features (8 selling points around a central phone) ---------- */
.features {
  background: var(--color-bg);
  padding-block: 64px 80px;
}
.features__layout {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.features__layout::-webkit-scrollbar { display: none; }

.features__center { display: none; }

.feature {
  flex: 0 0 calc(50% - 8px);
  scroll-snap-align: start;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.feature__icon {
  margin: 0 0 16px;
  color: var(--color-accent);
  display: flex;
  justify-content: center;
}
.feature__icon svg {
  width: 40px;
  height: 40px;
  display: block;
}
.feature__title {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}
.feature__body {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 960px) {
  .features { padding-block: 80px 96px; }
  .features__layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 48px 32px;
    overflow: visible;
    scroll-snap-type: none;
    align-items: center;
    padding-bottom: 0;
  }
  .features__layout > .feature {
    flex: initial;
    scroll-snap-align: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    text-align: left;
  }
  .features__layout > .feature:nth-child(1) { grid-column: 1; grid-row: 1; }
  .features__layout > .feature:nth-child(2) { grid-column: 1; grid-row: 2; }
  .features__layout > .feature:nth-child(3) { grid-column: 1; grid-row: 3; }
  .features__layout > .feature:nth-child(4) { grid-column: 1; grid-row: 4; }
  .features__center {
    display: block;
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    width: 320px;
  }
  .features__layout > .feature:nth-child(6) { grid-column: 3; grid-row: 1; }
  .features__layout > .feature:nth-child(7) { grid-column: 3; grid-row: 2; }
  .features__layout > .feature:nth-child(8) { grid-column: 3; grid-row: 3; }
  .features__layout > .feature:nth-child(9) { grid-column: 3; grid-row: 4; }
  .features__phone {
    width: 320px;
    height: auto;
    display: block;
  }
  .feature__icon {
    justify-content: flex-start;
    margin-bottom: 12px;
  }
  .feature__title { font-size: 18px; }
  .feature__body { font-size: 15px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 48px 32px;
  font-size: 14px;
  line-height: 1.55;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.site-footer__brand-icon { height: 22px; width: auto; flex-shrink: 0; }
.site-footer__brand-tld { color: var(--color-accent); }

.site-footer__disclaimers { max-width: 64ch; }
.site-footer__disclaimers p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.6;
}
.site-footer__disclaimers p + p { margin-top: 10px; }

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  justify-content: center;
}
.site-footer__links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__links a:hover { color: #fff; }

.site-footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}
