:root {
  color-scheme: dark;
  --bg: #090b13;
  --bg-soft: #12162a;
  --text: #f3f5ff;
  --muted: #b8c0df;
  --accent: #7c5cff;
  --accent-2: #33d1ff;
  --line: rgba(255, 255, 255, 0.12);
  --card: rgba(20, 26, 47, 0.7);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at 5% 5%, rgba(124, 92, 255, 0.2), transparent 40%),
    radial-gradient(circle at 95% 20%, rgba(51, 209, 255, 0.15), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.bg-orb-a { width: 420px; height: 420px; background: rgba(124, 92, 255, 0.18); top: -120px; right: -100px; }
.bg-orb-b { width: 360px; height: 360px; background: rgba(51, 209, 255, 0.14); bottom: -120px; left: -80px; }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(9, 11, 19, 0.68);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.menu { display: flex; gap: 1rem; }
.menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.menu a:hover { color: white; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 3rem;
}

.eyebrow {
  color: #aab5e9;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

h3 { margin: 0 0 0.4rem; }

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

.cta-row {
  display: flex;
  gap: 0.75rem;
  margin: 1.3rem 0 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: white;
}
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.hero-points {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #d2d8f3;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.2rem;
  box-shadow: var(--shadow);
}

.hero-art img,
.docs-callout img,
.architecture-diagram img {
  width: 100%;
  height: auto;
  display: block;
}

.section { padding: 2.4rem 0; }

.section-intro {
  color: var(--muted);
  max-width: 65ch;
  margin-bottom: 1.1rem;
}

.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feature p { margin: 0; color: var(--muted); }

.timeline .step {
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.timeline .step:last-child { border-bottom: 0; }
.timeline .done { color: #b9f5d3; }

.docs-callout {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 1.2rem 0;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: white; }

.text-link { color: #bcd1ff; text-decoration: none; font-weight: 600; }
.text-link:hover { text-decoration: underline; }

@media (max-width: 920px) {
  .hero,
  .grid.two,
  .grid.three,
  .docs-callout {
    grid-template-columns: 1fr;
  }
  .nav { flex-direction: column; gap: 0.5rem; }
}
