/* Shared styles of the static pages (privacy, delete-account, impressum, terms, get). */
:root {
  --bg: #ffffff;
  --text: #15191c;
  --muted: #5b6670;
  --rule: #e3e7ea;
  --accent: #0a8270;
  --tile: #14c8a8;
  --ink: #00201a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f10;
    --text: #eceff1;
    --muted: #9aa5ad;
    --rule: #262a2e;
    --accent: #14c8a8;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue",
    Arial, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
header a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
header svg { width: 36px; height: 36px; flex: none; }
header .name { font-weight: 900; font-size: 22px; letter-spacing: -0.04em; }
.lang { margin-left: auto; font-size: 14px; white-space: nowrap; }
.lang a { display: inline; color: var(--muted); text-decoration: none; padding: 4px; }
.lang a.current { color: var(--text); font-weight: 600; }
h1 { font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; margin: 32px 0 4px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
h3 { font-size: 16px; margin: 20px 0 4px; }
p, ul, ol { margin: 8px 0; }
li { margin: 4px 0; }
.updated { color: var(--muted); font-size: 14px; margin-top: 0; }
a { color: var(--accent); }
address { font-style: normal; }
.box { border: 1px solid var(--rule); border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
.button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
}
footer a { color: var(--muted); margin-right: 16px; }

/* Both languages without JavaScript; legal.js shows one. */
html[data-lang="en"] [lang="de"]:not(html),
html[data-lang="de"] [lang="en"]:not(html) { display: none; }
