.wc-brand-intro {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 32px;
  background:
    radial-gradient(circle at 18% 12%, rgba(56, 58, 231, .16), transparent 34%),
    radial-gradient(circle at 84% 82%, rgba(14, 165, 233, .2), transparent 38%),
    linear-gradient(145deg, #ffffff 0%, #f4f8ff 48%, #edf6ff 100%);
  opacity: 1;
  visibility: visible;
  cursor: pointer;
  isolation: isolate;
}

html.wc-brand-intro-active,
html.wc-brand-intro-active body {
  overflow: hidden;
}

html.wc-brand-intro-seen .wc-brand-intro,
.wc-brand-intro.is-hidden {
  display: none;
}

.wc-brand-intro.is-leaving {
  pointer-events: none;
  animation: wcBrandIntroLeave .42s cubic-bezier(.4, 0, .2, 1) forwards;
}

.wc-brand-intro__ambient {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  opacity: .55;
  animation: wcBrandAmbient 3.8s ease-in-out infinite alternate;
}

.wc-brand-intro__ambient--one {
  width: min(44vw, 620px);
  aspect-ratio: 1;
  top: -24%;
  left: -10%;
  background: radial-gradient(circle, rgba(99, 102, 241, .22), transparent 68%);
}

.wc-brand-intro__ambient--two {
  width: min(40vw, 560px);
  aspect-ratio: 1;
  right: -8%;
  bottom: -28%;
  animation-delay: -.8s;
  background: radial-gradient(circle, rgba(14, 165, 233, .24), transparent 68%);
}

.wc-brand-intro__content {
  width: min(760px, 88vw);
  text-align: center;
  animation: wcBrandContentIn .88s cubic-bezier(.2, .8, .2, 1) both;
}

.wc-brand-intro__logo-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.wc-brand-intro__logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(15, 23, 42, .12));
  animation: wcBrandLogoIn .9s cubic-bezier(.16, 1, .3, 1) both;
}

.wc-brand-intro__shine {
  position: absolute;
  inset: -35% auto -35% -32%;
  width: 22%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
  filter: blur(2px);
  animation: wcBrandShine .8s .48s ease-in-out both;
}

.wc-brand-intro__rule {
  width: min(420px, 58vw);
  height: 2px;
  margin: clamp(18px, 3vw, 28px) auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, .22);
}

.wc-brand-intro__rule span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, #383ae7, #0ea5e9);
  animation: wcBrandRuleIn .7s .38s cubic-bezier(.22, 1, .36, 1) both;
}

.wc-brand-intro__content p {
  margin: 14px 0 0;
  color: #52627a;
  font: 800 clamp(10px, 1.8vw, 13px)/1.4 'Poppins', Arial, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: 0;
  animation: wcBrandTaglineIn .55s .56s ease-out forwards;
}

.wc-brand-intro__content p span {
  margin-inline: .35em;
  color: #0ea5e9;
}

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

@keyframes wcBrandLogoIn {
  from { opacity: 0; transform: scale(.91); filter: blur(8px) drop-shadow(0 24px 40px rgba(15, 23, 42, 0)); }
  to { opacity: 1; transform: scale(1); filter: blur(0) drop-shadow(0 24px 40px rgba(15, 23, 42, .12)); }
}

@keyframes wcBrandShine {
  from { left: -32%; opacity: 0; }
  20% { opacity: 1; }
  to { left: 112%; opacity: 0; }
}

@keyframes wcBrandRuleIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

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

@keyframes wcBrandAmbient {
  from { transform: scale(.96) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(2%, -2%, 0); }
}

@keyframes wcBrandIntroLeave {
  from { opacity: 1; visibility: visible; }
  to { opacity: 0; visibility: hidden; }
}

@media (max-width: 640px) {
  .wc-brand-intro { padding: 20px; }
  .wc-brand-intro__content { width: min(620px, 94vw); }
  .wc-brand-intro__content p { letter-spacing: .14em; }
}

@media (prefers-reduced-motion: reduce) {
  .wc-brand-intro { display: none !important; }
}
