.tango-cover {
  position: relative;
  z-index: 950;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 68px 18px 96px;
  background:
    radial-gradient(ellipse at 50% 46%, #17305a 5%, transparent 65%),
    linear-gradient(133deg, #1f4177 0%, #102440 47%, #15365d 77%, #1a455f 100%);
  color: #e8eef7;
  font-family: var(--lear-editorial);
}

.tango-cover::before,
.tango-cover::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(470px, 77vw, 1310px);
  aspect-ratio: 1;
  background: radial-gradient(circle closest-side,
    transparent 61%, #9dc9ff23 61.15% 61.45%, transparent 61.65% 71%,
    #a8d3ff46 71.15% 71.4%, #7fb8f424 71.6%, transparent 75% 81%,
    #b6e1ff50 81.15% 81.35%, transparent 81.55% 90%,
    #a9d6fc26 90.15% 90.4%, transparent 90.6%);
  pointer-events: none;
}

.tango-cover::before {
  top: -38%;
  left: -31%;
  mask-image: linear-gradient(140deg, #000 28%, transparent 78%);
}

.tango-cover::after {
  right: -34%;
  bottom: -42%;
  mask-image: linear-gradient(320deg, #000 30%, transparent 79%);
}

.tango-cover__light {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(1600px, 150vw);
  height: clamp(180px, 54vh, 500px);
  background: radial-gradient(ellipse, #8ccdff68 2%, #529bfa48 27%, #487eda27 46%, transparent 72%);
  transform: translate(-41%, -48%) rotate(-18deg);
  opacity: .76;
  pointer-events: none;
}

.tango-cover__center {
  width: min(81vw, 1060px);
  text-align: center;
}

.tango-cover__logo {
  display: block;
  width: 100%;
  height: auto;
}

.tango-cover__line {
  margin: clamp(22px, 4vh, 38px) auto 0;
  max-width: 60ch;
  color: #dbe8f8;
  font-size: clamp(.84rem, 1.4vw, 1.12rem);
  font-weight: 450;
  line-height: 1.6;
  letter-spacing: .055em;
  text-wrap: balance;
}

.tango-cover__line strong {
  color: #eef7ff;
  font-weight: 650;
  white-space: nowrap;
  text-shadow: 0 0 13px #91c5ff8c;
}

.tango-cover__tagline {
  max-width: 60ch;
  margin: 10px auto 0;
  color: #e8eef7;
  font-size: clamp(.86rem, 1.35vw, 1.1rem);
  font-weight: 550;
  line-height: 1.5;
  text-wrap: balance;
}

.tango-cover__tagline strong {
  display: inline-block;
  color: #bde1ff;
  font-weight: 650;
}

.tango-cover__next {
  position: absolute;
  bottom: max(clamp(22px, 5vh, 48px), env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #8aa7c171;
  border-radius: 50%;
  color: #cbdcf0;
  transform: translateX(-50%);
}

.tango-cover__next::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

.tango-cover__next:hover,
.tango-cover__next:focus-visible {
  border-color: currentColor;
  color: #fff;
}

#tango-landing {
  scroll-margin-top: 0;
}

@media (max-width: 600px) {
  .tango-cover::before {
    top: -26%;
    left: -57%;
  }

  .tango-cover::after {
    right: -59%;
    bottom: -22%;
  }

  .tango-cover__center {
    width: 90vw;
  }

  .tango-cover__line {
    max-width: 30ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.tango-cover) {
    scroll-behavior: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tango-cover::before,
  .tango-cover::after {
    animation: tango-cover-orbit 2.6s cubic-bezier(.15, .5, .35, 1) both;
  }

  .tango-cover__logo {
    animation: tango-cover-reveal .92s cubic-bezier(.2, .72, .3, 1) both;
  }

  .tango-cover__light {
    animation: tango-cover-sweep 2.65s cubic-bezier(.25, .65, .45, 1) both;
  }

  .tango-cover__line,
  .tango-cover__tagline {
    animation: tango-cover-caption .5s .38s ease-out both;
  }

  .tango-cover__line strong {
    animation: tango-cover-glow 1.8s .52s ease-in-out both;
  }
}

@supports (background-clip: text) {
  @media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
    .tango-cover__tagline strong {
      background: linear-gradient(108deg, #bde1ff 39%, #d9efff 46%, #fff 50%, #e7f5ff 54%, #bde1ff 61%) 100% center / 270% 100%;
      background-clip: text;
      color: transparent;
      animation: tango-cover-reflection .95s 1.45s ease-in-out both;
    }
  }
}

@keyframes tango-cover-orbit {
  from { transform: scale(.86); opacity: .65; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes tango-cover-reveal {
  from { clip-path: inset(48% 0 52%); opacity: .6; }
  to { clip-path: inset(0); opacity: 1; }
}

@keyframes tango-cover-sweep {
  0% { transform: translate(-78%, -12%) rotate(-22deg) scale(.93); opacity: .72; }
  44% { transform: translate(-56%, -41%) rotate(-20deg) scale(1.12); opacity: 1; }
  100% { transform: translate(-41%, -48%) rotate(-18deg); opacity: .76; }
}

@keyframes tango-cover-caption {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tango-cover-reflection {
  from { background-position: 100% center; }
  to { background-position: 0 center; }
}

@keyframes tango-cover-glow {
  0%, 100% { text-shadow: 0 0 10px #91c5ff5c; }
  55% { color: #fff; text-shadow: 0 0 7px #c2e6ff, 0 0 21px #73b9ff, 0 0 38px #3b85f2; }
}
