:root {
  --bg: #0b0d12;
  --bg-soft: #11141b;
  --bg-alt: #0e1117;
  --panel: #161a23;
  --border: #232936;
  --fg: #e7ecf3;
  --fg-soft: #aab1bd;
  --muted: #7a8290;
  --accent: #7c5cff;
  --accent-2: #34d2ff;
  --radius: 14px;
  --maxw: 1140px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--accent-2); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* ----- Topbar ----- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11,13,18,0.75);
  border-bottom: 1px solid var(--border);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.2px; }
.brand__mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 18px rgba(124,92,255,0.45);
}
.brand__name { font-size: 16px; }
.nav { display: flex; gap: 24px; font-size: 14px; color: var(--fg-soft); }
.nav a:hover { color: var(--fg); }
.cta-group { display: flex; gap: 8px; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 14px; font-size: 14px; font-weight: 600;
  border-radius: 10px; border: 1px solid transparent;
  transition: transform .05s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--ghost { color: var(--fg); border-color: var(--border); background: transparent; }
.btn--ghost:hover { background: var(--panel); color: var(--fg); }
.btn--solid { color: white; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 20px rgba(124,92,255,0.35); }
.btn--solid:hover { color: white; filter: brightness(1.08); }
.btn--lg { padding: 12px 22px; font-size: 15px; border-radius: 12px; }

/* ----- Hero ----- */
.hero {
  position: relative;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(124,92,255,0.25), transparent 60%),
    radial-gradient(600px 300px at 10% 10%, rgba(52,210,255,0.16), transparent 60%);
  padding: 88px 0 64px;
}
.hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; padding: 4px 10px; margin-bottom: 14px;
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 12px; color: var(--fg-soft); letter-spacing: 0.5px; text-transform: uppercase;
}
.hero__copy h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero__copy p { color: var(--fg-soft); font-size: 17px; max-width: 540px; }
.hero__actions { display: flex; gap: 12px; margin: 26px 0 22px; flex-wrap: wrap; }
.hero__bullets { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; color: var(--fg-soft); font-size: 14px; }
.hero__bullets li::before { content: "✓ "; color: var(--accent-2); margin-right: 4px; }

.hero__art { position: relative; height: 320px; }
.card {
  position: absolute; padding: 18px; min-width: 280px;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.card--floating { top: 20px; left: 0; }
.card--offset { top: 180px; left: 80px; min-width: 220px; }
.card__chip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--accent-2); padding: 6px 10px; background: rgba(52,210,255,0.08); border-radius: 8px; display: inline-block; }
.card__line { height: 10px; background: var(--border); border-radius: 6px; margin-top: 12px; }
.card__line--short   { width: 70%; }
.card__line--shorter { width: 45%; }

/* ----- Sections ----- */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__title { font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 36px; max-width: 720px; letter-spacing: -0.015em; }
.section__lede  { color: var(--fg-soft); max-width: 680px; margin: -20px 0 32px; font-size: 16px; }

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

.feature {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.feature__icon {
  display: inline-block; padding: 4px 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; color: var(--accent-2);
  background: rgba(52,210,255,0.08); border-radius: 6px;
  margin-bottom: 10px;
}
.feature h3 { margin: 6px 0 6px; font-size: 18px; }
.feature p  { margin: 0; color: var(--fg-soft); font-size: 14px; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.steps li {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  position: relative;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -14px; left: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; font-weight: 700; font-size: 13px;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(124,92,255,0.5);
}
.steps h4 { margin: 8px 0 6px; font-size: 17px; }
.steps p  { color: var(--fg-soft); margin: 0; font-size: 14px; }

.plan {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px;
}
.plan--featured { border-color: rgba(124,92,255,0.55); box-shadow: 0 8px 32px rgba(124,92,255,0.18); }
.plan h3 { margin: 0; font-size: 18px; }
.plan__price { font-size: 28px; font-weight: 700; margin: 8px 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; color: var(--fg-soft); font-size: 14px; display: grid; gap: 6px; }
.plan ul li::before { content: "• "; color: var(--accent-2); }

/* ----- CTA band ----- */
.cta-band {
  background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(52,210,255,0.10));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 56px 24px; }
.cta-band h2 { margin: 0; font-size: 26px; }
.cta-band p  { margin: 6px 0 0; color: var(--fg-soft); }

/* ----- Footer ----- */
.footer { padding: 56px 0 32px; border-top: 1px solid var(--border); background: var(--bg-alt); }
.footer__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.footer__cols  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h5 { margin: 0 0 10px; font-size: 13px; color: var(--fg-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.footer__cols a  { display: block; font-size: 14px; color: var(--fg-soft); margin-bottom: 6px; }
.footer__cols a:hover { color: var(--fg); }
.footer__legal { margin-top: 36px; font-size: 12px; }

/* ----- Article pages (docs/support) ----- */
.article { max-width: 820px; padding: 64px 0; }
.article h1 { font-size: 36px; margin: 0 0 12px; letter-spacing: -0.02em; }
.article h2 { font-size: 22px; margin: 36px 0 10px; }
.article h3 { font-size: 17px; margin: 24px 0 8px; }
.article p, .article li { color: var(--fg-soft); }
.article code, .article pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.article pre {
  background: var(--panel); border: 1px solid var(--border); border-radius: 10px;
  padding: 16px; overflow-x: auto;
}
.article code { background: rgba(124,92,255,0.10); padding: 1px 6px; border-radius: 4px; }
.article a { color: var(--accent-2); }

/* ----- Responsive ----- */
@media (max-width: 880px) {
  .hero { padding: 56px 0 32px; }
  .hero__inner, .footer__inner { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .grid--3, .steps, .grid--2, .footer__cols { grid-template-columns: 1fr; }
  .nav { display: none; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; padding: 36px 24px; }
}
