:root {
  color-scheme: dark;
  background: #090909;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .035), transparent 35rem),
    #090909;
}

main {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 2vh, 22px);
}

a {
  position: relative;
  color: #fff;
  font-size: clamp(64px, 12vw, 150px);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.07em;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.08em;
  left: 0;
  height: 3px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

a:hover,
a:focus-visible {
  color: #d9d9d9;
  transform: translateX(10px);
  outline: none;
}

a:hover::after,
a:focus-visible::after { transform: scaleX(1); }

@media (max-width: 520px) {
  main { place-items: center start; padding: 24px; }
  a { font-size: clamp(58px, 22vw, 104px); }
}

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