/* V10.10 mobile optimisation (loaded LAST).
   1) Hero buttons were absolutely positioned inside .sc-copy and overlapped the headline on phones.
      They now sit in normal flow right under the paragraph, full width, and never overlap.
   2) Brand shine + tagline rails keep playing when the phone/PC has "reduce animation" on
      (Windows "Animation effects" off, battery saver, Android "Remove animations").
      They are tiny, non-moving-layout effects. Delete the last block of this file to honour reduce-motion again. */
@media(max-width:800px){
  .sc-slide{padding-bottom:64px!important;gap:0!important}
  .sc-slide .sc-actions,
  .sc-slide.active .sc-actions{
    position:static!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:10px!important;margin:16px 0 0!important;width:100%!important;z-index:2
  }
  .sc-slide .sc-actions .sc-cta{position:relative!important;width:100%!important;min-height:44px!important;justify-content:center!important}
  .sc-slide .sc-copy{flex:none!important}
  /* banner first, text + buttons below */
  .sc-slide .v10-visual{order:-1!important;height:clamp(180px,30svh,215px)!important;width:min(100%,480px)!important;margin:0 auto 12px!important;flex:0 0 auto!important}
  .sc-slide .sc-copy{order:1!important}
  .sc-slide{padding-top:12px!important}
  .sc-arrow{top:calc(12px + clamp(180px,30svh,215px)/2)!important}
  .sc-hero{min-height:max(600px,calc(100svh - var(--sc-nav-h) - var(--sc-strip-h)))!important}
  /* readable tagline on phones */
  .sc-header .sc-brand .sc-tagline-animated{font-size:6.6px!important;letter-spacing:.35px!important;gap:3px!important}
  .sc-header .sc-brand .sc-tagline-animated .sc-tagline-spark{font-size:6px!important}
}
@media(max-width:400px){
  .sc-header .sc-brand .sc-tagline-animated{font-size:6px!important;letter-spacing:.2px!important}
}
/* Keep the logo shine + tagline rails alive even with reduce-motion ON. */
@media(prefers-reduced-motion:reduce){
  .sc-header .sc-brand-art .sc-logo-shine{
    display:block!important;
    animation:sc109LogoShine 4.6s linear infinite!important
  }
  .sc-header .sc-brand .sc-tagline-animated .sc-tagline-line::after,
  html[data-theme="light"] .sc-header .sc-brand .sc-tagline-animated .sc-tagline-line::after{
    animation:sc108LineShimmer 3.8s cubic-bezier(.36,.04,.63,.98) infinite!important;
    transform:translateX(-120%);opacity:1!important
  }
  .sc-header .sc-brand .sc-tagline-animated .sc-tagline-line-right::after{animation-delay:1.9s!important}
}
