:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --link: #1f4fa3;
  --rule: #e6e6e6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141414;
    --text: #e4e4e4;
    --muted: #9a9a9a;
    --link: #8db4f0;
    --rule: #2c2c2c;
  }
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
}

main {
  max-width: 650px;
  margin: 0 auto;
  padding: 64px 16px 40px;
}

h1 {
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2.5rem 0 0.9rem;
}

p {
  margin: 0 0 0.8rem;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

ul.entries,
ul.plain {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.entries li {
  margin-bottom: 1.25rem;
}

ul.entries p {
  margin: 0;
}

ul.plain li {
  margin-bottom: 0.6rem;
}

.title {
  font-weight: 600;
}

.meta {
  color: var(--muted);
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}
