:root {
    --blue: #0339b6;
    --blue-dark: #012d74;
    --blue-light: #6da3ff;
    --red: #e3062c;
    --green: #1aae4b;
    --white: #fff;
    --text: var(--blue-dark);
    --text-light: #4d6287;
    --text-muted: #7486a3;
    --text-white-muted: rgba(255, 255, 255, .68);
    --bg-hero: #f8f9fd;
    --bg-dark: #020817;
    --card-light: rgba(255, 255, 255, .88);
    --card-dark: #04122e;
    --container: 1480px;

    --font-body-family: 'Rajdhani', sans-serif;
    --font-heading-family: 'Exo 2', sans-serif;
    --font-h1: clamp(52px, 5.25vw, 67px);
    --font-h2: 32px;
    --font-h3: 24px;
    --font-h4: 18px;
    --font-body: 16px;
    --font-small: 12px;
    --font-label: 10px;

    --space-xs: 6px;
    --space-sm: 10px;
    --space-md: 18px;
    --space-lg: 24px;
    --space-xl: 34px;
    --space-2xl: 54px;

    --radius-sm: 7px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --shadow-card: 0 18px 45px rgba(7, 27, 69, .08);
    --shadow-hover: 0 30px 75px rgba(7, 27, 69, .2);
    --shadow-overlay: 0 24px 60px rgba(7, 27, 69, .16);

    --transition-fast: .18s ease;
    --transition-standard: .25s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

html.dark-mode {
    --text: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    color: var(--text);
    background: var(--white);
    font-family: var(--font-body-family);
    font-size: var(--font-body);
    font-weight: 500;
}

h1,
h2,
h3,
.section-head h2,
.hero-content h1,
.hero-content h2 {
    font-family: var(--font-heading-family);
}

html.dark-mode body {
    background: var(--bg-dark);
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 64px));
    margin-inline: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 205px;
    min-height: 54px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    transition: transform var(--transition-standard), background var(--transition-standard), border-color var(--transition-standard);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, #0648c9, #003ba8);
}

.btn-outline {
    color: var(--blue-dark);
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(6, 59, 143, .45);
}

.btn:hover {
    transform: translateY(-2px);
}

html.dark-mode .btn-outline {
    color: var(--white);
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--blue-light);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
