:root {
  --bg: #fbf8f4;
  --surface: #ffffff;
  --text: #1f1a17;
  --muted: #5f5650;
  --rule: #e6ded5;
  --accent: #c2374f;
  --note-bg: #fdf3e2;
  --note-rule: #f2c14e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171412;
    --surface: #211d1a;
    --text: #f1ece6;
    --muted: #b3a9a0;
    --rule: #3a332e;
    --accent: #ef8a6b;
    --note-bg: #2b2418;
    --note-rule: #a8862f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
header.site {
  border-bottom: 1px solid var(--rule);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.1rem;
}
.brand img { width: 28px; height: 26px; }
nav.site { display: flex; gap: 18px; font-size: 0.95rem; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--text); }
main.wrap { padding-top: 40px; padding-bottom: 56px; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 1.3rem; margin: 40px 0 10px; }
h3 { font-size: 1.05rem; margin: 22px 0 6px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 1.3rem; }
li { margin-bottom: 6px; }
.lede { font-size: 1.15rem; color: var(--muted); }
.note {
  background: var(--note-bg);
  border-left: 4px solid var(--note-rule);
  padding: 12px 16px; border-radius: 4px; margin: 24px 0;
}
.features { list-style: none; padding: 0; display: grid; gap: 14px; margin: 28px 0; }
.features li {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: 8px; padding: 16px 18px; margin: 0;
}
.features strong { display: block; margin-bottom: 4px; }
.meta { color: var(--muted); font-size: 0.95rem; }
footer.site { border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { padding-top: 18px; padding-bottom: 28px; display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  main.wrap { padding-top: 28px; }
}
code {
  font: 0.88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: 4px; padding: 0 4px;
}
