@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk.0640890476.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fafaf7;
  --ink: #141413;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
}

/* The name in full weight, the extension in light: one word, two voices. */
h1 {
  margin: 0;
  font-size: clamp(56px, 15vw, 220px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
  animation: arrive 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

h1 span {
  font-weight: 300;
  letter-spacing: -0.04em;
}

p {
  margin: 0;
  font-size: 18px;
  text-align: center;
}

@keyframes arrive {
  from {
    opacity: 0;
    letter-spacing: 0.02em;
  }
}

@media (prefers-reduced-motion: reduce) {
  h1 {
    animation: none;
  }
}
