/*
 * Accessibility additions (2026-11). Loaded after dist/main.css.
 * Neither rule changes the design for mouse or touch users:
 * - the focus ring only appears for keyboard navigation (:focus-visible);
 * - motion is reduced only for visitors who ask for it in their OS settings.
 */
:focus-visible {
    outline: 3px solid #0552fe !important;
    outline-offset: 3px !important;
}

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

/* text for screen readers and search engines only (hidden headings, extra context) */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
