:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #101113;
  color: #f4f1ea;
}

* {
  box-sizing: border-box;
}

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

html {
  overflow: hidden;
}

body {
  margin: 0;
  height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  background:
    linear-gradient(135deg, #0b1119 0%, #171218 42%, #101817 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

/* A little print/noise, just enough to stop the page from feeling too clean. */
body::before {
  z-index: 3;
  opacity: .14;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 10px);
  mix-blend-mode: overlay;
}

body::after {
  z-index: 4;
  background:
    radial-gradient(ellipse at center, transparent 0 58%, rgba(0, 0, 0, .64) 100%);
}

#network {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100vw;
  height: 100vh;
  filter: contrast(1.08);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -16%;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 10%, rgba(40, 72, 92, .92) 0, transparent 36%),
    radial-gradient(circle at 82% 84%, rgba(213, 76, 144, .26), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(255, 255, 255, .06), transparent 24%);
  animation: ambient-drift 18s ease-in-out infinite alternate;
}

.sky {
  position: absolute;
  inset: -20%;
  z-index: -1;
  opacity: .72;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, .08) 42% 43%, transparent 43% 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .12), transparent 2px);
  background-size: auto, 42px 42px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 68%);
  animation: drift 18s ease-in-out infinite alternate;
}

.intro {
  width: min(900px, 100%);
  padding: clamp(28px, 7vw, 72px) 0;
  text-shadow: 0 18px 60px rgba(0, 0, 0, .42);
}

.kicker {
  margin: 0 0 18px;
  color: #9cc9d8;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 750;
}

h1 {
  margin: 0;
  color: #fffdf6;
  font-size: clamp(72px, 15vw, 180px);
  line-height: .86;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow:
    2px 0 rgba(55, 83, 255, .28),
    -2px 0 rgba(222, 231, 46, .18),
    0 18px 60px rgba(0, 0, 0, .45);
}

.lead {
  width: min(680px, 100%);
  margin: 28px 0 0;
  color: #d6d0c5;
  font-size: clamp(18px, 2.6vw, 28px);
  line-height: 1.35;
}

@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(0deg);
  }

  to {
    transform: translate3d(2%, 1%, 0) rotate(8deg);
  }
}

@keyframes ambient-drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

@media (max-width: 640px) {
  body::before {
    opacity: .10;
    background:
      repeating-linear-gradient(0deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 5px),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 12px);
  }

  body::after {
    background:
      radial-gradient(ellipse at center, transparent 0 52%, rgba(0, 0, 0, .72) 100%);
  }

  .hero::before {
    inset: -22%;
    background:
      radial-gradient(circle at 12% 12%, rgba(40, 72, 92, .84) 0, transparent 34%),
      radial-gradient(circle at 90% 88%, rgba(213, 76, 144, .24), transparent 30%),
      radial-gradient(circle at 24% 84%, rgba(255, 255, 255, .05), transparent 22%);
  }

  .sky {
    inset: -32%;
    opacity: .58;
    background-size: auto, 34px 34px;
  }

  .hero {
    place-items: center;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: max(18px, env(safe-area-inset-top)) 20px max(22px, env(safe-area-inset-bottom));
  }

  .intro {
    width: min(100%, 460px);
    padding: 0;
    transform: translateY(-2vh);
  }

  .kicker {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: .12em;
  }

  h1 {
    font-size: clamp(58px, 24vw, 112px);
    line-height: .86;
  }

  .lead {
    width: min(100%, 360px);
    margin-top: 18px;
    font-size: clamp(15px, 4.4vw, 19px);
    line-height: 1.32;
  }
}

@media (max-width: 640px) and (max-height: 720px) {
  .intro {
    transform: translateY(0);
  }

  .kicker {
    margin-bottom: 10px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(50px, 21vw, 92px);
  }

  .lead {
    margin-top: 14px;
    font-size: clamp(14px, 4vw, 17px);
  }
}

@media (max-width: 380px) {
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: clamp(48px, 23vw, 82px);
  }
}
