/* Leading SAFe® page motion (November 16, 2026). Works with js/ls-motion.js. The handover design had no motion; this
   adds it in the site's style. Every rule sits behind "no reduced motion asked for", and ls.css turns all animation
   and transition off when a visitor asks for reduced motion. Nothing here changes layout. */

.lsm-w{display:inline-block}

@media (prefers-reduced-motion: no-preference){
  /* The page head sets lsm-pre for at most 1.6 s, so the hero does not flash before its entrance starts. */
  html.lsm-pre .l-hero,html.lsm-pre .ls-p>header,html.lsm-pre .ls-p>section:first-of-type,html.lsm-pre .ls-p [data-ls-pinned]{opacity:0}

  /* ---------------------------------------------------------------- slow light behind the dark bands */
  .lsm-glow{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
  .lsm-glow i{position:absolute;display:block;border-radius:50%;filter:blur(60px);opacity:.55;will-change:transform}
  .lsm-glow i:nth-child(1){width:46%;aspect-ratio:1;left:-8%;top:-30%;background:radial-gradient(circle,rgba(69,194,199,.55),rgba(69,194,199,0) 70%);animation:lsm-drift-a 22s ease-in-out infinite alternate}
  .lsm-glow i:nth-child(2){width:38%;aspect-ratio:1;right:-6%;bottom:-40%;background:radial-gradient(circle,rgba(127,216,219,.40),rgba(127,216,219,0) 70%);animation:lsm-drift-b 26s ease-in-out infinite alternate}
  .lsm-glow i:nth-child(3){width:26%;aspect-ratio:1;left:42%;top:10%;background:radial-gradient(circle,rgba(200,30,52,.22),rgba(200,30,52,0) 70%);animation:lsm-drift-c 30s ease-in-out infinite alternate}
  .ls-p .lsm-glow i{filter:blur(40px)}
  .ls-p .lsm-glow i:nth-child(1){width:90%}
  .ls-p .lsm-glow i:nth-child(2){width:80%}
  .ls-p .lsm-glow i:nth-child(3){width:60%}
  @keyframes lsm-drift-a{to{transform:translate(18%,22%) scale(1.15)}}
  @keyframes lsm-drift-b{to{transform:translate(-22%,-18%) scale(1.2)}}
  @keyframes lsm-drift-c{to{transform:translate(-30%,40%) scale(.85)}}

  /* ---------------------------------------------------------------- cards lift, buttons rise and press */
  html.lsm-on [data-lsm-lift]{transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s cubic-bezier(.16,1,.3,1),border-color .3s ease}
  html.lsm-on [data-lsm-btn]{transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s cubic-bezier(.16,1,.3,1),filter .3s ease,background-color .3s ease}
  html.lsm-on [data-lsm-btn] svg{transition:transform .35s cubic-bezier(.16,1,.3,1)}
  /* Buttons and class cards never move under the pointer (Sean, November 16: a Register click could land on the
     card behind it while it moved, and open Class details instead of checkout). Feedback is light and shadow only. */
  html.lsm-on [data-lsm-btn]:active{filter:brightness(.92);transition-duration:.08s}
  @media (hover:hover){
    html.lsm-on [data-lsm-lift]:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(18,40,58,.16) !important}
    html.lsm-on [data-lsm-lift="still"]:hover{transform:none}
    html.lsm-on [data-lsm-btn]:hover{box-shadow:0 12px 24px rgba(18,40,58,.22) !important;filter:brightness(1.07)}
    html.lsm-on [data-lsm-btn]:hover svg{transform:translateX(4px)}
    html.lsm-on [data-lsm-btn]:active{filter:brightness(.92)}
  }

  /* Red action buttons: a band of light crosses on hover, and the big ones show it by themselves every few seconds. */
  html.lsm-on [data-lsm-shine]{position:relative;overflow:hidden;isolation:isolate}
  html.lsm-on [data-lsm-shine]::after{content:"";position:absolute;top:0;bottom:0;left:-75%;width:50%;z-index:1;pointer-events:none;background:linear-gradient(105deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.38) 50%,rgba(255,255,255,0) 100%);transform:skewX(-18deg);opacity:0}
  html.lsm-on [data-lsm-shine="idle"]::after{animation:lsm-shine-idle 6.5s ease-in-out 2.4s infinite}
  @media (hover:hover){html.lsm-on [data-lsm-shine]:hover::after{animation:lsm-shine .85s cubic-bezier(.16,1,.3,1)}}
  @keyframes lsm-shine{0%{left:-75%;opacity:1}100%{left:130%;opacity:1}}
  @keyframes lsm-shine-idle{0%{left:-75%;opacity:1}14%{left:130%;opacity:1}15%,100%{left:130%;opacity:0}}

  /* ---------------------------------------------------------------- urgency pills breathe, badges float */
  html.lsm-on [data-lsm-pulse]{animation:lsm-pulse 2.6s ease-out infinite}
  @keyframes lsm-pulse{0%{box-shadow:0 0 0 0 rgba(200,30,52,.32)}70%,100%{box-shadow:0 0 0 7px rgba(200,30,52,0)}}
  html.lsm-on .lsm-float{animation:lsm-float 6s ease-in-out 1.2s infinite}
  @keyframes lsm-float{0%,100%{translate:0 0;filter:drop-shadow(0 10px 18px rgba(69,194,199,.25))}50%{translate:0 -10px;filter:drop-shadow(0 22px 30px rgba(69,194,199,.45))}}

  /* ---------------------------------------------------------------- open answers slide down */
  html.lsm-on .ls-page details[open]>:not(summary){animation:lsm-drop .45s cubic-bezier(.16,1,.3,1)}
  @keyframes lsm-drop{from{opacity:0;translate:0 -8px}to{opacity:1;translate:0 0}}

  /* Open/close arrows turn with a little spring instead of the handover's flat 0.15 s. */
  html.lsm-on .ls-page summary svg,html.lsm-on .ls-page [aria-expanded] svg{transition:transform .4s cubic-bezier(.34,1.56,.64,1) !important}
}

@media print{.lsm-glow{display:none !important}}
