/* Shared styles for the static informational pages (about, contact, privacy, 404). */
:root {
  color-scheme: light dark;
  --bg: #0f1117;
  --surface: #171a22;
  --text: #e8eaf0;
  --muted: #a0a6b5;
  --accent: #00ddb3;
  --border: #2a2f3b;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --surface: #f5f6f8;
    --text: #1c1f26;
    --muted: #5a6072;
    --accent: #00a88a;
    --border: #e1e4ea;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  line-height: 1.6;
}
header,
main,
footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
header a.brand {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
header nav a {
  margin-left: 1rem;
  color: var(--muted);
  text-decoration: none;
}
main {
  padding-top: 2rem;
  padding-bottom: 3rem;
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}
h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.5rem;
}
a {
  color: var(--accent);
}
dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.5rem;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
}
footer {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
footer a {
  color: var(--muted);
}
@media (max-width: 40rem) {
  dl {
    grid-template-columns: 1fr;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  header nav a {
    margin: 0 1rem 0 0;
  }
}
