/* The terms of use and the privacy notice (/terms, /privacy): plain reading pages in the app's colours. */
:root { --ink: #16181d; --muted: #5d6470; --line: #e3e5ea; --surface: #ffffff; --bg: #f6f4ee; --accent: #3a4fd8; color-scheme: light; }
/* dark: follows the system unless the visitor picked light (html[data-theme]); the copy after it is their own pick */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink: #eceef2; --muted: #a2a8b3; --line: #2c3038; --surface: #1b1e24; --bg: #121418; --accent: #8c9bff; color-scheme: dark; } }
:root[data-theme="dark"] { --ink: #eceef2; --muted: #a2a8b3; --line: #2c3038; --surface: #1b1e24; --bg: #121418; --accent: #8c9bff; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 Inter, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
header a { color: var(--accent); font-weight: 650; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
h1 { font: 700 28px/1.25 "Space Grotesk", Inter, sans-serif; margin: 8px 0 4px; }
h2 { font-size: 18px; margin: 32px 0 8px; }
p, li { overflow-wrap: anywhere; }
ul { padding-left: 1.3em; }
li + li { margin-top: 4px; }
a { color: var(--accent); }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
hr { border: none; border-top: 1px solid var(--line); margin: 48px 0 8px; }
.lang-en h1 { font-size: 24px; }
body > footer { text-align: center; padding: 0 16px 24px; font-size: 12px; }
body > footer .icp { margin: 0; }
body > footer a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
