.header-trust-note {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

.funnel-hero {
  text-align: center;
  padding: 40px 0 8px;
}
.funnel-hero h1 {
  font-size: clamp(22px, 3.2vw, 32px);
  max-width: 720px;
  margin: 0 auto 10px;
}
.funnel-hero .highlight { color: #D6474F; }
.funnel-hero__sub { font-size: 16px; color: var(--slate); }
.funnel-hero__sub strong { color: var(--accent-blue); }

.funnel-wrap { padding: 24px 0 56px; }

.funnel-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  padding: 40px 48px 32px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .funnel-panel { padding: 28px 20px 24px; border-radius: var(--radius-md); }
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-cta);
  transition: width 0.4s ease;
}
.progress-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}

.step-title {
  text-align: center;
  font-size: 21px;
  margin-bottom: 22px;
}
.step-title small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 8px;
}

/* Search input used across make/model/insurer steps */
.step-search {
  position: relative;
  margin-bottom: 18px;
}
.step-search input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--navy);
}
.step-search input:focus { border-color: var(--accent-blue); }
.step-search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 2;
}

/* Option grid: years, makes, carriers, models */
.option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
.option-grid.option-grid--3 { grid-template-columns: repeat(3, 1fr); }
.option-grid.option-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) {
  .option-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

.option-btn {
  border: 1.5px solid var(--border-soft);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 13px 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.option-btn:hover { border-color: var(--accent-blue-bright); background: #F3FAFF; }
.option-btn:active { transform: scale(0.98); }
.option-btn.is-selected {
  border-color: var(--accent-blue);
  background: #EAF6FF;
  box-shadow: 0 0 0 3px rgba(18,160,238,0.15);
}
.option-btn .opt-icon {
  width: 20px; height: 20px; border-radius: 5px; flex: none;
  background: var(--gradient-cta);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px; font-weight: 800;
}
.option-btn .opt-icon--logo {
  width: auto;
  height: 23px;
  max-width: 40px;
  background: none;
  border-radius: 0;
}
.option-btn .opt-icon--logo img {
  height: 100%;
  width: auto;
  max-width: 40px;
  object-fit: contain;
}
.option-btn--list {
  justify-content: flex-start;
  text-align: left;
}

.show-all-link {
  display: inline-block;
  background: none; border: none;
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  margin: 6px 0 4px;
  padding: 6px 0;
}

/* Yes / No pair */
.yesno-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 6px;
}
.yesno-row .option-btn { min-width: 120px; padding: 14px 20px; font-size: 16px; }

/* Multi yes/no question block (step 12 style) */
.subquestion {
  margin-bottom: 20px;
}
.subquestion p {
  text-align: center;
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 10px;
}
.subquestion .yesno-row .option-btn { min-width: 90px; padding: 10px 18px; font-size: 14.5px; }

/* Form fields (dob, name, email, phone, address) */
.field-row { display: flex; gap: 12px; margin-bottom: 16px; }
.field-row.field-row--3 > * { flex: 1; }
.field-row.field-row--2 > * { flex: 1; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.field input, .field select {
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--navy);
  background: #fff;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D4F62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.field input:focus, .field select:focus { border-color: var(--accent-blue); }
.field-error { color: #D64545; font-size: 12.5px; font-weight: 600; min-height: 16px; }

.consent-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
  margin: 14px 0 20px;
}
.consent-text a { color: var(--accent-blue); font-weight: 600; }

.step-security-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin: 26px 0 4px;
}

.step-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.step-actions .btn { min-width: 220px; }

.step-nav-back {
  background: none;
  border: none;
  color: #D6474F;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 0;
  margin-top: 18px;
  align-self: flex-start;
}
.step-nav-back:hover { text-decoration: underline; }

.step-header-eyebrow {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.funnel-trust-line {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 40px;
  margin-bottom: 18px;
}

.carrier-row--muted .carrier-badge { background: #fff; }

/* Reset button next to model search */
.search-with-reset { display: flex; gap: 10px; }
.search-with-reset .step-search { flex: 1; margin-bottom: 0; }
.btn-reset {
  border: none;
  background: var(--bg-alt);
  color: var(--slate);
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  cursor: pointer;
}

/* ---------------- Loading / matching screen ---------------- */
.matching-screen { text-align: center; padding: 20px 0 6px; }
.matching-screen h2 { font-size: 22px; margin-bottom: 8px; }
.matching-screen__sub { color: var(--slate); margin-bottom: 30px; }

.matching-ring {
  width: 96px; height: 96px;
  margin: 0 auto 28px;
  position: relative;
}
.matching-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.matching-ring circle.track { stroke: var(--bg-alt); }
.matching-ring circle.fill {
  stroke: url(#matchGradient);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s ease;
}
.matching-ring__pct {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
}

.matching-checklist {
  max-width: 340px;
  margin: 0 auto;
  text-align: left;
}
.matching-checklist li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  opacity: 0.5;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.matching-checklist li.is-active,
.matching-checklist li.is-done { opacity: 1; color: var(--navy); }
.matching-checklist .check-dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--border-soft);
  flex: none;
  display: flex; align-items: center; justify-content: center;
}
.matching-checklist li.is-done .check-dot {
  background: var(--check-green);
  border-color: var(--check-green);
}
.matching-checklist li.is-done .check-dot::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.matching-checklist li.is-active .check-dot {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(18,160,238,0.15);
}

/* ---------------- Offer wall (Step 16) ---------------- */
.offerwall-panel { max-width: 900px; }
.offerwall-intro { text-align: center; margin-bottom: 30px; }
.offerwall-intro h2 { font-size: 24px; }

.offer-card {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 16px;
  background: #fff;
  position: relative;
}
.offer-card.is-top {
  border-color: var(--accent-blue-bright);
  background: #F5FBFF;
}
.offer-card__badge {
  position: absolute;
  top: -11px; left: 20px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.offer-card__logo {
  width: 108px; flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-card__logo img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.offer-card__body { flex: 1; }
.offer-card__body h3 { font-size: 17px; margin-bottom: 6px; }
.offer-card__body ul { margin: 0; padding-left: 18px; color: var(--slate); font-size: 13.5px; }
.offer-card__body li { margin-bottom: 2px; }
.offer-card__cta { flex: none; }
.offer-card__cta .btn { padding: 13px 26px; font-size: 14.5px; }

@media (max-width: 640px) {
  .offer-card { flex-direction: column; align-items: stretch; text-align: center; }
  .offer-card__logo { width: auto; }
}


