html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
button:disabled { opacity: .6; cursor: progress; }

/* Phone widths: the page source is designed at desktop width with inline styles, so these override with !important. */
@media (max-width: 640px) {
  #app h1 { font-size: 40px !important; line-height: 1.05 !important; }
  #app h2 { font-size: 30px !important; }
  #app [style*="max-width: 1240px"] { padding-left: 16px !important; padding-right: 16px !important; }
  #access > div { padding: 24px !important; }
  #pages article > div[style*="overflow-y: auto"] { padding: 20px 16px !important; }
}

/* Text pages (privacy notice) */
body.doc { color: #141A24; font-family: 'Public Sans', system-ui, sans-serif; font-size: 17px; line-height: 1.65; }
body.doc main { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
body.doc .brand { display: inline-flex; align-items: center; gap: 10px; color: #141A24; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
body.doc h1 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 44px; line-height: 1.05; margin: 40px 0 6px; }
body.doc h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 24px; margin: 36px 0 8px; }
body.doc .updated { color: #4A5568; font-size: 15px; margin: 0 0 24px; }
body.doc p, body.doc ul { color: #2A3342; }
body.doc li { margin: 4px 0; }
body.doc table { width: 100%; border-collapse: collapse; font-size: 15px; background: #FFFFFF; border: 1px solid #DDE2EA; border-radius: 10px; overflow: hidden; }
body.doc th, body.doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #EEF1F5; }
body.doc th { background: #F1F3F7; font-weight: 600; }
body.doc .back { margin-top: 40px; }
@media (max-width: 640px) {
  body.doc main { padding: 24px 16px 64px; }
  body.doc h1 { font-size: 34px; }
  body.doc table { display: block; overflow-x: auto; }
}
