@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700&display=swap");

:root {
  color-scheme: light;
  --ink: #111225;
  --muted: #6f7182;
  --line: rgba(17, 18, 37, 0.1);
  --surface: rgba(255, 255, 255, 0.58);
  --violet: #7755ee;
  --blue: #3e8cff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #f7f7fb;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96) 0 28%, rgba(248, 248, 252, 0.72) 62%, transparent 100%),
    #f7f7fb;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: min(48vw, 690px);
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.48;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}

.ambient--violet {
  top: -29%;
  left: -13%;
  background: radial-gradient(circle, rgba(135, 83, 255, 0.2), rgba(135, 83, 255, 0) 67%);
}

.ambient--blue {
  right: -12%;
  bottom: -34%;
  background: radial-gradient(circle, rgba(49, 137, 255, 0.24), rgba(49, 137, 255, 0) 67%);
  animation-delay: -8s;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    repeating-radial-gradient(circle at 18% 23%, rgba(19, 21, 46, 0.12) 0 0.35px, transparent 0.6px 3.5px),
    repeating-radial-gradient(circle at 72% 61%, rgba(64, 87, 171, 0.08) 0 0.3px, transparent 0.7px 4.2px);
  background-size: 23px 19px, 29px 31px;
  mix-blend-mode: multiply;
}

.launch {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: clamp(42px, 7vw, 92px) 24px 100px;
}

.launch__inner {
  display: flex;
  width: min(100%, 1120px);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  position: relative;
  display: grid;
  width: min(80vw, 680px);
  height: auto;
  margin-bottom: clamp(40px, 6vh, 64px);
  place-items: center;
  animation: appear 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand__logo {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  padding: 8px 13px;
  border: 1px solid rgba(118, 82, 235, 0.14);
  border-radius: 999px;
  color: #5f46bf;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 32px rgba(74, 45, 160, 0.06);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  animation: appear 0.9s 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 0 0 5px rgba(118, 82, 235, 0.09), 0 0 16px rgba(75, 123, 255, 0.6);
  animation: pulse 2.4s ease-in-out infinite;
}

h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 5.9vw, 5.85rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.98;
  text-wrap: balance;
  animation: appear 0.9s 0.21s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

h1 span {
  color: transparent;
  background: linear-gradient(100deg, #3b4ddb 5%, #7754ef 45%, #258ddf 95%);
  background-clip: text;
  -webkit-background-clip: text;
}

.contact {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  width: 218px;
  max-width: calc(100vw - 40px);
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
  padding: 15px 18px 15px 21px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(35, 34, 81, 0.07), inset 0 1px rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(16px);
  transition: width 1.45s cubic-bezier(0.45, 0, 0.55, 1) 50ms;
  will-change: width;
  animation: appear 0.9s 0.39s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.contact::before {
  position: absolute;
  top: -55%;
  left: -38%;
  z-index: 1;
  width: 23%;
  height: 210%;
  content: "";
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  transform: skewX(-18deg);
  transition:
    left 760ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 180ms ease;
  pointer-events: none;
}

.contact__label,
.contact__arrow {
  position: relative;
  z-index: 2;
}

.contact__arrow {
  display: grid;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 7px 17px rgba(77, 92, 225, 0.28);
}

.contact:hover {
  width: 282px;
}

.contact:hover::before {
  left: 118%;
  opacity: 0.9;
  transition-delay: 240ms;
}

.contact:active {
  transform: translateY(-1px);
}

.contact:focus-visible {
  outline: 3px solid rgba(70, 130, 255, 0.32);
  outline-offset: 4px;
}

footer {
  position: fixed;
  z-index: 3;
  right: clamp(22px, 4vw, 58px);
  bottom: clamp(22px, 4vw, 42px);
  left: clamp(22px, 4vw, 58px);
  display: flex;
  justify-content: flex-start;
  color: #9293a2;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  animation: appear 0.9s 0.48s ease both;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(0.96); }
  to { transform: translate3d(3%, 4%, 0) scale(1.08); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.75); opacity: 0.65; }
}

@media (max-width: 620px) {
  .launch {
    padding: 38px 20px 88px;
  }

  .brand {
    width: min(88vw, 440px);
    height: auto;
    margin-bottom: 38px;
  }

  h1 {
    font-size: clamp(2.8rem, 13.3vw, 4.45rem);
    line-height: 1.01;
  }

  .contact {
    margin-top: 30px;
  }

  footer {
    justify-content: center;
  }

}

@media (max-width: 620px) and (max-height: 660px) {
  .launch {
    padding-top: 26px;
    padding-bottom: 76px;
  }

  .brand {
    margin-bottom: 22px;
  }

  .eyebrow {
    margin-bottom: 17px;
  }

  h1 {
    font-size: clamp(2.55rem, 11.7vw, 3.4rem);
  }

  .contact {
    margin-top: 23px;
  }
}

@media (max-height: 700px) and (min-width: 621px) {
  .brand {
    margin-bottom: 28px;
  }

  .launch {
    padding-top: 32px;
    padding-bottom: 76px;
  }

  .contact {
    margin-top: 24px;
  }
}

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

  .contact {
    transition: width 1.45s cubic-bezier(0.45, 0, 0.55, 1) 100ms !important;
  }

  .contact::before {
    display: none;
  }
}
