/* The plain pages (privacy, terms, support, security; task 523.13, Oct 18, 2026): just the rules of the app's app.css
   that these pages use, so they block their first paint on ~1.5 KB of CSS instead of the whole app's 58 KB. Same
   look; tokens from /styles/tokens.css. If a plain page gains a new kind of element, style it here. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh); color: var(--text); background: var(--bg);
  min-height: 100vh; min-height: 100dvh; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* The porch light: a warm glow at the top of the page. */
body::before {
  content: ""; position: fixed; inset: -20vh -10vw auto -10vw; height: 70vh; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 55% at 22% 18%, var(--glow), transparent 70%), radial-gradient(50% 45% at 80% 0%, var(--glow-soft), transparent 75%);
  opacity: 0.85;
}
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: var(--fs-title); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-headline); font-weight: 600; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 2px; }
img, svg { display: block; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-wash); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: var(--r-chip); box-shadow: var(--shadow-lift); }
.skip:focus { top: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; min-height: 44px; }
main { display: block; width: 100%; }
main:focus { outline: none; }

.prose { max-width: 720px; margin: 0 auto; padding: var(--s6) var(--s4) var(--s10); }
.prose h1 { font-size: 1.75rem; margin: var(--s4) 0 var(--s2); }
.prose h2 { margin: var(--s6) 0 var(--s2); font-size: 1.125rem; }
.prose p, .prose li { margin-top: var(--s2); }
.prose ul { padding-left: 1.2em; }
.prose .brand { margin-bottom: var(--s2); }
.prose .brand img { width: 30px; height: 30px; }

/* The Snapshot Capture warning on /support. */
.ss-warn { margin-top: var(--s4); padding: var(--s3) var(--s4); border: 1px solid var(--bad); border-left-width: 4px; border-radius: var(--r-card); background: var(--bad-wash); }
.ss-warn h2 { display: flex; align-items: center; gap: var(--s2); font-size: 1.0625rem; margin-bottom: var(--s2); }
.ss-warn p + p { margin-top: var(--s2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 100ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) { .ss-warn { border: 2px solid CanvasText; } }
