/* Mobile and tablet refinement layer.
   Loaded last so the responsive hierarchy stays explicit and auditable. */

@media (min-width: 601px) and (max-width: 900px) {
  .hero-type .hero-art {
    margin-top: 56px;
  }

  .hero-type .hero-art.selfcheck-browser {
    min-height: 480px;
  }

  .selfcheck-browser__content {
    --notebook-leading: 40px;
  }

  .selfcheck-notebook {
    min-height: 438px;
    padding: 52px 28px;
    gap: 34px;
  }

  .selfcheck-notebook__title {
    font-size: 28px;
  }
}

/* Two narrow columns make the service headlines unreadable on small tablets. */
@media (min-width: 601px) and (max-width: 700px) {
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-lead,
  .service-measure {
    grid-column: auto;
  }

  .service-journey,
  .service-retention,
  .service-automation {
    grid-row: auto;
  }

  .service-journey {
    min-height: 680px;
  }

  .service-retention {
    min-height: 0;
  }

  .service-upgrade {
    min-height: 285px;
  }

  .service-automation {
    min-height: 540px;
  }

  .service-measure {
    min-height: 380px;
  }

  .audience-card p {
    font-size: 15px;
    line-height: 1.45;
  }
}

@media (max-width: 600px) {
  /* Type scale: hero > section title > card title > body copy. */
  .hero-type h1 {
    font-size: clamp(30px, 9.1cqw, 33px);
    line-height: 1.08;
    letter-spacing: -.038em;
  }

  .hero-type .hero-actions {
    margin-top: 30px;
  }

  .hero-type .hero-actions .button {
    --button-height: 56px;
    --button-icon: 40px;
    --button-inset: 7px;
  }

  .hero-type .hero-art {
    margin-top: 48px;
  }

  .section-heading h2,
  .audience-intro h2,
  .testimonials-heading h2 {
    font-size: 29px;
    line-height: 1.12;
  }

  .privacy-heading h2 {
    font-size: 29px;
  }

  .selfcheck-card h3 {
    font-size: 24px;
    line-height: 1.22;
  }

  .testimonials-card-copy {
    font-size: 24px;
    line-height: 1.23;
  }

  /* The Self-Check is a supporting conversion module, not a second hero. */
  .hero-type .hero-art.selfcheck-browser {
    grid-template-rows: 30px minmax(0, 1fr);
    height: 450px;
    min-height: 450px;
    max-height: 450px;
    border-width: 4px;
    border-radius: 18px;
  }

  .selfcheck-browser__lights {
    gap: 7px;
  }

  .selfcheck-browser__lights span {
    width: 15px;
    height: 15px;
  }

  .selfcheck-browser__content {
    --notebook-leading: 36px;
  }

  .selfcheck-notebook {
    min-height: 412px;
    padding: 42px 18px;
    gap: 26px;
  }

  .selfcheck-notebook__title {
    max-width: 430px;
    font-size: clamp(21px, 6.4vw, 23px);
  }

  .selfcheck-notebook__pill {
    padding-inline: 10px;
    border-radius: 8px;
  }

  .anti-metal-button {
    width: 270px;
    height: 58px;
  }

  .anti-metal-button__label {
    right: 17px;
    font-size: 16px;
  }

  .anti-metal-button__accent {
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: 48px;
    padding-inline: 13px;
  }

  .audience-card p {
    font-size: 16px;
    line-height: 1.45;
  }

  .reactivation-toggle {
    min-height: 44px;
    font-size: 14px;
  }

  .testimonials-card {
    min-height: 330px;
    scroll-snap-stop: always;
  }

  .proof-value {
    font-size: clamp(10px, 3vw, 12px);
  }

  .proof-bar-label,
  .proof-caption {
    font-size: 12px;
  }
}

@media (max-width: 340px) {
  .hero-type h1 {
    font-size: 30px;
    letter-spacing: -.045em;
  }

  .section-heading h2,
  .audience-intro h2,
  .testimonials-heading h2 {
    font-size: 28px;
  }

  .selfcheck-notebook__title {
    font-size: 21px;
  }
}
