:root {
  --bg: #070c12;
  --text: #eaf4ff;
  --muted: #96aec6;
  --line: #244058;
  --card: #0f1b27;
  --green: #43d3a8;
  --blue: #5fa8ff;
  --orange: #ffb067;
  --violet: #b690ff;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 5% -5%, #10283b 0%, transparent 60%), radial-gradient(1100px 700px at 100% 0%, #21133a 0%, transparent 52%), var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.56;
}
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 3px 3px;
}
.wrap { width: min(1140px, 92vw); margin: 0 auto; }
.mono { font-family: var(--mono); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  border-bottom: 1px solid rgba(160, 210, 255, .16);
  background: rgba(8, 13, 19, .85);
  backdrop-filter: blur(10px);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
}
.brand {
  color: #eaf4ff;
  font-weight: 800;
  letter-spacing: .3px;
  text-decoration: none;
}
.nav { display: flex; gap: 14px; flex-wrap: wrap; }
.nav a {
  color: #bdd8ef;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px solid transparent;
}
.nav a:hover { border-color: #7fc4ff; }

.hero {
  margin-top: 22px;
  border: 1px solid rgba(146, 199, 255, .24);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(17, 33, 47, .84) 0%, rgba(16, 28, 44, .84) 50%, rgba(20, 22, 42, .84) 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  padding: 26px;
}
.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  right: -90px;
  top: -110px;
  background: radial-gradient(circle, rgba(95, 168, 255, .34) 0%, transparent 70%);
  filter: blur(2px);
}
.overline {
  font-size: 12px;
  letter-spacing: 1.15px;
  color: #8ac7ff;
  text-transform: uppercase;
}
.hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(32px, 4.3vw, 54px);
  line-height: 1.04;
  letter-spacing: -.4px;
}
.lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3b5c7b;
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
  color: #def1ff;
  background: #12263a;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #1b7a5d, #245a93);
  border-color: #5dbca8;
}
.pill-row { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font-family: var(--mono);
  font-size: 12px;
  color: #cde7ff;
  border: 1px solid #365775;
  border-radius: 999px;
  padding: 6px 10px;
  background: #112234;
}
.hero-art img {
  width: 100%;
  border: 1px solid #32516d;
  border-radius: 14px;
  background: #0d1722;
}

.ticker {
  margin: 14px 0 20px;
  border: 1px solid #2f4f69;
  border-radius: 999px;
  overflow: hidden;
  background: #0f1c29;
}
.ticker-track {
  display: inline-flex;
  gap: 26px;
  padding: 10px 16px;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  color: #9fd0ff;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.panel,
.block {
  border: 1px solid #27445d;
  border-radius: 16px;
  background: linear-gradient(180deg, #112130 0%, #0b1723 100%);
  padding: 16px;
}
.panel h3,
.block h2 { margin: 0 0 10px; }
.panel ul { margin: 0; padding-left: 18px; }
.panel li { color: var(--muted); margin: 7px 0; }
.block { margin-top: 18px; }
.block-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -.3px;
}
.block-head p { margin: 6px 0 0; color: var(--muted); }

.tabline { margin-top: 14px; display: inline-flex; gap: 7px; }
.tab {
  border: 1px solid #355676;
  border-radius: 11px;
  background: #112437;
  color: #deefff;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.tab.active { background: #1a3958; border-color: #69b1ff; }
.tab-body { display: none; margin-top: 10px; }
.tab-body.active { display: block; }
.terminal {
  background: #0b141d;
  border: 1px solid #2d455b;
  border-radius: 14px;
  padding: 12px;
}
.terminal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.terminal pre {
  margin: 0;
  white-space: pre-wrap;
  color: #d8ecff;
  font-family: var(--mono);
  font-size: 13px;
}
.copy {
  border: 1px solid #3a5d7e;
  background: #13283d;
  color: #e6f4ff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
}
.endpoint-grid {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.endpoint-grid div {
  border: 1px solid #2f4a65;
  border-radius: 10px;
  padding: 9px 10px;
  background: #112232;
}
.endpoint-grid strong { display: block; font-size: 12px; color: #b8d7ef; }
.endpoint-grid code {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  color: #dff1ff;
  word-break: break-all;
}

.compare-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.compare {
  border-radius: 14px;
  border: 1px solid #32516d;
  padding: 14px;
  background: #101f2f;
}
.compare.quick { border-color: #2f7f69; background: linear-gradient(180deg, #102d25, #0d1f1a); }
.compare.deep { border-color: #9a6230; background: linear-gradient(180deg, #2d1c11, #1d140f); }
.compare p { color: #b7d2e8; margin: 3px 0 8px; }
.compare ul { margin: 0; padding-left: 18px; }
.compare li { color: #d0e6fa; margin: 6px 0; }

.media {
  width: 100%;
  border: 1px solid #2a4865;
  border-radius: 14px;
  background: #0d1722;
}
.mcp-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
}
.faq-list details {
  border: 1px solid #2d4d69;
  border-radius: 12px;
  padding: 10px 12px;
  background: #0d1b2a;
  margin-top: 8px;
}
.faq-list summary { cursor: pointer; font-weight: 700; color: #e5f4ff; }
.faq-list p { color: var(--muted); margin: 7px 0 0; }

.footer {
  margin: 24px 0 40px;
  padding-top: 14px;
  border-top: 1px solid #27445d;
}
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.footer a { color: #a9d0f0; text-decoration: none; font-weight: 700; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(16px); transition: .55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .cards, .compare-grid, .mcp-grid, .endpoint-grid { grid-template-columns: 1fr; }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .ticker-track { animation-duration: 28s; }
}
