/* Goya Biohazard - small additions to Tailwind */

html {
  scroll-behavior: smooth;
}

:focus-visible {
  outline: 3px solid #E8A317;
  outline-offset: 3px;
  border-radius: 4px;
}

.legal-dialog {
  width: min(44rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  border: 0;
  padding: 0;
  border-radius: 1rem;
  color: #13232B;
  background: #ffffff;
  box-shadow: 0 25px 60px rgba(19, 35, 43, 0.35);
}

.legal-dialog::backdrop {
  background: rgba(19, 35, 43, 0.7);
}

.legal-dialog h3 {
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0F5E63;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.legal-dialog p,
.legal-dialog li {
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

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

.legal-dialog a {
  color: #0F5E63;
  text-decoration: underline;
}

.hero-bg {
  background:
    radial-gradient(circle at 85% 15%, rgba(232, 163, 23, 0.18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(15, 94, 99, 0.55), transparent 50%),
    linear-gradient(135deg, #13232B 0%, #0d3e43 55%, #0F5E63 100%);
}

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

[tabindex="-1"]:focus {
  outline: none;
}
