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

:root {
    --primary: #635bff;
    --primary-2: #a855f7;
    --text: #0a1029;
    --muted: #667085;
    --border: rgba(10, 16, 41, .1);
    --white: #ffffff;
    --soft: #f6f7fb;
    --dark: #070b1f;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: var(--text);
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    line-height: 0;
}

.site-logo img {
    width: 132px;
    max-height: 48px;
    object-fit: contain;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    color: #20233f;
    font-size: 15px;
    font-weight: 750;
}

.site-nav a {
    position: relative;
    padding: 8px 0;
    transition: color .18s ease;
}

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

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width .18s ease;
}

.site-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.btn-login,
.btn-header-primary {
    height: 46px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}

.btn-login {
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-login:hover {
    color: var(--primary);
    border-color: rgba(99, 91, 255, .35);
}

.btn-header-primary {
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(99, 91, 255, .22);
}

.btn-header-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(99, 91, 255, .28);
}

/* =========================
   FOOTER
========================= */

.site-footer {
    margin-top: 0;
    padding: 56px 0 24px;
    background:
        radial-gradient(circle at top left, rgba(99, 91, 255, .12), transparent 32%),
        #070b1f;
    color: #ffffff;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.footer-logo img {
    width: 132px;
    max-height: 48px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-inner p {
    max-width: 460px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .62);
    line-height: 1.75;
    font-size: 15px;
}

.footer-links {
    min-width: 210px;
    display: grid;
    gap: 14px;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    font-weight: 700;
}

.footer-links a {
    transition: color .18s ease, transform .18s ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, .52);
    font-size: 14px;
}

.footer-bottom div {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: auto 1fr;
    }

    .site-nav {
        display: none;
    }

    .header-actions {
        justify-content: flex-end;
    }
}

@media (max-width: 700px) {
    .site-container {
        width: min(100% - 28px, 1280px);
    }

    .header-inner {
        min-height: 72px;
        gap: 16px;
    }

    .site-logo img {
        width: 112px;
        max-height: 42px;
    }

    .btn-login {
        display: none;
    }

    .btn-header-primary {
        height: 42px;
        padding: 0 16px;
        font-size: 13px;
    }

    .footer-inner,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        display: flex;
    }

    .footer-bottom div {
        flex-wrap: wrap;
    }
}

@media (max-width: 420px) {
    .site-logo img {
        width: 100px;
    }

    .btn-header-primary {
        padding: 0 13px;
    }
}