/* ============= TABLET (max-width: 960px) ============= */
@media (max-width: 960px) {
  .hero { padding-bottom: var(--sp-5); }

  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .hero-text {
    align-self: stretch;
    padding-block: 0;
  }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
  }
}

/* ============= MOBILE (max-width: 720px) ============= */
@media (max-width: 720px) {
  :root { --nav-h: 64px; }

  /* Nav: hamburger drawer */
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    width: min(85vw, 320px);
    height: calc(100vh - var(--nav-h));
    height: calc(100svh - var(--nav-h));
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    padding: var(--sp-4) var(--sp-3);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    overflow-y: auto;
    padding-top: calc(var(--sp-3) + var(--safe-top));
    padding-bottom: calc(var(--sp-4) + var(--safe-bottom));
  }

  .nav-menu.is-open { transform: translateX(0); }

  .nav-menu li { width: 100%; }

  .nav-menu a,
  .site-header.is-scrolled .nav-menu a {
    display: block;
    width: 100%;
    padding: 0.95rem 0.5rem;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--color-border-soft);
    color: var(--color-text);
  }

  .nav-menu a::after { display: none; }

  .nav-cta {
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
  }

  .nav-brand img { height: 32px; }

  /* Header hidden on mobile */
  .site-header { display: none; }

  /* Hero: centered, with logo above */
  .hero {
    min-height: 100svh;
    padding-top: calc(var(--sp-5) + var(--safe-top));
  }

  .hero-text {
    text-align: center;
    align-self: center;
    padding-block: 0;
    margin-inline: auto;
  }

  .hero-subtitle { max-width: 100%; margin-inline: auto; }
  .hero .microcopy { margin-inline: auto; }

  .hero-logo {
    width: clamp(160px, 45vw, 220px);
    margin: 0 auto var(--sp-3);
    transform: none;
  }

  /* Stats — center on mobile */
  .stat { text-align: center; }
  .stat-label { margin-inline: auto; }

  /* How-it-works — center heading on mobile */
  .how > .container > .eyebrow,
  .how h2 {
    text-align: center;
    margin-inline: auto;
  }

  /* First-visit — banner tighter padding so footer line fits */
  .first-visit-banner {
    padding: var(--sp-3) var(--sp-2);
  }
  .first-visit-footer {
    font-size: 0.8125rem;
  }
  .footer-nowrap {
    font-size: 0.8125rem;
  }

  /* First-visit — center eyebrow/h2/footer/cta but keep checklist left-aligned */
  .first-visit-content { text-align: center; }
  .first-visit-content h2 { max-width: none; margin-inline: auto; }
  .first-visit-content .checklist {
    text-align: left;
    max-width: max-content;
    margin-inline: auto;
  }
  .first-visit-footer { margin-inline: auto; }
  .first-visit-content .btn { margin-inline: auto; }

  /* Highlight box — center on mobile */
  .highlight-box { text-align: center; }
  .highlight-box-lead,
  .highlight-box-detail {
    align-items: center;
  }
  .highlight-box-detail > p,
  .highlight-box .highlight-footer {
    max-width: none;
    margin-inline: auto;
  }
  .highlight-box-cta {
    margin-inline: auto;
  }

  /* Stats — flip vertical borders to horizontal on mobile */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .stats-grid .stat:last-child { border-bottom: 0; }

  /* Benefits — same flip */
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit {
    border-right: 0;
  }

  .benefit:nth-child(3n) { border-right: 0; }

  /* Steps */
  .step {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .step-num {
    width: 48px;
    height: 48px;
    font-size: 1.375rem;
  }

  .highlight-box {
    padding: var(--sp-4) var(--sp-3);
  }

  /* Form */
  .lead-form { padding: var(--sp-3); }

  .radios { flex-direction: column; }

  .radio-option { min-width: 100%; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
    text-align: center;
  }

  .footer-grid p { margin-inline: auto; }

  .footer-info { align-items: center; }

  .footer-links { justify-self: center; }

  .footer-legal {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
  }

  .footer-bottom { text-align: center; }

  /* Sticky CTA mobile */
  .sticky-cta-mobile { display: block; }

  /* Add bottom space so sticky CTA doesn't cover content */
  body { padding-bottom: 88px; }

  /* When form is in view, hide sticky CTA to avoid duplication */
  .form-section.is-visible ~ * .sticky-cta-mobile { display: none; }
}

/* ============= LARGE DESKTOP (min-width: 1280px) ============= */
@media (min-width: 1280px) {
  section { padding-block: var(--sp-7); }
}

/* ============= REDUCED MOTION ============= */
@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .benefit:hover,
  .step:hover,
  .nav-cta:hover { transform: none; }

  .sticky-cta-mobile { transition: none; }
}

/* ============= PRINT ============= */
@media print {
  .site-header,
  .sticky-cta-mobile,
  .form-section { display: none; }
  body { background: #fff; color: #000; }
}
