:root {
  --ink: #241338;
  --muted: #645b70;
  --cream: #fff9ef;
  --sand: #f3e5cf;
  --blue: #3569dc;
  --blue-dark: #244ba7;
  --teal: #0c817a;
  --yellow: #f6c842;
  --line: #2b2032;
  --shadow: 5px 5px 0 var(--line);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 5%, rgba(246, 200, 66, 0.22), transparent 19rem),
    var(--cream);
  font-family: ui-rounded, "Avenir Next", Avenir, "Nunito Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--blue-dark);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: var(--blue);
  border: 2px solid var(--line);
  border-radius: 13px;
  box-shadow: 3px 3px 0 var(--line);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

nav a[aria-current="page"] {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hero {
  padding: 70px 0 76px;
}

.eyebrow,
.section-label {
  margin: 0 0 11px;
  color: var(--blue-dark);
  font-size: 0.81rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.9rem, 8vw, 5.9rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.lede {
  max-width: 690px;
  margin: 26px 0 38px;
  color: var(--muted);
  font-size: clamp(1.14rem, 2vw, 1.38rem);
}

.hero-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 26px;
  background: var(--blue);
  border: 2px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hero-card > div {
  min-height: 206px;
  padding: 22px;
  background: white;
  border: 2px solid var(--line);
  border-radius: 18px;
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--line);
  border-radius: 50%;
  font-weight: 850;
}

.hero-card h2 {
  margin-top: 18px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-card p,
.content-section p {
  margin: 11px 0 0;
  color: var(--muted);
}

.content-section {
  margin: 0 0 32px;
  padding: 52px;
  background: white;
  border: 2px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  gap: 42px;
}

.split-section p:first-child {
  margin-top: 0;
}

.callout {
  margin-bottom: 72px;
  background: var(--sand);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 40px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.legal-page {
  max-width: 800px;
  padding: 56px 0 72px;
}

.legal-page h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
}

.updated {
  margin: 14px 0 32px;
  color: var(--muted);
  font-size: 0.94rem;
}

.intro {
  max-width: 720px;
  margin: 0 0 42px;
  font-size: 1.18rem;
}

.legal-page section {
  margin: 0 0 34px;
}

.legal-page h2 {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.legal-page p,
.legal-page ul {
  margin: 12px 0 0;
}

.legal-page ul {
  padding-left: 1.25rem;
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 42px 0 54px;
  }

  .hero-card,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .content-section {
    padding: 18px;
  }

  .hero-card > div {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-page {
    padding-top: 32px;
  }
}
