@media (max-width: 1060px) {
  .hero,
  .about,
  .root-cause-panel,
  .faq-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: start;
  }

  .trg-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 94px;
  }

  .site-header {
    min-height: 4.15rem;
    top: 0.75rem;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: 5.4rem;
    right: var(--page-gutter);
    left: var(--page-gutter);
    display: grid;
    max-height: calc(100dvh - 6.5rem);
    justify-content: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: rgba(248, 246, 243, 0.98);
    box-shadow: var(--shadow-soft);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.6rem);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a,
  .main-nav .nav-cta {
    justify-content: flex-start;
    margin-left: 0;
    padding: 0.9rem 1rem;
  }
}

@media (max-width: 720px) {
  :root {
    --page-gutter: 1rem;
    --section-y: clamp(3.5rem, 12vw, 5.25rem);
  }

  h1 {
    font-size: clamp(1.85rem, 9.2vw, 2.65rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(1.65rem, 7.8vw, 2.25rem);
    line-height: 1.14;
  }

  .hero {
    gap: 2rem;
    padding-block-start: 2.5rem;
  }

  .hero-actions,
  .contact-options {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-options .btn,
  .contact-options .text-link {
    width: 100%;
  }

  .hero-actions {
    align-items: center;
    gap: 0.7rem;
  }

  .hero-actions .btn {
    width: min(100%, 17.5rem);
    min-height: 2.55rem;
    padding: 0.58rem 0.9rem;
    font-size: 0.82rem;
  }

  .hero-trust li {
    flex: 1 1 100%;
  }

  .hero-visual {
    width: min(100%, 24rem);
    justify-self: center;
  }

  .hero-visual figcaption {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
  }

  .portrait-frame {
    aspect-ratio: 5 / 6;
    border-radius: 8px 8px 36px 8px;
  }

  .recognition {
    padding: clamp(1.5rem, 7vw, 2.4rem);
    border-radius: 22px;
  }

  .trg-grid,
  .timeline,
  .symptom-list {
    grid-template-columns: 1fr;
  }

  .about-image {
    width: min(100%, 24rem);
  }

  .about-image::before {
    inset: 0.9rem -0.6rem -0.9rem 0.9rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .site-header {
    width: calc(100% - 1.5rem);
    padding-inline: 0.55rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.84rem;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.6rem;
  }

  .nav-toggle {
    width: 2.45rem;
    height: 2.45rem;
  }

  .section-heading,
  .section-copy {
    max-width: 100%;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  .eyebrow::before {
    width: 1.35rem;
  }

  .check-card {
    min-height: auto;
    padding: 1.15rem 1rem 1.15rem 3rem;
  }

  .benefit-card {
    min-height: auto;
  }

  .root-cause-panel {
    padding: 1.15rem;
    border-radius: 8px 28px 8px 8px;
  }
}

@media (max-width: 330px) {
  .brand small {
    display: none;
  }

  .btn {
    padding-inline: 0.9rem;
    font-size: 0.88rem;
  }

  .contact-form {
    padding: 0.9rem;
  }
}
