:root {
  color-scheme: light dark;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #1c1d1f;
  --muted: #5d6166;
  --line: #e1e2e0;
  --accent: #0b7a75;
  --accent-text: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131415;
    --surface: #1b1c1e;
    --text: #ececea;
    --muted: #a1a5aa;
    --line: #2b2d30;
    --accent: #3bb8b0;
    --accent-text: #08201f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; padding-top: .9rem; padding-bottom: .9rem; }
header.site .brand { font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; margin-right: auto; }
header.site nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--text); }
main { padding: 2.25rem 0 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .5rem; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 2.2rem 0 .5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .25rem; }
p, ul, ol { margin: .6rem 0; }
li { margin: .25rem 0; }
.lede { color: var(--muted); font-size: 1.1rem; margin-top: .25rem; }
.meta { color: var(--muted); font-size: .9rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.25rem; margin: 1.25rem 0; }
.card h3 { margin-top: 0; }
.button { display: inline-block; background: var(--accent); color: var(--accent-text); padding: .55rem 1.1rem; border-radius: 8px; text-decoration: none; font-weight: 600; }
.button:hover { filter: brightness(1.08); }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 1.5rem 0 2.5rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
footer.site a { color: var(--muted); }
