/* Shared style for /privacy, /terms and /support (static pages, readable signed out). */
/* App tokens (src/ui/tokens.ts, Night Market): the app is dark-only, teal is the
   tap colour, Satoshi is the one type family (launch audit 10-22: these pages
   used an off-system orange and the system font). */
@font-face { font-family: "Satoshi"; src: url("/fonts/Satoshi-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/fonts/Satoshi-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #131518;
  --surface: #1B1E22;
  --text: #FAFAF9;
  --muted: #B0B5BB;
  --line: rgba(255,255,255,0.07);
  --accent: #16C4BD;
  --note: #1B1E22;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
header.top a.brand { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.2px; }
header.top nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a[aria-current="page"] { color: var(--accent); }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 6px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
h2 { font-size: 20px; margin: 36px 0 8px; padding-top: 4px; }
h3 { font-size: 16px; margin: 20px 0 4px; }
p, li { color: var(--text); }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
a { color: var(--accent); text-decoration-color: rgba(22,196,189,0.4); }
.note { background: var(--note); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 18px 0; }
.toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; margin: 20px 0; font-size: 15px; }
.toc ol { margin: 6px 0; columns: 2; column-gap: 24px; }
@media (max-width: 520px) { .toc ol { columns: 1; } h1 { font-size: 28px; } }
table { width: 100%; border-collapse: collapse; margin: 10px 0 6px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-top: 1px solid var(--line); }
th { width: 34%; font-weight: 600; }
.mail { display: inline-block; font-size: 20px; font-weight: 700; margin: 6px 0 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px 10px; margin: 16px 0; }
footer { margin-top: 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
