:root {
  color-scheme: dark;
  --bg: #020202;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --line: rgba(255, 255, 255, 0.82);
  --pink: #ff9eed;
  --pink-strong: #ff6bdc;
  --shadow: rgba(0, 0, 0, 0.48);
  --display-weight: 800;
  font-family: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: auto;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

.qa-slide-mode,
.qa-slide-mode body {
  overflow: hidden;
}

.qa-slide-mode .launch {
  min-height: 100svh;
}

.qa-slide-mode .scroll-stage {
  position: fixed;
  inset: 0;
}

.qa-slide-mode .intro-video-scene {
  display: none;
}

.qa-slide-mode .design-canvas {
  opacity: 1;
  visibility: visible;
}

.qa-slide-mode .phrase.is-active,
.qa-slide-mode .phrase.is-active .phrase-caption,
.qa-slide-mode .phrase.is-active span,
.qa-slide-mode .phrase.is-active::after,
.qa-slide-mode .front-phrase.is-active,
.qa-slide-mode .front-gradient {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate3d(0, 0, 0) !important;
}

.qa-slide-mode .phrase.is-active span:last-of-type {
  opacity: 0 !important;
}

button,
input {
  font: inherit;
}

.launch {
  position: relative;
  min-height: 300svh;
  background: var(--bg);
}

.scroll-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.96) 52%, rgba(0, 0, 0, 1));
}

.intro-video-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.intro-video-scene {
  z-index: 20;
  opacity: 1;
  transform: translate3d(0, calc(var(--intro-exit, 0) * -112%), 0);
  transition: transform 820ms cubic-bezier(0.65, 0.05, 0.36, 1);
  pointer-events: none;
  will-change: transform;
  visibility: var(--intro-visibility, visible);
}

.intro-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.intro-shade {
  display: none;
}

.intro-mark {
  position: absolute;
  top: clamp(28px, 6vh, 67px);
  left: clamp(28px, 6.4vw, 111px);
  margin: 0;
  width: clamp(82px, 8vw, 154px);
  height: auto;
}

.design-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1728px;
  height: 1117px;
  transform: translate(-50%, -50%) scale(var(--stage-scale, 1));
  transform-origin: center center;
  opacity: var(--letters-opacity, 0);
  visibility: var(--letters-visibility, hidden);
  transition:
    opacity 720ms cubic-bezier(0.65, 0.05, 0.36, 1),
    visibility 720ms step-end;
  contain: layout paint style;
}

@media (min-width: 621px) {
  .design-canvas {
    top: 50%;
  }
}

.topbar {
  position: absolute;
  top: 67px;
  left: 111px;
  z-index: 10;
  display: grid;
  grid-template-columns: 91px 1403px;
  gap: 20px;
  align-items: center;
  width: 1514px;
}

.brand {
  margin: 0;
  display: block;
  width: 91px;
  height: auto;
}

.topbar span {
  height: 2px;
  background: var(--line);
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.letter-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  pointer-events: none;
  display: none;
}

.letter {
  position: absolute;
  bottom: -18vh;
  color: rgba(255, 255, 255, 0.13);
  font-size: clamp(440px, 50vw, 820px);
  font-weight: var(--display-weight);
  line-height: 0.75;
  letter-spacing: 0;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.letter-a {
  left: -6vw;
}

.letter-b {
  left: 34vw;
}

.letter-c {
  right: -18vw;
}

.brand-rhythm {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.38;
  pointer-events: none;
  display: none;
}

.brand-rhythm span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: block;
  width: var(--w);
  height: var(--h);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.74);
  animation: brandPulse 2.4s steps(1, end) infinite;
  animation-delay: calc(var(--d) * -1);
  will-change: opacity, transform;
}

.brand-rhythm img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scroll-copy {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.phrase {
  position: absolute;
  z-index: auto;
  inset: 0;
  margin: 0;
  color: var(--accent);
  font-family: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 294px;
  font-weight: var(--display-weight);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.phrase::before {
  content: none;
}

.phrase:nth-child(1)::after {
  position: absolute;
  top: 201px;
  left: 64px;
  z-index: 2;
  color: rgba(167, 255, 183, 0.1);
  font-size: 1.25em;
  line-height: 0.78;
  content: "INSPIRED";
  opacity: 0;
  transform: translate3d(0, 120%, 0);
  transition:
    opacity 0.8s cubic-bezier(0.65, 0.05, 0.36, 1),
    transform 1s cubic-bezier(0.65, 0.05, 0.36, 1);
  transition-delay: 0.18s;
  pointer-events: none;
}

.phrase:nth-child(1).is-ready::after {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.phrase span {
  position: relative;
  position: absolute;
  display: block;
  white-space: nowrap;
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.65, 0.05, 0.36, 1),
    transform 1s cubic-bezier(0.65, 0.05, 0.36, 1);
  text-shadow: 0 18px 42px rgba(167, 255, 183, 0.16);
  will-change: opacity, transform;
}

.phrase span:first-of-type {
  z-index: 4;
  transform: translate3d(0, 120%, 0);
  transition-delay: 0.32s;
}

.phrase span:last-of-type {
  z-index: 4;
  transform: translate3d(0, 120%, 0);
  transition-delay: 0.48s;
}

.phrase-caption {
  position: absolute;
  top: 338px;
  left: 108px;
  z-index: 9;
  display: grid;
  gap: 20px;
  max-width: 310px;
  color: var(--accent);
  font-style: normal;
  text-transform: none;
  opacity: 0;
  transform: translate3d(0, 80%, 0);
  transition:
    opacity 0.75s cubic-bezier(0.65, 0.05, 0.36, 1),
    transform 0.95s cubic-bezier(0.65, 0.05, 0.36, 1);
  transition-delay: 0.26s;
}

.phrase-caption strong {
  display: block;
  font-size: 54px;
  font-weight: var(--display-weight);
  line-height: 0.98;
  letter-spacing: 0;
}

.phrase-caption small {
  display: block;
  font-family: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.phrase.is-ready .phrase-caption {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.phrase:nth-child(1) span:first-of-type {
  top: 504px;
  left: 72px;
  font-size: 1.25em;
}

.phrase:nth-child(1) span:last-of-type {
  top: 790px;
  left: 72px;
  font-size: 1.3em;
  opacity: 0;
}

.phrase:nth-child(1) span:first-of-type::after {
  position: absolute;
  top: -6px;
  left: 1385px;
  z-index: 5;
  color: inherit;
  content: "GET";
}

.phrase:nth-child(2) span:first-of-type {
  top: 470px;
  left: -520px;
}

.phrase:nth-child(2) span:last-of-type {
  top: 767px;
  left: 0;
}

.phrase:nth-child(2)::after {
  position: absolute;
  top: 196px;
  left: 6px;
  z-index: 3;
  color: rgba(234, 162, 255, 0.1);
  font-size: 1.24em;
  line-height: 0.78;
  content: "TRY IT ON";
  opacity: 0;
  transform: translate3d(0, 120%, 0);
  transition:
    opacity 0.8s cubic-bezier(0.65, 0.05, 0.36, 1),
    transform 1s cubic-bezier(0.65, 0.05, 0.36, 1);
  transition-delay: 0.18s;
  pointer-events: none;
}

.phrase:nth-child(2) .phrase-caption {
  top: 338px;
  left: 120px;
}

.phrase:nth-child(2).is-ready::after {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.phrase:nth-child(2) span:first-of-type {
  top: 509px;
  left: -520px;
  font-size: 1.18em;
}

.phrase:nth-child(2) span:last-of-type {
  top: 753px;
  left: 0;
  font-size: 1.24em;
  opacity: 0;
}

.phrase.is-active {
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0);
}

.phrase.is-ready span {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.phrase.is-ready span:first-of-type {
  opacity: 0.68;
}

.phrase.is-ready span:last-of-type {
  opacity: 0;
}

.phone-stage {
  position: absolute;
  top: 195px;
  left: 889px;
  z-index: 12;
  display: grid;
  justify-items: center;
  align-items: center;
  transform: translate3d(0, 0, 0);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.front-gradient {
  position: absolute;
  top: 668px;
  left: -279px;
  z-index: 18;
  width: 2322px;
  height: 449px;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.18) 18%,
      rgba(0, 0, 0, 0.72) 56%,
      rgba(0, 0, 0, 0.96) 100%
    );
  opacity: calc(var(--letters-opacity, 0) * 0.96);
  pointer-events: none;
}

.front-copy {
  position: absolute;
  inset: 0;
  z-index: 20;
  font-family: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: var(--display-weight);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  pointer-events: none;
}

.front-phrase {
  position: absolute;
  display: block;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 76px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.65, 0.05, 0.36, 1),
    transform 0.95s cubic-bezier(0.65, 0.05, 0.36, 1),
    visibility 0.8s step-end;
  will-change: opacity, transform;
}

.front-phrase:nth-child(1) {
  top: 790px;
  left: 98px;
  color: #a7ffb7;
  font-size: 370px;
}

.front-phrase:nth-child(2) {
  top: 785px;
  left: 6px;
  color: #eaa2ff;
  font-size: 388px;
}

.phrase:nth-child(2) span:first-of-type::after {
  position: absolute;
  top: 0;
  left: 2000px;
  z-index: 5;
  color: inherit;
  content: "TRY IT ON";
}

.front-phrase.is-active {
  visibility: visible;
}

.front-phrase.is-ready {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.phone-shell {
  position: relative;
  width: 531px;
  aspect-ratio: 532 / 922;
  overflow: visible;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.44));
  transform: translate3d(calc(var(--parallax-x, 0px) * -0.32), calc(var(--parallax-y, 0px) * -0.24), 0);
}

.phone-shell::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  content: "";
  background: url("./assets/figma-phone-2467.png") center / 100% 100% no-repeat;
  pointer-events: none;
}

.phone-shell::after {
  position: absolute;
  top: 3.05%;
  left: 4.45%;
  z-index: 3;
  width: 90.42%;
  height: 94.36%;
  border-radius: 35px;
  content: "";
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0.74) 74%,
      rgba(0, 0, 0, 1) 100%
    );
  pointer-events: none;
}

.phone-speaker {
  display: none;
}

.phone-speaker::after {
  content: none;
}

.phone-poster,
.phone-video {
  display: block;
  position: absolute;
  top: 3.05%;
  left: 4.45%;
  width: 90.42%;
  height: 94.36%;
  object-fit: cover;
  overflow: hidden;
  border: 0;
  border-radius: 35px;
  background: #151515;
  box-shadow: none;
}

.phone-poster {
  z-index: 2;
  pointer-events: none;
}

.phone-video {
  z-index: 1;
}

.email-chip {
  display: none;
}

.signup {
  position: absolute;
  top: 476px;
  left: 108px;
  z-index: 35;
  display: grid;
  gap: 9px;
  width: 360px;
  transform: translateY(calc(var(--scroll-progress, 0) * -18px));
  transition:
    opacity 380ms ease,
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 380ms step-end;
}

.launch[data-slide="0"] .signup {
  opacity: 1;
  visibility: visible;
}

.launch[data-slide="1"] .signup,
.qa-slide-mode .launch[data-slide="1"] .signup {
  display: grid !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  min-height: 50px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.input-wrap:focus-within {
  box-shadow: 0 12px 30px rgba(255, 107, 220, 0.18);
  transform: translateY(-1px);
}

.signup input {
  min-width: 0;
  width: 100%;
  border: 0;
  padding: 0 17px;
  outline: 0;
  color: #090909;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
}

.signup input::placeholder {
  color: #151515;
  opacity: 1;
}

.signup button {
  display: block;
  min-width: 124px;
  border: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0 18px;
  color: #050505;
  font-size: 13px;
  font-weight: 600;
  background: var(--pink);
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.signup button:hover {
  background: var(--pink-strong);
}

.signup button:active {
  transform: scale(0.98);
}

.hint {
  display: none;
  min-height: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  transition: color 180ms ease;
}

.signup[data-state="error"] .input-wrap {
  box-shadow: 0 12px 30px rgba(255, 91, 120, 0.2);
}

.signup[data-state="error"] .hint {
  color: #ff9aad;
}

.signup[data-state="success"] .input-wrap {
  box-shadow: 0 12px 30px rgba(141, 247, 197, 0.16);
}

.signup[data-state="success"] .hint {
  color: #a9ffd6;
}

.scroll-hint {
  position: absolute;
  right: clamp(28px, 4.8vw, 70px);
  bottom: 26px;
  z-index: 8;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: calc(1 - var(--scroll-progress, 0) * 2);
}

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

@keyframes brandPulse {
  0%,
  7%,
  19%,
  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.74);
  }

  8% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1.08);
  }
}

@media (max-width: 980px) {
  .brand-rhythm span {
    width: calc(var(--w) * 0.76);
    height: calc(var(--h) * 0.76);
  }
}

@media (max-width: 620px) {
  .launch {
    min-height: 300svh;
  }

  .scroll-stage {
    min-height: 100svh;
  }

  .intro-video-scene {
    transform: none;
  }

  .design-canvas {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    transform: none;
  }

  .brand {
    font-size: 31px;
  }

  .topbar {
    top: 28px;
    left: 20px;
    width: calc(100vw - 40px);
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .topbar span {
    width: auto;
  }

  .phrase {
    inset: 0;
    font-size: clamp(72px, 29vw, 124px);
    line-height: 0.82;
  }

  .phrase::before {
    top: 52svh;
    left: -18vw;
    width: 136vw;
    height: 36svh;
  }

  .phrase-caption,
  .phrase:nth-child(2) .phrase-caption {
    top: 22svh;
    left: 20px;
    max-width: 58vw;
    gap: 12px;
  }

  .phrase-caption strong {
    font-size: clamp(30px, 9vw, 46px);
    line-height: 0.96;
  }

  .phrase-caption small {
    font-size: 13px;
    line-height: 1.12;
  }

  .phrase:nth-child(1) span:first-of-type,
  .phrase:nth-child(2) span:first-of-type {
    top: 50svh;
    left: -42vw;
  }

  .phrase:nth-child(1) span:last-of-type,
  .phrase:nth-child(2) span:last-of-type {
    top: 64svh;
    left: -8vw;
  }

  .front-gradient {
    top: 52svh;
    left: -18vw;
    width: 136vw;
    height: 36svh;
  }

  .front-copy {
    font-size: clamp(72px, 29vw, 124px);
    line-height: 0.82;
  }

  .front-phrase:nth-child(1),
  .front-phrase:nth-child(2) {
    top: 64svh;
    left: -8vw;
    font-size: inherit;
  }

  .phrase span:first-of-type,
  .phrase span:last-of-type {
    transform: translate3d(0, 120%, 0);
  }

  .phrase.is-active span:first-of-type,
  .phrase.is-active span:last-of-type {
    transform: translate3d(0, 120%, 0);
  }

  .phrase.is-ready span:first-of-type,
  .phrase.is-ready span:last-of-type {
    transform: translate3d(0, 0, 0);
  }

  .phone-stage {
    top: 29svh;
    left: 50%;
    transform: translateX(-50%);
  }

  .phone-shell {
    width: min(64vw, 270px);
  }

  .phone-shell::before {
    inset: 0;
  }

  .phone-video {
    border-radius: 33px;
  }

  .signup {
    top: auto;
    bottom: 8svh;
    left: 18px;
    width: calc(100vw - 36px);
  }

  .email-chip {
    display: none;
  }

  .launch[data-slide="0"] .signup {
    opacity: 1;
    visibility: visible;
  }

  .input-wrap {
    grid-template-columns: 1fr;
  }

  .signup input {
    min-height: 50px;
  }

  .signup button {
    display: block;
    min-height: 48px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 0;
  }

  .hint {
    display: block;
    max-width: 100%;
    font-size: 11px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .brand-rhythm span {
    width: calc(var(--w) * 0.58);
    height: calc(var(--h) * 0.58);
  }

  .brand-rhythm span:nth-child(2n) {
    display: none;
  }

  .scroll-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .brand-rhythm span {
    animation: brandPulse 2.4s steps(1, end) infinite !important;
  }
}
