@font-face {
  font-family: "Inconsolata";
  src: url("/fonts/inconsolata-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inconsolata";
  src: url("/fonts/inconsolata-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #000000;
  --quiet: #555555;
}

* {
  box-sizing: border-box;
}

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

body {
  display: flex;
  min-height: 100svh;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inconsolata", Consolas, ui-monospace, Menlo, monospace;
  font-size: 1.25rem;
  line-height: 1.6;
}

main {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.mark {
  display: block;
  width: clamp(7rem, 26vw, 10rem);
  height: auto;
  margin: 0 0 2rem -0.5rem;
  overflow: visible;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.5rem, 9vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

p {
  margin: 0;
  color: var(--quiet);
}

/* One moment: the dots settle onto the ring when the page loads. */
.d {
  transform-box: fill-box;
  transform-origin: center;
  animation: settle 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
  animation-delay: calc(0.35s + var(--i) * 0.14s);
}

@keyframes settle {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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