/* Shared styles for the standalone legal + admin pages (privacy, terms, admin).
   The landing index.html is intentionally self-contained and does NOT use this. */
:root {
  color-scheme: dark light;
  --bg: #05060a;
  --panel: rgba(255, 255, 255, 0.03);
  --text: #f3f6fb;
  --muted: #99a2b2;
  --border: rgba(255, 255, 255, 0.09);
  --brand-1: #2dd4bf;
  --brand-2: #4ade80;
  --on-brand: #04120c;
  --max: 46rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --panel: rgba(10, 20, 40, 0.03);
    --text: #0b1220;
    --muted: #59616f;
    --border: rgba(10, 20, 40, 0.12);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}
a { color: var(--brand-1); }
header { padding-block: clamp(1.25rem, 4vw, 1.9rem) 0; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 38px; width: auto; display: block; }
main { flex: 1; padding-block: clamp(1.5rem, 5vw, 3rem) 3.5rem; }
h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0.4rem 0 0.25rem;
}
.accent {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.updated { color: var(--muted); font-size: 0.88rem; margin: 0 0 2.25rem; }
h2 { font-size: 1.12rem; letter-spacing: -0.01em; margin: 2.1rem 0 0.5rem; }
p, li { margin: 0.6rem 0; }
ul { padding-left: 1.2rem; }
.muted { color: var(--muted); }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
footer { border-top: 1px solid var(--border); }
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.1rem;
  padding-block: 1.4rem 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .sep { opacity: 0.4; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
