:root {
  --bg: #09111f;
  --bg-soft: #0f172a;
  --card: rgba(15, 23, 42, 0.78);
  --line: rgba(148, 163, 184, 0.18);
  --text: #e5eefc;
  --muted: #9fb0c9;
  --green: #22c55e;
  --blue: #38bdf8;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 30%),
    linear-gradient(180deg, #08101d 0%, #0b1220 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

/* =========================
   HEADER
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(8, 16, 29, 0.82);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.site-header .nav {
  display: flex;
  gap: 18px;
}

.site-header .nav a {
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.site-header .nav a:hover,
.site-header .nav a.active {
  color: var(--white);
}

/* =========================
   HERO
   ========================= */

.hero {
  padding: 68px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: #bcecff;
  font-size: 0.9rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
}

.hero p.lead {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(90deg, var(--green), #3ddc97);
  color: #08111d;
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--white);
}

/* =========================
   CHIPS
   ========================= */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.85rem;
}

/* =========================
   GRID & CARDS
   ========================= */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

/* =========================
   SECTIONS
   ========================= */

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: 2rem;
  color: var(--white);
}

.section-head p {
  margin-top: 10px;
  color: var(--muted);
}

/* =========================
   CODE / BLOCKS
   ========================= */

pre {
  background: #07101b;
  padding: 16px;
  border-radius: 16px;
  overflow-x: auto;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  padding: 40px 0;
  color: var(--muted);
}

.site-footer .footer-line {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 20px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }
}