:root {
  color-scheme: light;
  --ink: #241632;
  --muted: #655b70;
  --brand: #6f42c1;
  --brand-dark: #4d278f;
  --paper: #fff;
  --wash: #f7f4fb;
  --line: #e8e0f1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--wash); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px max(24px, calc((100vw - 1160px) / 2)); background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 850; text-decoration: none; white-space: nowrap; }
.brand span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: white; background: var(--brand); }
nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
nav a { font-weight: 650; text-decoration: none; }
main { max-width: 1160px; margin: 0 auto; padding: 64px 24px 80px; }
.hero { max-width: 850px; padding: 44px 0 54px; }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: .78rem; font-weight: 850; letter-spacing: .13em; }
h1 { max-width: 820px; margin: 0; font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: 1.03; letter-spacing: -.045em; }
.lead { max-width: 760px; margin: 24px 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button, .text-link { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 17px; border-radius: 10px; font-weight: 750; text-decoration: none; }
.button { color: white; background: var(--brand); box-shadow: 0 8px 22px rgba(111, 66, 193, .2); }
.button:nth-child(even) { color: var(--brand-dark); background: white; border: 1px solid var(--line); box-shadow: none; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.content-card, .next-step { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 14px 38px rgba(45, 25, 80, .06); }
h2 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.25; }
.content-card p, .next-step p { margin: 0; color: var(--muted); }
.next-step { margin-top: 22px; background: #f0eafa; }
.text-link { padding-left: 0; padding-right: 0; }
footer { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 30px; padding: 44px max(24px, calc((100vw - 1160px) / 2)); color: #ded5ea; background: #241632; }
footer p { margin: 8px 0 0; }
footer a { color: white; }

@media (max-width: 850px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .content-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  main { padding-top: 34px; }
  .hero { padding-top: 20px; }
  .button { width: 100%; }
}
