:root {
    --site-bg: #07192f;
    --site-bg-2: #0a2241;
    --site-text: #eef4ff;
    --site-text-soft: #c6d5eb;
    --site-border: rgba(255,255,255,0.08);
    --site-blue: #2f7cff;
    --site-blue-strong: #195ad1;
    --site-orange: #d87b31;
    --site-orange-strong: #b65c1d;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, #041121 0%, #081b33 45%, #0b2444 100%);
    color: var(--site-text);
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.site-shell {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 50;
    background: linear-gradient(180deg, rgba(11,34,66,0.96), rgba(8,25,49,0.94));
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.site-header__inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    flex: 0 0 auto;
}

.site-brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
}

.site-brand__logo img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.site-brand__text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex: 1 1 auto;
}

.site-nav a {
    text-decoration: none;
    color: #d9e5f7;
    font-size: 16px;
    font-weight: 700;
    transition: color 0.16s ease, opacity 0.16s ease;
}

.site-nav a:hover {
    color: #ffffff;
}

.site-header__actions {
    flex: 0 0 auto;
}

.site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    background: linear-gradient(180deg, var(--site-orange) 0%, var(--site-orange-strong) 100%);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 14px 28px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.18);
    transition: transform 0.16s ease, filter 0.16s ease;
}

.site-header__cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

main {
    min-height: calc(100vh - 84px);
}

@media (max-width: 980px) {
    .site-header__inner {
        min-height: auto;
        padding-top: 16px;
        padding-bottom: 16px;
        flex-wrap: wrap;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 14px 18px;
    }
}

@media (max-width: 640px) {
    .site-shell {
        width: min(100% - 24px, 1240px);
    }

    .site-brand__logo,
    .site-brand__logo img {
        width: 46px;
        height: 46px;
    }

    .site-brand__text {
        font-size: 18px;
    }

    .site-header__cta {
        min-height: 42px;
        padding: 0 14px;
        font-size: 14px;
    }
}