:root {
  color-scheme: dark;
  font-family: "Segoe UI Variable", "Helvetica Neue", Arial, system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #050706;
  color: #8aefa5;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  background: #050706;
}

.screen {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding:
    max(1.5rem, env(safe-area-inset-top))
    max(1.5rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom))
    max(1.5rem, env(safe-area-inset-left));
  place-items: center;
}

h1 {
  max-width: 100%;
  margin: 0;
  color: #8aefa5;
  font-size: clamp(4.5rem, 22vw, 14rem);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1.08;
  animation: appear 650ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(0.18em);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
