:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --ink: #0d0f14;
  --ink-soft: #4a5160;
  --line: #e6e8ec;
  --accent: #1d4ed8;
  --accent-ink: #ffffff;
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; transition: color 0.15s; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav-cta:hover { background: #2a2f3a; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #1742b4; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* ── Hero ── */
.hero {
  padding: 96px 0 80px;
  background: radial-gradient(120% 100% at 50% 0%, var(--bg-alt), var(--bg) 70%);
  text-align: center;
}
.hero-compact { padding: 72px 0 48px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 16px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 auto 20px;
  max-width: 14ch;
}
.hero-compact .hero-title { max-width: 18ch; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Sections ── */
section { padding: 72px 0; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 48px;
}
.features { background: var(--bg-alt); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-card h3 { margin: 0 0 10px; font-size: 1.15rem; letter-spacing: -0.01em; }
.feature-card p { margin: 0; color: var(--ink-soft); }

.prose-section .lead { font-size: 1.2rem; color: var(--ink-soft); }
.prose-section .section-title { text-align: left; margin-bottom: 20px; }

/* ── CTA ── */
.cta { background: var(--ink); color: #fff; }
.cta-inner { text-align: center; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.02em; margin: 0 0 14px; }
.cta p { color: rgba(255, 255, 255, 0.7); max-width: 52ch; margin: 0 auto 28px; }
.cta .btn-primary { background: #fff; color: var(--ink); }
.cta .btn-primary:hover { background: #e9ebef; }

/* ── Footer ── */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 48px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.footer-tagline { margin: 0; color: var(--ink-soft); max-width: 40ch; }
.footer-meta { display: flex; flex-direction: column; gap: 6px; text-align: right; color: var(--ink-soft); font-size: 0.9rem; }
.footer-meta a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .footer-meta { text-align: left; }
}
