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

:root {
  color-scheme: dark;
  --ink: #000;
  --text: rgba(255, 255, 255, 0.64);
  --faint: rgba(255, 255, 255, 0.28);
  --glow: rgba(0, 83, 192, 0.18);
}

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

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

body {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ink);
  color: var(--text);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* One soft pool of Liminity blue behind the mark; nothing else on the page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse min(30rem, 90vw) min(20rem, 60vw) at 50% 47%,
    var(--glow),
    transparent 70%
  );
}

main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.mark {
  display: block;
  width: clamp(88px, 11vw, 132px);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(124, 183, 255, 0.28));
}

.soon {
  margin: clamp(2.25rem, 4.5vw, 3rem) 0 0;
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  font-weight: 400;
  letter-spacing: 0.42em;
  /* Tracking adds space after the last letter too; pull it back to centre. */
  margin-right: -0.42em;
  text-transform: uppercase;
}

footer {
  position: relative;
  padding: 0 1.5rem max(1.75rem, env(safe-area-inset-bottom));
  text-align: center;
  color: var(--faint);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .mark {
    animation: rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .soon,
  footer {
    animation: fade 1.6s ease-out 0.5s both;
  }

  body::before {
    animation: fade 2.4s ease-out both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
