:root {
  --bg: #0f1115;
  --surface: #171a21;
  --text: #e6e8ee;
  --muted: #9aa1b1;
  --accent: #7aa2ff;
  --border: #262a33;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header,
main,
.site-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); }

nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
nav a { color: var(--muted); }
nav a[aria-current="page"] { color: var(--text); }

main { padding-top: 40px; padding-bottom: 56px; }

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.2rem; margin: 36px 0 8px; }
h3 { font-size: 1rem; margin: 20px 0 4px; }

.hero { padding: 24px 0 8px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }

.steps { padding-left: 20px; }
.steps li { margin-bottom: 8px; }

code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.9em;
}

.site-footer {
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  h1 { font-size: 1.6rem; }
  .site-header { flex-direction: column; align-items: flex-start; }
}
