:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --ink: #101418;
  --ink-soft: #4a5361;
  --line: #e3e6ea;
  --accent: #2f5bea;
  --accent-dark: #21449f;
  --dark: #0d1117;
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- header ---------- */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -.01em;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}

.brand .mark {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #7a4dea);
  display: inline-block;
}

nav.main { display: flex; align-items: center; gap: 28px; }

nav.main a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15.5px;
}

nav.main a:hover { color: var(--ink); }

nav.main a.active { color: var(--ink); font-weight: 600; }

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  border: 1px solid var(--accent);
}

.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }

.btn.ghost:hover { background: var(--bg-alt); }

/* ---------- hero ---------- */
.hero {
  background: var(--dark);
  color: #fff;
  padding: 92px 0 84px;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.14;
  letter-spacing: -.022em;
  margin: 0 0 20px;
  max-width: 780px;
  font-weight: 660;
}

.hero p.lead {
  font-size: 19.5px;
  color: #b7c0cd;
  max-width: 660px;
  margin: 0 0 34px;
}

.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero .btn.ghost { color: #fff; border-color: #39414d; }
.hero .btn.ghost:hover { background: #171d25; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--accent);
  margin: 0 0 16px;
}

.hero .eyebrow { color: #8ea8ff; }

/* ---------- sections ---------- */
section { padding: 74px 0; }

section.alt { background: var(--bg-alt); }

section h2 {
  font-size: 31px;
  line-height: 1.25;
  letter-spacing: -.018em;
  margin: 0 0 16px;
  font-weight: 650;
}

section p.sub { color: var(--ink-soft); max-width: 720px; margin: 0 0 42px; font-size: 17.5px; }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: #fff;
}

.card h3 { margin: 0 0 10px; font-size: 18.5px; letter-spacing: -.01em; }

.card p { margin: 0; color: var(--ink-soft); font-size: 15.8px; }

.card ul { margin: 12px 0 0; padding-left: 20px; color: var(--ink-soft); font-size: 15.5px; }
.card ul li { margin-bottom: 6px; }

.step { position: relative; padding-left: 0; }

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: #eaefff;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 14px;
}

/* ---------- cta band ---------- */
.cta {
  background: var(--dark);
  color: #fff;
  border-radius: 18px;
  padding: 46px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.cta h2 { margin: 0 0 8px; font-size: 26px; }
.cta p { margin: 0; color: #aeb8c6; }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 42px; }
.prose h3 { font-size: 18px; margin-top: 30px; }
.prose ul { color: var(--ink-soft); }
.prose p, .prose li { font-size: 16.2px; color: var(--ink-soft); }
.prose p { margin: 0 0 16px; }
.meta { color: #8b95a3; font-size: 14.5px; }

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 40px 0 54px;
  color: var(--ink-soft);
  font-size: 15px;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

footer.site a { color: var(--ink-soft); text-decoration: none; }
footer.site a:hover { color: var(--ink); text-decoration: underline; }
footer.site .links { display: flex; gap: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid, .grid.two, .grid.four { grid-template-columns: 1fr; }
  .hero { padding: 66px 0 60px; }
  .hero h1 { font-size: 34px; }
  nav.main { gap: 18px; }
  nav.main a:not(.btn) { display: none; }
  .cta { padding: 34px 26px; }
  section { padding: 58px 0; }
}
