/* =====================================================================
   Phone homepage, shorter (20 Oct 2026). Henry: "make the website shorter"
   (compared with spacex.com on a phone). The AI vision and capabilities
   sections are gone from the homepage; the city maps swipe left to right.
   Desktop is untouched, every rule sits inside max-width: 800px.
   Loaded after main.css and v2.css.
   ===================================================================== */
@media (max-width: 800px) {

  /* ---------- tighter rhythm for the map section ---------- */
  .where { padding: 64px var(--gutter); }
  .where h2 { margin-bottom: 18px; }
  .where .section__lead { margin-bottom: 28px; }

  /* ---------- the swipe row ----------
     Runs edge to edge; the first card lines up with the text, the next one
     peeks in from the right so it reads as "swipe", and a count sits below. */
  .where__cities {
    display: flex; gap: 12px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
    overflow-x: auto; overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .where__cities::-webkit-scrollbar { display: none; }
  .where__cities > * {
    flex: 0 0 min(84vw, 380px); min-width: 0;
    scroll-snap-align: start;
  }

  .swipe-count {
    display: flex; align-items: center; gap: 10px;
    margin: 16px 0 0;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
    color: var(--text-dark); opacity: 0.6;
  }
  .swipe-count b { font-weight: 500; color: var(--text-pure); }
  .swipe-count__bar { flex: 0 0 48px; height: 2px; background: rgba(255,255,255,0.16); position: relative; overflow: hidden; }
  .swipe-count__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); transition: width 0.25s ease-out; }

  /* ---------- where: city maps (the board stays a list) ---------- */
  /* the "your city" box repeats the band under the hero; on a phone that's
     two screens apart, so the band carries it alone */
  .where__you { display: none !important; }
  .where-city__map { aspect-ratio: 5 / 4; padding: 4%; }
  .where-city figcaption { padding: 12px 16px; }

  /* ---------- join + footer: same content, less air ---------- */
  .closing-cta.join { padding: 72px var(--gutter) 64px; }
  .closing-cta.join h2 { margin-bottom: 20px; }
  .closing-cta.join p { margin-bottom: 28px; }
  .closing-cta.join p.closing-cta__email { margin-top: 22px; }
  .join .closing-cta__waitlist { margin-top: 28px; }
  .join__private { margin-top: 32px !important; padding-top: 20px; }

  .footer { padding: 48px var(--gutter) 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  .footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer h4 { margin-bottom: 12px; }
}

@media (min-width: 801px) { .swipe-count { display: none; } }
@media (prefers-reduced-motion: reduce) { .swipe-count__bar i { transition: none; } }
