/* ─── Reset & tokens ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #0f1117;
  --ink-2: #4b5563;
  --ink-3: #9ca3af;
  --surface: #ffffff;
  --surface-alt: #f8f9fb;
  --border: #e5e7eb;
  --accent: #5b4cf0;
  --accent-hover: #4737d9;
  --accent-light: #eeedfb;
  --green: #059669;
  --green-bg: #ecfdf5;
  --green-border: #a7f3d0;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 32px rgba(0,0,0,.07);
  --shadow-btn: 0 2px 8px rgba(91,76,240,.28);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Layout ─────────────────────────────────────────────── */
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ─── Header ─────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; padding: 12px 24px;
  background: var(--accent); color: #fff;
  font-size: .95rem; font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-btn);
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn-primary:hover {
  background: var(--accent-hover); text-decoration: none;
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(91,76,240,.34);
}
.btn-ghost {
  display: inline-block; padding: 11px 22px;
  background: transparent; color: var(--ink);
  font-size: .95rem; font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: var(--ink-2); background: var(--surface-alt); text-decoration: none; }
.btn-nav {
  display: inline-block; padding: 7px 16px;
  background: var(--ink); color: #fff !important;
  font-size: .875rem; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.btn-nav:hover { background: #1f2937; text-decoration: none; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero { padding: 88px 0 72px; text-align: center; }
.eyebrow {
  display: inline-block; margin: 0 0 20px;
  padding: 5px 14px; background: var(--accent-light); color: var(--accent);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 100px;
}
h1 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -.03em;
}
.lede {
  max-width: 600px; margin: 0 auto 36px;
  color: var(--ink-2); font-size: 1.1rem; line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin: 20px 0 0; color: var(--ink-3); font-size: .875rem; }

/* ─── Sections ───────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 { margin: 0 0 10px; font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.section-head p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }

/* ─── Steps ──────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  font-size: 1rem; font-weight: 700; margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 600; }
.step p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }

/* ─── Two-col feature ────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.two-col h2 { margin: 0 0 16px; font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; }
.body-text { margin: 0 0 24px; color: var(--ink-2); line-height: 1.65; }
.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: .95rem; color: var(--ink-2);
}
.check-list li::before {
  content: "✓";
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; min-width: 20px;
  background: var(--accent-light); color: var(--accent);
  font-size: .75rem; font-weight: 700; border-radius: 50%;
}

/* ─── Mock panel ─────────────────────────────────────────── */
.feature-aside { display: flex; align-items: center; justify-content: center; }
.mock-panel {
  width: 100%; max-width: 340px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; font-size: .875rem;
}
.mock-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}
.mock-title { font-weight: 700; font-size: .9rem; }
.mock-pill {
  padding: 3px 10px; border-radius: 100px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.mock-pill.ok { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.mock-pill-sm {
  padding: 2px 7px; border-radius: 100px;
  font-size: .68rem; font-weight: 700;
}
.mock-pill-sm.ok { background: var(--green-bg); color: var(--green); }
.mock-item { padding: 14px 16px; }
.mock-meta { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: .75rem; margin-bottom: 8px; }
.mock-meta strong { color: var(--ink); }
.mock-incoming { margin: 0 0 10px; color: var(--ink-2); font-size: .875rem; line-height: 1.45; }
.mock-draft {
  padding: 10px 12px; background: var(--surface-alt);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: .875rem; line-height: 1.45; margin-bottom: 10px;
  color: var(--ink);
}
.mock-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-btn {
  padding: 6px 12px; border-radius: 6px;
  font-size: .78rem; font-weight: 600; border: 0; cursor: default;
}
.mock-btn.primary { background: var(--accent); color: #fff; }
.mock-btn.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--border); }

/* ─── Pricing ────────────────────────────────────────────── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px; margin-bottom: 20px;
}
.price-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow);
}
.price-card.featured { border-color: #c7c3f8; }
.price-badge {
  display: inline-block; margin-bottom: 14px;
  padding: 4px 12px; background: var(--accent-light); color: var(--accent);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 100px;
}
.price-card h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; }
.price { margin: 0 0 6px; font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; }
.price-intro { color: var(--accent); }
.price-after { font-size: .8rem; font-weight: 400; color: var(--ink-3); }
.price-desc { margin: 0 0 16px; color: var(--ink-2); font-size: .875rem; line-height: 1.5; }
.price-features { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.price-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; color: var(--ink-2);
}
.price-features li::before {
  content: "✓"; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px;
  background: var(--accent-light); color: var(--accent);
  font-size: .65rem; font-weight: 700; border-radius: 50%;
}
.price-note { text-align: center; color: var(--ink-3); font-size: .85rem; }

/* ─── Never grid ─────────────────────────────────────────── */
.never-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.never-item { text-align: center; }
.never-icon { font-size: 1.6rem; margin-bottom: 12px; }
.never-item h4 { margin: 0 0 8px; font-size: 1rem; font-weight: 600; }
.never-item p { margin: 0; color: var(--ink-2); font-size: .925rem; line-height: 1.55; }

/* ─── CTA section ────────────────────────────────────────── */
.cta-section { background: var(--accent); }
.cta-inner { text-align: center; }
.cta-inner h2 { margin: 0 0 12px; color: #fff; font-size: 1.8rem; font-weight: 700; letter-spacing: -.02em; }
.cta-inner p { margin: 0 0 28px; color: rgba(255,255,255,.8); font-size: 1.05rem; }
.cta-inner .btn-primary {
  background: #fff; color: var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.cta-inner .btn-primary:hover { background: #f0efff; box-shadow: 0 4px 20px rgba(0,0,0,.2); }

/* ─── Footer ─────────────────────────────────────────────── */
.footer { padding: 36px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { font-size: .875rem; color: var(--ink-2); }
.footer-copy { margin: 0; color: var(--ink-3); font-size: .875rem; }

/* ─── Legal pages ────────────────────────────────────────── */
article.legal { max-width: 68ch; line-height: 1.65; padding: 48px 0 80px; }
article.legal h1 { font-size: 2rem; letter-spacing: -.03em; margin: 0 0 8px; }
article.legal h2 { font-size: 1.15rem; margin: 32px 0 10px; }
article.legal .meta { color: var(--ink-3); font-size: .875rem; margin-bottom: 28px; }
article.legal p, article.legal li { color: var(--ink-2); }
article.legal ul { padding-left: 1.4rem; }
article.legal a { color: var(--accent); }

.site-nav {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: .875rem; padding: 20px 0;
  border-bottom: 1px solid var(--border); margin-bottom: 36px;
}
.site-nav a { color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .nav { gap: 14px; }
}
