/* Approved mobile composition only. Desktop/tablet (>700px) retain their cascade. */
@media (max-width: 700px) {
  /* Hero: one cohesive screen, with natural flow on short/narrow devices. */
  .hero { min-height: 0; padding: 18px 20px 26px; grid-template-rows: auto auto auto auto auto; }
  .hero .header { min-height: 42px; margin: 0 7px 24px; }
  .hero .hero-copy { margin-inline: 7px; }
  .hero .logo { width: 102px; }
  .hero .eyebrow { font-size: 10.3px; line-height: 1.4; letter-spacing: .22em; }
  .hero h1 { margin-top: 6px; font-size: clamp(88px,27vw,116px); line-height: 1; letter-spacing: -.06em; transform: scaleX(1.07); }
  .hero .tagline { margin: 5px 0 16px; font-size: clamp(10px,2.82vw,12px); line-height: 1.3; letter-spacing: .075em; width: max-content; max-width: 100%; color: transparent; background: linear-gradient(90deg,#64eff4,#9d88fd 48%,#f76de1 78%,#ffbaa0); background-clip: text; }
  .hero .description { margin: 0; font-size: 15.5px; line-height: 1.34; }
  .hero .artwork { width: calc(100% + 40px); height: clamp(250px,73vw,300px); margin: 0 -20px; mask-image: linear-gradient(transparent,#000 10%,#000 93%,transparent); }
  .hero .artwork img { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: right 20%; }
  .hero > .ambient-particles { inset: 0 -20px; }
  .hero .actions { grid-template-columns: 1.3fr 1fr; gap: 10px; margin: 0 0 18px; }
  .hero .actions .button { min-height: 48px; padding: 10px 10px; font-size: 15px; gap: 9px; white-space: nowrap; }
  .hero .actions .secondary { border-color: #3988c9; }
  .hero .actions .arrow { width: 16px; }
  .hero .facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .hero .facts li { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 54px; padding: 10px 12px; border: 1px solid #194f91; border-radius: 14px; background: #04102399; font-size: clamp(12px,3.5vw,14px); }
  .hero .hero-benefit-icon { display: flex; flex: 0 0 24px; width: 24px; height: 26px; color: #52dcf2; }
  .hero .hero-benefit-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .hero .facts li:nth-child(2) .hero-benefit-icon { color: #ad56fa; }
  .hero .facts li:nth-child(3) .hero-benefit-icon { color: #ef52da; }

  /* The visible Block1.5 lower ribbon is ~130px below the Scenes section top.
     Retain that real overlap clearance, reducing the empty gap above copy120->40. */
  .vibe-scenes { padding-top: 170px; }
  .vibe-scenes .vibe-panel-scene { margin-top: 30px; }
  .creative-content { padding-top: 70px; padding-bottom: 32px; }

  /* One shared mobile contour is generated by alignTransition() in block4.js. */
  .showcase { margin-top: -24px; }
  .showcase-content { padding-top: 70px; padding-bottom: 48px; }
  .showcase-art { display: none; }
  .showcase > .ambient-particles { inset: 0; height: auto; mask: var(--showcase-join-mask) 0 0 / 100% 100% no-repeat; }

  .categories-content { padding-top: 22px; padding-inline: 20px; }
  .categories-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 12px; align-items: stretch; }
  .category-card { display: flex; flex-direction: column; aspect-ratio: auto; height: 100%; border-radius: 14px; }
  .category-artwork { position: relative; inset: auto; flex: none; aspect-ratio: 1672 / 941; }
  .category-info { position: relative; inset: auto; flex: 1; grid-template-columns: minmax(0,1fr); align-items: start; gap: 0; padding: 12px 10px 14px; }
  .category-play { position: absolute; width: 44px; height: 44px; right: 7px; top: -51px; }
  .category-title { font-size: clamp(12px,3.1vw,14px); line-height: 1.3; overflow-wrap: break-word; }
  .category-description { font-size: clamp(11.5px,3vw,12.5px); line-height: 1.35; margin-top: 5px; }

  .whats-inside .specifications-content { padding-bottom: 82px; }
  .whats-inside .specifications-panel { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 10px; }
  .whats-inside .specification-tile { grid-template-columns: minmax(0,1fr); grid-template-rows: 36px auto 1fr; gap: 8px; padding: 12px 10px; min-height: 142px; border-radius: 16px; }
  .whats-inside .specification-icon { grid-column: 1; grid-row: 1; width: 36px; height: 36px; border-radius: 11px; }
  .whats-inside .specification-icon svg { width: 26px; height: 26px; }
  .whats-inside .specification-tile dd { grid-column: 1; grid-row: 2; align-self: center; margin: 0; font-size: clamp(17px,5vw,22px); line-height: 1.2; letter-spacing: -.04em; white-space: nowrap; }
  .whats-inside .specification-tile dt { grid-column: 1; grid-row: 3; align-self: start; font-size: 12px; line-height: 1.3; }

  .vibes-checkout .checkout-advantages { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 12px; margin-top: 0; }
  .vibes-checkout .checkout-advantages li { flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; font-size: 11.5px; line-height: 1.4; text-align: center; }
  .vibes-checkout .checkout-advantages svg { flex: none; width: 28px; height: 32px; }
}
@media (max-width: 600px) {
  /* Only real foreground boxes receive input. The masked, transparent top of
     this overlapping section must not block the preceding license link. */
  .vibes-checkout { pointer-events: none; }
  .vibes-checkout .checkout-content,
  .vibes-checkout .checkout-footer { pointer-events: auto; }
  /* The organic overlap is decorative: keep the content box itself below the
     license link. A flex-item margin preserves identical child positions while
     removing the transparent padding box that would intercept license taps. */
  .vibes-checkout .checkout-content { padding-top: 0; margin-top: 72px; }
  /* The image and its bubble mask use this SAME smaller proportional source
     plane; reducing underwater depth never moves bubbles into the sky. */
  .vibes-checkout { --checkout-source-width: 1900px; }
  .vibes-checkout .checkout-footer { padding-top: 120px; }
}
