:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --text: #1c1d1f;
  --muted: #5b5f66;
  --line: #e2e2dc;
  --accent: #2f6b4f;
  --accent-text: #ffffff;
  --note: #fff6e0;
  --note-line: #ecd9a6;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121314;
    --surface: #1b1d1f;
    --text: #ecece8;
    --muted: #a3a7ad;
    --line: #2c2f33;
    --accent: #6fbf95;
    --accent-text: #0d1a13;
    --note: #2a2414;
    --note-line: #4a3f22;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header { padding: 28px 0 8px; }
header .brand { font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
nav { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
h1 { font-size: 34px; line-height: 1.15; margin: 28px 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 22px; margin: 36px 0 10px; }
p, li { color: var(--text); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 22px; }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-text);
  padding: 13px 22px; border-radius: 999px; font-weight: 650; text-decoration: none;
}
.btn + .meta { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; margin: 16px 0;
}
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps > li {
  counter-increment: s; position: relative; padding: 14px 0 14px 46px;
  border-bottom: 1px solid var(--line);
}
.steps > li:last-child { border-bottom: 0; }
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 13px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-text);
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.steps > li > strong:first-child { display: block; }
.steps .btn { margin: 8px 0 0; }
.note {
  background: var(--note); border: 1px solid var(--note-line); border-radius: var(--radius);
  padding: 14px 18px; margin: 18px 0; font-size: 16px;
}
code, kbd {
  font: 14px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px;
}
footer { margin: 48px 0 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
a { color: var(--accent); }
