:root {
  --bg: #ffffff;
  --text: #16181d;
  --muted: #5b6270;
  --line: #e4e7ec;
  --accent: #2f5bea;
  --soft: #f4f6fb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111318;
    --text: #e9ebf0;
    --muted: #a3a9b6;
    --line: #2a2e37;
    --accent: #7b9bff;
    --soft: #191c23;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--text); }
main { padding: 48px 0 64px; }
h1 { font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h2 { font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 12px; }
h3 { font-size: 17px; margin: 24px 0 8px; }
p, li { color: var(--text); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; }
.muted { color: var(--muted); }
.steps { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 56px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.steps strong { display: block; }
.box { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 20px 0; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 11px 18px; border-radius: 10px; font-weight: 600; }
.updated { color: var(--muted); font-size: 14px; margin: -8px 0 28px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer p, footer a { color: var(--muted); }
footer .links a { margin-right: 16px; }
@media (max-width: 560px) {
  h1 { font-size: 28px; }
  nav a { margin-left: 12px; font-size: 14px; }
  main { padding: 32px 0 48px; }
}
