:root {
  --bg: #fbfaf7;
  --text: #1d2321;
  --muted: #55605c;
  --accent: #1f6b57;
  --rule: #e2e0da;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121615;
    --text: #e8ece9;
    --muted: #a7b2ad;
    --accent: #7fd1b6;
    --rule: #2a312e;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

main, header, footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

header { padding-top: 2rem; }
header a { color: var(--text); font-weight: 700; font-size: 1.25rem; text-decoration: none; }

h1 { font-size: 2rem; line-height: 1.2; margin: 1.5rem 0 0.25rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.updated { color: var(--muted); margin-top: 0; }

a { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.summary {
  border-left: 4px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1rem;
  margin: 1.5rem 0;
}

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