:root {
  --bg: #f8f7fc;
  --bg-soft: #eeedf5;
  --panel: #ffffff;
  --text: #1a1a2e;
  --muted: #6b6b8a;
  --line: rgba(91, 91, 214, 0.12);
  --indigo: #5B5BD6;
  --violet: #7C5CFF;
  --success: #16a34a;
  --grad: linear-gradient(135deg, #5B5BD6 0%, #7C5CFF 50%, #9775FA 100%);
  --grad-text: linear-gradient(135deg, #5B5BD6, #7C5CFF);
  --radius: 16px;
  --shadow: 0 4px 24px -8px rgba(91, 91, 214, 0.15);
  --shadow-lg: 0 20px 60px -20px rgba(91, 91, 214, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand { font-family: "Space Grotesk", system-ui, sans-serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Utility ────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.eyebrow { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--indigo); border: 2px solid var(--line); }
.btn-outline:hover { border-color: var(--indigo); }
.btn-nav { padding: 10px 20px; font-size: 0.875rem; white-space: nowrap; }

/* ── Nav ────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(248, 247, 252, 0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 1.25rem; font-weight: 700; color: var(--indigo); display: flex; align-items: center; gap: 8px; }
.brand-icon { font-size: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.9rem; font-weight: 500; }
/* Plain nav links are muted; the :not(.btn) keeps this from overriding the
   button's own white text via specificity (.nav-links a beats .btn-primary). */
.nav-links a:not(.btn) { color: var(--muted); transition: color 0.15s; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.15; margin-bottom: 20px; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 600px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Sections ───────────────────────────────────── */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 12px; }
.section-header p { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ── Features grid ──────────────────────────────── */
.features { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.feature-card {
  padding: 32px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* ── How it works ───────────────────────────────── */
.steps { counter-reset: step; }
.step-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; text-align: center; }
.step-item { counter-increment: step; }
.step-item::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad); color: #fff;
  font-size: 1.5rem; font-weight: 700; margin-bottom: 16px;
  font-family: "Space Grotesk", sans-serif;
}
.step-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-item p { color: var(--muted); font-size: 0.95rem; }

/* ── Actors / for-who ───────────────────────────── */
.actors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.actor-card {
  padding: 28px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  text-align: center;
}
.actor-emoji { font-size: 2.5rem; margin-bottom: 12px; }
.actor-card h3 { margin-bottom: 8px; }
.actor-card p { color: var(--muted); font-size: 0.9rem; }

/* ── CTA ────────────────────────────────────────── */
.cta-section {
  background: var(--grad); color: #fff; text-align: center;
  padding: 80px 24px; border-radius: 0;
}
.cta-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
.cta-section p { opacity: 0.9; margin-bottom: 32px; font-size: 1.1rem; }
.cta-section .btn { background: #fff; color: var(--indigo); }
.cta-section .btn:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

/* ── Contact ────────────────────────────────────── */
.contact form { max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.contact input, .contact textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--panel);
  font-size: 1rem; font-family: inherit; color: var(--text);
  transition: border-color 0.15s;
}
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--indigo); }
.contact textarea { resize: vertical; min-height: 120px; }
.contact .honeypot { position: absolute; left: -9999px; }
.form-status { text-align: center; font-size: 0.95rem; min-height: 1.4em; }
.form-status.ok { color: var(--success); }
.form-status.err { color: #dc2626; }

/* ── Footer ─────────────────────────────────────── */
footer {
  padding: 40px 0; text-align: center;
  color: var(--muted); font-size: 0.85rem;
  border-top: 1px solid var(--line);
}
footer a { color: var(--indigo); }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 12px 16px; }
  .nav-links { gap: 16px; font-size: 0.8rem; }
  .hero { padding: 60px 0 40px; }
  section { padding: 48px 0; }
}
