:root {
  --bg: #0b1020;
  --panel: #0f172a;
  --panel-alt: #0c1226;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --brand: #7c3aed; /* electric violet */
  --brand-2: #06b6d4; /* cyan */
  --card: #111827;
  --border: #1f2937;
  --shadow: 0 10px 30px rgba(2, 6, 23, .5);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 80% -10%, rgba(124,58,237,.18), transparent 60%),
              radial-gradient(900px 700px at -10% 10%, rgba(6,182,212,.15), transparent 50%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); }

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

.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--brand); color: white; padding: 8px 12px; border-radius: 6px;
}
.skip-link:focus { left: 12px; top: 12px; z-index: 1000; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--bg) 60%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; }
.brand-name { font-weight: 700; letter-spacing: .2px; }

.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav .btn { margin-left: 6px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 4px;
  width: 42px; height: 38px; border-radius: 8px;
  background: transparent; border: 1px solid var(--border); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; margin: 0 8px; }

/* Hero */
.hero {
  padding: 72px 0 32px;
}
.grid-2 {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.08; margin: 0 0 14px; letter-spacing: -0.02em;
}
.lead { font-size: clamp(16px, 1.5vw, 20px); margin: 0 0 22px; }

.cta-row { display: flex; gap: 12px; margin: 10px 0 14px; flex-wrap: wrap; }

.trust-points {
  display: flex; gap: 16px; padding: 0; margin: 12px 0 0; list-style: none; color: var(--muted);
  flex-wrap: wrap;
}
.trust-points li {
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.trust-points li::before {
  content: "✓"; color: var(--brand-2);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--border);
  background: linear-gradient(180deg, #161b2d, #0f1426);
  color: var(--text); font-weight: 600; transition: transform .06s ease, box-shadow .15s ease, background .2s ease, border .2s ease;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 90%, black 10%), #5720d6);
  border-color: color-mix(in oklab, var(--brand) 50%, black 50%);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  box-shadow: none;
}

/* Cards */
.cards { display: grid; gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 4px 0 6px; }
.card .bullets { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.card .bullets li { margin: 4px 0; }

/* Fancy code card */
.code-card {
  padding: 0;
  overflow: hidden;
}
.code-card pre {
  margin: 0; padding: 16px 18px;
  background:
    radial-gradient(600px 200px at 20% -40%, rgba(124,58,237,.25), transparent 70%),
    radial-gradient(600px 200px at 120% 10%, rgba(6,182,212,.20), transparent 70%),
    #0b1226;
  color: #d1d5db;
  border-bottom: 1px solid var(--border);
}
.code-card code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 13px; }

/* Stats */
.stat-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px;
}
.stat-card {
  text-align: center; padding: 14px 10px; background: var(--card); border: 1px solid var(--border); border-radius: 12px;
}
.stat { font-size: 22px; font-weight: 800; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card .label { display: block; color: var(--muted); font-size: 12px; }

/* Sections */
.section { padding: 44px 0; }
.section.alt { background: linear-gradient(180deg, rgba(124,58,237,.06), transparent 60%); }
.section h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 8px; }
.section-lead { margin: 0 0 18px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; margin-bottom: 6px; font-weight: 700; font-size: 14px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2)); color: white;
}

/* CTA form */
.form-card label { display: grid; gap: 6px; margin-bottom: 10px; }
.form-card input, .form-card textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  background: #0a0f1f; color: var(--text); border: 1px solid var(--border);
  outline: none; transition: border .15s ease, box-shadow .15s ease;
}
.form-card input:focus, .form-card textarea:focus {
  border-color: color-mix(in oklab, var(--brand) 50%, var(--border));
  box-shadow: 0 0 0 3px rgba(124,58,237,.25);
}
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.form-note { margin: 8px 0 0; min-height: 20px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  background: linear-gradient(180deg, transparent, rgba(124,58,237,.05) 60%);
}
.footer-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px;
}
.footer-inner .brand { justify-self: start; }
.footer-nav { display: flex; gap: 16px; justify-self: center; }
.legal { justify-self: end; color: var(--muted); margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: 1fr; }
  .cards.two { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { display: none; position: absolute; right: 14px; top: 62px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 10px; flex-direction: column; }
  .nav.show { display: flex; }
  .nav-toggle { display: inline-flex; }
  /* Prevent emoji wrapping onto separate lines on narrow screens */
  .trust-points li { white-space: nowrap; }
}

/* Utilities */
.hidden { display: none !important; }