@media (max-width: 1080px) {
  .hero__inner,
  .languages-section,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
  }

  .hero__visual {
    justify-self: center;
    width: min(100%, 760px);
  }

  .hero-chip {
    right: 14px;
  }

  .family-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-preview {
    grid-template-columns: .8fr 1fr;
  }

  .story-meta {
    grid-column: 1 / -1;
  }

  .language-cloud {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

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

  .how-grid::before {
    display: none;
  }

  .price-grid,
  .cover-row,
  .faq-list,
  .phone-preview-row {
    grid-template-columns: 1fr;
  }

  .phone-preview-row {
    max-width: 380px;
  }
}

@media (max-width: 700px) {
  .hero__inner,
  .section,
  .icon-grid,
  .download-band,
  .site-footer,
  .legal-page {
    width: min(100% - 28px, var(--max));
  }

  .site-header__inner {
    width: min(100% - 28px, var(--max));
    min-height: 60px;
    gap: 12px;
  }

  .brand span {
    font-size: .98rem;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .download-link {
    min-height: 36px;
    padding: 0 13px;
    font-size: .82rem;
  }

  .hero {
    min-height: auto;
    padding: 28px 0 18px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .store-row,
  .store-button {
    width: 100%;
  }

  .store-button {
    justify-content: center;
  }

  .hero__scene {
    border-radius: 24px;
  }

  .hero-chip {
    position: static;
    display: inline-grid;
    min-width: calc(50% - 7px);
    margin-top: 10px;
    vertical-align: top;
  }

  .hero-chip--voice {
    min-width: 100%;
  }

  .icon-grid,
  .how-grid,
  .family-grid,
  .story-preview {
    grid-template-columns: 1fr;
  }

  .icon-grid img {
    max-height: 170px;
  }

  .story-preview,
  .glass-card,
  .price-card {
    border-radius: 22px;
  }

  .book-cover {
    min-height: 220px;
  }

  .story-pages img {
    max-height: 210px;
  }

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

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

  .story-preview--rich {
    padding: 14px;
  }

  .demo-cover {
    min-height: 240px;
  }

  .cover-row--images article {
    min-height: 320px;
  }

  .language-cloud span {
    width: 100%;
    justify-content: flex-start;
  }

  .screen-shelf {
    padding-bottom: 20px;
  }

  .screen-labels {
    display: none;
  }

  .language-planet {
    width: 118px;
    height: 118px;
    font-size: 3.2rem;
  }

  .site-footer__main,
  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__scene,
  .screen-panorama,
  .language-planet {
    animation: floaty 7s ease-in-out infinite;
  }

  .screen-panorama {
    animation-delay: -2s;
  }

  .language-planet {
    animation-delay: -4s;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}
