:root {
  --bg: #0b1020;
  --bg-soft: #131a31;
  --card: rgba(255,255,255,0.04);
  --text: #eef2ff;
  --muted: #a9b3d1;
  --line: rgba(255,255,255,0.08);
  --accent: #8b9cff;
  --accent-2: #b59cff;
  --shadow: 0 20px 50px rgba(0,0,0,0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(139,156,255,0.16), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(181,156,255,0.14), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(11,16,32,0.75);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.nav nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero {
  padding: 92px 0 56px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent-2);
  margin-bottom: 10px;
}

h1, h2, h3 {
  line-height: 1.1;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); max-width: 12ch; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.2rem; }

.lead {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 64ch;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1020;
  font-weight: 700;
  border: none;
}

.section {
  padding: 38px 0 30px;
}

.section-head { margin-bottom: 18px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card, .callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card.muted { opacity: 0.92; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.docs {
  padding: 56px 0 42px;
}

.narrow {
  max-width: 820px;
}

pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.22);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

.footer-row {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .nav { padding: 10px 0; align-items: flex-start; flex-direction: column; }
  .footer-row { flex-direction: column; justify-content: center; }
}
