/* Shared styles for the legal pages (privacy, terms, data deletion, impressum). Same tokens as the homepage. */
:root {
  --bg: #0e0c09;
  --card: #18140f;
  --line: rgba(255, 236, 210, .08);
  --line-2: rgba(255, 236, 210, .14);
  --text: #f4eee5;
  --muted: #a69c8e;
  --dim: #7a7164;
  --accent: #f4a53c;
  --display: 'Geist', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: 13.5px; background: rgba(255,255,255,.05); padding: 1px 6px; border-radius: 5px; color: #f2c27b; word-break: break-word; }

.top { border-bottom: 1px solid var(--line); }
.top-inner, .doc, .foot-inner { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 20px; }
.top-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.logo:hover { text-decoration: none; }
.logo svg { width: 26px; height: 26px; }
.top nav { margin-left: auto; display: flex; gap: 20px; font-size: 14.5px; }
.top nav a { color: #d9d1c4; }

.doc { padding-top: 56px; padding-bottom: 96px; }
.doc h1 { font-family: var(--display); font-size: clamp(32px, 6vw, 46px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.doc .meta { color: var(--dim); font-size: 14px; margin-top: 12px; }
.doc .summary { margin-top: 28px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 20px 22px; }
.doc .summary h2 { margin-top: 0; font-size: 16px; }
.doc h2 { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; font-weight: 600; margin-top: 48px; scroll-margin-top: 20px; }
.doc h3 { font-size: 17px; font-weight: 600; margin-top: 28px; }
.doc p, .doc ul, .doc ol, .doc table, .doc address { margin-top: 14px; color: #ddd5c8; }
.doc address { font-style: normal; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--text); }
.doc .toc { margin-top: 28px; columns: 2; column-gap: 32px; font-size: 14.5px; }
.doc .toc li { break-inside: avoid; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.doc .steps li { margin-top: 10px; }
.doc .note { color: var(--muted); font-size: 14.5px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--dim); font-size: 13.5px; }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer nav a { color: var(--muted); }

@media (max-width: 640px) {
  .top-inner, .doc, .foot-inner { padding: 0 16px; }
  .doc { padding-top: 36px; padding-bottom: 72px; }
  .top nav a.hide-m { display: none; }
  .doc .toc { columns: 1; }
}
