@font-face {
  font-family: "Goldman";
  src: url("./assets/Goldman-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Goldman";
  src: url("./assets/Goldman-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --white: #f7fbff;
  --cyan: #8addff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow: hidden;
  background: #020814;
  color: var(--white);
}

.launch {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background: url("./assets/comingsoon-bg.png") center / cover no-repeat;
}

.launch::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, .4) 0 16%, rgba(0, 0, 0, .14) 38%, rgba(0, 0, 0, .3) 72%),
    linear-gradient(180deg, rgba(0, 3, 12, .34) 0%, rgba(0, 4, 14, .16) 48%, rgba(0, 3, 10, .5) 100%);
  pointer-events: none;
}

.brand {
  position: absolute;
  z-index: 2;
  top: clamp(24px, 4vw, 58px);
  left: 50%;
  transform: translateX(-50%);
}

.brand img {
  display: block;
  width: clamp(175px, 17vw, 300px);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .48));
}

.message {
  width: min(92vw, 1100px);
  padding: 0 24px;
  text-align: center;
}

h1 {
  min-height: 1em;
  margin: 0;
  color: var(--white);
  font-family: "Goldman", sans-serif;
  font-size: clamp(29px, 6vw, 108px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow:
    0 7px 2px rgba(0, 0, 0, .34),
    0 14px 48px rgba(0, 0, 0, .9),
    0 0 30px rgba(84, 184, 255, .22);
}

@media (max-width: 720px) {
  .launch {
    background-image: url("./assets/comingsoon-bg-mobile.png");
    background-position: center;
  }

  .launch::before {
    background:
      radial-gradient(circle at 50% 44%, rgba(0, 0, 0, .56) 0 18%, rgba(0, 0, 0, .2) 46%, rgba(0, 0, 0, .38) 100%),
      linear-gradient(180deg, rgba(0, 3, 12, .38), rgba(0, 3, 10, .46));
  }

  .brand {
    top: clamp(72px, 13svh, 118px);
    left: 50%;
  }

  .brand img { width: min(49vw, 210px); }

  .message {
    width: 100%;
    padding-inline: 18px;
  }

  h1 { letter-spacing: -.05em; }
}
