@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;

    color: var(--color-text);
    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(139, 92, 246, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 95% 100%,
            rgba(59, 130, 246, 0.06),
            transparent 28%
        ),
        var(--color-background);

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

p {
    color: var(--color-text-muted);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    color: inherit;
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    color: white;
    background: rgba(139, 92, 246, 0.5);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-background);
}

::-webkit-scrollbar-thumb {
    background: #252533;
    border: 3px solid var(--color-background);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: #313142;
}