/* YellowBus Insurance — Main Stylesheet
   Restyled to match PWA design system
   Fonts: Syne (headings) + DM Sans (body)
   Clean, light, professional — matching the agent portal PWA aesthetic
*/

/* ─────────────────────────────────────────────
   Custom Properties — PWA Design Tokens
───────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:           #faf8f4;
  --bg-warm:      #f5f2eb;
  --bg-card:      #ffffff;
  --bg-inset:     #f0ede5;

  /* Ink / text — PWA system colors */
  --ink:          #1a1612;
  --ink-mid:      #3d3730;
  --ink-secondary:#6b6258;
  --ink-muted:    #9c9286;

  /* Yellow accent */
  --yellow:       #f5c000;
  --yellow-dark:  #d4a500;
  --yellow-light: #fff8d6;
  --yellow-glow:  rgba(245, 192, 0, 0.18);
  --yellow-border:rgba(245, 192, 0, 0.35);

  /* Semantic */
  --success:      #16a34a;
  --success-bg:   #f0fdf4;
  --success-border:rgba(34, 197, 94, 0.2);
  --error:        #dc2626;

  /* Borders — PWA clean style */
  --border:       rgba(26, 22, 18, 0.1);
  --border-mid:   rgba(26, 22, 18, 0.12);
  --border-focus: rgba(26, 22, 18, 0.25);

  /* Radius — PWA: tighter, cleaner */
  --radius-sm:    4px;
  --radius:       6px;
  --radius-lg:    10px;
  --radius-xl:    14px;

  /* Shadows — PWA: subtle, no heavy elevation */
  --shadow-card:  0 1px 4px rgba(26, 22, 18, 0.06);
  --shadow-lift:  0 4px 16px rgba(26, 22, 18, 0.08);
  --shadow-yellow:0 4px 20px rgba(245, 192, 0, 0.22);
  --shadow-nav:   0 1px 4px rgba(26, 22, 18, 0.06);
}

/* ─────────────────────────────────────────────
   Reset + Base
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a { color: var(--ink-mid); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: none; }

img { max-width: 100%; display: block; }

/* ─────────────────────────────────────────────
   Layout
───────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────────────────────────────────────────
   Navigation — PWA Clean Style
───────────────────────────────────────────── */
.nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-nav);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 24px;
}

.nav__logo {
  display: inline-block;
  line-height: 1;
  text-decoration: none;
}

.nav__logo svg {
  display: block;
  height: 28px;
  width: auto;
  vertical-align: middle;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--ink);
  background: var(--bg-inset);
  text-decoration: none;
}

.nav__cta {
  font-family: 'Syne', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0d0d0f !important;
  background: var(--yellow);
  padding: 10px 22px;
  border-radius: 50px;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav__cta:hover {
  background: #f5d23a;
  color: #0d0d0f !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 192, 0, 0.3);
}

/* ─────────────────────────────────────────────
   Homepage: 6 Vertical CTA grid
───────────────────────────────────────────── */
.hero__verticals {
  margin-bottom: 24px;
}

.hero__verticals-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.hero__verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.vertical-cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}

.vertical-cta-btn:hover {
  border-color: var(--yellow-dark);
  background: var(--yellow-light);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Featured (auto + home) get accent treatment */
.vertical-cta-btn--featured {
  border-color: var(--yellow-dark);
  background: var(--yellow-light);
  color: var(--ink);
  font-weight: 600;
}
.vertical-cta-btn--featured:hover {
  border-color: var(--yellow-dark);
  background: var(--yellow);
  color: #0d0d0f;
}

@media (max-width: 480px) {
  .hero__verticals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vertical-cta-btn {
    font-size: 0.8rem;
    padding: 10px 12px;
  }
}

/* ─────────────────────────────────────────────
   Hero Section
───────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 56px 0 72px;
  background: var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero__illustration {
  margin-bottom: 16px;
}

.hero__illustration img {
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  box-shadow: var(--shadow-lift);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  background: var(--yellow-light);
  border: 1px solid var(--yellow-border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.hero__headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.1;
}

.hero__headline em {
  font-style: italic;
  color: var(--yellow-dark);
}

.hero__subheadline {
  font-size: 0.9375rem;
  color: var(--ink-secondary);
  margin-bottom: 28px;
  max-width: 440px;
  line-height: 1.65;
  font-weight: 400;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.15s;
}

.trust-badge:hover {
  border-color: var(--yellow-border);
  background: var(--yellow-light);
}

.trust-badge__icon {
  font-size: 0.875rem;
}

/* ─────────────────────────────────────────────
   Compliance Badges
───────────────────────────────────────────── */
.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--yellow-light);
  border: 1px solid var(--yellow-border);
  border-radius: 100px;
  padding: 5px 12px 5px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.compliance-badge:hover {
  background: rgba(245,192,0,0.2);
  border-color: var(--yellow-dark);
  text-decoration: none;
}
.compliance-badge__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.compliance-badge--hero {
  padding: 7px 16px 7px 10px;
  font-size: 13px;
  gap: 9px;
  margin-bottom: 10px;
}
.compliance-badge--tcpa {
  background: rgba(22, 163, 74, 0.07);
  border-color: rgba(22, 163, 74, 0.25);
  color: #15803d;
}
.compliance-badge--tcpa .compliance-badge__icon svg {
  color: #16a34a;
}
.compliance-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.compliance-badge-row--center {
  justify-content: center;
}

/* ─────────────────────────────────────────────
   Trust & Compliance Section
───────────────────────────────────────────── */
.trust-section {
  padding: 60px 0;
  background: var(--bg-warm);
}
.trust-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.trust-section__headline {
  font-size: 2rem;
  margin-bottom: 16px;
}
.trust-section__sub {
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.trust-item__icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.trust-item__title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.trust-item__desc {
  font-size: 0.82rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────
   Footer Compliance Section
───────────────────────────────────────────── */
.footer__compliance-section {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.footer__compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  align-items: center;
}
.footer__tcpa-heading {
  font-family: 'Satoshi', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.footer__tcpa-text {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.footer__tcpa-text a {
  color: var(--ink-secondary);
}

/* ─────────────────────────────────────────────
   Disclosure Bar (vertical pages)
───────────────────────────────────────────── */
.disclosure-bar {
  background: var(--bg-inset);
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.disclosure-bar p {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────────────────────────────────────────
   Vertical Hero Compliance Badge
───────────────────────────────────────────── */
.vertical-compliance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 8px;
}

/* ─────────────────────────────────────────────
   Agent Portal Badge
───────────────────────────────────────────── */
.portal-compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,192,0,0.12);
  border: 1px solid rgba(245,192,0,0.35);
  border-radius: 100px;
  padding: 4px 10px 4px 7px;
  font-size: 11px;
  font-weight: 500;
  color: #6b5100;
  margin-top: 8px;
}

/* ─────────────────────────────────────────────
   NIPR Verified Pill
───────────────────────────────────────────── */
.nipr-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245,192,0,0.1);
  border: 1px solid rgba(245,192,0,0.3);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #7a5c00;
}

/* ─────────────────────────────────────────────
   Form Card — PWA Clean Style
───────────────────────────────────────────── */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lift);
  position: relative;
}

/* Yellow top accent line — PWA style: subtle, not heavy */
.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--yellow);
  border-radius: 0 0 2px 2px;
}

.form-card__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.form-card__subtitle {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Step indicator */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}

.step-indicator__step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.3s ease;
}

.step-indicator__step.is-active {
  color: var(--yellow-dark);
}

.step-indicator__step.is-done {
  color: var(--success);
}

.step-indicator__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-inset);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.3s ease;
  color: var(--ink-secondary);
}

.step-indicator__step.is-active .step-indicator__num {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.step-indicator__step.is-done .step-indicator__num {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.step-indicator__divider {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 10px;
}

/* Form elements */
.form-step { display: none; }
.form-step.is-active { display: block; }

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.form-input,
.form-select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'Satoshi', sans-serif;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder { color: var(--ink-muted); }

.form-input:focus,
.form-select:focus {
  border-color: var(--yellow-dark);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4a500' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: #fff;
  color: var(--ink);
}

/* Insurance type grid */
.insurance-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.insurance-type-btn {
  background: var(--bg-inset);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Satoshi', sans-serif;
}

.insurance-type-btn:hover {
  border-color: var(--yellow-border);
  background: var(--yellow-light);
  color: var(--ink);
}

.insurance-type-btn.is-selected {
  border-color: var(--yellow-dark);
  background: var(--yellow-light);
  color: var(--yellow-dark);
  font-weight: 700;
}

.insurance-type-btn .ins-icon {
  font-size: 22px;
  display: block;
  margin-bottom: 6px;
}

/* TCPA Consent */
.tcpa-box {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-top: 16px;
}

.tcpa-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tcpa-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--yellow-dark);
  cursor: pointer;
}

.tcpa-text {
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.tcpa-text a { color: var(--yellow-dark); font-size: 11px; }

.tcpa-rights-note {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--ink-muted);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.tcpa-rights-note a { color: var(--yellow-dark); font-size: 10.5px; }

/* Buttons */
.btn-primary {
  width: 100%;
  background: var(--yellow);
  color: var(--ink);
  border: none;
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Satoshi', sans-serif;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--yellow-dark);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-yellow);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-back {
  background: none;
  border: 1.5px solid var(--border-mid);
  color: var(--ink-secondary);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-family: 'Satoshi', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back:hover {
  border-color: var(--ink-mid);
  color: var(--ink);
}

.form-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-nav .btn-primary { flex: 1; }

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.form-success__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.form-success__title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--success);
}

.form-success__msg {
  font-size: 15px;
  color: var(--ink-secondary);
}

/* Error message */
.form-error {
  display: none;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  color: #b91c1c;
  margin-top: 10px;
}

/* ─────────────────────────────────────────────
   AdSense Live Slots
   Wrap every <ins> in <div data-ad-wrap class="ad-slot-wrap">.
   adslot-guard.js sets display:none if Google serves no ad.
   No min-height, no reserved space — truly invisible when empty.
───────────────────────────────────────────── */
.ad-slot-wrap {
  /* No placeholder border, no background, no min-height.
     When Google fills the slot the <ins> expands naturally.
     When empty, adslot-guard.js sets display:none — zero layout impact. */
  text-align: center;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────
   Affiliate / Credit Card Section — PWA style
───────────────────────────────────────────── */
.affiliate-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
}

.section-tag {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  background: var(--yellow-light);
  border: 1px solid var(--yellow-border);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--ink);
}

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--ink-secondary);
  margin-bottom: 32px;
  line-height: 1.65;
}

.affiliate-disclosure {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--border-mid);
}

/* Card comparison table — PWA style */
.card-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.card-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.card-row td {
  padding: 16px 18px;
  vertical-align: middle;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.card-row td:first-child {
  border-left: 1px solid var(--border);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  width: 180px;
}

.card-row td:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  text-align: right;
}

.card-logo-box {
  background: var(--bg-inset);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  min-height: 48px;
}

.card-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.card-name {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}

.card-benefit {
  font-size: 0.8125rem;
  color: var(--ink-secondary);
}

.card-bonus {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--success);
}

.card-fee {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.btn-apply {
  display: inline-block;
  background: var(--yellow);
  color: #0d0d0f;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 9px 20px;
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-apply:hover {
  background: #f5d23a;
  color: #0d0d0f;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,192,0,0.25);
}

/* Mobile table → stacked cards */
@media (max-width: 768px) {
  .card-table, .card-table tbody, .card-row, .card-row td {
    display: block;
    width: 100%;
  }

  .card-row {
    margin-bottom: 12px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
  }

  .card-row td {
    border: none;
    border-radius: 0 !important;
    padding: 14px 18px;
  }

  .card-row td:last-child { text-align: left; }
}

/* ─────────────────────────────────────────────
   Educational Content Section — PWA Style
───────────────────────────────────────────── */
.edu-section {
  padding: 64px 0;
  background: var(--bg);
}

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .edu-grid {
    grid-template-columns: 1fr;
  }
}

.edu-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.edu-content p {
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  margin-bottom: 18px;
  line-height: 1.75;
}

.edu-content strong {
  color: var(--ink);
}

.tips-list {
  list-style: none;
  margin: 20px 0;
}

.tips-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  color: var(--ink-secondary);
}

.tips-list li::before {
  content: '→';
  color: var(--yellow-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.sidebar-sticky {
  position: sticky;
  top: 80px;
}

/* Edu sidebar CTA — PWA card style */
.edu-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.edu-cta__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.edu-cta p {
  font-size: 0.875rem;
  color: var(--ink-secondary);
  margin-bottom: 18px;
  line-height: 1.55;
}

.edu-cta a {
  display: block;
  background: var(--yellow);
  color: #0d0d0f;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.edu-cta a:hover {
  background: #f5d23a;
  color: #0d0d0f;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,192,0,0.25);
}

.edu-blog-link {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--bg-warm);
  border-left: 3px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  color: var(--ink-secondary);
}

.edu-blog-link a {
  color: var(--yellow-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.edu-blog-link a:hover {
  border-bottom-color: var(--yellow-dark);
}

/* ─────────────────────────────────────────────
   Footer — PWA Clean Style
───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  margin-top: 32px;
  background: var(--bg-warm);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (max-width: 640px) {
  .footer__top { grid-template-columns: 1fr; }
}

.footer__logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.footer__logo span { color: var(--accent, var(--yellow-dark)); }

.footer__tagline {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

@media (max-width: 640px) {
  .footer__links { align-items: flex-start; }
}

.footer__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}

.footer__links a:hover { color: var(--ink); text-decoration: none; }

.footer__disclosure {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.7;
  padding: 14px 18px;
  background: var(--bg-inset);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.footer__legal-note {
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.65;
  padding: 10px 18px;
  background: var(--bg-inset);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.footer__legal-note a { color: var(--yellow-dark); font-size: 0.75rem; }

/* ─────────────────────────────────────────────
   Disclosure Box (shared container)
───────────────────────────────────────────── */
.footer__disclosures-box {
  padding: 14px 16px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-inset);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ─────────────────────────────────────────────
   Collapsible Disclosures (details/summary)
───────────────────────────────────────────── */
details.footer__disclosure-details {
  border-radius: var(--radius);
  border: none;
  background: #fff;
  overflow: hidden;
}

details.footer__disclosure-details summary {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

/* Custom disclosure triangle */
details.footer__disclosure-details summary::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

/* Hide default marker in webkit */
details.footer__disclosure-details summary::-webkit-details-marker {
  display: none;
}

details.footer__disclosure-details summary:hover {
  color: var(--ink-mid);
}

details.footer__disclosure-details[open] summary::before {
  transform: rotate(45deg);
}

details.footer__disclosure-details[open] summary {
  border-bottom: 1px solid var(--border);
  color: var(--ink-mid);
}

/* Content inside collapsed details */
details.footer__disclosure-details .footer__disclosure,
details.footer__disclosure-details .footer__legal-note,
details.footer__disclosure-details .footer__tcpa-text {
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 480px) {
  .footer__disclosures-box {
    padding: 10px 10px 4px;
  }
  details.footer__disclosure-details summary {
    padding: 14px 16px;
    font-size: 12px;
    min-height: 44px;
  }
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* ─────────────────────────────────────────────
   Privacy / Terms pages — PWA Style
───────────────────────────────────────────── */
.policy-page {
  max-width: 720px;
  margin: 56px auto;
  padding: 0 24px;
}

.policy-page h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.policy-page .policy-date {
  color: var(--ink-muted);
  font-size: 0.875rem;
  margin-bottom: 36px;
}

.policy-page h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 10px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.policy-page p, .policy-page li {
  font-size: 0.9375rem;
  color: var(--ink-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.policy-page ul {
  padding-left: 20px;
}

.policy-page a { color: var(--yellow-dark); }

/* ─────────────────────────────────────────────
   Checkout success
───────────────────────────────────────────── */
.checkout-success {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.checkout-success__inner {
  max-width: 540px;
  text-align: center;
}

.checkout-success__icon {
  font-size: 56px;
  margin-bottom: 24px;
}

.checkout-success__title {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.checkout-success__msg {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ─────────────────────────────────────────────
   Compare Quotes toggle
───────────────────────────────────────────── */
.compare-toggle {
  margin: 12px 0;
}

.compare-toggle__btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--yellow-light);
  border: 1.5px solid var(--yellow-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.compare-toggle__btn:hover {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}

.compare-toggle__btn.is-active {
  background: var(--yellow-light);
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}

.compare-toggle__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--yellow-dark);
  background: #fff;
  margin-top: 2px;
  transition: background 0.15s;
  position: relative;
}

.compare-toggle__btn.is-active .compare-toggle__check {
  background: var(--yellow-dark);
}

.compare-toggle__btn.is-active .compare-toggle__check::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.compare-toggle__content {
  flex: 1;
}

.compare-toggle__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.compare-toggle__badge {
  background: var(--yellow-dark);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.compare-toggle__desc {
  font-size: 0.78rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}

/* ─────────────────────────────────────────────
   Mobile Navigation (hamburger) — PWA style
───────────────────────────────────────────── */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
  -webkit-tap-highlight-color: transparent;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav__hamburger { display: block; }
  .nav__inner { position: relative; }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(26, 22, 18, 0.08);
    padding: 12px 20px;
    gap: 0;
    z-index: 55;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: block;
    color: var(--ink-muted);
    border-radius: 0;
  }

  .nav__links a:last-child { border-bottom: none; }

  .nav__cta {
    display: none;
  }

  .nav__cta--mobile {
    display: block;
    text-align: center;
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0d0d0f !important;
    background: var(--yellow);
    padding: 12px 32px;
    border-radius: 50px;
    margin-top: 12px;
    text-decoration: none !important;
  }
}

@media (min-width: 769px) {
  .nav__cta--mobile { display: none; }
}

/* ─────────────────────────────────────────────
   Responsive — Tablet (≤ 768px)
───────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 40px 0 48px; }
  .affiliate-section, .edu-section { padding: 48px 0; }
  .form-card { padding: 22px 18px; }

  /* Ensure form inputs don't trigger iOS zoom — minimum 16px */
  .form-input,
  .form-select {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .container--narrow {
    padding: 0 16px;
  }
}

/* ─────────────────────────────────────────────
   Responsive — Mobile (≤ 480px)
───────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero { padding: 32px 0 40px; }

  .hero__headline {
    font-size: 26px;
  }

  .hero__subheadline {
    font-size: 0.9375rem;
    margin-bottom: 20px;
  }

  .hero__eyebrow {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .hero__trust {
    gap: 8px;
  }

  .trust-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .form-card {
    padding: 18px 16px;
    border-radius: var(--radius-lg);
  }

  .form-card__title {
    font-size: 1rem;
  }

  .form-card__subtitle {
    font-size: 0.8125rem;
    margin-bottom: 18px;
  }

  /* Step indicator on very small screens */
  .step-indicator__step span {
    display: none;
  }

  .step-indicator__num {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  /* Insurance type grid: 2x2 on small screens */
  .insurance-type-grid {
    gap: 8px;
  }

  .insurance-type-btn {
    padding: 12px 10px;
    font-size: 0.8125rem;
  }

  .insurance-type-btn .ins-icon {
    font-size: 1.25rem;
    margin-bottom: 4px;
  }

  /* Buttons: large touch targets */
  .btn-primary {
    padding: 14px 20px;
    font-size: 0.9375rem;
    min-height: 48px;
  }

  .btn-back {
    padding: 12px 16px;
    font-size: 0.875rem;
    min-height: 44px;
  }

  /* Sections */
  .affiliate-section, .edu-section { padding: 40px 0; }

  .section-title {
    font-size: 1.375rem;
  }

  .section-subtitle {
    font-size: 0.875rem;
    margin-bottom: 24px;
  }

  /* Card table mobile tweaks */
  .card-row td {
    padding: 12px 14px;
  }

  .card-logo-box {
    min-width: auto;
    min-height: 40px;
    padding: 8px 12px;
  }

  .card-name { font-size: 0.875rem; }
  .card-benefit { font-size: 0.75rem; }
  .card-bonus { font-size: 0.8125rem; }

  .btn-apply {
    padding: 9px 16px;
    font-size: 0.8rem;
    display: block;
    text-align: center;
    margin-top: 8px;
  }

  /* Footer */
  .footer { padding: 32px 0 20px; }
  .footer__disclosure { font-size: 0.75rem; padding: 12px 14px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__copy { font-size: 0.75rem; }

  /* Social proof popup */
  .sp-popup {
    left: 12px;
    right: 12px;
    bottom: 16px;
    max-width: none;
  }

  /* Compare toggle */
  .compare-toggle__btn {
    padding: 12px 14px;
  }

  .compare-toggle__label {
    font-size: 0.8rem;
  }

  .compare-toggle__desc {
    font-size: 0.75rem;
  }

  /* TCPA */
  .tcpa-box {
    padding: 12px;
  }

  .tcpa-text {
    font-size: 0.7rem;
  }

  /* Policy pages */
  .policy-page { margin: 36px auto; }
  .policy-page h1 { font-size: 1.75rem; }
  .policy-page h2 { font-size: 1.125rem; margin-top: 24px; }
}

/* ─────────────────────────────────────────────
   Responsive — Small phones (≤ 360px)
───────────────────────────────────────────── */
@media (max-width: 360px) {
  .container, .container--narrow {
    padding: 0 12px;
  }

  .hero__headline {
    font-size: 22px;
  }

  .form-card {
    padding: 14px 12px;
  }

  .insurance-type-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .insurance-type-btn {
    padding: 10px 8px;
    font-size: 0.75rem;
  }

  .step-indicator {
    margin-bottom: 18px;
  }
}

/* ─────────────────────────────────────────────
   Touch target minimum sizes (all mobile)
───────────────────────────────────────────── */
@media (max-width: 768px) {
  .btn-primary,
  .btn-back,
  .btn-apply,
  .nav__cta,
  .insurance-type-btn,
  .compare-toggle__btn {
    min-height: 44px;
  }

  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
  }
}

/* ─────────────────────────────────────────────
   Contact Preference Selector (Step 3)
───────────────────────────────────────────── */
.contact-pref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.contact-pref-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 2px solid var(--border-mid);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  min-height: 44px;
  text-align: left;
}

.contact-pref-btn .cp-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-pref-btn:hover {
  border-color: var(--yellow);
  background: var(--yellow-light);
}

.contact-pref-btn.is-selected {
  border-color: var(--yellow-dark);
  background: var(--yellow-light);
  color: var(--ink);
  font-weight: 600;
}

.trust-micro {
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-top: 8px;
}

/* Call timing toggle */
.call-timing-options {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.call-timing-btn {
  flex: 1;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 2px solid var(--border-mid);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  min-height: 44px;
}

.call-timing-btn.is-active {
  border-color: var(--yellow-dark);
  background: var(--yellow-light);
  color: var(--ink);
  font-weight: 600;
}

.call-timing-btn:hover {
  border-color: var(--yellow);
  background: var(--yellow-light);
}

/* Time slot grid */
.time-slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.time-slot-btn {
  padding: 10px 8px;
  background: var(--bg-card);
  border: 2px solid var(--border-mid);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  min-height: 44px;
  text-align: center;
}

.time-slot-btn.is-selected {
  border-color: var(--yellow-dark);
  background: var(--yellow-light);
  color: var(--ink);
  font-weight: 600;
}

.time-slot-btn:hover {
  border-color: var(--yellow);
  background: var(--yellow-light);
}

/* Trust badges row */
.trust-badges-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 14px;
}

.trust-badge-mini {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* Submit disclosure */
.submit-disclosure {
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Confirmation page */
.confirmation-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.confirmation-card {
  max-width: 560px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
  padding: 48px 40px;
  text-align: center;
}

.confirmation-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1;
}

.confirmation-headline {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.confirmation-sub {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.what-next {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  margin-bottom: 28px;
}

.what-next__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 14px;
}

.what-next__steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.what-next__steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.55;
  margin-bottom: 10px;
}

.what-next__steps li:last-child {
  margin-bottom: 0;
}

.what-next__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.confirmation-privacy {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 20px;
}

.confirmation-privacy a {
  color: var(--ink-secondary);
  text-decoration: underline;
}

/* Opt-out page */
.optout-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.optout-card {
  max-width: 480px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 48px 40px;
  text-align: center;
}

.optout-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.optout-headline {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.optout-message {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

@media (max-width: 480px) {
  .contact-pref-grid {
    grid-template-columns: 1fr;
  }
  .call-timing-options {
    flex-direction: column;
  }
  .trust-badges-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .confirmation-card,
  .optout-card {
    padding: 32px 20px;
  }
}

/* ─────────────────────────────────────────────
   Geo Promo Cards — state-specific self-promo
   replaces suppressed third-party ad slots
───────────────────────────────────────────── */
.geo-promo-card {
  background: linear-gradient(135deg, var(--yellow-light) 0%, #fff8e6 60%, #fff 100%);
  border: 1.5px solid var(--yellow-border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  width: 100%;
  position: relative;
}

.geo-promo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow-dark) 100%);
}

.geo-promo-card__inner {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.geo-promo-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--yellow);
  color: #7a5000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  width: fit-content;
}

.geo-promo-card__headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.geo-promo-card__body {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.geo-promo-card__cta {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  width: fit-content;
  transition: background 0.15s, transform 0.1s;
}
.geo-promo-card__cta:hover {
  background: var(--yellow-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.geo-promo-card__preview-tag {
  font-size: 10px;
  color: var(--ink-muted);
  margin-top: 4px;
  font-style: italic;
}

/* Wider slot variant — for leaderboard-width slots */
.geo-promo-card--wide .geo-promo-card__inner {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.geo-promo-card--wide .geo-promo-card__headline { flex: 1; min-width: 180px; font-size: 15px; }
.geo-promo-card--wide .geo-promo-card__body { flex: 2; min-width: 200px; margin: 0; }
.geo-promo-card--wide .geo-promo-card__badge { position: absolute; top: 10px; right: 14px; }
.geo-promo-card--wide .geo-promo-card__cta { flex-shrink: 0; }

/* Affiliate section replacement — full-width card */
.geo-promo-affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  padding: 12px 0;
}

/* Ad Banner Styles — affiliate ad unit rotation */
.ad-banner {
  margin: 24px auto;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafafa;
  max-width: 600px;
  text-align: center;
  position: relative;
}
.ad-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}
.ad-title {
  font-weight: 600;
  margin: 10px 0 4px;
  font-size: 15px;
}
.ad-title a {
  color: var(--yellow-dark);
  text-decoration: none;
}
.ad-title a:hover {
  text-decoration: underline;
}
.ad-desc {
  font-size: .85rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 6px;
}
.ad-price {
  font-weight: 700;
  color: #b91c1c;
  margin-top: 4px;
  font-size: 15px;
}
.ad-discount {
  font-size: .8rem;
  color: #059669;
  font-weight: 600;
  margin-top: 2px;
}
.ad-label {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 10px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  opacity: 0.6;
}

/* Wider ad banners in blog sidebar — don't constrain to 600px */
.article-sidebar .ad-banner {
  max-width: 100%;
  margin: 16px 0;
}
