:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

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

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

body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #4a4e54;
}

main {
  width: 100%;
  padding: clamp(1.5rem, 6vw, 5rem);
  text-align: center;
}

h1 {
  margin: 0;
  padding-block: 0.08em 0.16em;
  font-size: clamp(3.5rem, 13vw, 10rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.07em;
  color: #77c9f5;
  background: linear-gradient(120deg, #a7ddfb 10%, #71c7f5 48%, #aaa6f8 90%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 520px) {
  h1 {
    max-width: 7ch;
    margin-inline: auto;
    font-size: clamp(3.75rem, 20vw, 6rem);
    line-height: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  h1 {
    animation: arrive 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
  }
}
