html {
  scroll-behavior: smooth;
}

dialog::backdrop {
  background: rgba(20, 35, 27, 0.7);
}

dialog[open] {
  animation: dialog-in 0.18s ease-out;
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

body.modal-open {
  overflow: hidden;
}

.legal-copy h3 {
  font-weight: 600;
  color: #14231B;
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
}

.legal-copy p,
.legal-copy li {
  margin-bottom: 0.6rem;
}

.legal-copy ul {
  list-style: disc;
  padding-left: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
