:root {
  color-scheme: dark;
  --bg: #0d6626;
  --fg: #f7f5ed;
  --muted: #c2d6bf;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

::selection {
  background: #ffff00;
  color: #000;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 12px/20px var(--mono);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 80px 24px;
}

h1, h2, p, ul {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

h1, h2 {
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 {
  margin-bottom: 60px;
  letter-spacing: 0.08em;
}

h1 a {
  text-decoration: none;
}

section + section {
  margin-top: 28px;
}

p + p, p + ul, ul + p {
  margin-top: 12px;
}

ul {
  padding-left: 2ch;
}

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

a {
  color: inherit;
  text-decoration-color: var(--muted);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: currentColor;
}

footer {
  margin-top: 60px;
  color: var(--muted);
}
