/* NearNow Web v161 — mobile-only public-site layer.
   Loaded with media="(max-width: 860px)" so desktop rendering stays untouched. */
@media (max-width: 860px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
  body { overflow-x: hidden; }
  a, button { -webkit-tap-highlight-color: rgba(255,255,255,.08); touch-action: manipulation; }
  .wrap { width: min(100% - 24px, 1180px); }

  .top { padding-top: env(safe-area-inset-top); }
  .top .wrap { min-height: 64px; height: 64px; gap: 10px; }
  .brand { min-width: 0; }
  .brand .tag { display: none !important; }
  .top .cta, .top-actions .cta { min-height: 44px; padding: 10px 12px; border-radius: 12px; font-size: 13px; white-space: nowrap; }

  .hero { min-height: 0; padding-top: calc(92px + env(safe-area-inset-top)); padding-bottom: 46px; }
  .hero .wrap { min-width: 0; }
  .hero h1, h1 { max-width: 100%; font-size: clamp(38px, 11.2vw, 54px); line-height: .98; overflow-wrap: anywhere; }
  .lead { max-width: 100%; font-size: 17px; line-height: 1.55; }
  .eyebrow, .kicker { max-width: 100%; }

  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .hero-actions .cta { width: 100%; min-height: 48px; }
  .trust { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .trust span { display: flex; align-items: center; min-height: 42px; padding: 8px 10px; line-height: 1.3; }

  .section { padding: 50px 0; content-visibility: auto; contain-intrinsic-size: 1px 560px; }
  .section h2 { font-size: clamp(28px, 8vw, 36px); line-height: 1.08; }
  .section-lead { font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
  .grid { grid-template-columns: 1fr !important; gap: 10px; }
  .card { min-height: 0; padding: 18px; border-radius: 17px; }
  .card b, .card h3 { font-size: 18px; }
  .card p, .section p, .section li { font-size: 16px; line-height: 1.62; }
  .icon { width: 42px; height: 42px; }

  .meet { padding-bottom: 58px; content-visibility: auto; contain-intrinsic-size: 1px 650px; }
  .meetbox { grid-template-columns: 1fr; border-radius: 20px; }
  .meetphoto { min-height: min(72vw, 330px); order: -1; }
  .meetcopy { padding: 22px 18px 24px; }
  .meetcopy h2 { font-size: clamp(30px, 9vw, 38px); line-height: 1.04; }
  .meetcopy p { font-size: 16px; line-height: 1.62; }
  .meetcopy .cta { width: 100%; min-height: 48px; }

  .links { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
  .links a { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 10px 12px; text-align: center; }

  .support { padding: 48px 0 62px; content-visibility: auto; contain-intrinsic-size: 1px 360px; }
  .supportbox { padding: 22px 18px; border-radius: 20px; gap: 18px; }
  .supportbox h2 { font-size: 30px; }
  .supportbox p { font-size: 16px; line-height: 1.6; }
  .supportbox .cta { width: 100%; min-height: 48px; }

  .footer { padding-bottom: max(30px, env(safe-area-inset-bottom)); }
  .footer .wrap { display: grid; grid-template-columns: 1fr; gap: 10px; justify-content: stretch; }
  .footer a { display: inline-block; padding-block: 4px; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 20px); }
  .top .wrap { gap: 8px; }
  .top .cta, .top-actions .cta { padding-inline: 10px; font-size: 12px; }
  .hero { padding-top: calc(86px + env(safe-area-inset-top)); }
  .hero h1, h1 { font-size: clamp(36px, 12vw, 46px); }
  .trust { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
}
