:root {
  --blue: #2e6cf0;
  --blue-dark: #1e4ecf;
  --ink: #1a1d23;
  --ink-2: #4a5568;
  --ink-3: #718096;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --border: #e2e5eb;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Navbar ─────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--blue); }

.nav-cta {
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  background: var(--blue);
  color: #fff !important;
  transition: background 0.15s, box-shadow 0.15s;
}

.nav-cta:hover {
  background: var(--blue-dark);
  box-shadow: 0 2px 10px rgba(46,108,240,0.35);
}

/* ── Hero ───────────────────────────────── */
.hero {
  padding: 4.5rem 0 4rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e2d42 100%);
  color: #fff;
}

.hero-inner {
  max-width: 760px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 2px 12px rgba(46,108,240,0.4);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
}

.hero-disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 640px;
}

/* ── Sections ───────────────────────────── */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.section-lede {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 720px;
  margin-bottom: 2rem;
}

/* ── Cards ──────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.section-alt .card {
  background: var(--bg);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--ink-2);
}

.card a, .bullet-list a {
  color: var(--blue);
  text-decoration: none;
}

.card a:hover, .bullet-list a:hover { text-decoration: underline; }

/* ── How it works ───────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.how-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.how-step p {
  font-size: 0.9rem;
  color: var(--ink-2);
}

.code-block {
  background: #0f172a;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
}

.code-block code {
  font-family: "SF Mono", "Fira Code", Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #e2e8f0;
  white-space: pre;
}

/* ── Bullet list ────────────────────────── */
.bullet-list {
  list-style: none;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.bullet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

/* ── Footer ─────────────────────────────── */
.footer {
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-inner a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.footer-inner a:hover { text-decoration: underline; }

/* ── Mobile ─────────────────────────────── */
@media (max-width: 720px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .cards, .how-grid {
    grid-template-columns: 1fr;
  }
}
