@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
}

:root {
    --background: #f8f8fb;
    --background-top: #fbfbfd;
    --text: #0b0c11;
    --text-secondary: #555965;
    --text-muted: #858894;
    --purple: #5937ff;
    --purple-light: #846dff;
    --purple-dark: #4220e7;
    --green: #19c988;
    --border: rgba(20, 21, 31, 0.08);
    --border-strong: rgba(20, 21, 31, 0.12);
    --header-height: 82px;
    --container-width: 1440px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    color: var(--text);
    background:
        linear-gradient(
            180deg,
            var(--background-top) 0%,
            var(--background) 100%
        );
    font-family:
        "Space Grotesk",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
}

button,
a,
label {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.container {
    width: min(
        calc(100% - 72px),
        var(--container-width)
    );
    margin: 0 auto;
}

@media (max-width: 1250px) {
    .container {
        width: calc(100% - 48px);
    }
}

@media (max-width: 620px) {
    :root {
        --header-height: 70px;
    }

    .container {
        width: calc(100% - 28px);
    }
}

body.modal-open {
    overflow: hidden;
}

.form-field--honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
