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

:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-subtle: #f9fafb;
  --border: #e5e7eb;
  --radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body { color: var(--text); background: var(--bg); line-height: 1.6; }

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

/* ── Nav ───────────────────────────────────── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg); z-index: 10;
}
.nav-logo { font-weight: 700; font-size: 1.25rem; color: var(--primary); text-decoration: none; }
.btn {
  display: inline-block; padding: 0.55rem 1.25rem;
  background: var(--primary); color: #fff; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.15s;
}
.btn:hover { background: var(--primary-dark); text-decoration: none; }

/* ── Hero ──────────────────────────────────── */
.hero {
  text-align: center; padding: 6rem 2rem 5rem;
  background: linear-gradient(180deg, #f5f3ff 0%, var(--bg) 100%);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.2rem; color: var(--muted); max-width: 520px; margin: 0 auto 2.5rem; }
.hero-badges { margin-top: 1.5rem; display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.badge { font-size: 0.82rem; color: var(--muted); background: var(--bg-subtle); border: 1px solid var(--border); padding: 0.3rem 0.75rem; border-radius: 999px; }

/* ── Features ──────────────────────────────── */
.features { padding: 5rem 2rem; background: var(--bg-subtle); }
.features h2 { text-align: center; font-size: 1.875rem; font-weight: 700; margin-bottom: 3rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.card { background: var(--bg); border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--border); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; color: var(--muted); }

/* ── CTA ───────────────────────────────────── */
.cta { text-align: center; padding: 5rem 2rem; }
.cta h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
.cta p { color: var(--muted); margin-bottom: 2rem; }

/* ── Footer ────────────────────────────────── */
footer { text-align: center; padding: 2rem; border-top: 1px solid var(--border); font-size: 0.875rem; color: var(--muted); }
footer a { color: var(--muted); margin: 0 0.5rem; }
footer a:hover { color: var(--primary); }

/* ── Legal pages ───────────────────────────── */
.legal { max-width: 740px; margin: 3rem auto; padding: 0 2rem 4rem; }
.legal h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.2rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.legal p, .legal li { color: var(--text); margin-bottom: 0.75rem; font-size: 0.97rem; }
.legal ul { padding-left: 1.5rem; }
.legal a { color: var(--primary); }
