@media (max-width: 1080px) {
  :root {
    --shell: min(920px, calc(100vw - 40px));
  }

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

  .page-bg {
    background-position: calc(100% + 240px) 34%;
    background-size: 760px;
  }
}

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

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 680px;
    padding-top: 66px;
  }

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

  .hero-facts div:nth-child(2) {
    border-right: 0;
  }

  .hero-facts div:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

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

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-search {
    width: 100%;
  }

  .filters {
    justify-content: flex-start;
  }

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

  .footer {
    grid-template-columns: 1fr;
    padding: 28px 0;
    gap: 12px;
  }

  .footer p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100vw - 28px);
  }

  .nav {
    min-height: 72px;
  }

  .brand span {
    font-size: 15px;
  }

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

  .hero {
    min-height: 650px;
    padding: 50px 8px 78px;
  }

  .hero-mark {
    width: 118px;
  }

  .hero-title {
    font-size: clamp(68px, 20vw, 104px);
  }

  .hero-subtitle {
    font-size: 23px;
  }

  .hero-description {
    max-width: 420px;
    font-size: 13px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    margin-top: 34px;
  }

  .hero-facts div {
    min-height: 64px;
    padding-inline: 8px;
  }

  .hero-facts strong {
    font-size: 13px;
  }

  .features {
    padding-top: 68px;
  }

  .feature-toolbar {
    margin-bottom: 30px;
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
  }

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

  .feature-card {
    min-height: 164px;
  }

  .access {
    margin-bottom: 54px;
    padding: 18px;
  }

  .access .button {
    width: 100%;
  }

  .access-modal {
    padding: 14px;
  }

  .access-modal-card {
    max-height: calc(100vh - 28px);
    padding: 24px 18px 20px;
    border-radius: 16px;
  }

  .access-modal-card h2 {
    margin-right: 40px;
  }

  .access-modal-actions {
    flex-direction: column;
  }

  .access-modal-actions .button {
    width: 100%;
  }

  .page-bg {
    opacity: .11;
    background-position: 50% 22%;
    background-size: 650px;
  }
}

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

  .glow,
  .hero-mark,
  .hero-title::before,
  .hero-title::after,
  .access-warmup-status > span::after {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
