@media (max-width: 900px) {
  :root {
    --page-gutter: 15px;
  }

  html {
    scroll-padding-top: 84px;
  }

  .eyebrow {
    font-size: 14px;
  }

  .section-description {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
  }

  .section-description br {
    display: none;
  }

  .site-header {
    top: 16px;
    width: calc(100% - 30px);
    height: 48px;
    border-radius: 24px;
  }

  .site-header.is-scrolled {
    padding-inline: 15px;
  }

  .site-header.is-scrolled .site-nav {
    width: 100vw;
    left: -15px;
    top: -16px;
  }

  .logo {
    font-size: 18px;
  }

  .logo img {
    width: 36px;
    height: 36px;
  }

  .menu-toggle,
  .menu-close {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--text);
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle {
    margin-right: -10px;
  }

  .menu-close {
    margin-right: -10px;
    color: var(--button-text);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    height: 100vh;
    height: 100dvh;
    padding: max(16px, env(safe-area-inset-top))
      max(15px, env(safe-area-inset-right))
      max(24px, env(safe-area-inset-bottom))
      max(15px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--button-text);
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0.3s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f3;
  }

  .nav-header .logo {
    color: var(--button-text);
  }

  .site-nav ul {
    display: block;
  }

  .site-nav li {
    display: flex;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid #f5f5f5;
  }

  .site-nav .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 56px;
    color: var(--button-text);
  }

  .site-nav .nav-link-disabled {
    color: #999ca8;
  }

  .hero {
    min-height: 720px;
    height: 100vh;
    height: 100svh;
  }

  .hero-background img {
    object-position: center;
  }

  .hero-content {
    top: 110px;
    left: 15px;
    right: 15px;
    text-align: center;
    transform: none;
  }

  .hero-title {
    margin-top: 12px;
    font-size: 40px;
    line-height: 1.4;
  }

  .hero-subtitle {
    margin-top: 8px;
    font-size: 28px;
    line-height: 1.5;
  }

  .hero-description {
    margin-top: 8px;
    font-size: 18px;
  }

  .hero-action {
    margin: 28px auto 0;
  }

  .download-popup {
    width: min(220px, calc(100vw - 30px));
  }

  .scroll-hint {
    bottom: 22px;
    left: 50%;
    font-size: 14px;
    transform: translateX(-50%);
  }

  .intro {
    margin-top: 64px;
  }

  .about-section {
    margin-top: 80px;
  }

  .about-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px 15px;
  }

  .about-item {
    min-height: 160px;
    padding-inline: 10px;
  }

  .about-item p {
    font-size: 14px;
  }

  .download {
    margin-top: 64px;
    overflow: visible;
    scroll-margin-top: 84px;
  }

  .download-content {
    position: static;
    text-align: center;
    transform: none;
    margin-top: 30px;
  }

  .download-content .section-title br {
    display: none;
  }

  .download-description {
    margin-top: 12px;
    font-size: 16px;
  }

  .download-content .download-action {
    margin: 28px auto 0;
  }

  .download-visual {
    margin-top: 36px;
  }

  .download-visual img {
    aspect-ratio: 680 / 258;
  }

  .footer-visual {
    margin-top: 0;
  }

  .footer-visual img {
    width: 120%;
    max-width: none;
    margin-left: -10%;
  }

  .site-footer {
    margin-top: 40px;
    margin-bottom: 32px;
  }

  .contact-list {
    display: grid;
    gap: 14px;
  }

  .contact-list li {
    align-items: flex-start;
    font-size: 15px;
  }

  .contact-list img {
    flex-shrink: 0;
    margin-top: 2px;
  }

  .contact-list a {
    overflow-wrap: anywhere;
  }

  .copyright {
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
  }
}

@media (max-width: 380px) {
  .hero-description {
    font-size: 16px;
  }

  .about-list {
    gap: 56px 10px;
  }

  .about-item {
    padding-inline: 8px;
  }

  .about-item p {
    font-size: 13px;
  }
}

@media (max-width: 900px) and (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: 500px;
    height: auto;
  }

  .hero-content {
    position: relative;
    top: auto;
    left: 15px;
    right: auto;
    width: min(52%, 420px);
    padding-block: 96px 72px;
    text-align: left;
  }

  .hero-title {
    font-size: 32px;
  }

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

  .hero-action {
    margin-inline: 0;
  }

  .hero-background img {
    object-position: 70% center;
  }

  .scroll-hint {
    display: none;
  }
}
