/* Motion is confined to form feedback. */
@keyframes account-check-settle {
  from { transform: scale(.86); }
  to { transform: scale(1); }
}

.choice input:checked,
.field-check input:checked {
  animation: account-check-settle var(--motion-duration-fast) cubic-bezier(.25, 1, .5, 1);
}

@keyframes account-error-arrive {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.account-error-summary,
.account-alert {
  animation: account-error-arrive var(--motion-duration-standard) cubic-bezier(.25, 1, .5, 1);
}

@media (prefers-reduced-motion: reduce) {
  .account-page,
  .account-page *,
  .account-page *::before,
  .account-page *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .cta.is-submit:hover,
  .cta.is-submit:active { transform: none; }
}
