/*
  About this file: stylesheet shared by all pages of the static website (layout,
  typography, light/dark colours).
*/
:root {
  --bg: #ffffff;
  --fg: #1f2328;
  --accent: #00876c;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181c;
    --fg: #e6e8eb;
    --accent: #4cc2a5;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  max-width: 48rem;
  padding: 2rem 1rem;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
}

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

footer {
  margin-top: 3rem;
  font-size: 0.875rem;
  opacity: 0.7;
}
