/* Mobile Cloud motion helpers — full mode active by default; no visitor Motion UI */

html[data-motion="off"] .top-grid,
html[data-motion="off"] .img-banner-info,
html[data-motion="off"] .img-banner-pic,
html[data-motion="off"] .mid-grid-top-info,
html[data-motion="off"] .demo-poster {
  animation: none !important;
  transition: none !important;
}

html[data-motion="off"] .top-nav ul li a,
html[data-motion="off"] .icon1,
html[data-motion="off"] .icon2,
html[data-motion="off"] .icon3,
html[data-motion="off"] .btn,
html[data-motion="off"] .mid-grids-bottom input[type="submit"],
html[data-motion="off"] .footer p a {
  transition: none !important;
}

html[data-motion="full"] .img-banner-info {
  animation: mobilecloud-fade-up 0.75s ease both;
}

html[data-motion="full"] .img-banner-pic {
  animation: mobilecloud-fade-in 0.9s ease both;
  animation-delay: 0.12s;
}

html[data-motion="full"] .top-grid {
  animation: mobilecloud-fade-up 0.7s ease both;
}

html[data-motion="full"] .top-grid:nth-child(2) {
  animation-delay: 0.12s;
}

html[data-motion="full"] .top-grid:nth-child(3) {
  animation-delay: 0.24s;
}

html[data-motion="full"] .mid-grid-top-info,
html[data-motion="full"] .demo-poster {
  animation: mobilecloud-fade-up 0.7s ease both;
}

@keyframes mobilecloud-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobilecloud-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scope reduced-motion ONLY to auto mode so full mode stays active */
@media (prefers-reduced-motion: reduce) {
  html[data-motion-mode="auto"] .top-grid,
  html[data-motion-mode="auto"] .img-banner-info,
  html[data-motion-mode="auto"] .img-banner-pic,
  html[data-motion-mode="auto"] .mid-grid-top-info,
  html[data-motion-mode="auto"] .demo-poster,
  html[data-motion-mode="auto"] .top-nav ul li a,
  html[data-motion-mode="auto"] .icon1,
  html[data-motion-mode="auto"] .icon2,
  html[data-motion-mode="auto"] .icon3,
  html[data-motion-mode="auto"] .btn,
  html[data-motion-mode="auto"] .mid-grids-bottom input[type="submit"] {
    animation: none !important;
    transition: none !important;
  }

  html[data-motion-mode="auto"] {
    scroll-behavior: auto;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.demo-poster {
  margin: 0 auto;
  max-width: 80%;
  border: 1px solid #eee;
  background: #111;
  color: #f5f5f5;
}

.demo-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.demo-poster figcaption {
  padding: 0.75em 1em 1em;
  font-size: 0.875em;
  color: #81888d;
  background: #f5f5f5;
}

.form-hint,
.form-draft-note {
  margin-top: 1em;
  text-align: center;
  font-size: 0.875em;
  color: #81888d;
}

.mid-grids-bottom input[type="email"] {
  padding: 1em;
  font-family: var(--font-body, "Segoe UI", sans-serif);
  outline: none;
  border: none;
  width: 76.33%;
  text-transform: uppercase;
  color: #81888d;
  background: transparent;
}
