html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 5rem; }

dialog::backdrop { background: rgba(20, 32, 46, 0.7); }
dialog[open] { animation: dlg-in 0.18s ease-out; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
body.modal-open { overflow: hidden; }

.legal h3 { font-weight: 700; color: #14202E; margin-top: 1.5rem; margin-bottom: 0.4rem; font-size: 1.05rem; }
.legal p, .legal li { color: #334155; line-height: 1.65; }
.legal p + p { margin-top: 0.6rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-top: 0.4rem; }
.legal li + li { margin-top: 0.25rem; }
.legal a { color: #1E7A73; text-decoration: underline; text-underline-offset: 2px; }

@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;
  }
}
