:root {
  --bg: #0a0a0f;
  --bg-alt: #0e0e16;
  --surface: #14141f;
  --surface-2: #1a1a28;
  --border: #26263a;
  --text: #e8e8f0;
  --muted: #9a9ab0;
  --faint: #6b6b82;
  --primary: #6366f1;
  --primary-2: #818cf8;
  --accent: #22d3ee;
  --good: #34d399;
  --bad: #f87171;
  --radius: 14px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: 0.9em; color: var(--primary-2); }
em { color: var(--text); font-style: normal; font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; }
.center { text-align: center; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; display: block;
}
.brand-name { font-size: 18px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 8px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-ico { display: inline-grid; place-items: center; color: var(--muted); transition: color 0.15s; }
.nav-ico:hover { color: var(--text); }
.nav-ico svg { width: 17px; height: 17px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; box-shadow: 0 6px 24px -8px var(--primary);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px var(--primary); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-2); }

/* Hero */
.hero {
  position: relative; padding: 96px 0 72px;
  background:
    radial-gradient(60% 60% at 50% -10%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(40% 40% at 85% 10%, rgba(34, 211, 238, 0.10), transparent 70%);
}
.eyebrow {
  color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 72px); line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 800; margin-bottom: 22px;
}
.grad {
  background: linear-gradient(120deg, var(--primary-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 720px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }

.hero-terminal {
  margin-top: 52px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; max-width: 760px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.term-bar { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.term-bar span { width: 12px; height: 12px; border-radius: 50%; background: #3a3a4a; }
.term-bar span:nth-child(1) { background: #ff5f57; }
.term-bar span:nth-child(2) { background: #febc2e; }
.term-bar span:nth-child(3) { background: #28c840; }
.hero-terminal pre { padding: 20px; overflow-x: auto; }
.hero-terminal code { font-family: var(--mono); font-size: 13.5px; line-height: 1.8; color: var(--text); }
.c-dim { color: var(--faint); }
.c-prompt { color: var(--accent); }
.c-flag { color: var(--primary-2); }
.c-ok { color: var(--good); }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(26px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; margin-bottom: 18px; }
.section-title.center { text-align: center; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 760px; margin-bottom: 40px; }

/* Gap grid */
.gap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gap-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.gap-card h3 { font-size: 17px; margin-bottom: 14px; }
.gap-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.gap-card li { position: relative; padding-left: 24px; color: var(--muted); font-size: 14.5px; }
.gap-card li::before { position: absolute; left: 0; top: 0; }
.gap-card.bad li::before { content: "✕"; color: var(--bad); }
.gap-card.good { border-color: var(--primary); background: linear-gradient(180deg, rgba(99,102,241,0.08), var(--surface)); }
.gap-card.good li::before { content: "✓"; color: var(--good); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.step-n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: rgba(99,102,241,0.14); color: var(--primary-2); font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* Provider matrix */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.matrix { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.matrix th, .matrix td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.matrix thead th { background: var(--surface-2); color: var(--text); font-weight: 700; }
.matrix tbody td:first-child { color: var(--faint); font-weight: 600; }
.matrix tbody td { color: var(--muted); }
.matrix tbody tr:last-child td { border-bottom: none; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: border-color 0.15s, transform 0.15s; }
.feature:hover { border-color: var(--primary); transform: translateY(-2px); }
.feature h3 { font-size: 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature p { color: var(--muted); font-size: 14px; }
.tag {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--accent); background: rgba(34,211,238,0.12); border: 1px solid rgba(34,211,238,0.3);
  padding: 2px 8px; border-radius: 999px;
}

/* Who */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 28px; }
.who-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.who-card h3 { font-size: 19px; margin-bottom: 12px; }
.who-card p { color: var(--muted); font-size: 15px; }
.who-note { color: var(--faint); font-size: 15px; font-style: italic; text-align: center; }

/* CTA */
.cta {
  padding: 96px 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(99,102,241,0.16), transparent 70%);
  border-top: 1px solid var(--border);
}
.cta h2 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta p { color: var(--muted); font-size: 18px; margin-bottom: 30px; }
.cta-note { margin-top: 22px; color: var(--faint); font-size: 14px; }
.cta-note a { color: var(--primary-2); }
.cta-note a:hover { text-decoration: underline; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg-alt); }
.footer-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-tag { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-links .ico { width: 13px; height: 13px; flex-shrink: 0; }
.footer-copy { color: var(--faint); font-size: 14px; margin-left: auto; }

/* Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .gap-grid, .steps, .who-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .section { padding: 60px 0; }
}
