/* Preserve the homepage rules exactly. Both page types share the same easing, depth and gradient. */
@media(prefers-reduced-motion:no-preference){
body:not(.pg-subpage-motion) .pg-motion-section,
.pg-subpage-motion .pg-motion-section{position:relative;isolation:isolate}
body:not(.pg-subpage-motion) .pg-motion-section::before,
.pg-subpage-motion .pg-motion-section::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;opacity:var(--pg-bg-opacity,.35);background:radial-gradient(ellipse at 75% 15%,rgba(125,211,252,.075),transparent 58%);transform:translate3d(0,var(--pg-bg-y,0px),0)}
body:not(.pg-subpage-motion) .pg-motion-section > *,
.pg-subpage-motion .pg-motion-section > *{position:relative;z-index:1}
body:not(.pg-subpage-motion) .pg-motion-item,
.pg-subpage-motion .pg-motion-item{transform:translate3d(0,var(--pg-item-y,0px),0) scale(var(--pg-item-scale,1));opacity:var(--pg-item-opacity,1);transition:transform .14s linear,opacity .14s linear}
body:not(.pg-subpage-motion) .pg-motion-card,
.pg-subpage-motion .pg-motion-card{transform:translate3d(0,var(--pg-card-y,0px),0) scale(var(--pg-card-scale,1));opacity:var(--pg-card-opacity,1);transition:transform .18s ease-out,opacity .18s ease-out}
/* Background depth for short legal/support/share pages without native sections. */
body.pg-subpage-motion.pg-motion-document{position:relative;isolation:isolate}
body.pg-subpage-motion.pg-motion-document::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;opacity:var(--pg-bg-opacity,.35);background:radial-gradient(ellipse at 75% 15%,rgba(125,211,252,.075),transparent 58%);transform:translate3d(0,var(--pg-bg-y,0px),0)}
body.pg-subpage-motion.pg-motion-document > :not(script):not(style){position:relative;z-index:1}
}
@media(prefers-reduced-motion:reduce){
.pg-motion-item,.pg-motion-card,.pg-motion-section{transform:none!important;opacity:1!important;transition:none!important}
.pg-motion-section::before,body.pg-motion-document::before{display:none!important}
}

/* Full-size homepage FAQ reveals need enough room for variable-length RTL copy. */
@media(max-width:650px){
  .pg-subpage-motion main.wrap article.pg-motion-card { margin-block:32px; }
}
