html { scroll-behavior: smooth; }
button, .button, .download-button, .switch a, input {
  transition: background-color .24s ease, border-color .24s ease, color .24s ease,
    box-shadow .28s ease, transform .28s cubic-bezier(.22,1,.36,1);
}
button:not(:disabled):active, .button:active, .download-button:active {
  transform: scale(.975);
}
input:focus-visible { box-shadow: 0 0 0 4px #ffffff0c; }
dialog[open]::backdrop { animation: motion-backdrop .3s ease both; }
.hero-art { animation: motion-atmosphere 18s ease-in-out infinite alternate; }
@keyframes motion-atmosphere { from { scale: 1; } to { scale: 1.035; } }
@keyframes motion-backdrop { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) {
  .button:hover, .download-button:hover, button:not(:disabled):hover { transform: translateY(-2px); }
  .button:active, .download-button:active, button:not(:disabled):active { transform: translateY(0) scale(.975); }
  .steps > li { transition: border-color .25s ease, box-shadow .3s ease, transform .3s ease; }
  .steps > li:hover { transform: translateY(-4px); box-shadow: 0 12px 32px #0002; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
