:root {
  color-scheme: light;
  --cream: #fff9ef;
  --navy: #172343;
  --coral: #d83443;
  --mint: #bdeedc;
  --yellow: #ffdf7c;
  --lavender: #e9e4ff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  line-height: 1.75;
}
a {
  color: #a32236;
  text-underline-offset: 4px;
}
header,
main,
footer {
  width: min(1100px, calc(100% - 40px));
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 850;
  text-decoration: none;
}
nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
nav a {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
nav a[aria-current] {
  background: var(--mint);
}
.hero {
  padding: 32px 0 22px;
  max-width: 850px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #596580;
}
h1 {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.16;
  margin: 14px 0 20px;
  letter-spacing: -1.5px;
}
h2 {
  font-size: 21px;
  line-height: 1.4;
  margin: 0 0 12px;
}
.lead {
  font-size: 19px;
  max-width: 760px;
  color: #4e5a72;
}
.card {
  padding: 26px;
  background: #fff;
  border: 1px solid #e0e3eb;
  border-radius: 22px;
  margin: 18px 0;
}
.card p:last-child {
  margin-bottom: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.grid .card {
  margin: 0;
}
.mint {
  background: var(--mint);
}
.yellow {
  background: var(--yellow);
}
.lavender {
  background: var(--lavender);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.button {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  padding: 11px 18px;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 750;
}
.secondary {
  background: var(--lavender);
  color: var(--navy);
}
footer {
  border-top: 1px solid #d9dce3;
  margin-top: 40px;
  padding: 30px 0;
  color: #4e5a72;
  font-size: 14px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  padding: 10px;
  background: white;
  z-index: 10;
}
:focus-visible {
  outline: 3px solid #172343;
  outline-offset: 3px;
}
.contact {
  font-size: clamp(17px, 4vw, 25px);
  font-weight: 750;
}
p,
a {
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }
  header,
  main,
  footer {
    width: calc(100% - 32px);
  }
  header {
    gap: 14px;
    padding: 18px 0;
  }
  nav {
    gap: 2px;
  }
  nav a {
    font-size: 13px;
    padding: 7px 9px;
  }
  .hero {
    padding-top: 12px;
  }
  .card {
    padding: 22px;
  }
  .lead {
    font-size: 17px;
  }
}
