:root {
  --bg: #fbf6ec;
  --card: #fffdf7;
  --ink: #2e3a2f;
  --muted: #66705f;
  --line: #e6dccb;
  --accent: #2f7a58;
  --accent-soft: #e3f0e6;
  --todo: #fff1c9;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c241f;
    --card: #232d27;
    --ink: #eef0e6;
    --muted: #a9b2a3;
    --line: #34413a;
    --accent: #7cc59d;
    --accent-soft: #2a3a31;
    --todo: #4a4126;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  padding-inline: 16px;
}
main { max-width: 42rem; margin: 0 auto; padding-block: 32px 64px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 700; margin-bottom: 28px; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current] { color: var(--accent); }
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; color: var(--accent); font: 600 22px/1 "Fredoka", "Nunito", system-ui, sans-serif; margin-bottom: 14px; }
.brand span { display: inline-block; width: 30px; height: 30px; border-radius: 8px; background: url(../img/icon.png) center / cover; }
h1 { font: 600 32px/1.15 "Fredoka", "Nunito", system-ui, sans-serif; margin: 0 0 6px; text-wrap: balance; }
h2 { font: 600 21px/1.25 "Fredoka", "Nunito", system-ui, sans-serif; margin: 36px 0 8px; text-wrap: balance; }
h3 { font-size: 16px; margin: 20px 0 4px; }
p, ul, ol { margin: 0 0 12px; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 4px; }
a { color: var(--accent); }
.updated { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.summary { background: var(--accent-soft); border-radius: 16px; padding: 16px 18px; margin: 20px 0 8px; }
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }
.todo { background: var(--todo); border-radius: 4px; padding: 0 4px; font-weight: 700; }
.table { overflow-x: auto; margin: 8px 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { font-weight: 800; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
