@font-face {
  font-family: Urbanist;
  src: url("assets/urbanist.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #190d24;
  font-family: Urbanist, "Century Gothic", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

html, body {
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

.scene {
  --headline-mobile-size: 10.4vw;
  position: relative;
  isolation: isolate;
  inline-size: 100%;
  block-size: 100vh;
  block-size: 100dvh;
  overflow: hidden;
  overflow: clip;
  background: #190d24;
}

.scene--ag { --headline-mobile-size: 9.55vw; }

.orbs {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  inset-inline-start: var(--x);
  inset-block-start: var(--y);
  inline-size: var(--size);
  aspect-ratio: 1;
  border: 1px solid rgb(235 209 255 / var(--edge, 0.15));
  border-radius: 50%;
  translate: -50% -50%;
  background:
    radial-gradient(ellipse at 87% 1%, rgb(241 207 255 / 0.20), transparent 67%),
    linear-gradient(36deg, rgb(121 219 223 / 0.32), rgb(91 29 132 / 0.42) 50%, rgb(143 103 169 / 0.21) 100%);
  box-shadow: inset 0 0 1.1rem rgb(224 190 255 / 0.08), 0 0.55rem 1.9rem rgb(8 2 18 / 0.16);
  animation: float var(--duration, 12s) var(--delay, 0s) ease-in-out infinite alternate;
}

.orb--ring::after {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgb(229 201 253 / 0.12);
  border-radius: inherit;
}

.orb--upper-left       { --x: 6.6%; --y: 14.5%; --size: 12.8vmin; --dx: 0.9rem; --dy: 1.15rem; --duration: 12s; --delay: -3s; }
.orb--upper-left-small { --x: 13.1%; --y: 7.2%; --size: 5.9vmin; --dx: -0.7rem; --dy: 0.9rem; --duration: 8s; --delay: -5s; }
.orb--upper-right-small { --x: 88%; --y: 6.7%; --size: 4vmin; --dx: 0.65rem; --dy: 0.85rem; --duration: 9s; --delay: -3s; }
.orb--upper-right      { --x: 79.3%; --y: 26%; --size: 12.9vmin; --dx: -1.05rem; --dy: 1.05rem; --duration: 14s; --delay: -5s; }
.orb--large            { --x: 91%; --y: 33%; --size: 37.7vmin; --dx: 1.35rem; --dy: 1.3rem; --duration: 16s; --delay: -7s; --edge: 0.39; }
.orb--middle-right     { --x: 82%; --y: 59%; --size: 12.8vmin; --dx: -1.15rem; --dy: 1.1rem; --duration: 12s; --delay: -6s; }
.orb--middle-right-small { --x: 89%; --y: 56%; --size: 6.9vmin; --dx: 0.65rem; --dy: 0.65rem; --duration: 9s; --delay: -5s; }
.orb--edge-right       { --x: 96.5%; --y: 67%; --size: 4vmin; --dx: -0.75rem; --dy: 0.95rem; --duration: 8s; --delay: -1s; }
.orb--lower-left-small { --x: 4.5%; --y: 83.4%; --size: 3.9vmin; --dx: 0.6rem; --dy: 0.8rem; --duration: 9s; --delay: -2s; }
.orb--lower-left       { --x: 2.7%; --y: 95.6%; --size: 6.9vmin; --dx: 0.8rem; --dy: 0.9rem; --duration: 11s; --delay: -6s; }
.orb--lower-left-end   { --x: 8.2%; --y: 93.5%; --size: 4vmin; --dx: 0.85rem; --dy: 0.95rem; --duration: 10s; --delay: -2s; }

@keyframes float {
  0%   { transform: translate3d(0, 0, 0) scale(0.97) rotate(-7deg); }
  55%  { transform: translate3d(var(--dx), calc(var(--dy) * -0.5), 0) scale(1.035) rotate(3deg); }
  100% { transform: translate3d(calc(var(--dx) * -0.6), calc(var(--dy) * -1), 0) scale(1.01) rotate(11deg); }
}

.hero {
  display: grid;
  min-inline-size: 0;
  block-size: 100%;
  grid-template: minmax(min-content, 1fr) auto minmax(min-content, 1fr) / minmax(0, 1fr);
  justify-items: center;
  row-gap: clamp(0.5rem, 1.8vmin, 1rem);
  padding-inline: max(0.9rem, env(safe-area-inset-left), env(safe-area-inset-right));
  padding-block-start: calc(env(safe-area-inset-top, 0px) + clamp(0.75rem, 2.5vmin, 1.5rem));
  padding-block-end: calc(env(safe-area-inset-bottom, 0px) + clamp(0.65rem, 2.3vmin, 1.35rem));
  text-align: center;
}

.brand {
  display: block;
  align-self: start;
  inline-size: clamp(8rem, 25vw, 24rem);
  inline-size: clamp(8rem, min(25vw, 47dvh), 24rem);
  block-size: auto;
}

.hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.15rem, 5vmin, 3.4rem);
}

.headline {
  display: grid;
  justify-items: center;
  margin: 0;
  color: #fffafc;
  font-size: clamp(1.65rem, 6vw, 6.15rem);
  font-size: clamp(1.65rem, min(6vw, 10.5dvh), 6.15rem);
  font-weight: 820;
  line-height: 1.045;
  letter-spacing: -0.021em;
}

.headline__line {
  display: block;
  padding-inline: 0.025em;
  white-space: nowrap;
  color: var(--base);
}

.headline__line--white { --base: #fffafd; --shine: #e6c6ff; --tint: #f1e0ff; --phase: -1s; }
.headline__line--lilac { --base: #e1b4ef; --shine: #f8e3ff; --tint: #d3a9f6; --phase: -0.55s; }
.headline__line--mint  { --base: #a1e7e2; --shine: #e0fff8; --tint: #a9dbf2; --phase: -0.1s; }

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .headline__line {
    background-image: linear-gradient(106deg, var(--base) 31%, var(--tint) 43%, var(--shine) 50%, var(--tint) 57%, var(--base) 69%);
    background-size: 290% 100%;
    background-color: var(--base);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradient-pass 8s var(--phase) linear infinite;
  }
}

@keyframes gradient-pass {
  0%, 13% { background-position: 100% 50%; }
  80%, 100% { background-position: 0% 50%; }
}

.contact {
  display: inline-flex;
  min-block-size: 3.35rem;
  flex: none;
  align-items: center;
  gap: 0.8rem;
  padding: 0.4rem 0.43rem 0.4rem 1.15rem;
  border: 1px solid rgb(246 225 255 / 0.8);
  border-radius: 999px;
  background: linear-gradient(112deg, #dfb5f2, #ebd1fa 52%, #c8b5f1 100%);
  box-shadow: 0 0.65rem 2.2rem rgb(153 86 203 / 0.25), inset 0 1px 0 rgb(255 255 255 / 0.35);
  color: #291536;
  font-size: 1rem;
  font-weight: 770;
  line-height: 1.1;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.contact__arrow {
  display: grid;
  inline-size: 2.45rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: rgb(46 22 65 / 0.11);
  font-family: system-ui, sans-serif;
  font-size: 1.2rem;
  line-height: 1;
  transition: background-color 220ms ease;
}

.launch-progress {
  --fill: linear-gradient(100deg, #bd8ce9 0%, #e3bbf5 43%, #b9d4f6 72%, #a2e9df 100%);
  position: relative;
  align-self: end;
  inline-size: min(100%, 20rem);
  padding: 0.77rem 0.9rem 0.87rem;
  border: 1px solid rgb(232 200 255 / 0.15);
  border-radius: 0.95rem;
  background: linear-gradient(132deg, rgb(187 139 224 / 0.10), rgb(177 172 230 / 0.035));
  box-shadow: inset 0 1px 0 rgb(249 228 255 / 0.045), 0 0.5rem 1.7rem rgb(9 3 16 / 0.16);
}

.launch-progress__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-block-end: 0.55rem;
  color: #f3e6fb;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.15;
  text-align: start;
}

.launch-progress__percentage {
  color: #b4f0e8;
  font-size: 1rem;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}

.launch-progress__track {
  display: block;
  position: relative;
  inline-size: 100%;
  block-size: 0.38rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: rgb(226 194 246 / 0.16);
  accent-color: #c0a3ef;
  animation: progress-glow 4.5s ease-in-out infinite alternate;
}

.launch-progress__track::-webkit-progress-bar {
  border-radius: inherit;
  background: transparent;
}

.launch-progress__track::-webkit-progress-value {
  border-radius: inherit;
  background: var(--fill);
  box-shadow: 0 0 0.55rem rgb(193 165 250 / 0.46);
}

.launch-progress__track::-moz-progress-bar {
  border-radius: inherit;
  background: var(--fill);
  box-shadow: 0 0 0.55rem rgb(193 165 250 / 0.46);
}

@keyframes progress-glow {
  from { filter: brightness(1); }
  to { filter: brightness(1.22); }
}

@media (hover: hover) and (pointer: fine) {
  .orbs {
    transform: translate3d(var(--pointer-x, 0px), var(--pointer-y, 0px), 0);
    transition: transform 600ms cubic-bezier(0.2, 0.65, 0.28, 1);
  }

  .contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.8rem 2.6rem rgb(181 116 226 / 0.36), inset 0 1px 0 rgb(255 255 255 / 0.65);
  }

  .contact:hover .contact__arrow { background-color: rgb(46 22 65 / 0.19); }
}

.contact:active { transform: translateY(1px); }
.contact:focus-visible { outline: 2px solid #b7f4ee; outline-offset: 5px; }

@media (max-width: 700px) and (orientation: portrait) {
  .brand { inline-size: clamp(8rem, 44vw, 15rem); }
  .hero__center { gap: clamp(1.5rem, 7.6vw, 3.25rem); }
  .headline {
    font-size: clamp(1.45rem, var(--headline-mobile-size), 4.35rem);
    font-size: clamp(1.45rem, min(var(--headline-mobile-size), 10dvh), 4.35rem);
  }
  .launch-progress { inline-size: min(100%, 18rem); }

  .orb--upper-left       { --x: 9%; --y: 12%; --size: 17vmin; }
  .orb--upper-left-small { --x: 24%; --y: 7%; --size: 7vmin; }
  .orb--upper-right-small { --x: 76%; --y: 9%; --size: 4.5vmin; }
  .orb--upper-right      { --x: 76%; --y: 20%; --size: 14vmin; }
  .orb--large            { --x: 109%; --y: 23%; --size: 43vmin; }
  .orb--middle-right     { --x: 98%; --y: 71%; --size: 15vmin; }
  .orb--middle-right-small { --x: 84%; --y: 75%; --size: 7vmin; }
  .orb--edge-right       { --x: 94%; --y: 84%; --size: 4.5vmin; }
  .orb--lower-left-small { --x: 12%; --y: 82%; --size: 5vmin; }
  .orb--lower-left       { --x: 1%; --y: 95%; --size: 15vmin; }
  .orb--lower-left-end   { --x: 20%; --y: 93%; --size: 6vmin; }
}

@media (max-height: 460px) {
  .brand { inline-size: clamp(7rem, 22vw, 12rem); }
  .hero__center { gap: clamp(0.65rem, 5vmin, 1.5rem); }
  .headline {
    font-size: clamp(1.35rem, min(8.5vw, 10vh), 3.8rem);
    font-size: clamp(1.35rem, min(8.5vw, 10dvh), 3.8rem);
  }
  .contact { min-block-size: 2.85rem; }
  .contact__arrow { inline-size: 1.95rem; }
  .launch-progress {
    inline-size: min(100%, 18rem);
    padding: 0.47rem 0.7rem 0.52rem;
  }
  .launch-progress__heading { margin-block-end: 0.32rem; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .headline__line, .launch-progress__track { animation: none; }
  .orbs, .contact, .contact__arrow { transition: none; }
  .orbs, .contact:hover, .contact:active { transform: none; }
}

@media (forced-colors: active) {
  .headline__line { background: none; color: CanvasText; }
  .contact { border-color: LinkText; }
  .launch-progress { border-color: CanvasText; }
  .launch-progress__track { appearance: auto; -webkit-appearance: auto; filter: none; }
}
