:root {
  color-scheme: light;
  --bg: #fdfbff;
  --card: #ffffff;
  --text: #1f1f29;
  --muted: #5f6472;
  --accent: #5b21b6;
  --accent-light: #ede9fe;
  --border: #eadff0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #fff 0, var(--bg) 55%, #f5f3ff 100%);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.header, .main, .footer {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  padding: 28px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  font-weight: 800;
  font-size: 24px;
  color: var(--text);
}

.logo span { color: var(--accent); }

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.hero {
  padding: 58px 0 36px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  margin: 18px auto 16px;
  max-width: 820px;
}

.lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

.cta-row {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.button.secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0;
}

.card, .section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(94, 53, 177, 0.07);
}

.card h2, .card h3, .section h2, .section h3 { margin-top: 0; line-height: 1.25; }

.section { margin: 22px 0; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  counter-increment: step;
  margin: 14px 0;
  padding-left: 44px;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.faq details {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.faq details:first-child { border-top: 0; }
summary { cursor: pointer; font-weight: 700; }

.footer {
  padding: 34px 0 48px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 760px) {
  .header { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 34px; }
}
