@font-face {
    font-family: "Droid Serif";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/droid-serif-400.ttf") format("truetype");
}

@font-face {
    font-family: "Droid Serif";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/droid-serif-400-italic.ttf") format("truetype");
}

@font-face {
    font-family: "Droid Serif";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/droid-serif-700.ttf") format("truetype");
}

@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/source-sans-3-400.ttf") format("truetype");
}

@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/source-sans-3-600.ttf") format("truetype");
}

:root {
    --color-bg: #050506;
    --color-bg-raised: #101014;
    --color-text: #ffffff;
    --color-text-soft: #c8c2d4;
    --color-purple: #8b3bc2;
    --color-purple-deep: #742eaa;
    --color-lavender: #c9bbff;
    --color-line: rgba(255, 255, 255, 0.1);
    --color-input-bg: #14131a;
    --color-placeholder: #8d8796;

    --font-heading: "Droid Serif", Georgia, "Times New Roman", serif;
    --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    --font-size-body: 1.0625rem;
    --font-size-small: 0.9rem;
    --font-size-nav: 0.95rem;
    --font-size-eyebrow: 0.72rem;
    --font-size-footer-title: 0.95rem;
    --font-size-h1: clamp(3.1rem, 6vw, 5.15rem);
    --font-size-h2: clamp(2.4rem, 4vw, 3.75rem);
    --font-weight-regular: 400;
    --font-weight-semibold: 600;
    --letter-heading: -0.02em;
    --letter-eyebrow: 0.22em;
    --line-body: 1.65;
    --line-heading: 1.06;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4.5rem;
    --page-gutter: clamp(1.25rem, 5vw, 5rem);
    --container: 1220px;
    --header-height: 104px;
    --logo-size: 86px;
    --logo-size-mobile: 68px;
    --nav-gap: 2rem;
    --footer-gap: 3rem;

    --btn-height: 3.05rem;
    --btn-height-header: 2.75rem;
    --btn-padding-x: 1.4rem;
    --btn-gap: 0.8rem;
    --radius-pill: 999px;
    --radius-input: 999px;
    --radius-card: 18px;
    --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.28);

    --bp-nav: 1040px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-body);
}

a,
button,
input,
textarea,
select {
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-regular);
    letter-spacing: var(--letter-heading);
    line-height: var(--line-heading);
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

p {
    margin: 0;
}

a {
    color: inherit;
}

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

::selection {
    background: var(--color-purple);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
