/* Final mobile composition, after the shared desktop and text styles. */
@media (max-width: 600px) {
  html { scrollbar-width: none; --hero-action-gap: var(--opening-actions-gap, 28px); --chapter-space: 64px; }
  .company-page main > .section, .product-page main > .section { padding-block: var(--chapter-space); }
  html::-webkit-scrollbar { display: none; }
  .company-page .hero {
    display: block;
    min-height: 100svh;
    padding: var(--opening-top, clamp(184px, 29svh, 260px)) 16px 88px;
  }
  .company-page .hero-content {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }
  .company-page .hero-content .hebrew-headline.two-line-headline {
    font-size: var(--opening-phone-title, clamp(30px, 9.6vw, 44px));
    line-height: 1.16;
    letter-spacing: -.04em;
  }
  .company-page .hero-content .hero-copy-final {
    margin: var(--opening-copy-gap, 16px) 0 0;
    font-size: var(--opening-phone-copy, clamp(17px, 4.65vw, 22px));
    line-height: 1.65;
  }
  .company-page .hero .hero-actions { margin: var(--hero-action-gap) 0 0; gap: 10px; }
  .company-page .hero-actions > .btn { min-height: 54px; padding-inline: 8px; font-size: clamp(14px, 3.85vw, 17px); }

  /* Keep related content together; separate chapters with padding, not viewport-height spacers. */
  .company-page main > .studio-section {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    padding-block: var(--chapter-space);
  }
  .company-page .studio-section h2 { font-size: clamp(32px, 9.2vw, 40px); line-height: 1.18; }
  .company-page .studio-copy { margin: 0; }
  .company-page .studio-copy p { font-size: 16px; line-height: 1.7; }

  /* The film follows the short introduction, ahead of supporting details. */
  .company-page main > .showcase {
    width: calc(100% - 24px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    padding-block: var(--chapter-space);
  }
  .company-page .showcase > .section-heading { display: contents; }
  .company-page .showcase .zepo-intro { order: 1; margin: 0 4px; }
  .company-page .showcase .zepo-intro h2 { font-size: clamp(30px, 8.8vw, 40px); }
  .company-page .showcase .section-heading > p { order: 2; margin: 0 4px; font-size: 16px; }
  .company-page .showcase .home-zepo-media { order: 3; margin: 4px 0 12px; width: 100%; }
  .company-page .showcase .zepo-benefits { order: 4; margin: 0 4px; font-size: 14px; gap: 12px; }
  .company-page .showcase .zepo-cta-intro { order: 5; margin: 4px auto 0; }
  .company-page main > .apps-section { padding-block: var(--chapter-space); }
  .company-page main > .bespoke-section { margin-block: 0; padding-block: var(--chapter-space); }

  .product-page .product-hero {
    display: block;
    padding: clamp(132px, 19svh, 164px) 12px 66px;
    min-height: 100svh;
  }
  .product-page .product-hero-layout {
    min-height: 0;
    width: 100%;
    justify-content: flex-start;
    gap: var(--product-opening-gap, 24px);
  }
  .product-page .product-hero .hero-content { width: 100%; padding: 0 4px; }
  .product-page .product-hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 10.6vw, 48px);
    white-space: nowrap;
    text-wrap: balance;
    line-height: 1.12;
    letter-spacing: -.035em;
  }
  .product-page .hero-features { margin-top: 16px; }
  .product-page .hero-features li { font-size: clamp(13px, 3.7vw, 17px); gap: 8px; }
  .product-page .hero-features .icon { width: 25px; height: 25px; }
  .product-page .product-hero-media { width: 100%; max-width: none; flex: none; }
  .product-page .hero-actions .hero-download { min-height: 56px; }

  .company-page .home-zepo-media:not(:fullscreen),
  .product-page .product-hero-media:not(:fullscreen) {
    border-radius: 10px;
    outline: 1px solid #aebfd6;
    box-shadow: 0 18px 30px -12px #233e6760, 0 3px 7px #233e6720;
    opacity: 1;
  }
  .zepo-video-start { width: 52px; height: 52px; padding: 14px; border-radius: 50%; justify-content: center; }
  .zepo-video-start > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .zepo-video-start .icon { flex: none; width: 22px; height: 22px; }
  .zepo-video-controls { padding: 6px 4px 0; gap: 3px; }
  .zepo-video-controls button { width: 44px; height: 44px; }
  .zepo-video-controls input { height: 44px; }

  @media (max-height: 700px) {
    .product-page .product-hero-layout { gap: 20px; }
    .product-page .product-hero h1 { font-size: clamp(32px, 10.6vw, 44px); }
    .product-page .hero-features { margin-top: 16px; }
  }
}
