/* v6 motion (paired with assets/v6.js). Only active when the script adds html.v6-motion, and never for
   prefers-reduced-motion. Nothing is hidden without JavaScript. */

/* reveal on scroll */
html.v6-motion .v6-rv{opacity:0;transform:translateY(18px) scale(.985);filter:blur(2px);
  transition:opacity .7s cubic-bezier(.2,.7,.2,1) var(--v6-rv-delay,0ms),transform .8s cubic-bezier(.2,.7,.2,1) var(--v6-rv-delay,0ms),filter .7s ease var(--v6-rv-delay,0ms)}
html.v6-motion .v6-rv.v6-in{opacity:1;transform:none;filter:none}
@media print{html.v6-motion .v6-rv{opacity:1!important;transform:none!important;filter:none!important}}

/* bars grow to their real width */
html.v6-motion .v6-bar-grow{transform-origin:left center;transform:scaleX(0);transition:transform 1.1s cubic-bezier(.2,.8,.2,1)}
html.v6-motion .v6-bar-grow.v6-bar-in{transform:scaleX(1)}

/* spotlight on glass cards */
.v6-lit{position:relative}
.v6-lit::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;
  background:radial-gradient(260px circle at var(--v6-mx,50%) var(--v6-my,50%),rgba(122,90,248,.10),rgba(42,91,245,.05) 40%,transparent 70%);
  mix-blend-mode:multiply;transition:opacity .3s}
html[data-v6-mode="dark"] .v6-lit::after{background:radial-gradient(260px circle at var(--v6-mx,50%) var(--v6-my,50%),rgba(196,181,255,.12),rgba(157,180,255,.05) 40%,transparent 70%);mix-blend-mode:screen}

/* the accent words: a slow light sweep across the gradient */
@media (prefers-reduced-motion:no-preference){
  h1 em,.tskn-h1 em,.ua-phero__h1 em,h2 em,.v6-accent,.ursy-citebox .uab-t em{background-size:220% 100%!important;animation:v6sheen 9s ease-in-out infinite alternate}
}
@keyframes v6sheen{0%{background-position:0% 50%}100%{background-position:100% 50%}}

/* the header: glass gets a touch firmer once you scroll */
.ua-hd.v6-scrolled .ua-hd__row{box-shadow:0 14px 40px -16px rgba(10,18,53,.28),0 2px 6px rgba(10,18,53,.05)!important;background:rgba(255,255,255,.9)!important}
html[data-v6-mode="dark"] .ua-hd.v6-scrolled .ua-hd__row{background:rgba(12,18,46,.92)!important}

/* buttons: a soft lift and a gleam that passes once on hover */
.tskn-h-dark,.ua-hd__cta,.ua-btn{position:relative;overflow:hidden}
.tskn-h-dark::before,.ua-btn::before{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;transform:skewX(-20deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);pointer-events:none;transition:left .7s ease}
.tskn-h-dark:hover::before,.ua-btn:hover::before{left:130%}

/* live dots breathe */
@media (prefers-reduced-motion:no-preference){
  .sg-live__dot,.v6-live-dot,[class*="live"] [class*="dot"]{animation:v6breathe 2.4s ease-in-out infinite}
}
@keyframes v6breathe{50%{box-shadow:0 0 0 6px rgba(47,167,242,.0),0 0 0 0 rgba(47,167,242,.0);opacity:.7}}

@media (prefers-reduced-motion:reduce){
  html.v6-motion .v6-rv,html.v6-motion .v6-bar-grow{opacity:1!important;transform:none!important;filter:none!important;transition:none!important}
}
