:root {
  --void: #07090e;
  --surface: #0c1118;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --text-1: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #475569;
  --line-2: rgba(255, 255, 255, 0.08);
  --line-3: rgba(255, 255, 255, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--void);
  color: var(--text-1);
  min-height: 100vh;
  line-height: 1.7;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 60%, rgba(96, 165, 250, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: opacity 0.15s;
}
a:hover { opacity: 0.8; text-decoration: underline; }

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
  position: sticky;
  top: 0;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-1);
}

.brand:hover { opacity: 1; }

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wordmark .pro { color: var(--amber); margin-left: 0.3em; }

main { padding: 56px 0 96px; }

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.1;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
  line-height: 1.2;
  padding-top: 8px;
  border-top: 1px solid var(--line-2);
  padding-top: 32px;
}

h2:first-of-type { border-top: none; padding-top: 0; margin-top: 48px; }

h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 24px 0 10px;
  color: var(--text-1);
}

.lead {
  color: var(--text-2);
  font-size: 17px;
  margin: 0 0 16px;
  max-width: 680px;
}

.updated {
  color: var(--text-3);
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  margin: 0 0 32px;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}

p {
  margin: 0 0 16px;
  color: var(--text-2);
  font-size: 15px;
}

ul {
  margin: 0 0 20px;
  padding-left: 24px;
  color: var(--text-2);
  font-size: 15px;
}

ul li {
  margin-bottom: 8px;
  padding-left: 4px;
}

ul li::marker { color: var(--amber); }

strong { color: var(--text-1); font-weight: 600; }

.callout {
  background: var(--amber-dim);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
  color: var(--text-1);
}

.callout strong { color: var(--amber); }

.callout p { color: var(--text-1); }
.callout p:last-child { margin-bottom: 0; }

ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: var(--text-2);
  font-size: 15px;
  counter-reset: steps;
}

ol li {
  margin-bottom: 12px;
  padding-left: 4px;
}

ol li::marker {
  color: var(--amber);
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

footer {
  border-top: 1px solid var(--line-2);
  padding: 24px 0;
  color: var(--text-3);
  font-size: 13px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer a { color: var(--text-3); }
footer a:hover { color: var(--amber); }

@media (max-width: 600px) {
  main { padding: 32px 0 64px; }
  h2 { font-size: 20px; margin: 32px 0 12px; padding-top: 24px; }
  h3 { font-size: 16px; margin: 20px 0 8px; }
  ul, ol { padding-left: 20px; }
  .footer-row { font-size: 12px; }
}
