
*,
*::before,
*::after {
    box-sizing: border-box;
}


* {
    margin: 0;
    padding: 0;
}


html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}


ul[role='list'],
ol[role='list'] {
    list-style: none;
}


body {
    min-height: 100vh;
    line-height: var(--leading-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


h1, h2, h3, h4,
button, input, label {
    line-height: var(--leading-tight);
}


h1, h2, h3, h4 {
    text-wrap: balance;
}


a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}


img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}


input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}


textarea:not([rows]) {
    min-height: 10em;
}


:target {
    scroll-margin-block: 5ex;
}


@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;
    }
}


button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
}


fieldset {
    border: none;
    padding: 0;
    margin: 0;
}


legend {
    padding: 0;
}


table {
    border-collapse: collapse;
    border-spacing: 0;
}


blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}


:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}


:focus:not(:focus-visible) {
    outline: none;
}


::selection {
    background: var(--color-primary);
    color: var(--color-white);
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gray-700);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-600);
}


* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-gray-700) var(--bg-primary);
}
