:root {
  --brand-50:  #f0f4ff;
  --brand-100: #e0e9ff;
  --brand-500: #4f6ef7;
  --brand-600: #3b57e8;
  --brand-700: #2d43c9;
  --ink-900: #0f1729;
  --ink-700: #374151;
  --ink-500: #6b7280;
  --ink-300: #d1d5db;
  --ink-100: #f3f4f6;
  --radius: 14px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Nav ───────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-100);
}

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

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink-900);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo span { color: var(--brand-600); }
.logo.small { font-size: 1rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  color: var(--ink-700);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:not(.btn):hover { color: var(--brand-600); }

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-600);
  color: white;
  box-shadow: 0 4px 14px rgba(59, 87, 232, 0.3);
}

.btn-primary:hover {
  background: var(--brand-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(59, 87, 232, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-700);
  border: 1.5px solid var(--ink-300);
}

.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-600); }

.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  padding: 100px 0 90px;
  background:
    radial-gradient(circle at 15% 20%, var(--brand-50) 0%, transparent 45%),
    radial-gradient(circle at 85% 0%, var(--brand-100) 0%, transparent 40%);
}

.hero-inner {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 22px;
  color: var(--ink-900);
}

.hero h1 em {
  font-style: normal;
  color: var(--brand-600);
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-500);
  margin: 0 0 38px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Sections ──────────────────────────────────────────────────────────── */

.section { padding: 90px 0; }
.section-alt { background: var(--ink-100); }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.section-subtitle {
  text-align: center;
  color: var(--ink-500);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 56px;
}

/* ── Steps ─────────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 28px 22px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-600);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.step p {
  font-size: 0.92rem;
  color: var(--ink-500);
  margin: 0;
}

/* ── Features ──────────────────────────────────────────────────────────── */

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

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--ink-100);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 10px 30px rgba(15, 23, 41, 0.06);
  transform: translateY(-2px);
}

.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }

.feature-card h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--ink-500);
  margin: 0;
}

/* ── CTA ───────────────────────────────────────────────────────────────── */

.cta-section {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 16px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin: 0 0 32px;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--brand-700);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover { background: var(--ink-100); }

/* ── Footer ────────────────────────────────────────────────────────────── */

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--ink-100);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-inner p {
  color: var(--ink-500);
  font-size: 0.88rem;
  margin: 0;
  max-width: 480px;
}

.footer-inner a {
  color: var(--brand-600);
  font-size: 0.88rem;
  text-decoration: none;
}

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 880px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 70px 0 60px; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
