/* Mobile-only overrides. Desktop styles.css is untouched.
   All rules are scoped to max-width: 768px. */

@media (max-width: 768px) {
  .page {
    width: min(100% - 20px, 1600px);
    margin: 10px auto;
  }

  /* —— Hero —— */
  .hero {
    margin-bottom: 40px;
  }

  .hero-shell {
    --hero-h: max(760px, calc(100svh - 20px));
    height: var(--hero-h);
    min-height: var(--hero-h);
    padding: 12px 16px 0;
    border-radius: 20px;
  }

  .site-header {
    height: 44px;
  }

  .hero-content {
    padding-top: 8px;
    max-width: 100%;
  }

  .hero-badge {
    height: 28px;
    padding: 0 12px;
    margin-bottom: 16px;
    font-size: 11px;
  }

  .hero-title {
    font-size: clamp(40px, 11vw, 52px);
    line-height: 0.9;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.45;
    max-width: 34ch;
    margin-bottom: 28px;
  }

  .hero-sub br {
    display: none;
  }

  .waitlist-form {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    border-radius: 22px;
    padding: 10px;
    gap: 8px;
  }

  .waitlist-form input,
  .waitlist-form .btn {
    width: 100%;
    height: 48px;
    flex: none;
  }

  .waitlist-form input {
    text-align: center;
    padding: 0 14px;
  }

  .hero-visual {
    padding-top: 28px;
    margin-bottom: -8%;
  }

  .phone-wrap {
    width: 46%;
    max-width: 200px;
    min-width: 150px;
  }

  .float-card {
    display: grid;
  }

  .float-card-left {
    width: 72%;
    left: -48%;
    top: 14%;
  }

  .float-card-right {
    width: 78%;
    right: -52%;
    top: 28%;
  }

  /* —— Features —— */
  .features.section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .features .section-head {
    margin-bottom: 36px;
    max-width: 100%;
    padding: 0 4px;
  }

  .features .section-head h2 {
    font-size: clamp(28px, 7.5vw, 34px);
    line-height: 1.15;
    margin-bottom: 14px;
  }

  .features .section-head p {
    font-size: 15px;
    line-height: 1.5;
  }

  .features-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }

  .feature-card,
  .feature-card-image {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 648 / 500;
    border-radius: 20px;
  }

  .feature-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* —— Quote —— */
  .quote {
    height: 220vh;
  }

  .quote-sticky {
    padding: 0 20px;
  }

  .quote-text {
    width: 100%;
    max-width: 100%;
    font-size: clamp(22px, 6.2vw, 28px);
    line-height: 1.35;
    text-align: left;
  }

  .quote-line {
    display: inline;
    white-space: normal;
  }

  .quote-line::after {
    content: " ";
  }

  /* —— Steps —— */
  .steps {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .steps-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .steps-intro {
    position: static;
    max-width: 100%;
    text-align: center;
  }

  .steps-intro h2 {
    font-size: clamp(28px, 7.5vw, 34px);
    line-height: 1.15;
    margin-bottom: 12px;
    text-align: center;
  }

  .steps-intro p {
    font-size: 15px;
    text-align: center;
  }

  .steps-heading-line,
  .steps-sub-line {
    white-space: normal;
  }

  .steps-timeline {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 40px;
    gap: 20px;
  }

  .timeline-line {
    left: 13px;
    top: 13px;
    bottom: 0;
  }

  .step-number {
    left: -27px;
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .step-card,
  .step-card-image {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 760 / 543;
    border-radius: 20px;
  }

  .step-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* —— Footer —— */
  .site-footer {
    margin-top: 24px;
  }

  .footer-shell {
    min-height: 0;
    padding: 36px 0 18px;
    border-radius: 20px;
  }

  .footer-shell .btn-footer {
    height: 48px;
    padding: 0 24px;
    font-size: 13px;
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 20px;
  }

  .footer-brand {
    margin-bottom: 20px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-logo {
    transform: none;
  }

  .footer-meta {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 0 16px;
    text-align: center;
  }

  .footer-copy,
  .footer-tagline,
  .footer-links {
    justify-self: center;
    text-align: center;
    font-size: 11px;
  }

  .footer-tagline {
    white-space: normal;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  /* Extra-tight phones (~375 and below) */
  @media (max-width: 390px) {
    .hero-shell {
      --hero-h: max(720px, calc(100svh - 16px));
      padding-left: 14px;
      padding-right: 14px;
    }

    .hero-title {
      font-size: clamp(36px, 10.5vw, 44px);
    }

    .phone-wrap {
      width: 50%;
      max-width: 180px;
    }

    .features .section-head h2,
    .steps-intro h2 {
      font-size: 28px;
    }

    .quote-text {
      font-size: clamp(20px, 5.8vw, 24px);
    }

    .steps-timeline {
      padding-left: 36px;
    }
  }
}
