/* Static legal pages (datenschutz.html). Same palette as the app, no JS. */
:root {
  color-scheme: dark;
  --bg: #0b1116;
  --surface: #141e24;
  --text: #f4fbf9;
  --muted: #a9bec3;
  --border: #344c55;
  --accent: #55f6d1;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.legal h1 { font-size: 1.6rem; line-height: 1.3; }
.legal h2 { font-size: 1.2rem; margin-top: 2.2rem; }

.legal a { color: var(--accent); }

.legal code {
  background: var(--surface);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* Tables scroll sideways on narrow screens instead of breaking the layout. */
.legal table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1rem 0;
}

.legal th,
.legal td {
  border: 1px solid var(--border);
  padding: 0.45rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.legal th { background: var(--surface); }

.legal-back {
  margin-top: 3rem;
  color: var(--muted);
}

.legal-langs {
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-langs [aria-current="page"] { color: var(--text); font-weight: 600; }
