/* Vercel Web Interface Guidelines — adaptación Celebremos */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* La landing mantiene animaciones completas (clase landing-motion en <html>) */
  html:not(.landing-motion) *,
  html:not(.landing-motion) *::before,
  html:not(.landing-motion) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(107, 63, 160, 0.15);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #6b3fa0;
  outline-offset: 2px;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}
