:root {
  color-scheme: light dark;
  --bg: #faf8f4;
  --text: #1d1b18;
  --muted: #6b655c;
  --accent: #8a1220;
  --line: #e4ded3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14130f;
    --text: #ece7de;
    --muted: #a59e92;
    --accent: #e39aa3;
    --line: #2f2b25;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 16px 4rem;
}

.dach {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dach a { color: inherit; text-decoration: none; }

h1 {
  margin: 0.2rem 0 0.8rem;
  font: 600 clamp(1.7rem, 7vw, 2.2rem)/1.15 Georgia, "Times New Roman", serif;
  hyphens: manual;
  overflow-wrap: break-word;
}

h2 {
  margin: 2.2rem 0 0.5rem;
  font-size: 1.1rem;
}

.lead { font-size: 1.1rem; }

.stand { margin-top: 0; color: var(--muted); font-size: 0.9rem; }

a { color: var(--accent); text-underline-offset: 0.15em; overflow-wrap: anywhere; }

ul { padding-left: 1.2rem; }

li + li { margin-top: 0.3rem; }

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
