:root {
  color-scheme: light;
  --ink: #142849;
  --muted: #66738a;
  --purple: #7657d8;
  --purple-dark: #4a347e;
  --coral: #ef8395;
  --surface: #fffdfa;
  --warm: #fef7ec;
  --line: #eadfd8;
  --mint: #e7f7f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
}

.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  font-size: 25px;
  font-weight: 850;
  color: var(--purple-dark);
}

.brand span {
  color: var(--coral);
}

.nav-link {
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--purple);
}

.hero {
  position: relative;
  min-height: min(780px, 86vh);
  overflow: hidden;
  display: grid;
  align-items: center;
  background: var(--warm);
  border-bottom: 1px solid var(--line);
}

.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(64vw, 820px);
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 92px;
}

.hero-copy-inner {
  max-width: 525px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 1.02;
  font-weight: 900;
  color: var(--purple-dark);
}

h1 span {
  color: var(--coral);
}

.hero-lede {
  max-width: 485px;
  margin: 22px 0 0;
  color: #34445f;
  font-size: 19px;
  line-height: 1.6;
}

.hero-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.features {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 76px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.feature {
  border-top: 3px solid var(--line);
  padding-top: 22px;
}

.feature:nth-child(1) {
  border-color: #8d72df;
}

.feature:nth-child(2) {
  border-color: #55bcb5;
}

.feature:nth-child(3) {
  border-color: #ef8395;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

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

.trust-band {
  background: var(--mint);
  border-block: 1px solid #cdebe6;
}

.trust-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.trust-inner h2 {
  margin: 0;
  font-size: 28px;
}

.trust-inner p {
  max-width: 600px;
  margin: 8px 0 0;
  color: #526a70;
}

.text-link {
  flex: 0 0 auto;
  color: var(--purple-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--purple-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

.policy-header {
  position: static;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.policy-main {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.policy-main h1 {
  max-width: none;
  color: var(--ink);
  font-size: 46px;
}

.policy-meta {
  margin: 12px 0 44px;
  color: var(--muted);
}

.policy-summary {
  margin-bottom: 42px;
  padding: 22px 24px;
  border-left: 4px solid var(--purple);
  background: #f8f5ff;
}

.policy-summary p {
  margin: 0;
}

.policy-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0 0 12px;
  font-size: 25px;
}

.policy-section h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.policy-section p,
.policy-section li {
  color: #3f4c61;
}

.policy-section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.policy-section li + li {
  margin-top: 8px;
}

@media (max-width: 820px) {
  .hero {
    min-height: 760px;
    align-items: start;
  }

  .hero-art {
    inset: auto 0 0;
    width: 100%;
    height: 58%;
    object-position: center top;
  }

  .hero-copy {
    padding-top: 112px;
  }

  .hero-copy-inner {
    max-width: 100%;
  }

  .hero-lede {
    max-width: 530px;
  }

  .hero-note {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trust-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav,
  .hero-copy,
  .features,
  .trust-inner,
  .site-footer,
  .policy-main {
    width: min(100% - 32px, 1120px);
  }

  .nav {
    min-height: 68px;
  }

  .brand {
    font-size: 22px;
  }

  .hero {
    min-height: 710px;
  }

  .hero-copy {
    padding-top: 102px;
  }

  h1 {
    font-size: 50px;
  }

  .hero-lede {
    margin-top: 16px;
    font-size: 17px;
  }

  .features {
    padding-block: 54px;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .site-footer {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-main {
    padding-top: 48px;
  }

  .policy-main h1 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
