:root {
  --x: 50%;
  --y: 50%;
  --black: #070909;
  --white: #f2f4f3;
  --teal: #20e5dc;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--black);
}

body {
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow: hidden;
}

.slide {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(28px, 4vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at var(--x) var(--y), rgba(32, 229, 220, 0.055), transparent 28%),
    var(--black);
}

.brand {
  position: absolute;
  top: clamp(28px, 4vw, 64px);
  left: clamp(28px, 4vw, 64px);
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand__mark {
  display: block;
  width: 7px;
  height: 17px;
  transform: skew(-15deg);
  border-radius: 100% 10% 80% 20%;
  background: var(--teal);
  box-shadow: 0 0 16px rgba(32, 229, 220, 0.32);
}

h1 {
  margin: 0;
  font-size: clamp(58px, 10.2vw, 170px);
  font-weight: 500;
  line-height: 0.87;
  letter-spacing: -0.07em;
}

.accent {
  color: var(--teal);
}

.soon {
  position: absolute;
  right: clamp(28px, 4vw, 64px);
  bottom: clamp(28px, 4vw, 64px);
  display: flex;
  gap: 14px;
  align-items: center;
  color: rgba(242, 244, 243, 0.56);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.soon__line {
  width: 48px;
  height: 1px;
  overflow: hidden;
  background: rgba(242, 244, 243, 0.2);
}

.soon__line::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  transform: translateX(-100%);
  background: var(--teal);
  animation: scan 3.2s ease-in-out infinite;
}

.brand,
h1,
.soon {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.is-ready .brand,
body.is-ready h1,
body.is-ready .soon {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready h1 {
  transition-delay: 0.08s;
}

body.is-ready .soon {
  transition-delay: 0.18s;
}

@keyframes scan {
  0%, 20% {
    transform: translateX(-100%);
  }
  55%, 100% {
    transform: translateX(100%);
  }
}

@media (max-width: 640px) {
  .slide {
    justify-content: flex-end;
    padding-bottom: 24vh;
  }

  h1 {
    font-size: clamp(54px, 17vw, 82px);
    line-height: 0.91;
  }

  .soon {
    right: auto;
    left: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .brand,
  h1,
  .soon {
    opacity: 1;
    transform: none;
  }
}
