/* Beck Athlete Management - small additions to Tailwind */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 5rem; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: #E2552B; color: #0B1622; font-weight: 600;
  padding: .75rem 1rem; border-radius: .5rem; transition: top .15s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid #E2552B; outline-offset: 3px; }

.hero-lanes path { stroke-dasharray: 6 10; animation: lane 18s linear infinite; }
@keyframes lane { to { stroke-dashoffset: -320; } }

dialog.legal { max-width: min(46rem, calc(100% - 2rem)); max-height: calc(100% - 3rem); }
dialog.legal::backdrop { background: rgba(11, 22, 34, .72); }
dialog.legal h3 { font-weight: 600; color: #12324F; margin-top: 1.25rem; margin-bottom: .35rem; }
dialog.legal p, dialog.legal li { color: #334155; line-height: 1.65; }
dialog.legal ul { list-style: disc; padding-left: 1.25rem; }
dialog.legal a { color: #12324F; text-decoration: underline; }

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

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