body {
  background-color: rgba(63, 50, 241, 1);
}

.wrapper-outer {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.bkgd-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.bkgd-img.intro,
.bkgd-img.landing {
  opacity: 0;
}

.bkgd-img.desktop {
  display: none;
}

.wrapper-anim {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 32px 20px 64px;
}

.anim-logo {
  width: min(92vw, 780px);
  margin-bottom: 4vh;
}

.anim-text {
  padding-top: 10px;
  display: flex;
  justify-self: start;
  align-items: center;
}

.logo-text {
  width: 100%;
  opacity: 0;
}

.logo-text path {
  fill: #f0eee1;
}

.text-mask {
  grid-column: 1 / span 1;
  grid-row: 1 / span 1;
}

.btn-cta {
  font-size: 16px;
  text-decoration: none;
  line-height: 1;
  color: white;
  width: 174px;
  height: 40px;
  background-color: rgba(63, 50, 241, 1);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  transition: background-color 175ms ease-in-out;
  z-index: 2;
}

.btn-cta span {
  opacity: 0;
}

.mousetype {
  font-size: 11px;
  text-transform: uppercase;
  color: white;
  opacity: 0.5;
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
  max-width: calc(100vw - 24px);
  z-index: 2;
}

.footer-links {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  width: min(720px, calc(100vw - 36px));
  font-size: 10px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}

.footer-links a {
  color: rgba(240, 238, 225, 0.68);
  text-decoration: none;
  transition: color 175ms ease-in-out;
}

@media screen and (min-width: 700px) {
  .anim-intro {
    width: 70vw;
    gap: 20px;
  }

  .wrapper-anim {
    padding: 36px 28px 76px;
  }
}

@media screen and (min-width: 1024px) {
  .bkgd-img.desktop {
    display: block;
  }

  .bkgd-img.mobile {
    display: none;
  }

  .anim-logo {
    width: min(86vw, 900px);
    max-width: 900px;
  }

  .wrapper-anim {
    padding-bottom: 84px;
  }
}

@media screen and (min-width: 1200px) {
  .anim-intro {
    width: 100vw;
    gap: 30px;
  }
}

@media screen and (max-width: 699px) {
  .wrapper-outer {
    min-height: 100svh;
    height: 100svh;
  }

  .wrapper-anim {
    height: 100svh;
    padding: 26px 18px 78px;
  }

  .anim-logo {
    width: min(90vw, 520px);
    margin-bottom: 1vh;
  }

  .btn-cta {
    bottom: 98px;
    width: min(174px, calc(100vw - 48px));
  }

  .footer-links {
    bottom: 50px;
    gap: 6px 12px;
    font-size: 9px;
    width: min(360px, calc(100vw - 28px));
  }

  .mousetype {
    bottom: 12px;
    white-space: normal;
  }
}

@media screen and (max-height: 740px) {
  .wrapper-anim {
    padding-top: 22px;
    padding-bottom: 76px;
  }

  .anim-logo {
    width: min(72vw, 560px);
    margin-bottom: 0;
  }

  .btn-cta {
    bottom: 88px;
  }

  .footer-links {
    bottom: 44px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover {
    background-color: rgba(75, 62, 255, 1);
  }

  .footer-links a:hover {
    color: rgba(240, 238, 225, 1);
  }
}
