:root {
  color-scheme: dark;
  --bg: #06101c;
  --ink: rgba(255, 255, 255, 0.62);
  --muted: rgba(196, 212, 228, 0.8);
}

* {
  box-sizing: border-box;
}

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

html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  height: 100dvh;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

main {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12vh 1.5rem 16vh;
  text-align: center;
}

h1 {
  width: min(86vw, 34rem);
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

h1 img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.lines {
  display: grid;
  justify-items: center;
  width: max-content;
  max-width: calc(100vw - 3rem);
  margin-top: 2rem;
  margin-bottom: 2.87rem;
}

.lines p {
  grid-area: 1 / 1;
  margin: 0;
  font-size: min(0.9375rem, calc((100vw - 3rem) / 33));
  line-height: 1.35;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--muted);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}

.lines p span {
  display: block;
  white-space: nowrap;
}

.lines:not(.is-ready) p:first-child,
.lines p.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0s linear 0s;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .lines p {
    transition: none;
  }
}

@media (max-width: 640px) {
  .lines {
    margin-bottom: 2.6rem;
  }
}
