/* Global smooth scrolling + polished scrollbars */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.is-smooth-scroll,
    html.is-smooth-scroll body {
        scroll-behavior: auto !important;
    }
}

html.is-smooth-scroll {
    scroll-behavior: auto; /* JS handles inertia; avoid double-smoothing */
}

html.is-smooth-scrolling,
html.is-smooth-scrolling body {
    overscroll-behavior-y: none;
}

/* Soft professional scrollbars (Firefox + Chromium/WebKit) */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(98, 168, 50, .45) transparent;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track {
    background: transparent;
}
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(143, 216, 79, .55), rgba(98, 168, 50, .7));
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(143, 216, 79, .85), rgba(98, 168, 50, .95));
    background-clip: padding-box;
    border: 2px solid transparent;
}
