:root {
  --ink: #1e2230;
  --muted: #5b6275;
  --line: #e7e9f2;
  --indigo: #5b6cff;
  --indigo-dark: #4453e6;
  --background: #f4f5fb;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(100%, 1028px);
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 245, 251, 0.88);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.3px;
}

.nav-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease,
    background-color 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.card:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(91, 108, 255, 0.28);
  outline-offset: 3px;
}

.primary {
  color: #ffffff;
  background: var(--indigo);
  box-shadow: 0 8px 22px rgba(91, 108, 255, 0.25);
}

.primary:hover {
  background: var(--indigo-dark);
}

.ghost {
  border-color: var(--line);
  background: #ffffff;
}

.ghost:hover {
  border-color: #cbd0e4;
}

.hero {
  padding: 76px 0 58px;
  background: radial-gradient(900px 420px at 74% -8%, #e1e7ff 0%, transparent 62%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: 48px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 48px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -1.2px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.55px;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
}

.lead {
  max-width: 620px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof {
  overflow: hidden;
  padding: 8px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 20px 55px rgba(44, 55, 92, 0.13);
}

.proof-row {
  display: grid;
  gap: 4px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.proof-row:first-child {
  border-top: 0;
}

.proof-row strong {
  font-size: 16px;
}

.proof-row span {
  color: var(--muted);
  font-size: 14.5px;
}

section {
  padding: 52px 0;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.content {
  max-width: 760px;
}

.content p,
.content li {
  color: var(--muted);
  font-size: 16px;
}

.content p {
  margin-bottom: 16px;
}

.content ol,
.content ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.content li {
  margin: 9px 0;
  padding-left: 3px;
}

.content strong {
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

a.card {
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

a.card:hover {
  transform: translateY(-2px);
  border-color: #cdd4f5;
  box-shadow: 0 12px 26px rgba(44, 55, 92, 0.08);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq details {
  padding: 4px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.faq details[open] {
  border-color: #cdd4f5;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  margin-left: 20px;
  color: var(--indigo);
  font-size: 22px;
  font-weight: 600;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
}

.center,
.section-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.center .lead {
  margin-right: auto;
  margin-left: auto;
}

.section-head {
  margin-bottom: 30px;
}

footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .hero {
    padding: 58px 0 44px;
  }

  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  section {
    padding: 44px 0;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 18px;
  }

  .nav {
    min-height: 60px;
  }

  .nav .btn {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 14px;
  }

  h1 {
    font-size: 36px;
  }

  .actions {
    align-items: stretch;
  }

  .actions .btn {
    width: 100%;
  }

  .proof {
    padding-right: 20px;
    padding-left: 20px;
  }
}
