:root {
  color-scheme: light dark;
  --text: #1d1d1f;
  --muted: #5f5f66;
  --bg: #fbfaf7;
  --card: #ffffff;
  --line: #e4e1da;
  --accent: #2f6b4f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f2f2f2;
    --muted: #b0b0b6;
    --bg: #141414;
    --card: #1e1e1e;
    --line: #333333;
    --accent: #8cc7a6;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
header.site { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.5rem; }
header.site .name { font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; margin-right: auto; }
nav a { margin-left: 1rem; }
nav a:first-child { margin-left: 0; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.3rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.075rem; margin: 1.5rem 0 0.25rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }
.meta { color: var(--muted); font-size: 0.95rem; }
.note { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; margin: 1.25rem 0; }
.note p:last-child { margin-bottom: 0; }
footer.site { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1rem; color: var(--muted); font-size: 0.9rem; }
