*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--color-text);
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(245, 196, 81, 0.06),
            transparent 28%
        ),
        var(--color-background);
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.18;
}

p {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    padding: 0;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

input,
textarea,
select {
    color: var(--color-text);
}

input::placeholder,
textarea::placeholder {
    color: var(--color-text-muted);
}

::selection {
    color: var(--color-text-dark);
    background: var(--color-primary);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #090806;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        var(--color-primary),
        var(--color-primary-dark)
    );
    border: 2px solid #090806;
    border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-light);
}