@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color: #101e34;
  background: #f7f7ef;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 500;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #411f90; outline-offset: 4px; }
.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; padding: .7rem; background: #fff; z-index: 2; }
.skip:focus { top: 1rem; }

.top, .top nav, .brand, .footer, .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
}

.top { justify-content: space-between; min-height: 5rem; padding-block: 1rem; border-bottom: 1px solid #b8cacf; }
.brand { gap: .55rem; font-size: 1.2rem; text-decoration: none; font-weight: 800; }
.top nav { font-size: .87rem; }
.hero { padding: clamp(2.75rem, 8vw, 6rem) 0 clamp(1.8rem, 5vw, 4rem); }

h1, h2, h3 { font-family: "Space Grotesk", Manrope, sans-serif; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(2.65rem, 7.75vw, 6.1rem); letter-spacing: -.07em; }
h1 span { box-shadow: inset 0 -.35em #b9ecf4; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); letter-spacing: -.045em; }
h3 { font-size: 1.75rem; letter-spacing: -.045em; }
.lead { max-width: 52rem; font-size: clamp(1.04rem, 2vw, 1.28rem); line-height: 1.6; margin: 1.45rem 0 0; }
.byline { color: #354a62; font-size: .82rem; line-height: 1.5; margin: 1.2rem 0 0; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: 1.15rem; }
.choice {
  display: flex;
  flex-direction: column;
  border: 1px solid #728996;
  border-top: 7px solid var(--accent);
  padding: clamp(1rem, 2.5vw, 1.55rem);
  background: #fcfcf7;
}
.yellow { --accent: #dfb72e; }
.pink { --accent: #e480a6; }
.cyan { --accent: #45b9cd; background: #eaf7f7; }
.job { font-weight: 800; margin: .7rem 0 0; line-height: 1.4; }
dl { font-size: .93rem; line-height: 1.55; margin: .3rem 0 1.2rem; }
dt { font-weight: 800; margin-top: .85rem; }
dd { margin: .25rem 0 0; }
.sources { display: flex; flex-wrap: wrap; gap: .5rem .72rem; margin: auto 0 0; font-size: .77rem; }

.test { margin-top: clamp(2.5rem, 6vw, 5rem); max-width: 54rem; }
.test p, .test li, .close p { line-height: 1.65; }
.test ol { padding-left: 1.35rem; }
.test li { padding-inline-start: .2rem; margin-top: .65rem; }
.close { margin-top: clamp(2.5rem, 6vw, 4.5rem); padding: clamp(1.25rem, 4vw, 2.5rem); background: #101e34; color: #f7f7ef; }
.close p { max-width: 46rem; }
.actions { align-items: baseline; font-size: .9rem; font-weight: 800; }
.button { display: inline-flex; align-items: center; gap: .9rem; padding: .72rem .9rem; color: #101e34; background: #b9ecf4; text-decoration: none; }
.close a:focus-visible { outline-color: #f3d86b; }
.footer { padding-block: 1.7rem; font-size: .84rem; }

@media (max-width: 760px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 440px) {
  .wrap { width: calc(100% - 1.7rem); }
  .top nav { gap: .65rem .8rem; }
}
