:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #eff6ff;

    --accent: #06b6d4;
    --accent-soft: #ecfeff;

    --text: #0f172a;
    --text-soft: #334155;
    --muted: #64748b;

    --background: #f7f9fc;
    --surface: #ffffff;
    --surface-soft: #f8fafc;

    --border: #e2e8f0;

    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;

    --footer: #0b1630;

    --shadow-sm:
        0 4px 16px rgba(15, 23, 42, .05);

    --shadow-md:
        0 12px 34px rgba(15, 23, 42, .08);

    --shadow-lg:
        0 24px 60px rgba(15, 23, 42, .12);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --container: 1240px;
}


/*
|--------------------------------------------------------------------------
| Reset
|--------------------------------------------------------------------------
*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}


/*
|--------------------------------------------------------------------------
| Layout
|--------------------------------------------------------------------------
*/

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

.section {
    padding: 88px 0;
}

.section-sm {
    padding: 58px 0;
}


/*
|--------------------------------------------------------------------------
| Typography
|--------------------------------------------------------------------------
*/

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: var(--primary);
}

.section-title {
    margin: 12px 0 0;

    font-size: clamp(
        34px,
        5vw,
        52px
    );

    line-height: 1.08;
    letter-spacing: -.04em;
}

.section-description {
    max-width: 680px;
    margin-top: 18px;

    color: var(--muted);
    font-size: 17px;
}


/*
|--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------
*/

.btn {
    min-height: 48px;
    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 0;
    border-radius: var(--radius-sm);

    cursor: pointer;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;

    box-shadow:
        0 8px 22px rgba(37, 99, 235, .18);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text);

    border: 1px solid var(--border);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-sm);
}


/*
|--------------------------------------------------------------------------
| Cards
|--------------------------------------------------------------------------
*/

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.card-hover {
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}


/*
|--------------------------------------------------------------------------
| Header Base
|--------------------------------------------------------------------------
*/

.site-header {
    position: relative;
    z-index: 50;

    background: rgba(255,255,255,.95);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-logo {
    display: inline-flex;
    align-items: center;

    font-size: 25px;
    font-weight: 900;
    letter-spacing: -.05em;

    color: var(--text);
}

.site-logo span {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: var(--text-soft);

    font-size: 14px;
    font-weight: 700;

    transition: color .18s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


/*
|--------------------------------------------------------------------------
| Forms
|--------------------------------------------------------------------------
*/

.form-control {
    width: 100%;
    min-height: 50px;

    padding: 0 15px;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    outline: none;

    background: #ffffff;
    color: var(--text);

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.form-control:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, .08);
}

textarea.form-control {
    min-height: 130px;
    padding-top: 14px;
    resize: vertical;
}


/*
|--------------------------------------------------------------------------
| Utility Colors
|--------------------------------------------------------------------------
*/

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--muted);
}

.bg-white {
    background: #ffffff;
}

.bg-soft {
    background: var(--surface-soft);
}

.bg-blue-soft {
    background: var(--primary-soft);
}


/*
|--------------------------------------------------------------------------
| Footer Base
|--------------------------------------------------------------------------
*/

.site-footer {
    background: var(--footer);
    color: #ffffff;
}

.site-footer a {
    color: #cbd5e1;
}

.site-footer a:hover {
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .header-actions .btn-secondary {
        display: none;
    }

    .section {
        padding: 68px 0;
    }
}


@media (max-width: 640px) {

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

    .header-inner {
        min-height: 70px;
    }

    .site-logo {
        font-size: 22px;
    }

    .header-actions .btn {
        min-height: 42px;
        padding: 0 14px;
        font-size: 12px;
    }

    .section {
        padding: 56px 0;
    }

    .section-sm {
        padding: 42px 0;
    }
}