/* ── Landing on phones ─────────────────────────────────────
   Minimal and compact. The desktop page scaled down read as loose and
   oversized on a phone, so below 600px it gets its own rhythm: one type scale
   (display 28-38, body 14.5-16), 72px between sections instead of 112, smaller
   chrome, and every list tightened. Loaded after the per-section landing
   files so these win without fighting specificity. */

.lp-phone-only { display: none; }

@media (max-width: 600px) {
  .lp-phone-only { display: inline; }
  .lp-wide-only { display: none; }

  /* Header: a smaller button and a quiet menu control beside the wordmark. */
  body:has(.lp) .topbar { padding: 14px 0; }
  body:has(.lp) .topbar-actions .btn--primary.btn--sm { padding: 6px 12px; font-size: 12.5px; }
  body:has(.lp) .menu-btn { border-color: transparent; background: transparent; }

  /* Rhythm */
  .lp-section,
  .lp-statement,
  .lp-closing { margin-top: 72px; }
  .lp-features { gap: 72px; }
  .lp-head { margin-bottom: 28px; gap: 10px; }

  /* Type scale */
  .lp-h2 { font-size: 28px; line-height: 1.12; letter-spacing: -0.03em; }
  .lp-lede { font-size: 15.5px; line-height: 1.55; }
  .lp-kicker { font-size: 13px; }
  .lp-statement p { font-size: 20px; line-height: 1.42; text-align: left; letter-spacing: -0.015em; }

  /* Hero: tag, headline, line, then both actions on one row. */
  .lp-hero { padding-top: 12px; }
  .lp-hero-note { padding: 3px 12px 3px 3px; gap: 8px; font-size: 12.5px; }
  .lp-hero-note-tag { padding: 2px 8px; font-size: 11px; }
  .lp-hero-title { margin-top: 18px; font-size: clamp(32px, 9.6vw, 40px); }
  .lp-hero-aside { gap: 18px; }
  .lp-hero-sub { font-size: 16px; line-height: 1.5; }
  .lp-hero-cta { flex-direction: row; flex-wrap: nowrap; width: auto; gap: 18px; }
  .lp-hero-cta .btn,
  .lp-hero-aside .lp-hero-cta .btn { width: auto; max-width: none; padding: 11px 18px; font-size: 15px; }
  .lp-link-btn { gap: 8px; font-size: 14.5px; }
  .lp-play { width: 26px; height: 26px; }
  .lp-hero-trust { gap: 4px 14px; font-size: 13px; }

  /* Hero product: no tab strip (the scenarios rotate on their own) and a
     shorter window, so the demo fits on one screen. */
  .lp-hero-stage { margin-top: 32px; }
  .lp-tabs { display: none; }
  .lp-stage { padding-top: 14px; }
  .lp-win-bar { height: 38px; }
  .lp-win-body { height: 372px; }
  .lp-win-mhead { padding: 10px 14px; }
  .lp-win-thread { padding: 16px 14px 8px; gap: 14px; }
  .lp-win-ai,
  .lp-win-user { font-size: 13.5px; }
  .lp-win-source { font-size: 11.5px; }
  .lp-win-input { height: 44px; margin: 0 10px 12px; padding-left: 14px; }
  .lp-win-input-line { font-size: 13.5px; }
  .lp-win-btn { width: 32px; height: 32px; }

  /* Features */
  .lp-feature,
  .lp-feature--flip { gap: 24px; }
  .lp-feature-copy { gap: 12px; }
  .lp-fstage { border-radius: 20px; }

  /* Audiences */
  .lp-aud { gap: 4px; padding: 16px 0; }
  .lp-aud-who { font-size: 16.5px; }
  .lp-aud-line { font-size: 14.5px; line-height: 1.55; }

  /* Steps: the number sits on its title's line, not above it. */
  .lp-step-list { gap: 0; }
  .lp-step {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 4px;
    padding: 18px 0;
  }
  .lp-step:last-child { border-bottom: 1px solid var(--line); }
  .lp-step-n { margin: 0; padding-top: 2px; font-size: 13px; }
  .lp-step-title { font-size: 16.5px; }
  .lp-step-body { grid-column: 2; font-size: 14.5px; line-height: 1.55; }

  /* Privacy */
  .lp-privacy { gap: 20px; padding: 24px 18px; border-radius: 22px; }
  .lp-promise { grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; padding: 16px 0; }
  .lp-promise-icon { width: 32px; height: 32px; }
  .lp-promise-title { font-size: 15.5px; }
  .lp-promise-body { font-size: 14.5px; line-height: 1.55; }

  /* FAQ */
  .lp-faq { gap: 20px; }
  .lp-faq-q { padding: 16px 0; font-size: 15.5px; }
  .lp-faq-a { padding-bottom: 18px; font-size: 14.5px; line-height: 1.6; }

  /* Closing */
  .lp-closing { gap: 12px; padding: 8px 0; }
  .lp-closing-title { font-size: 30px; }
  .lp-closing .lp-hero-cta { justify-content: center; }

  /* Footer, on this page: the same content, closer together. */
  body:has(.lp) .footer-top { padding-top: 40px; gap: 28px; }
  body:has(.lp) .footer-brand { gap: 10px; }
  body:has(.lp) .footer-cols { gap: 24px 32px; }
  body:has(.lp) .footer-col { gap: 10px; }
  body:has(.lp) .footer-bottom { margin-top: 32px; padding-top: 18px; }
}
