:root {
  --ink: #2b2b45;
  --muted: #5a5a72;
  --link: #5b8cff;
  --bg: #f7f4ff;
  --card: #ffffff;
  --lilac: #c3a6ff;
  --mint: #7ed9b0;
  --yellow: #ffe08a;
  --max: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: var(--link);
}

a:hover {
  text-decoration-thickness: 2px;
}

.site-header,
.site-footer,
.site-main {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--link);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark span {
  width: 1.15rem;
  height: 0.85rem;
  border-radius: 0.2rem;
  background: #fff;
  box-shadow: inset 0.55rem 0 0 0 #fff;
  border-left: 2px solid var(--yellow);
  position: relative;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

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

.site-main {
  padding: 0.5rem 0 3rem;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(43, 43, 69, 0.08);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  text-decoration: none;
  font-weight: 600;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 700;
  margin: 2rem 0 0.65rem;
}

p,
li {
  font-size: 1.05rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  margin: 1rem 0 2rem;
}

.hero-card {
  background: var(--card);
  border-radius: 1.75rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 8px 24px rgba(43, 43, 69, 0.06);
}

.hero-card.lilac {
  background: color-mix(in srgb, var(--lilac) 35%, white);
}

.features {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.feature {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 8px 20px rgba(43, 43, 69, 0.05);
}

.feature.mint {
  background: color-mix(in srgb, var(--mint) 28%, white);
}

.feature.yellow {
  background: color-mix(in srgb, var(--yellow) 40%, white);
}

.feature h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.25rem;
  border-radius: 1.25rem;
  background: var(--link);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(43, 43, 69, 0.15);
}

.legal-links {
  margin-top: 2rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
