@media (max-width: 1080px) {
  .feature-grid {
    max-width: 880px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .feature-caption {
    min-height: 148px;
  }

  .feature-caption h3 {
    font-size: 26px;
  }

  .faq-layout {
    gap: 64px;
  }
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 34px, 720px);
  }

  body {
    font-size: 16px;
  }

  .site-header,
  .nav-shell {
    min-height: 74px;
  }

  .hero {
    min-height: calc(100svh - 74px);
    padding-top: 70px;
  }

  h1 {
    font-size: clamp(42px, 10.8vw, 66px);
  }

  .section {
    padding: 112px 0;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .faq-heading {
    position: static;
    max-width: 650px;
  }

  .footer-inner {
    min-height: 180px;
    flex-wrap: wrap;
    align-content: center;
    column-gap: 22px;
    row-gap: 18px;
  }

  .footer-links {
    width: 100%;
    margin-left: 0;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --page: min(100% - 28px, 560px);
  }

  .nav-anchor {
    display: none;
  }

  .brand {
    font-size: 19px;
  }

  .hero {
    padding: 54px 0 104px;
  }

  .site-gradient {
    filter: saturate(1.1) contrast(1.02);
    opacity: 0.9;
  }

  .hero-mark {
    width: 68px;
    height: 68px;
    margin-bottom: 26px;
    border-radius: 22px;
  }

  .hero-mark img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
  }

  h1 {
    margin-bottom: 0;
    font-size: clamp(38px, 11.2vw, 54px);
    line-height: 0.95;
  }

  .download-cta {
    margin-top: 32px;
  }

  .ios-button {
    min-width: 226px;
    min-height: 68px;
    padding-right: 18px;
    padding-left: 18px;
    border-radius: 17px;
  }

  .ios-button svg {
    width: 35px;
    height: 35px;
  }

  .ios-button-copy > span {
    font-size: 13px;
  }

  .ios-button-copy strong {
    font-size: 27px;
  }

  .qr-popover {
    top: calc(100% + 16px);
    bottom: auto;
    width: min(252px, calc(100vw - 44px));
    transform: translate(-50%, -8px) scale(0.98);
    transform-origin: top center;
  }

  .qr-popover::before {
    top: -6px;
    bottom: auto;
    border-top: 1px solid var(--line-strong);
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid var(--line-strong);
  }

  .section {
    padding: 94px 0;
  }

  .section-heading h2,
  .faq-heading h2 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .section-heading > p:last-child,
  .faq-heading > p:last-child {
    font-size: 17px;
  }

  .feature-grid {
    width: calc(100vw - 14px);
    max-width: none;
    margin-right: calc((100vw - var(--page)) / -2);
    padding: 0 calc((100vw - var(--page)) / 2) 22px 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 340px);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(199, 255, 50, 0.28) transparent;
  }

  .feature-card {
    scroll-snap-align: start;
  }

  .feature-card:hover {
    transform: none;
  }

  .feature-caption {
    min-height: 138px;
    grid-template-rows: auto minmax(58px, 1fr);
    padding-bottom: 22px;
  }

  .feature-caption h3 {
    min-height: 58px;
    font-size: 23px;
  }

  .faq-layout {
    gap: 42px;
  }

  .faq-list summary {
    min-height: 88px;
    padding: 24px 46px 24px 0;
    font-size: 19px;
  }

  .faq-list details p {
    margin-bottom: 26px;
    padding-right: 8px;
    font-size: 15px;
  }

  .footer-inner {
    min-height: 208px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .footer-links {
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .site-gradient {
    filter: saturate(1.04) contrast(1.02);
  }
}
