@media (max-width: 1024px) {
  .nav {
    border-radius: 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .feature-row,
  .feature-row:nth-child(2n),
  .faq,
  .footer-box {
    grid-template-columns: 1fr;
  }

  .feature-row:nth-child(2n) .feature-image {
    order: initial;
  }

  .hero {
    padding-bottom: 2rem;
  }

  .hero-grid {
    min-height: auto;
    gap: 2rem;
  }

  .hero-visual {
    min-height: 30rem;
    order: -1;
  }

  .faq-side {
    position: static;
  }

  .store-grid,
  .benefits {
    grid-template-columns: 1fr;
  }

  .tag-cycle {
    right: 4%;
  }

  .tag-ai {
    left: 4%;
  }

  body::before {
    width: 20rem;
    height: 20rem;
    top: -6rem;
    left: -6rem;
  }

  body::after {
    width: 16rem;
    height: 16rem;
    right: -4rem;
    bottom: 4rem;
  }
}

@media (max-width: 720px) {
  .shell,
  .nav {
    width: min(var(--max), calc(100% - 1rem));
  }

  .site-header {
    padding-top: 0.55rem;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem;
  }

  .button-group {
    width: 100%;
  }

  .button-group .button {
    flex: 1 1 100%;
  }

  h1 {
    font-size: clamp(1.85rem, 9vw, 2.8rem);
  }

  .hero-visual {
    min-height: 24rem;
    width: 100%;
    max-width: 100%;
  }

  .device-shell {
    width: min(15rem, 68%);
    transform: none;
    animation: driftMobile 9s ease-in-out infinite;
  }

  .hero-orbit {
    inset: 4% 4%;
  }

  .floating-tag {
    min-width: auto;
    max-width: 10rem;
    padding: 0.75rem 0.85rem;
  }

  .floating-tag small {
    font-size: 0.72rem;
  }

  .floating-tag strong {
    font-size: 0.9rem;
  }

  .tag-cycle {
    top: 6%;
    right: 2%;
  }

  .tag-ai {
    bottom: 4%;
    left: 2%;
  }

  .feature-row,
  .download-panel,
  .faq-side,
  .footer-box {
    padding: 1.2rem;
  }

  .feature-image {
    max-width: 17rem;
    min-height: 14rem;
  }

  .feature-copy,
  .section-head {
    margin-bottom: 0;
  }

  body::before,
  body::after {
    animation: none;
    opacity: 0.4;
  }

  body::before {
    width: 16rem;
    height: 16rem;
    top: -5rem;
    left: -5rem;
  }

  body::after {
    width: 12rem;
    height: 12rem;
    right: -3rem;
    bottom: 3rem;
  }
}
