/* Standalone styling for the static legal pages (/privacy, /terms).
 *
 * These pages are deliberately NOT part of the SPA: Safe Browsing's crawler and
 * Google's OAuth-verification reviewers must see real policy text in the HTML
 * response, not a JS shell. That means no bundle, no tokens from
 * packages/ui/themes.css — the Nebula/Prism palettes are duplicated here as
 * literals. Keep them roughly in sync by eye; nothing depends on them matching. */

:root {
  --bg-page: linear-gradient(160deg, #0d1230 0%, #101a44 45%, #131f52 100%);
  --surface: rgba(230, 236, 255, 0.05);
  --border: rgba(230, 236, 255, 0.1);
  --text: #e6ecff;
  --text-muted: #c7d2f0;
  --text-subtle: #93a0c9;
  --accent: #93c5fd;
  --num-grad: linear-gradient(90deg, #93c5fd, #d8b4fe);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-page: #ffffff;
    --surface: #f8fafc;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-muted: #334155;
    --text-subtle: #64748b;
    --accent: #4f46e5;
    --num-grad: linear-gradient(90deg, #0ea5e9, #8b5cf6);
    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 20px 96px;
  background: var(--bg-page);
  min-height: 100vh;
  color: var(--text);
  font-family: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
}

header.page {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.brand {
  display: inline-block;
  font-family: 'Sora', 'Avenir Next', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: var(--num-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 {
  font-family: 'Sora', 'Avenir Next', system-ui, sans-serif;
  font-size: 34px;
  line-height: 1.2;
  margin: 18px 0 10px;
}

h2 {
  font-family: 'Sora', 'Avenir Next', system-ui, sans-serif;
  font-size: 20px;
  margin: 40px 0 10px;
  scroll-margin-top: 24px;
}

h3 {
  font-family: 'Sora', 'Avenir Next', system-ui, sans-serif;
  font-size: 16px;
  margin: 26px 0 6px;
}

.updated {
  color: var(--text-subtle);
  font-size: 14px;
  margin: 0;
}
p,
li {
  color: var(--text-muted);
}
ul {
  padding-left: 22px;
}
li {
  margin: 6px 0;
}
strong {
  color: var(--text);
  font-weight: 700;
}
a {
  color: var(--accent);
}

.lede {
  font-size: 17px;
  color: var(--text);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 20px 16px;
  margin: 20px 0;
}

footer.page {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: 14px;
}
footer.page a {
  margin-right: 16px;
}
