:root {
  --bg: #fbfaf7;
  --text: #1d1c1a;
  --muted: #5d5a54;
  --line: #e2ded6;
  --link: #1f5fa8;
  --panel: #f2efe8;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615;
    --text: #ecebe7;
    --muted: #a9a59c;
    --line: #34322e;
    --link: #8bb8ee;
    --panel: #201f1d;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

header.site a.home {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

main { padding: 2rem 0 3rem; }

h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 0.5rem; }
h2 { font-size: 1.25rem; margin: 2.2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }

p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }

a { color: var(--link); }

.lede { font-size: 1.15rem; color: var(--muted); }
.meta { color: var(--muted); font-size: 0.95rem; }

.box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin: 1.25rem 0;
}

.box p:last-child, .box ul:last-child { margin-bottom: 0; }

.notyet {
  border-left: 4px solid var(--muted);
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

footer.site nav a { margin-right: 0.2rem; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 1.6rem; }
}
