/* Roam & Co. landing: motion. Calm, short and always optional.
   - Nothing is hidden unless motion.js has tagged it, so if the script fails the page is simply visible.
   - "Reduce motion" (system setting) and data-motion="off" show everything at once.
   - Only opacity and transform move: nothing here can shift the layout. */
@media (prefers-reduced-motion: no-preference){
  html:not([data-motion="off"]) [data-reveal]{opacity:0;transform:translate3d(0,18px,0);transition:opacity .75s cubic-bezier(.22,.61,.36,1) var(--d,0s),transform .75s cubic-bezier(.22,.61,.36,1) var(--d,0s)}
  html:not([data-motion="off"]) [data-reveal].in{opacity:1;transform:none}
  html:not([data-motion="off"]) [data-hero]{opacity:0;transform:translate3d(0,30px,0);transition:opacity .9s cubic-bezier(.22,.61,.36,1) var(--d,0s),transform .9s cubic-bezier(.22,.61,.36,1) var(--d,0s)}
  html:not([data-motion="off"]).hero-in [data-hero]{opacity:1;transform:none}
  /* buttons: a small lift on hover, back down when pressed */
  a[href="/app/#demo"],a[href*="lynk.id"]{transition:transform .2s ease,box-shadow .2s ease}
  a[href="/app/#demo"]:hover,a[href*="lynk.id"]:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.16)}
  a[href="/app/#demo"]:active,a[href*="lynk.id"]:active{transform:none;box-shadow:none}
  /* livelier level: the three phones in the hero float very slowly (the "translate" property, so it never fights the entrance) */
  html[data-motion="lively"].hero-in [data-hero-phone="c"]{animation:roamFloat 7s ease-in-out 1.4s infinite}
  html[data-motion="lively"].hero-in [data-hero-phone="l"]{animation:roamFloat 8s ease-in-out 1.8s infinite}
  html[data-motion="lively"].hero-in [data-hero-phone="r"]{animation:roamFloat 9s ease-in-out 1.1s infinite}
}
@keyframes roamFloat{0%,100%{translate:0 0}50%{translate:0 -8px}}
html.motion-failsafe [data-reveal],html.motion-failsafe [data-hero]{opacity:1 !important;transform:none !important;transition:none !important}
