/* Small-screen refinements for the Locationary marketing site. */
body { overflow-x: hidden; }
figure { margin: 0; }
.site-header .button-primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }

@media (max-width: 720px) {
  .site-header .header-inner { gap: 10px; }
  .site-header nav > a:not(.button) { display: none; }
  .site-header nav .button { min-height: 40px; padding: 8px 13px; font-size: .75rem; white-space: nowrap; }
  .hero { padding: 46px 0 58px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); line-height: 1.02; }
  .hero .lede { font-size: 1rem; }
  .hero .actions { margin-top: 24px; }
  .hero .button { flex: 1; min-width: 145px; padding: 10px 14px; }
  .hero-categories { margin-top: 28px; gap: 7px; }
  .hero-categories span { padding: 7px 10px; font-size: .72rem; }
  .hero-stage { min-height: 420px; margin-top: 4px; }
  .warm-shape { width: 94%; height: 78%; right: -4%; top: 7%; border-radius: 38% 10% 38% 14%; }
  .hero-phone { width: min(72vw, 265px); margin-left: 0; }
  .dots { bottom: 4px; }
  .how, .discover, .download { padding: 64px 0; }
  .section-intro h2 { font-size: clamp(2.25rem, 12vw, 3.25rem); }
  .demo { gap: 32px; }
  .demo-stage { gap: 12px; }
  .demo-card { display: block; padding: 16px; }
  .demo-card .phone { width: min(150px, 100%); margin: 0 auto 16px; }
  .demo-card h3 { margin: 0 0 6px; font-size: 1.12rem; text-align: center; }
  .demo-card p { margin: 0; font-size: .8rem; text-align: center; }
  .discover-grid { gap: 30px; }
  .discover h2 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .category-list { gap: 8px; }
  .category { padding: 12px; font-size: .9rem; }
  .download h2 { font-size: clamp(2.3rem, 12vw, 3.35rem); }
  .download-logo { width: 190px; }
  .footer-links { gap: 12px; }
  .cookie-banner { right: 16px; bottom: 16px; width: calc(100% - 32px); padding: 20px; }
  .cookie-actions button { flex: 1; }
}

@media (max-width: 380px) {
  .logo { width: 150px; }
  .site-header nav .button { padding: 8px 10px; font-size: .7rem; }
  .hero h1 { font-size: 2.65rem; }
  .hero-stage { min-height: 390px; }
  .hero-phone { width: 230px; }
  .hero .button { width: 100%; flex-basis: 100%; }
  .hero-categories span:nth-child(5) { display: none; }
  .demo-card .phone { width: 135px; }
}
