/* Home motion + soft colours for every app home (SK 30 Nov 2026: "Love workfast home page... similarly all home page
   animations transitions smooth and also subtle colors for all individual apps"). Same feel as the WorkFast AI home:
   a slow drifting colour wash behind the hero, soft tinted sections, sections that fade up as you scroll, gentle lifts
   on hover. Built only from each app's own colour variables (--cyan, --aur1..3, --glow), so every app keeps its colour.
   Laid onto the homes by tools/home_motion.py; the scroll part is /wk/home-motion.js. Reduced motion = no movement. */
html{scroll-behavior:smooth}
/* hero: the app's own colour wash drifts slowly, like the WorkFast home's aura */
.h2o::before{animation:wfmDrift 18s cubic-bezier(.2,.8,.2,1) infinite alternate;will-change:transform}
@keyframes wfmDrift{0%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(3%,-4%,0) scale(1.06)}100%{transform:translate3d(-3%,2%,0) scale(.97)}}
/* subtle colours: a faint wash of the app colour at the top of the page and in the alternate sections */
body{background:radial-gradient(900px 520px at 12% -120px,var(--aur2,transparent),transparent 70%),radial-gradient(800px 480px at 100% 0,var(--aur3,transparent),transparent 70%) no-repeat,var(--bg)}
section.alt{background:linear-gradient(180deg,color-mix(in srgb,var(--cyan,#888) 8%,var(--bg2)) 0%,var(--bg2) 55%,color-mix(in srgb,var(--cyan,#888) 4%,var(--bg2)) 100%)}
.final{background:radial-gradient(60% 80% at 50% 100%,var(--glow),transparent 70%),radial-gradient(40% 60% at 15% 20%,var(--aur1,transparent),transparent 70%),radial-gradient(40% 60% at 85% 20%,var(--aur3,transparent),transparent 70%)}
/* scroll reveal (only once the script marks the page; everything shows without it) */
.wfm .wfm-r{opacity:0;transform:translate3d(0,22px,0);transition:opacity .75s cubic-bezier(.2,.8,.2,1),transform .75s cubic-bezier(.2,.8,.2,1);transition-delay:var(--wfm-d,0s)}
.wfm .wfm-r.wfm-in{opacity:1;transform:none}
/* gentle lifts where there is a mouse */
@media (hover:hover){
  .btn:hover{transform:translateY(-2px)}
  .ww a{transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s cubic-bezier(.2,.8,.2,1),border-color .35s}
  .ww a:hover{transform:translateY(-3px);box-shadow:0 14px 30px -18px color-mix(in srgb,var(--cyan,#556) 55%,transparent)}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}.h2o::before{animation:none}
  .wfm .wfm-r{opacity:1!important;transform:none!important;transition:none!important}
}

/* bigger taps on phones (UX review 29 Nov #9, SK 1 Dec 2026): header button and demo link reach 44px tall; footer links fill their whole row without moving it */
@media (max-width:640px){.nav .btn{min-height:44px;display:inline-flex;align-items:center}
.under a{display:inline-block;padding:11px 0;margin:-11px 0}
footer li a,footer .fine a{display:inline-block;padding:5px 0;margin:-5px 0}}
