:root {
  --bg: #0b0b0d;
  --panel: #131317;
  --line: #26262c;
  --text: #f2f2f4;
  --muted: #a3a4ad;
  --accent: #e10600;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: #fff; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: 0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; display: block; }
nav.links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--text); }
main { padding: 44px 0 64px; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: 21px; margin: 40px 0 10px; line-height: 1.3; }
p, li { color: #d8d8dd; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 60ch; }
.meta { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 34px 0 8px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; font-size: 15.5px; color: var(--muted); }
.note { border-left: 3px solid var(--accent); background: var(--panel); padding: 14px 16px; border-radius: 0 10px 10px 0; margin: 26px 0; }
.note p { margin: 0; }
ol.steps { padding-left: 22px; }
ol.steps li { margin-bottom: 10px; }
footer.bottom { border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
footer.bottom .wrap { padding-top: 22px; padding-bottom: 34px; }
footer.bottom p { color: var(--muted); margin: 0 0 8px; }
footer.bottom a { color: var(--muted); }
@media (max-width: 520px) {
  header.top .wrap { flex-direction: column; align-items: flex-start; }
  main { padding-top: 30px; }
}
