/* Privacy policy and terms of use. Tokens come from main.css; page heading styles from exercises.css. */

/* Each page holds both languages; the one that doesn't match the interface language is hidden. */
html[lang="de"] .doc-en { display: none; }
html:not([lang="de"]) .doc-de { display: none; }

.legal { max-width: 46rem; }
.doc { display: grid; gap: 30px; }
.doc section { display: grid; gap: 10px; }
.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.2;
}
.legal h3 { margin-top: 8px; font-size: 1.05rem; font-weight: 600; }
.legal p, .legal li { line-height: 1.65; }
.legal ul { display: grid; gap: 8px; padding-left: 1.3em; list-style: disc; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal code { font-size: 0.92em; overflow-wrap: anywhere; }
.legal__updated { color: var(--ink-2); font-size: 0.95rem; }
.legal__summary { padding: 18px 22px; border-radius: var(--r-m); background: var(--surface); border: 1.5px solid var(--line); }
