/* Shared styles for the legal pages (Impressum, Datenschutzerklärung).
   Reuses the splash's tokens + self-hosted fonts (no Google CDN). */
:root {
  --paper: #FAF7F1; --surface: #FFFFFF; --sand: #F1E7D0;
  --ink: #232E28; --ink-2: #516057; --ink-3: #67746C;
  --green-700: #2E5646; --green-600: #3C6A57; --green-100: #DFEAE1; --green-50: #ECF3ED;
  --line: #DCE3D8;
  --ui: "Readex Pro", "Segoe UI", Tahoma, system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --amber-surface: #F7EFDA; --amber-line: #E7D9B6; --amber-ink: #7A5E2A;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--ui); -webkit-font-smoothing: antialiased; line-height: 1.6;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 28px 24px 80px; }

.topbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 34px; height: 34px; border-radius: 11px; background: var(--green-700); display: grid; place-items: center; }
.brand__word { font-size: 18px; font-weight: 600; }
.brand__word span[lang=ar] { font-family: "Noto Naskh Arabic", serif; font-weight: 400; color: var(--ink-2); }
.spacer { margin-inline-start: auto; }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.langs button { border: none; background: transparent; font-family: inherit; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 6px 14px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--green-700); color: #fff; }

/* Draft banner — must be removed before publishing. */
.draft {
  background: var(--amber-surface); border: 1px solid var(--amber-line); color: var(--amber-ink);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 28px; font-size: 14px;
}
.draft strong { font-weight: 600; }

h1 { font-family: var(--serif); font-weight: 600; font-size: 30px; margin: 0 0 4px; }
.lede { color: var(--ink-2); margin: 0 0 28px; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin: 32px 0 8px; }
h3 { font-size: 16px; font-weight: 600; margin: 20px 0 4px; }
p, li { color: var(--ink); font-size: 15.5px; }
.muted { color: var(--ink-2); font-size: 14px; }
a { color: var(--green-700); }
ul { padding-inline-start: 22px; }
address { font-style: normal; }

/* Placeholder for operator-supplied values — visually unmissable so it can't ship as-is. */
.fill {
  background: #FBE7B0; border-bottom: 2px solid var(--amber-line); color: #6a5220;
  padding: 0 5px; border-radius: 3px; font-weight: 500; font-style: normal;
}

.foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Language visibility toggle. */
[data-lang-content] { display: none; }
[data-lang-content].is-active { display: block; }
