@media (min-width: 761px) {
  .menu-toggle { display: none; }
  #site-navigation,
  #site-navigation[hidden] { display: flex; }
}

@media (max-width: 1080px) and (min-width: 761px) {
  .site-header { grid-template-columns: 148px 1fr auto; padding-inline: 16px; }
  .brand,
  .brand-logo { width: 136px; }
  #site-navigation { gap: 22px; }
  #site-navigation a { font-size: 15px; }
  .hero { grid-template-columns: minmax(330px, .78fr) minmax(510px, 1.22fr); }
  .hero-copy { padding-left: 38px; }
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 20px; }
  .feature-item { grid-template-columns: 104px 1fr; padding: 20px 18px; }
  .feature-item img { width: 94px; height: 94px; }
  .feature-item:nth-child(odd) { border-left: 0; }
  .feature-item:nth-child(n + 3) { border-top: 1px solid rgb(109 53 255 / 48%); }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    min-height: 72px;
    padding: 7px 10px;
  }

  .brand,
  .brand-logo { width: 124px; }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 44px;
    color: var(--color-text);
    font-size: 0;
    white-space: nowrap;
  }

  .menu-toggle::before {
    width: 20px;
    height: 2px;
    content: "";
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  #site-navigation,
  #site-navigation[hidden] {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border-subtle);
    background: #05070b;
  }

  #site-navigation[hidden] { display: none; }

  #site-navigation a {
    justify-content: center;
    border-bottom: 1px solid rgb(111 141 151 / 20%);
  }

  .locale-switcher { padding-inline: 3px; }
  .locale-switcher button { min-width: 31px; padding-inline: 3px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    order: 1;
    padding: 34px 22px 30px;
    background: #030507;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(43px, 12.2vw, 54px);
  }

  .hero-description { margin-top: 22px; font-size: 15px; }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .hero-stage {
    order: 2;
    min-height: 350px;
  }

  .hero-stage::before {
    inset: 0 0 auto;
    width: 100%;
    height: 20%;
    background: linear-gradient(180deg, #030507, transparent);
  }

  .hero-art { object-position: 59% center; }

  .hero-quote {
    left: 18px;
    right: 18px;
    bottom: 16px;
    width: calc(100% - 36px);
    min-height: 66px;
    font-size: 18px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    padding: 8px 20px;
  }

  .feature-item {
    grid-template-columns: 92px 1fr;
    padding: 20px 0;
  }

  .feature-item + .feature-item {
    border-top: 1px solid rgb(109 53 255 / 48%);
    border-left: 0;
  }

  .feature-item img { width: 82px; height: 82px; }
  .feature-item p { max-width: none; font-size: 14px; }

  .screenshots-section,
  .feedback-section,
  .privacy-content { padding: 28px 20px; }

  .screenshot-grid { grid-template-columns: 1fr; }
  .screenshot-grid .screenshot-primary { grid-row: auto; }
  .screenshot-grid img,
  .screenshot-primary img { min-height: 0; height: auto; }

  .feedback-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .feedback-layout { grid-template-columns: 1fr; gap: 7px; }
  .feedback-layout > span[aria-hidden="true"] { display: none; }
  #feedback-form label { padding-top: 9px; }
  #feedback-form select,
  #feedback-form input[type="text"] { max-width: none; }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: var(--page-gutter);
  }
}

@media (max-width: 390px) {
  .brand,
  .brand-logo { width: 112px; }
  .hero-copy { padding-inline: 18px; }
  .hero h1 { font-size: 42px; }
  .hero-stage { min-height: 326px; }
}
