:root {
  --bg: #f7faf8;
  --surface: #ffffff;
  --text: #1d2a24;
  --muted: #5b6b63;
  --line: #dde6e1;
  --accent: #17845f;
  --accent-soft: #e3f3ec;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111815;
    --surface: #18211d;
    --text: #e6eee9;
    --muted: #9aaba2;
    --line: #2a3731;
    --accent: #4cc596;
    --accent-soft: #1d3329;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--line); background: var(--surface); }
header.top .wrap { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
header.top img { width: 36px; height: 36px; border-radius: 9px; }
header.top a.brand { color: var(--text); text-decoration: none; font-weight: 650; font-size: 18px; }
header.top nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover, header.top nav a[aria-current] { color: var(--text); }
main { padding: 40px 0 56px; }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 10px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.meta { color: var(--muted); font-size: 15px; }
.hero { display: flex; gap: 24px; align-items: center; margin-bottom: 8px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; flex: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 20px 0 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.note { background: var(--accent-soft); border-radius: 12px; padding: 14px 18px; margin: 18px 0; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 18px; padding-bottom: 28px; }
footer a { color: var(--muted); }
@media (max-width: 560px) {
  h1 { font-size: 28px; }
  .hero { flex-direction: column; align-items: flex-start; }
  .hero img { width: 88px; height: 88px; border-radius: 20px; }
  header.top nav { gap: 12px; }
}
