/* BELHEIR LTD - small additions to Tailwind utilities */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

/* Keep anchored sections clear of the sticky header */
main[id], section[id] { scroll-margin-top: 5.5rem; }

/* Programmatic focus targets should not show a ring */
[tabindex="-1"]:focus { outline: none; }

/* Legal dialogs */
dialog.legal-dialog {
  width: min(46rem, calc(100% - 2rem));
  max-height: min(85vh, 52rem);
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: #FBF6F3;
  color: #2B1D26;
  box-shadow: 0 30px 80px -20px rgba(43, 29, 38, 0.55);
}
dialog.legal-dialog::backdrop {
  background: rgba(43, 29, 38, 0.7);
}
body.modal-open { overflow: hidden; }

.legal h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #5B2A4A;
  margin: 1.5rem 0 0.4rem;
}
.legal p, .legal li { line-height: 1.7; margin-bottom: 0.6rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 0.6rem; }
.legal a { color: #5B2A4A; text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: #2B1D26; }
