:root {
  --brand: #765DD8;
  --brand-light: #CAB1FF;
  --brand-tint: #F4EEFF;
  --bg: #FBF8FF;
  --text: #1B1530;
  --text-muted: #4F4566;
  --line: #EAE2FA;
  --shadow: 0 10px 30px -20px rgba(76, 38, 168, 0.45);
  --radius: 16px;
  --gap: clamp(16px, 4vw, 28px);
  --content-max: 960px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0B1A;
    --text: #F2EBFF;
    --text-muted: #B5AAD3;
    --line: #2A2143;
    --brand-tint: #1B1530;
    --shadow: 0 12px 32px -22px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { display: block; }

main > * {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  text-align: center;
  padding-top: clamp(48px, 12vh, 96px);
  padding-bottom: clamp(48px, 10vh, 80px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  margin-bottom: clamp(28px, 6vh, 56px);
}

.brand__mark {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  filter: drop-shadow(0 12px 28px rgba(118, 93, 216, 0.35));
}

.brand__word {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero h1 {
  font-size: clamp(32px, 6.5vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 auto 18px;
  max-width: 18ch;
}

.lead {
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 auto 36px;
  max-width: 38ch;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 60px;
  padding: 6px 8px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 120ms ease;
}

.cta:active { transform: translateY(1px); }

.cta:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.cta img {
  display: block;
  height: 60px;
  width: auto;
}

.trust-mark {
  font-size: 13px;
  color: var(--text-muted);
  margin: 20px 0 0;
}

.why {
  padding-top: clamp(40px, 8vh, 72px);
  padding-bottom: clamp(40px, 8vh, 72px);
}

.why h2,
.whats-new h2,
.trust h2 {
  font-size: clamp(22px, 3.5vw, 28px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
}

.cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--brand-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(118, 93, 216, 0.15);
  margin-bottom: 14px;
}

.card h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

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

.whats-new {
  padding-top: clamp(32px, 6vh, 56px);
  padding-bottom: clamp(32px, 6vh, 56px);
}

.whats-new ul {
  padding-left: 1.1em;
  margin: 0;
}

.whats-new li {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 12px;
  color: var(--text);
}

.whats-new li::marker {
  color: var(--brand);
}

.trust {
  padding-top: clamp(32px, 6vh, 56px);
  padding-bottom: clamp(32px, 6vh, 56px);
}

.trust p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  max-width: 60ch;
}

footer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(48px, 10vh, 80px) 24px 56px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta--footer { margin-bottom: 28px; }

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px;
  border-radius: 6px;
}

.links a:hover,
.links a:focus-visible {
  color: var(--brand);
  outline: none;
}

.links a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.build {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}
