/* Echo the welcome card's orbit and nine-light sweep on both service banners. */
html[data-customer-view="landing"] .service-promo-slide .hero-copy {
  position: static;
}

html[data-customer-view="landing"] .service-promo-slide .hero-copy > * {
  position: relative;
  z-index: 1;
}

html[data-customer-view="landing"] .service-promo-slide .hero-copy::before,
html[data-customer-view="landing"] .service-promo-slide .hero-copy::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

html[data-customer-view="landing"] .service-promo-slide .hero-copy::before {
  top: -84px;
  right: -86px;
  z-index: 0;
  width: 250px;
  height: 250px;
  border: 1px solid #ffffff66;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff2c, transparent 66%);
  box-shadow: 0 0 0 31px #ffffff12, 0 0 0 64px #ffffff09;
  animation: customer-promo-orbit 7s ease-in-out infinite;
}

html[data-customer-view="landing"] .service-promo-slide .hero-copy::after {
  top: 17px;
  right: 20px;
  z-index: 3;
  width: 33px;
  height: 33px;
  background: linear-gradient(100deg, #ffffff80 0%, #fff 48%, #ffffff80 100%);
  background-size: 230% 100%;
  -webkit-mask-image: radial-gradient(circle, #000 2.3px, transparent 2.8px);
  mask-image: radial-gradient(circle, #000 2.3px, transparent 2.8px);
  -webkit-mask-size: 11px 11px;
  mask-size: 11px 11px;
  filter: drop-shadow(0 0 4px #fff);
  animation: customer-promo-dot-sweep 3.4s ease-in-out infinite;
}

html[data-customer-view="landing"] .service-promo-slide:not(.active) .hero-copy::before,
html[data-customer-view="landing"] .service-promo-slide:not(.active) .hero-copy::after {
  animation: none;
}

@keyframes customer-promo-orbit {
  0%, 100% { transform: translate(20px, -16px) scale(.9); opacity: .62; }
  50% { transform: translate(-31px, 29px) scale(1.13); opacity: 1; }
}

@keyframes customer-promo-dot-sweep {
  0%, 100% { background-position: 100% 0; opacity: .55; }
  50% { background-position: 0 0; opacity: 1; }
}

@media (max-width: 680px) {
  html[data-customer-view="landing"] .service-promo-slide .hero-copy::before {
    top: -89px;
    right: -95px;
    width: 220px;
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-customer-view="landing"] .service-promo-slide .hero-copy::before,
  html[data-customer-view="landing"] .service-promo-slide .hero-copy::after {
    animation: none;
  }
}
