/* Official artwork stays intact; availability is a separate label. */
.store-link.app-store.coming-soon {
  height: clamp(48px, 4.5cqw, 76px);
  gap: 3px;
  padding: 4px 8px;
  overflow: visible;
}
.coming-soon-logo {
  display: block;
  width: auto;
  height: clamp(28px, 2.65cqw, 44px);
  max-width: 100%;
  object-fit: contain;
  flex: 0 1 auto;
}
body { min-width: 0; }
.site-footer { flex-wrap: wrap; }

/* Use real flow on phones, tablets and narrow browser windows. */
@media (max-width: 1100px), (pointer: coarse) and (orientation: landscape) and (max-width: 1366px) {
  .landing {
    aspect-ratio: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: max(16px, env(safe-area-inset-top, 0px))
      max(16px, env(safe-area-inset-right, 0px)) 32px
      max(16px, env(safe-area-inset-left, 0px));
    overflow: visible;
  }
  .scenery { overflow: hidden; }
  .scenery img { object-fit: cover; object-position: 50% 10%; opacity: .76; }
  .scene-shading {
    background: linear-gradient(#06030b1a, #0804107d 30%, #06030cc4 65%, #06030bd9);
  }
  .masthead {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 0;
    gap: 16px;
  }
  .primary-nav {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 4px clamp(16px, 5vw, 44px);
  }
  .primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    font-size: clamp(12px, 2vw, 15px);
    letter-spacing: .04em;
  }
  .store-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    width: min(100%, 372px);
    gap: clamp(8px, 3vw, 20px);
  }
  .store-link, .store-link.app-store.coming-soon {
    width: 100%;
    min-width: 0;
    height: 76px;
    border-radius: 12px;
  }
  .store-link.app-store.coming-soon { padding: 5px 7px; gap: 6px; }
  .coming-soon-kicker { font-size: 11px; line-height: 1.2; }
  .coming-soon-logo { height: 40px; max-width: 100%; }
  .official-badge.google-badge { width: 100%; height: 100%; object-fit: contain; }
  .header-rule {
    position: relative;
    inset: auto;
    width: 100%;
    height: 1px;
    margin: 28px 0;
  }
  .header-rule img { width: min(105px, 30%); }
  .introduction {
    position: relative;
    inset: auto;
    width: min(100%, 590px);
  }
  .brand { width: 100%; max-width: 590px; margin: 0 auto 17px; }
  .brand img { width: 100%; height: auto; }
  .landing .tagline { font-size: clamp(29px, 5.7vw, 47px); line-height: 1.08; }
  .fine-rule { width: min(64%, 285px); height: 16px; margin: 10px auto 14px; }
  .fine-rule span { width: 8px; height: 8px; }
  .intro-copy { max-width: 560px; font-size: clamp(17px, 2.9vw, 23px); line-height: 1.45; margin: 0 auto; }
  .benefits { flex-wrap: wrap; gap: 4px 8px; margin: 15px 0 0; font-size: clamp(12px, 2vw, 16px); line-height: 1.5; white-space: normal; }
  .apple-availability { font-size: clamp(16px, 2.4vw, 21px); }
  .film-section {
    position: relative;
    inset: auto;
    width: min(100%, 760px);
    min-width: 0;
    height: auto;
    margin: 30px auto;
  }
  .film-frame { width: 100%; min-width: 0; height: auto; }
  .film-section .film-surface { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .film-preview, .film-mount { position: absolute; inset: 0; width: 100%; height: 100%; }
  .film-preview > img, .film-mount video { width: 100%; height: 100%; object-fit: contain; }
  .film-heading-row, .film-underbar, .film-feedback { flex-wrap: wrap; gap: 8px; }
  .film-section .film-underbar a { display: inline-flex; align-items: center; min-height: 44px; }
  .film-section .film-status { min-width: 0; overflow-wrap: anywhere; }
  .features {
    position: relative;
    inset: auto;
    width: min(100%, 800px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(6px, 2vw, 16px);
  }
  .feature > img { width: min(100%, clamp(64px, 16vw, 118px)); height: auto; aspect-ratio: 1; }
  .landing .feature h2 { font-size: clamp(13px, 2.1vw, 21px); white-space: normal; overflow-wrap: anywhere; line-height: 1.2; margin: 12px 0 0; }
  .feature-rule { width: 100%; max-width: 82%; height: 20px; margin: 5px auto 0; }
  .feature-rule::after { width: 5px; height: 5px; }
  .site-footer {
    padding: 16px max(16px, env(safe-area-inset-right, 0px))
      max(18px, env(safe-area-inset-bottom, 0px))
      max(16px, env(safe-area-inset-left, 0px));
  }
  .info-dialog {
    max-width: calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    padding: 56px clamp(16px, 4vw, 32px) 24px;
    overflow: auto;
    overflow-wrap: anywhere;
  }
  .dialog-close { width: 44px; height: 44px; }
  .gold-button { max-width: 100%; min-height: 44px; }
}
@media (max-width: 340px) {
  .store-links { gap: 8px; }
  .store-link.app-store.coming-soon { padding-inline: 4px; }
  .coming-soon-logo { height: auto; width: 120px; }
  .film-preview-label::before, .film-preview-label::after { display: none; }
}
