@font-face {
  font-family: Inter;
  src: url("inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  color: #0a1324;
  background: #f7f9fe;
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 2rem 1.25rem;
  border-top: 3px solid #2457e6;
  background: radial-gradient(ellipse at 50% 40%, #fff 10%, transparent 70%);
}
main { max-width: 44rem; text-align: center; }
h1 {
  width: fit-content;
  margin: 0 auto;
  font-size: clamp(2.9rem, 8.75vw, 6rem);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.08;
  white-space: nowrap;
}
.wordmark-dot {
  position: relative;
  display: inline-block;
  width: .235em;
  height: .235em;
  margin-inline-start: .12em;
  border-radius: 50%;
  background: #2457e6;
}
p {
  max-width: 42ch;
  margin: 1.15rem auto 0;
  color: #465774;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  line-height: 1.65;
  text-wrap: balance;
}

.wordmark-text {
  position: relative;
  display: inline-block;
}

@media (hover: hover) {
  .wordmark-text::after,
  .wordmark-dot::after {
    position: absolute;
    inset: 0;
    background-image: url("wordmark-binary.png");
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease, background-position .34s ease;
  }

  .wordmark-text::after {
    background-position: 0 .08em;
    background-size: 1.6em auto;
    background-clip: text;
    color: transparent;
    content: attr(data-wordmark) / "";
  }

  .wordmark-dot::after {
    border-radius: inherit;
    background-position: 50% 44%;
    background-size: .76em auto;
    content: "";
  }

  h1:hover .wordmark-text::after {
    background-position: .1em -.035em;
    opacity: .78;
  }

  h1:hover .wordmark-dot::after {
    background-position: 45% 52%;
    opacity: .84;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wordmark-text::after,
  .wordmark-dot::after {
    transition: none;
  }
}
