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

:root {
  --brand: #0066ff;
  --brand-dark: #0052cc;
  --text: #0a0a0a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-subtle: #f9fafb;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 64px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--text);
}

nav { display: flex; align-items: center; gap: 32px; }
nav a { font-size: 14px; font-weight: 500; color: var(--muted); }
nav a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  background: var(--text);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.nav-cta:hover { background: #333 !important; }

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 96px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid #bfdbfe;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 span { color: var(--brand); }

.hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: border-color 0.15s, background 0.15s;
}
.btn-secondary:hover { background: var(--bg-subtle); text-decoration: none; }

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* ── Social proof ── */
.social-proof {
  text-align: center;
  padding: 0 24px 64px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.works-with {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.works-with span {
  font-size: 15px;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: -0.3px;
  text-transform: none;
}

/* ── Features ── */
.features {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 56px;
  color: var(--text);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── How it works ── */
.how {
  padding: 80px 24px;
  max-width: 760px;
  margin: 0 auto;
}

.steps { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }

.step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}

.step:last-child { padding-bottom: 0; }

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-line {
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step:last-child .step-line { display: none; }

.step-body { padding-top: 8px; }
.step-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.3px; }
.step-body p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── CTA banner ── */
.cta-banner {
  background: var(--text);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  color: #9ca3af;
  margin-bottom: 36px;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--text);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  transition: opacity 0.15s;
}
.btn-white:hover { opacity: 0.9; text-decoration: none; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer a { color: var(--muted); }
footer a:hover { color: var(--text); text-decoration: none; }

.footer-links { display: flex; gap: 24px; }

/* ── Prose (privacy / terms) ── */
.prose-wrap {
  max-width: 680px;
  margin: 60px auto;
  padding: 0 24px 80px;
}

.prose-wrap h1 { font-size: 32px; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.prose-wrap .updated { font-size: 13px; color: var(--muted); margin-bottom: 48px; display: block; }
.prose-wrap h2 { font-size: 18px; font-weight: 700; margin: 40px 0 10px; }
.prose-wrap p, .prose-wrap li { color: #374151; margin-bottom: 14px; line-height: 1.7; }
.prose-wrap ul { padding-left: 20px; }

/* ── Responsive ── */
@media (max-width: 640px) {
  header { padding: 0 20px; }
  nav { gap: 16px; }
  .nav-cta { display: none; }
  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
}
