/* Legal pages: plain and readable, in Hopp's colours (ADR 0019). */
:root { --bg: #f6f4ef; --ink: #1c1b19; --muted: #55534e; --line: #d9d6cf; --orange-text: #a65500; }
@media (prefers-color-scheme: dark) { :root { --bg: #151413; --ink: #ecebe7; --muted: #a9a7a1; --line: #3a3936; --orange-text: #f7931a; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.brand { font-weight: 800; font-size: 1.6rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand span { color: #f7931a; }
.language-nav { display: inline-flex; flex: 0 0 auto; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--bg) 88%, var(--ink)); }
.lang { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--muted); font-size: 13px; font-weight: 750; line-height: 1; text-decoration: none; }
.lang:hover { color: var(--ink); background: color-mix(in srgb, var(--bg) 78%, var(--ink)); }
.lang[aria-current="page"] { color: var(--bg); background: var(--ink); }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .25rem; }
h2 { font-size: 1.2rem; margin: 2.2rem 0 .5rem; }
p, li { color: var(--ink); }
.muted { color: var(--muted); }
a { color: var(--orange-text); }
.summary { border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .95rem; -webkit-overflow-scrolling: touch; }
th, td { text-align: left; vertical-align: top; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
code { font-size: .9em; }
.todo { background: #ffe8c2; color: #1c1b19; padding: 0 .3em; border-radius: 4px; }
@media (max-width: 359px) {
  header { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .language-nav { align-self: stretch; justify-content: space-between; }
  html[lang="de"] h1 { font-size: clamp(1.65rem, 8vw, 2rem); }
}
