:root {
  color-scheme: light dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #181817;
  background: #f2f0ea;
}

* {
  box-sizing: border-box;
}

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

main {
  width: min(100%, 42rem);
}

header {
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: #68665f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

nav {
  border-top: 1px solid #c8c5bc;
}

a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  color: inherit;
  border-bottom: 1px solid #c8c5bc;
  text-decoration: none;
  transition: padding 160ms ease;
}

a:hover,
a:focus-visible {
  padding-left: 0.75rem;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

a span {
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  font-weight: 550;
}

a small {
  color: #68665f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
}

@media (max-width: 34rem) {
  a {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
}

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

  .eyebrow,
  a small {
    color: #a9a69e;
  }

  nav,
  a {
    border-color: #3b3a36;
  }
}

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