@media (max-width: 1120px) {
  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav {
    display: none;
  }

  .copilot-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__content {
    grid-template-columns: 1fr 1fr;
  }

  .stories-track,
  .faq-track {
    margin-inline: 0;
    padding-inline: 0;
  }

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

  .steps-grid {
    gap: 34px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

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

@media (max-width: 820px) {
  .site-header {
    padding-top: 24px;
  }

  .header-actions .login-link {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 80vh;
    max-height: none;
    padding-bottom: 72px;
  }

  .hero > .container {
    display: block;
    height: auto;
  }

  .copilot-strip {
    display: none;
  }

  .hero__content {
    grid-template-columns: 1fr;
    padding-top: 92px;
  }

  .hero h1 {
    max-width: 620px;
  }

  .hero__media {
    position: relative;
    inset: auto;
    display: flex;
    justify-content: center;
    width: auto;
    min-height: 0;
    margin-top: 28px;
    pointer-events: auto;
  }

  .hero__person {
    position: relative;
    right: auto;
    bottom: auto;
    height: auto;
    max-height: none;
    max-width: none;
    width: min(86vw, 420px);
  }

  .hero__curve,
  .award-card {
    display: none;
  }

  .diagnostic {
    margin-top: 0;
    padding-top: 32px;
  }

  .diagnostic .container {
    width: min(100% - var(--gutter), var(--container));
  }

  .diagnostic-track {
    gap: 16px;
  }

  .diagnostic-card {
    grid-template-columns: 1fr;
    flex-basis: min(721px, 86vw);
    min-height: 0;
    width: auto;
  }

  .diagnostic-card__content {
    padding: 32px;
  }

  .diagnostic-card__media {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .diagnostic-card__icon {
    left: 32px;
    top: auto;
    bottom: 278px;
  }

  .diagnostic-card__demo {
    position: static;
    margin-top: 28px;
  }

  .timeline__labels,
  .timeline__bar {
    display: none;
  }

  .steps-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .stories-track {
    gap: var(--story-gap);
  }

  .faq-track {
    width: max-content;
  }

  .metrics-row {
    --metric-pill-width: min(68vw, 270px);
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-copilots {
    grid-template-columns: 1fr;
  }

  .legal-links {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 32px;
  }

  .brand__tagline,
  .header-actions .button {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
    min-height: 44px;
  }

  .hero__media {
    margin-top: 24px;
  }

  .diagnostic-card {
    min-height: 0;
    padding: 26px;
  }

  .diagnostic-card__content {
    padding: 0;
  }

  .diagnostic-card h2 {
    font-size: 22px;
  }

  .diagnostic-card p,
  .diagnostic-card h2,
  .chips {
    max-width: none;
  }

  .diagnostic-card__media {
    height: 240px;
    margin: 26px -26px -26px;
    width: calc(100% + 52px);
  }

  .diagnostic-card__icon {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 12px;
  }

  .modal__header,
  .lead-form {
    padding-inline: 22px;
  }

  .modal__header h2 {
    font-size: 22px;
  }

  .story-card {
    height: 360px;
  }

  .metrics-row {
    --metric-pill-width: min(78vw, 250px);
  }

  .stories-track {
    gap: 12px;
  }

  .stories-slider {
    --story-gap: 12px;
    --story-card-width: 76vw;
  }

  .plan-card {
    padding: 28px;
  }

  .plan-card .button {
    position: static;
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
