:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18212b;
  background: #f5f6f7;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background: #f5f6f7;
}

main {
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
  padding-block: 4rem;
}

header {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #52606d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.intro {
  margin: 1rem 0 0;
  color: #52606d;
  font-size: 1.0625rem;
  line-height: 1.6;
}

ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

li:last-child {
  grid-column: 1 / -1;
}

a {
  display: flex;
  min-height: 8rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #d9dee3;
  border-radius: 0.5rem;
  color: inherit;
  background: #ffffff;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease;
}

a:hover {
  border-color: #73808c;
  transform: translateY(-0.125rem);
}

a:focus-visible {
  outline: 0.1875rem solid #1e5aa8;
  outline-offset: 0.1875rem;
}

a > span {
  font-size: 1.125rem;
  font-weight: 650;
}

a strong {
  color: #1e5aa8;
  font-size: 0.875rem;
  font-weight: 700;
}

footer {
  margin-top: 2rem;
  color: #697683;
  font-size: 0.8125rem;
}

footer p {
  margin: 0;
}

@media (max-width: 40rem) {
  main {
    padding-block: 2.5rem;
  }

  ul {
    grid-template-columns: 1fr;
  }

  li:last-child {
    grid-column: auto;
  }

  a {
    min-height: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }
}
