/* Shared styles for the legal pages (impressum.html, datenschutz.html): the site's tokens, plain reading layout. */
:root {
  --bg: #eef0ea; --panel: #fbfbf8; --ink: #1f2a44; --muted: #5b6478; --line: #d3d8d0; --accent: #0057ff;
  --todo: #fff1a8; --todo-ink: #5a4a00;
  --font-display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14171f; --panel: #1b1f2a; --ink: #e6e8ee; --muted: #9aa3b5; --line: #2e3442; --accent: #4f9dff;
    --todo: #4a3f00; --todo-ink: #ffe680;
  }
}
:root[data-theme="dark"] {
  --bg: #14171f; --panel: #1b1f2a; --ink: #e6e8ee; --muted: #9aa3b5; --line: #2e3442; --accent: #4f9dff;
  --todo: #4a3f00; --todo-ink: #ffe680;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
}
main { max-width: 72ch; margin: 0 auto; padding: 32px 16px 64px; }
.back { display: inline-block; margin-bottom: 24px; color: var(--accent); font-weight: 600; text-decoration: none; }
.back:hover { text-decoration: underline; }
h1 { font: 400 clamp(1.9rem, 5vw, 2.6rem)/1.15 var(--font-display); margin: 0 0 8px; }
h2 { font: 400 1.45rem/1.25 var(--font-display); margin: 40px 0 8px; }
h3 { font-size: 1.05rem; margin: 28px 0 4px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 1.2em; }
li { margin-bottom: 4px; }
a { color: var(--accent); }
.langs { color: var(--muted); font-size: 0.92rem; }
.lang { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px 24px 16px; margin-top: 24px; }
.lang > h2:first-child { margin-top: 16px; }
address { font-style: normal; }
code { font-size: 0.9em; overflow-wrap: anywhere; }
.note { color: var(--muted); font-size: 0.92rem; }
/* placeholders still to fill in before launch */
mark.todo { background: var(--todo); color: var(--todo-ink); padding: 0 3px; border-radius: 3px; }
@media (forced-colors: active) { mark.todo { background: Mark; color: MarkText; } }
