html {
    scroll-behavior: smooth;
}
section[id] {
    scroll-margin-top: 6rem;
}
[x-cloak] {
    display: none !important;
}
body {
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.hero-section {
    position: relative;
    isolation: isolate;
    background-color: var(--fallback-b1, oklch(var(--b1)));
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(
            ellipse 60% 50% at 50% -10%,
            color-mix(in oklch, #7c5cff 16%, transparent),
            transparent 70%
        ),
        radial-gradient(
            circle at 1px 1px,
            color-mix(in oklch, currentColor 6%, transparent) 1px,
            transparent 0
        );
    background-size:
        100% 100%,
        22px 22px;
    pointer-events: none;
}
.hero-gradient-text {
    background: linear-gradient(100deg, #7c5cff 0%, #d946ef 45%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
[data-theme="light"] .hero-gradient-text {
    background: linear-gradient(100deg, #5b21b6 0%, #a21caf 45%, #0369a1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: color-mix(in oklch, currentColor 15%, transparent);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: color-mix(in oklch, currentColor 25%, transparent);
}

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