:root {
  --bg: #fdfcf8;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --link: #1f4e8c;
  --visited: #5b3a8c;
  --rule: #d8d4c8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1a;
    --text: #e6e3dc;
    --muted: #9a968d;
    --link: #8fb4e8;
    --visited: #b9a3e0;
    --rule: #3a3a3a;
  }
}

body {
  max-width: 680px;
  margin: 3em auto;
  padding: 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

a { color: var(--link); text-underline-offset: 2px; }
a:visited { color: var(--visited); }
a:hover { text-decoration-thickness: 2px; }

h1 { margin-bottom: 0.2em; letter-spacing: 0.5px; }
h2 {
  margin-top: 2em;
  font-size: 1.25em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.2em;
}

hr { border: 0; border-top: 1px solid var(--rule); margin: 1.5em 0; }
i, small { color: var(--muted); }
li { margin-bottom: 0.4em; }
