/* Phones and foldables (iPhone Duo pass, 2026-11-17). Loaded after each page's own styles.
   Layout fixes only; the design is unchanged. */

/* Hero fills the visible screen, not the area behind Safari's toolbars. */
#hero { min-height: 100vh; min-height: 100svh; }

/* Wide landscape screens (iPhone Duo open, 951px): keep the two-column hero.
   Stacked, the photo filled the whole first screen and the headline sat below it. */
@media (min-width: 900px) and (max-width: 960px) and (orientation: landscape) {
  #hero { grid-template-columns: 1fr 1fr; }
  .hero-right { height: auto; min-height: 0; max-height: none; order: 0; }
  .hero-left { padding: 56px 32px 48px 28px; }
}
/* Short landscape screens (iPhone Duo closed, on its side): the photo was taller than the screen. */
@media (max-width: 899px) and (orientation: landscape) {
  .hero-right { height: min(100vw, 600px, calc(100svh - 64px)); min-height: 0; }
}

/* Long paragraphs keep a readable line length when columns stack on a wide screen. */
.editorial-body, .step-desc { max-width: 68ch; }

/* 44px touch targets. */
.hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
@media (pointer: coarse) {
  .footer-links a, .footer-bottom a, .footer-cherry, .nav-logo { padding-block: 14px; margin-block: -14px; }
  .social-pill { position: relative; }
  .social-pill::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
}
