/* Pelak Azad — consistent interaction feedback */
html {
    scroll-behavior: smooth;
}

:where(
    a,
    button,
    summary,
    label[for],
    [role="button"],
    input[type="button"],
    input[type="submit"],
    input[type="reset"]
) {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

:where(
    a,
    button,
    summary,
    label[for],
    [role="button"],
    input[type="button"],
    input[type="submit"],
    input[type="reset"]
):active {
    transform: none !important;
    filter: none !important;
}

:where(a, button, summary, [role="button"]):focus:not(:focus-visible) {
    outline: none !important;
}

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