@media (prefers-reduced-motion:no-preference) {
  :root { --doua-motion-out:cubic-bezier(.22,1,.36,1); --doua-motion-quick:170ms; }

  .doua-codex-v4 .hero > .container > :is(.eyebrow,h1,.hero-intro,.actions) {
    animation:doua-enter 620ms var(--doua-motion-out) both;
  }
  .doua-codex-v4 .hero > .container > h1 { animation-delay:65ms; }
  .doua-codex-v4 .hero > .container > .hero-intro { animation-delay:145ms; }
  .doua-codex-v4 .hero > .container > .actions { animation-delay:205ms; }
  .doua-codex-v4 .hero .stage-captures {
    animation:doua-stage-enter 920ms var(--doua-motion-out) 155ms both;
  }

  :is(.stage-captures,.studio,.chapter,.download-product) .doua-reveal {
    animation:doua-enter 690ms var(--doua-motion-out) both;
  }

  @supports (animation-timeline:view()) and (animation-range:entry 0% entry 100%) {
    :is(.studio-lead,.studio-providers,.chapter .code-scene,.chapter .mobile-scene,.chapter .diff-scene,.download-visual) {
      animation:doua-enter linear both;
      animation-timeline:view();
      animation-range:entry 0% entry 95%;
    }
  }

  :is(.hero .actions,.studio-actions,.download-copy) a,
  .doua-plans .pricing-tile .pricing-action {
    transition:background-color var(--doua-motion-quick) ease, box-shadow var(--doua-motion-quick) ease,
      translate var(--doua-motion-quick) var(--doua-motion-out);
  }
  @media (hover:hover) and (pointer:fine) {
    :is(.hero .actions,.studio-actions,.download-copy) a:hover,
    .doua-plans .pricing-tile .pricing-action:hover { translate:0 -2px; box-shadow:0 6px 14px #0b3e3524; }
  }

  @keyframes doua-enter {
    from { opacity:.76; transform:translateY(12px); }
    to { opacity:1; transform:translateY(0); }
  }
  @keyframes doua-stage-enter {
    from { opacity:.72; transform:translateY(18px) scale(.985); }
    to { opacity:1; transform:translateY(0) scale(1); }
  }
}
