/* Shared styling for the static legal pages (impressum.html, privacy.html).
   Deliberately a plain stylesheet rather than the app's Tailwind build: these
   pages must keep working when the application bundle doesn't, and they carry
   the information you'd most want available in exactly that situation.
   Colours mirror the tokens in src/index.css. */

:root {
  color-scheme: dark;
  --bg: #0b0f17;
  --panel: #131a24;
  --line: #222c3a;
  --text: #e5e7eb;
  --muted: #8b95a5;
  --accent: #10b981;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  padding: 3rem 1.25rem 4rem;
}

main {
  max-width: 42rem;
  margin: 0 auto;
}

a {
  color: var(--accent);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.back:hover {
  color: var(--text);
}

.back svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

h1 {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.sub {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

h2 {
  font-size: 1rem;
  margin: 2.25rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

h3 {
  font-size: 0.875rem;
  margin: 1.5rem 0 0.35rem;
}

p,
li {
  font-size: 0.9375rem;
  color: var(--muted);
}

p {
  margin: 0 0 0.85rem;
}

ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}

li {
  margin-bottom: 0.35rem;
}

strong {
  color: var(--text);
  font-weight: 600;
}

address {
  font-style: normal;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem 1.15rem;
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}

.note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  margin: 1.25rem 0;
}

.note p:last-child {
  margin-bottom: 0;
}

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