:root {
    --layout-brand: #4f6ef7;
    --layout-brand-dark: #3655e8;
    --layout-ink: #102a43;
    --layout-copy: #53687d;
    --layout-line: #dce4ee;
    --layout-footer-text: #e0e7ff;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--layout-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
}

.site-header .navbar {
    min-height: 78px;
    padding-block: .7rem;
    color: var(--layout-ink) !important;
    background: #fff !important;
    box-shadow: 0 1px 10px rgba(16, 42, 67, .06);
}

.site-header .container {
    width: min(100% - 32px, 1180px);
    min-width: 0;
    max-width: 1180px;
    margin-inline: auto;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    word-break: normal;
    text-decoration: none;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.site-brand__word {
    color: var(--layout-brand);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}

.site-brand__logo {
    width: auto;
    height: 44px;
    display: block;
    object-fit: contain;
}

.site-header .nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: .55rem .7rem !important;
    color: #31465b !important;
    border-radius: 8px;
    font-size: .93rem;
    font-weight: 600;
    line-height: 1.2;
    transition: color .18s ease, background-color .18s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
    color: var(--layout-brand-dark) !important;
    background: #f1f4ff;
    transform: none;
}

.site-header .dropdown-menu {
    min-width: 190px;
    padding: .45rem;
    border: 1px solid var(--layout-line);
    border-radius: 11px;
    box-shadow: 0 16px 38px rgba(16, 42, 67, .12);
}

.site-header .dropdown-item {
    min-height: 40px;
    padding: .55rem .7rem;
    border-radius: 7px;
    font-size: .9rem;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
    color: var(--layout-brand-dark);
    background: #f1f4ff;
}

.layout-cta-button,
.footer-cta-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .7rem 1rem;
    color: #fff !important;
    background: linear-gradient(
        110deg,
        #4f6ef7 0%,
        #4f6ef7 34%,
        #7d8fff 48%,
        #4f6ef7 62%,
        #4f6ef7 100%
    );
    background-size: 230% 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(49, 87, 246, .22);
    animation: layoutCtaSweep 4.5s ease-in-out infinite;
    transition: transform .18s ease, box-shadow .18s ease;
}

.layout-cta-button:hover,
.footer-cta-button:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 11px 26px rgba(49, 87, 246, .3);
}

@keyframes layoutCtaSweep {
    0%,
    24% {
        background-position: 100% 50%;
    }

    58%,
    100% {
        background-position: 0 50%;
    }
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--layout-ink);
    background: transparent;
    border: 0;
    border-radius: 8px;
    box-shadow: none !important;
}

.burger-icon,
.close-icon {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1;
}

.site-header__mobile-spacer {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
}

/* Footer */
.site-footer {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 1.5rem;
    color: #fff;
    background: radial-gradient(circle at 50% 30%, #2a4b9a, #10223a 70%, #030614);
}

.site-footer__main {
    align-items: flex-start;
}

.site-footer__eyebrow {
    margin: 0 0 .65rem;
    color: #9fb0ff;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-footer__title {
    max-width: 500px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 1.6rem);
    font-weight: 650;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.site-footer__text {
    max-width: 520px;
    margin: .8rem 0 0;
    color: #cbd6e6;
    font-size: .96rem;
    line-height: 1.65;
}

.footer-cta-button {
    margin-top: 1.25rem;
}

.site-footer__brand {
    display: inline-block;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.035em;
    text-decoration: none;
}

.site-footer__brand:hover {
    color: #fff;
}

.site-footer__brand-text {
    max-width: 260px;
    margin: .8rem auto 0;
    color: #cbd6e6;
    font-size: .9rem;
    line-height: 1.55;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .7rem;
}

.site-footer a {
    color: var(--layout-footer-text);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer__trademark {
    max-width: 360px;
    margin: 2rem 0 0 auto;
    color: #94a6ba;
    font-size: .74rem;
    line-height: 1.55;
}

.site-footer__bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(224, 231, 255, .22);
    color: var(--layout-footer-text);
    font-size: .88rem;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__bottom > :nth-child(2) {
    justify-self: center;
}

.site-footer__bottom > :last-child {
    justify-self: end;
}

.site-footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.site-footer__socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--layout-footer-text);
    border: 1px solid rgba(224, 231, 255, .22);
    border-radius: 50%;
    font-size: 1.05rem;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.site-footer__socials a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .45);
    text-decoration: none;
}

/* Cookie and scroll-to-top */
.cookie-banner.show {
    display: block !important;
}

.scroll-to-top {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1020;
    padding: 0;
    color: #fff;
    background: #274461;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(3, 6, 20, .2);
}

.scroll-to-top:hover {
    background: var(--layout-brand-dark);
}

.scroll-to-top i {
    font-size: 1.1rem;
}

@media (max-width: 991.98px) {
    .site-header .navbar {
        min-height: 72px;
    }

    .site-header .navbar-collapse {
        width: 100%;
        margin-top: .7rem;
        padding: .75rem;
        background: #fff;
        border: 1px solid var(--layout-line);
        border-radius: 12px;
        box-shadow: 0 16px 36px rgba(16, 42, 67, .1);
    }

    .site-header .navbar-nav {
        width: 100%;
        align-items: stretch;
    }

    .site-header .nav-link,
    .layout-cta-button {
        width: 100%;
        justify-content: flex-start;
    }

    .layout-cta-button {
        margin-top: .35rem;
    }

    .site-footer__links {
        align-items: center;
    }

    .site-footer__trademark {
        margin-inline: auto;
    }
}

@media (max-width: 575.98px) {
    .site-header .container {
        width: 100%;
        padding-inline: 14px;
    }

    .site-brand {
        gap: .35rem;
    }

    .site-brand__word {
        font-size: 1.05rem;
    }

    .site-brand__logo {
        height: 38px;
    }

    .site-footer {
        padding-top: 3.25rem;
    }

    .site-footer__title {
        font-size: 1.35rem;
    }

    .footer-cta-button {
        width: 100%;
    }

    .site-footer__bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .site-footer__bottom > :nth-child(2),
    .site-footer__bottom > :last-child {
        justify-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .layout-cta-button,
    .footer-cta-button {
        animation: none;
    }
}
