:root {
  --bg: #0b0b10;
  --surface: #15151d;
  --border: #262633;
  --text: #f2f2f7;
  --muted: #a1a1b3;
  --accent: #8d80ff;
  --accent-strong: #5c48fe;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
header.site .brand { font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
header.site .brand span { color: var(--accent); }
header.site nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
header.site nav a:hover { color: var(--text); }

.hero { padding: 72px 0 48px; }
.hero h1 { font-size: clamp(36px, 7vw, 56px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: var(--muted); font-size: 20px; margin: 0 0 28px; max-width: 560px; }

.button {
  display: inline-block;
  background: var(--accent-strong);
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
}

.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 24px 0 64px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.step b { display: block; color: var(--accent); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

article { padding: 32px 0 64px; }
article h1 { font-size: 36px; line-height: 1.15; margin: 0 0 6px; }
article .updated { color: var(--muted); margin: 0 0 32px; }
article h2 { font-size: 22px; margin: 40px 0 10px; }
article h3 { font-size: 18px; margin: 24px 0 6px; }
article p, article li { color: #d6d6e0; }
article ul { padding-left: 22px; }
article li { margin: 6px 0; }

.callout { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; margin: 20px 0; }
.callout p { margin: 0; }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p, details ol { color: #d6d6e0; }

footer.site { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); margin-right: 16px; }
