/* agent9 Brand Spec v2 — Consumer Light-Mode Stylesheet */
/* Warm trustworthy. Inter. Trust-blue CTAs. Orange savings emphasis ≤4 per page. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES — v2 Consumer Tokens
   ============================================================ */
:root {
  /* Canvas */
  --bg:           #FFFFFF;
  --bg-alt:       #FAFAF7;
  --bg-card:      #FFFFFF;
  --bg-input:     #F7F7F4;

  /* Text */
  --text:         #1A1A2E;
  --text-secondary: #4A4A4A;
  --text-muted:   #767676;
  --text-on-orange: #FFFFFF;

  /* Trust accent — primary CTA */
  --trust:        #1B4FD8;
  --trust-hover:  #1540B8;
  --trust-light:  #EEF3FD;

  /* Savings emphasis — orange — surgical ≤4 per page */
  --savings:      #FB4F14;
  --savings-hover: #E04412;
  --savings-dim:  rgba(251,79,20,0.10);

  /* Borders */
  --border:       #E5E5E0;
  --border-card:  #EBEBEB;

  /* Shadows */
  --shadow-card:  0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.06);

  /* Radii */
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;

  /* Brand */
  --bengals-orange: #FB4F14;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--trust);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--trust-hover);
}

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

ul {
  list-style: none;
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid var(--trust);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}

h3 {
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: block;
}

.stat-number {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--savings);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--bg-alt);
}

@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo .logo-nine {
  color: var(--savings); /* orange 9 — counts as orange instance #1 */
}

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  margin-left: auto;
  font-size: 15px !important;
  padding: 10px 24px !important;
  white-space: nowrap;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  flex-direction: column;
}

.nav-drawer.is-open {
  display: flex;
}

.nav-drawer a {
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: 56px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.nav-drawer a:hover {
  background: var(--bg-alt);
}

.nav-drawer .btn-savings {
  margin: 16px 24px;
  width: calc(100% - 48px);
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--trust);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-trust:hover {
  background: var(--trust-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27,79,216,0.25);
}

.btn-savings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--savings);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 18px; /* ≥18px required for WCAG large-text AA on orange */
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
  transition: background 0.2s, transform 0.15s;
}

.btn-savings:hover {
  background: var(--savings-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: var(--trust);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid var(--trust);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
  transition: background 0.2s, color 0.2s;
}

.btn-ghost:hover {
  background: var(--trust-light);
  color: var(--trust-hover);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.input-wrapper {
  position: relative;
}

.input-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  pointer-events: none;
}

.form-input {
  width: 100%;
  padding: 12px 16px 12px 36px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 16px; /* ≥16px — prevents iOS zoom on focus */
  min-height: 44px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--trust);
  box-shadow: 0 0 0 3px rgba(27,79,216,0.12);
}

.form-input::placeholder {
  color: #AAAAAA;
}

.form-help {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   HERO — HOME PAGE
   ============================================================ */
.hero {
  background: var(--bg);
  padding: 80px 0 64px;
}

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

.hero-headline {
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-strip {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-badge::before {
  content: '✓';
  color: var(--trust);
  font-weight: 700;
}

/* Savings Calculator widget */
.calc-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.calc-widget-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.calc-result {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
  text-align: center;
}

.calc-result-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.calc-result-amount {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--savings); /* orange savings amount — instance #3 */
  margin-bottom: 8px;
}

.calc-result-breakdown {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.calc-cta {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

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

  .calc-widget {
    max-width: 480px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0 40px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn-trust,
  .hero-cta-group .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   MILESTONE PROGRESS BAR
   ============================================================ */
.milestone-bar {
  background: var(--bg-alt);
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.milestone-track {
  display: flex;
  align-items: center;
  gap: 0;
}

.milestone-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.milestone-step::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.milestone-step:last-child::after {
  display: none;
}

.milestone-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  z-index: 1;
  position: relative;
}

.milestone-step.active .milestone-dot {
  background: var(--trust);
  border-color: var(--trust);
  color: #FFFFFF;
}

.milestone-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.milestone-step.active .milestone-label {
  color: var(--trust);
}

@media (max-width: 600px) {
  .milestone-label {
    font-size: 9px;
  }

  .milestone-dot {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
}

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--trust);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #F0EDE8;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  margin-bottom: 20px;
}

.step-photo-caption {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 480px;
    margin: 0 auto;
  }

  .step-card {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 20px;
    align-items: start;
  }

  .step-number {
    margin: 0;
    grid-row: 1 / 3;
  }

  .step-photo-placeholder {
    grid-column: 1 / -1;
    margin-top: 16px;
  }
}

/* ============================================================
   PRICING TABLE
   ============================================================ */
.pricing-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}

.pricing-card {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.pricing-card--highlight {
  border-color: var(--trust);
  border-width: 2px;
  background: var(--bg);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--trust);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-who {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.pricing-amount {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 8px;
}

.pricing-amount span {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: normal;
}

.pricing-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-feature-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.pricing-feature-icon--check {
  color: var(--trust);
}

.pricing-feature-icon--x {
  color: var(--text-muted);
}

.coming-soon-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
}

.coming-soon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 32px 0;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--trust-light);
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) td {
  background: var(--bg-alt);
}

.comparison-table .col-agent9 {
  color: var(--trust);
  font-weight: 700;
}

.savings-highlight-row td {
  background: var(--trust-light) !important;
  font-weight: 700;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s;
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  background: var(--bg);
}

.faq-answer p + p {
  margin-top: 12px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ============================================================
   TESTIMONIAL / PLACEHOLDER
   ============================================================ */
.testimonial-placeholder {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.testimonial-placeholder-text {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   TRUST STRIP / BADGES
   ============================================================ */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 32px 0;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-strip-icon {
  font-size: 20px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-principle {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.about-principle:last-child {
  border-bottom: none;
}

.about-principle-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--trust-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.about-principle-content h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.about-principle-content p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ============================================================
   DISCLAIMER BOXES
   ============================================================ */
.disclaimer-box {
  background: var(--trust-light);
  border: 1px solid rgba(27,79,216,0.2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 32px 0;
}

.disclaimer-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.disclaimer-box strong {
  color: var(--text);
}

/* ============================================================
   SECTION CTA BLOCK
   ============================================================ */
.cta-block {
  text-align: center;
  padding: 80px 0;
  background: var(--bg-alt);
}

.cta-block h2 {
  margin-bottom: 16px;
}

.cta-block p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-block .btn-trust {
  font-size: 17px;
  padding: 16px 40px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}

.footer-logo .logo-nine {
  color: var(--savings);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-ohio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 4px 12px;
  margin-top: 12px;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.75);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   MILESTONE PULSE — active step indicator
   ============================================================ */
@keyframes milestone-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(27,79,216,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(27,79,216,0); }
}

.milestone-step.active .milestone-dot {
  animation: milestone-pulse 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .milestone-step.active .milestone-dot {
    animation: none;
  }
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section {
  padding: 64px 0;
}

.video-container {
  display: flex;
  justify-content: center;
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #000;
  /* Portrait phone aspect ratio for HeyGen UGC */
  aspect-ratio: 9/16;
}

.video-thumb-wrap:hover,
.video-thumb-wrap:focus {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 48px rgba(0,0,0,0.22), 0 4px 12px rgba(0,0,0,0.12);
  outline: none;
}

.video-thumb-wrap:focus-visible {
  outline: 3px solid var(--trust);
  outline-offset: 4px;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
  transition: background 0.2s;
}

.video-thumb-wrap:hover .video-play-btn {
  background: rgba(0,0,0,0.08);
}

.video-play-btn::before {
  content: '';
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--trust);
  transition: transform 0.2s ease, background 0.2s;
}

.video-thumb-wrap:hover .video-play-btn::before {
  transform: scale(1.08);
  background: var(--trust-hover);
}

.video-play-btn svg {
  position: relative;
  z-index: 1;
  margin-left: 4px; /* optical centering for play triangle */
}

@media (prefers-reduced-motion: reduce) {
  .video-thumb-wrap {
    transition: none;
  }
  .video-play-btn::before {
    transition: none;
  }
  .video-thumb-wrap:hover .video-play-btn::before {
    transform: none;
  }
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  cursor: pointer;
  animation: modal-fade-in 0.2s ease;
}

.video-modal-body {
  position: relative;
  z-index: 1;
  width: min(360px, 90vw);
  animation: modal-slide-up 0.25s ease;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.video-modal-close:hover {
  background: rgba(255,255,255,0.28);
}

.video-modal-close:focus-visible {
  outline: 3px solid var(--trust);
  outline-offset: 2px;
}

.video-modal-player {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #000;
}

.video-modal-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .video-modal-backdrop,
  .video-modal-body {
    animation: none;
  }
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .three-col {
    grid-template-columns: 1fr;
  }
}
