:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --rule: #cccccc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14141a;
    --text: #e6e6e6;
    --muted: #9a9a9a;
    --rule: #33333d;
  }
}

body {
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  max-width: 42rem;
  -webkit-text-size-adjust: 100%;
}

h1 {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 1.5rem;
}

h2 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 3rem 0 1rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 2rem 0 0.6rem;
}

p {
  margin: 0 0 1.25rem;
}

ul, ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

sup {
  font-size: 0.7em;
  line-height: 0;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration: none;
}

.links {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.links a {
  margin-right: 1rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: -1rem 0 2.5rem;
}

.back {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
}

.date {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}
