:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --rule: #e5e5ea;
  --link: #427d00;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #f2f2f7;
    --muted: #9a9aa0;
    --rule: #38383a;
    --link: #a8ff33;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 1.5rem 1.25rem 4rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 42rem;
  margin: 0 auto;
}

h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

h2 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 2.25rem 0 0.75rem;
}

h3 {
  font-size: 1rem;
  line-height: 1.45;
  margin: 1.5rem 0 0.5rem;
}

p { margin: 0 0 1rem; }

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li { margin-bottom: 0.5rem; }

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

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