/* Standalone styling for the legal pages. They are plain HTML on purpose: an
   Impressum has to stay reachable even if the app bundle fails, and it must not
   depend on anything third-party. Palette mirrors src/index.css. */

:root {
  --bg: #fafaf8;
  --fg: #0b0b0c;
  --fg2: #3a3a3c;
  --muted: #6e6e73;
  --border: rgba(11, 11, 12, 0.1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --fg: #fafaf8;
    --fg2: #c8c8c6;
    --muted: #8e8e93;
    --border: rgba(250, 250, 248, 0.09);
    color-scheme: dark;
  }
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Geist-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Geist-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/GeistMono-700-latin.woff2') format('woff2');
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 2rem 6rem;
  background: var(--bg);
  color: var(--fg2);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

header a {
  font-family: 'Geist Mono', monospace;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
}

header span a {
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--muted);
}

main { max-width: 44rem; }

h1 {
  color: var(--fg);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 2.5rem;
}

h2 {
  color: var(--fg);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.75rem 0 0.75rem;
}

p { margin: 0 0 1rem; }

dl { margin: 0 0 1rem; }
dt {
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.25rem;
}
dd { margin: 0.25rem 0 0; color: var(--fg2); }

ul { margin: 0 0 1rem; padding-left: 1.1rem; }
li { margin-bottom: 0.35rem; }

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

footer {
  max-width: 44rem;
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
}
