:root {
  --bg: #07111f;
  --bg-2: #0b1a30;
  --ink: #eef4ff;
  --muted: #9bb0d0;
  --line: rgba(147, 197, 253, 0.18);
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --cyan: #22d3ee;
  --card: rgba(12, 28, 54, 0.72);
  --shadow: 0 24px 60px rgba(2, 8, 20, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% -10%, #12315a 0%, transparent 55%),
              radial-gradient(900px 500px at 100% 0%, #0a2a4d 0%, transparent 50%),
              var(--bg);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}

h1, h2, h3, .brand, .kicker, .btn, .stat-label, .pill, .go {
  font-family: Outfit, "Segoe UI", sans-serif;
}

a { color: var(--blue-2); text-decoration: none; }
a:hover { color: var(--cyan); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: #c7ddff;
}

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

.glow {
  position: fixed;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 0;
}
.glow-a { width: 340px; height: 340px; background: #2563eb; top: 8%; left: -80px; }
.glow-b { width: 280px; height: 280px; background: #0891b2; right: -60px; top: 40%; }
.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 20%, transparent 75%);
  z-index: 0;
}

header, main, footer { position: relative; z-index: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mark { width: 28px; height: 28px; color: var(--blue-2); }
nav { display: flex; gap: 22px; }
nav a { color: var(--muted); font-weight: 500; }
nav a:hover { color: var(--ink); }

.hero { padding: 72px 0 36px; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 600;
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 16ch;
}
.lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.12rem;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn.primary {
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  color: #04101f;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}
.btn.primary:hover { color: #04101f; filter: brightness(1.06); }
.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(15, 32, 58, 0.5);
}
.btn.ghost:hover { border-color: var(--blue-2); color: var(--ink); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 72px;
}
.stats article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.stats strong { display: block; font-size: 1.15rem; }
.stats span:last-child { color: var(--muted); font-size: 0.92rem; }

section { padding-bottom: 80px; }
h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  max-width: 22ch;
}
.section-copy { color: var(--muted); max-width: 62ch; margin: 0 0 28px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  color: var(--ink);
  box-shadow: var(--shadow);
  min-height: 260px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.55);
  color: var(--ink);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 8px;
}
.pill {
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.host { color: var(--muted); font-size: 0.82rem; }
.card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.card p { color: var(--muted); margin: 0 0 18px; flex: 1; }
.go {
  color: var(--blue-2);
  font-weight: 600;
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.facts li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.facts strong { display: block; margin-bottom: 4px; }

.rails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rails article {
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.18), rgba(12, 28, 54, 0.7));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.rails h3 { margin: 0 0 8px; }
.rails p { margin: 0; color: var(--muted); }

.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .stats, .cards, .split, .rails { grid-template-columns: 1fr; }
  h1 { max-width: none; }
  .hero { padding-top: 48px; }
  nav { gap: 14px; font-size: 0.95rem; }
}
