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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #02060f;
  font-family: "Funnel Display", sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.admin-bar .page {
  min-height: calc(100vh - 32px);
  min-height: calc(100svh - 32px);
}

@media screen and (max-width: 782px) {
  .admin-bar .page {
    min-height: calc(100vh - 46px);
    min-height: calc(100svh - 46px);
  }
}

.aurora-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
  filter: blur(30px) saturate(1.2);
  mix-blend-mode: screen;
}

.noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 20, 0.7) 100%);
  pointer-events: none;
}

.header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-top: 48px;
  flex-shrink: 0;
}

.logo,
.header .custom-logo {
  display: block;
  width: 163px;
  height: 80px;
  object-fit: contain;
}

.header .custom-logo-link,
.header__logo-link {
  display: block;
  line-height: 0;
}

.hero {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 88px;
  text-align: center;
}

.hero__label {
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: #fff;
}

.hero__title {
  margin: 0 0 24px;
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -1.792px;
  color: #fff;
}

.hero__title-accent {
  font-weight: 700;
  background: linear-gradient(90deg, #bdc9ef 0%, #6b85db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__text {
  margin: 0 0 40px;
  max-width: 520px;
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
  color: #fff;
}

.subscribe {
  position: relative;
  width: 424px;
  max-width: 100%;
  height: 56px;
  margin: 0 0 16px;
  border-radius: 16px;
  background: linear-gradient(90.5deg, rgba(23, 70, 234, 0.146) 9.95%, rgba(93, 215, 242, 0.2) 111.26%);
}

.subscribe::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.subscribe__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 140px 0 16px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  font-family: inherit;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: -0.504px;
  color: #fff;
  outline: none;
}

.subscribe__input::placeholder {
  color: #bababa;
  opacity: 1;
}

.subscribe__input:focus-visible {
  box-shadow: 0 0 0 1px rgba(93, 215, 242, 0.4);
}

.subscribe__button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 120px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #1746ea 0%, #0039ff 100%);
  box-shadow: inset 0 0 13px rgba(230, 230, 230, 0.25), 0 2px 7.2px 4px rgba(23, 70, 234, 0.2);
  cursor: pointer;
  font-family: "Funnel Display", sans-serif;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subscribe__button::before {
  content: "";
  position: absolute;
  top: 14.75px;
  right: 5.78px;
  bottom: 13.88px;
  left: 5.78px;
  background: #1746ea;
  filter: blur(21.4px);
  pointer-events: none;
}

.subscribe__button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(23, 70, 234, 0.73), #5dd7f2);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.subscribe__button-label {
  position: relative;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.448px;
  color: #fff;
}

.subscribe__button:disabled {
  cursor: default;
  opacity: 0.55;
  animation: none;
  transform: none;
}

.hero__note {
  position: relative;
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 16px;
  letter-spacing: -0.336px;
  color: #bababa;
}

.hero__note--empty {
  height: 0;
  line-height: 0;
}

.tf-cs-message {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90vw;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.336px;
  color: #9ec9f5;
}

.tf-cs-message:not(:empty) {
  animation: message-in 0.4s ease both;
}

@keyframes message-in {
  from {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.footer {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding-bottom: 58px;
}

.footer__link {
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
  color: #fff;
  text-decoration: underline;
  text-underline-position: from-font;
}

.footer__link:hover {
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .subscribe {
    background: linear-gradient(
      90.5deg,
      rgba(23, 70, 234, 0.146) 0%,
      rgba(93, 215, 242, 0.2) 50%,
      rgba(23, 70, 234, 0.146) 100%
    );
    background-size: 300% 100%;
    animation: shimmer 8s linear infinite;
  }

  .subscribe::before {
    background: linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.1) 25%,
      rgba(93, 215, 242, 0.45) 50%,
      rgba(255, 255, 255, 0.1) 75%,
      rgba(255, 255, 255, 0.28) 100%
    );
    background-size: 300% 300%;
    animation: shimmer 8s linear infinite;
  }

  .subscribe__button {
    animation: pulse 3.6s ease-in-out infinite;
  }

  .subscribe__button:hover {
    transform: translateY(-1px);
  }
}

@keyframes shimmer {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 300% 0%;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: inset 0 0 13px rgba(230, 230, 230, 0.25), 0 2px 7.2px 4px rgba(23, 70, 234, 0.2),
      0 0 28px rgba(23, 70, 234, 0.35);
  }
  50% {
    box-shadow: inset 0 0 13px rgba(230, 230, 230, 0.25), 0 2px 7.2px 4px rgba(23, 70, 234, 0.2),
      0 0 48px rgba(23, 70, 234, 0.55);
  }
}

@media (max-width: 820px) {
  .hero__title {
    font-size: 44px;
    line-height: 1.1;
    letter-spacing: -1.2px;
  }
}

@media (max-width: 560px) {
  .header {
    padding-top: 28px;
  }

  .logo,
  .header .custom-logo {
    width: 104px;
    height: auto;
  }

  .hero {
    padding: 32px 24px 56px;
  }

  .hero__label {
    margin-bottom: 14px;
    font-size: 10px;
    line-height: 13px;
    letter-spacing: 2.4px;
  }

  .hero__title {
    margin-bottom: 14px;
    font-size: 32px;
  }

  .hero__text {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 21px;
    max-width: 340px;
  }

  .subscribe {
    height: 48px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .subscribe::before {
    border-radius: 14px;
  }

  .subscribe__input {
    padding: 0 116px 0 16px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: -0.35px;
  }

  .subscribe__button {
    top: 6px;
    right: 6px;
    width: 102px;
    height: 36px;
    border-radius: 10px;
  }

  .subscribe__button::after {
    border-radius: 10px;
  }

  .subscribe__button::before {
    top: 9px;
    bottom: 9px;
    filter: blur(16px);
  }

  .subscribe__button-label {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.35px;
  }

  .hero__note {
    font-size: 11px;
    line-height: 15px;
  }

  .tf-cs-message {
    top: calc(100% + 8px);
    font-size: 13px;
    line-height: 18px;
  }

  .footer {
    padding-bottom: 32px;
  }

  .footer__link {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero__title {
    font-size: 30px;
  }

  .subscribe__input {
    padding: 0 108px 0 14px;
  }

  .subscribe__button {
    width: 96px;
  }
}
