:root {
  color: #162017;
  background: #f3f1e8;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

main {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: #55705d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: ui-serif, Georgia, serif;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  font-weight: 500;
  line-height: 0.98;
}

.intro {
  max-width: 46rem;
  margin: 2rem 0 2.5rem;
  color: #4f5a51;
  font-size: 1.05rem;
  line-height: 1.8;
}

nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #c8cec6;
  border-radius: 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease;
}

a:hover,
a:focus-visible {
  border-color: #55705d;
  transform: translateY(-1px);
}

a span {
  color: #69736b;
  font-size: 0.9rem;
}

@media (max-width: 620px) {
  nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color: #edf2ec;
    background: #121713;
  }

  .intro,
  a span {
    color: #aeb8af;
  }

  a {
    border-color: #3d4b40;
  }
}
