:root {
    --chrome-navy-950: #050d1d;
    --chrome-navy-900: #071328;
    --chrome-navy-800: #0b1d39;
    --chrome-blue-700: #233f8e;
    --chrome-blue-600: #2b4da5;
    --chrome-blue-500: #3e68cb;
    --chrome-blue-400: #6690ed;
    --chrome-cyan: #67c6ff;
    --chrome-ease: cubic-bezier(.2, .75, .25, 1);
}

body.nav-open {
    overflow: hidden;
}

.skip-link {
    position: fixed;
    top: -80px;
    right: 22px;
    z-index: 9999;
    padding: 10px 18px;
    border-radius: 0 0 12px 12px;
    color: #fff;
    background: var(--chrome-blue-600);
    transition: top .2s ease;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 92px;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
    background: linear-gradient(180deg, rgba(4, 13, 29, .86), rgba(4, 13, 29, .42));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: height .3s ease, background .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
    height: 78px;
    background: rgba(5, 15, 33, .94);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .2);
}

.site-header .shell,
.site-footer .shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header .nav-shell {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-header .brand,
.site-footer .brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    font-size: inherit;
    font-weight: inherit;
}

.site-header .brand:hover,
.site-footer .brand:hover {
    color: #fff;
}

.site-header .brand-logo,
.site-footer .brand-logo {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(0, 0, 0, .17);
}

.site-header .brand-logo img,
.site-footer .brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-header .brand-copy,
.site-footer .brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.site-header .brand-copy strong,
.site-footer .brand-copy strong {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -.7px;
}

.site-header .brand-copy small,
.site-footer .brand-copy small {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, .63);
    font-size: 9.5px;
    font-weight: 500;
    opacity: 1;
}

.site-header .main-nav {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(15px, 1.8vw, 27px);
    margin-inline: auto;
}

.site-header .main-nav a {
    position: relative;
    padding: 14px 0;
    color: rgba(255, 255, 255, .73);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .25s ease;
}

.site-header .main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 7px;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--chrome-cyan);
    transition: width .25s var(--chrome-ease);
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
    color: #fff;
}

.site-header .main-nav a:hover::after,
.site-header .main-nav a.active::after {
    width: 100%;
}

.site-header .button,
.site-footer .button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 11px 24px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--chrome-blue-500), var(--chrome-blue-600));
    box-shadow: 0 13px 30px rgba(43, 77, 165, .28);
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
    transition: transform .25s var(--chrome-ease), box-shadow .25s ease, background .25s ease;
}

.site-header .button:hover,
.site-footer .button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(43, 77, 165, .36);
}

.site-header .button i,
.site-footer .button i {
    font-size: 13px;
}

.site-header .button-sm {
    min-height: 44px;
    padding: 9px 17px;
    border-radius: 12px;
    font-size: 12px;
}

.site-header .header-cta {
    flex: 0 0 auto;
}

.site-header .nav-toggle {
    width: 44px;
    height: 44px;
    display: none;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.site-header .nav-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease;
}

.site-header .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.site-header .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-footer {
    position: relative;
    padding-top: 1px;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 60%, rgba(62, 104, 203, .18), transparent 26%),
        linear-gradient(135deg, var(--chrome-navy-800), var(--chrome-navy-950) 72%);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

.site-footer .footer-cta {
    position: relative;
    z-index: 2;
    min-height: 180px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 58px;
    margin-right: auto;
    margin-left: auto;
    padding: 40px 48px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 26px;
    text-align: right;
    background: linear-gradient(120deg, rgba(62, 104, 203, .48), rgba(43, 77, 165, .2));
    box-shadow: 0 25px 65px rgba(0, 0, 0, .2);
}

.site-footer .footer-cta span {
    color: #afc8f4;
    font-size: 10px;
    font-weight: 700;
}

.site-footer .footer-cta h2 {
    max-width: 660px;
    margin: 6px 0 0;
    color: #fff;
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 900;
    line-height: 1.65;
}

.site-footer .button-light {
    color: var(--chrome-blue-700);
    background: #fff;
    box-shadow: 0 15px 35px rgba(5, 13, 29, .19);
}

.site-footer .button-light:hover {
    color: var(--chrome-blue-700);
    background: #f9fbff;
}

.site-footer .footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.55fr .8fr .95fr 1.2fr;
    direction: rtl;
    gap: 66px;
    padding-top: 76px;
    padding-bottom: 56px;
    color: #fff;
}

.site-footer .footer-grid > div {
    direction: rtl;
}

.site-footer .footer-brand {
    margin-bottom: 22px;
}

.site-footer .footer-about > p {
    max-width: 350px;
    margin: 0;
    color: rgba(225, 235, 250, .59);
    font-size: 11px;
    line-height: 2.15;
}

.site-footer .footer-grid h3 {
    position: relative;
    margin: 8px 0 23px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.site-footer .footer-grid h3::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 25px;
    height: 2px;
    border-radius: 99px;
    background: var(--chrome-blue-400);
}

.site-footer .footer-grid ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-grid li,
.site-footer .footer-grid li a {
    margin: 0;
    color: rgba(225, 235, 250, .62);
    font-size: 10.5px;
    line-height: 1.9;
    transition: color .2s ease, transform .2s ease;
}

.site-footer .footer-grid li a:hover {
    color: #fff;
}

.site-footer .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.site-footer .footer-contact i {
    width: 22px;
    padding-top: 4px;
    color: #a9c9ff;
    text-align: center;
}

.site-footer .footer-socials {
    display: flex;
    gap: 9px;
    margin-top: 22px;
}

.site-footer .footer-socials a {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 11px;
    color: #c7daf8;
    background: rgba(255, 255, 255, .04);
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.site-footer .footer-socials a:hover {
    color: var(--chrome-blue-700);
    background: #fff;
    transform: translateY(-3px);
}

.site-footer .copyright {
    position: relative;
    z-index: 2;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(225, 235, 250, .42);
    font-size: 9px;
    text-align: right;
}

.site-footer .copyright > span:last-child {
    display: flex;
    gap: 22px;
}

.back-to-top {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 900;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    color: #fff;
    background: var(--chrome-blue-600);
    box-shadow: 0 13px 30px rgba(31, 64, 144, .3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--chrome-navy-900);
}

.reveal-ready .site-footer [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s var(--chrome-ease), transform .65s var(--chrome-ease);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready .site-footer [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .site-header .main-nav {
        gap: 15px;
    }

    .site-header .main-nav a {
        font-size: 11px;
    }

    .site-header .brand-copy small,
    .site-footer .brand-copy small {
        display: none;
    }

    .site-footer .footer-grid {
        gap: 38px;
    }
}

@media (max-width: 960px) {
    .site-header,
    .site-header.is-scrolled {
        height: 78px;
    }

    .site-header .nav-toggle {
        display: flex;
        margin-right: auto;
    }

    .site-header .header-cta {
        margin-right: 0;
    }

    .site-header .main-nav {
        position: fixed;
        top: 78px;
        right: 20px;
        left: 20px;
        display: grid;
        align-content: start;
        justify-content: stretch;
        gap: 3px;
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 18px;
        background: rgba(5, 15, 33, .98);
        box-shadow: 0 28px 70px rgba(0, 0, 0, .38);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
    }

    .site-header .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-header .main-nav a {
        padding: 11px 13px;
        border-radius: 10px;
        font-size: 12px;
    }

    .site-header .main-nav a:hover,
    .site-header .main-nav a.active {
        background: rgba(255, 255, 255, .06);
    }

    .site-header .main-nav a::after {
        display: none;
    }

    .site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .site-footer .footer-about > p {
        max-width: 480px;
    }
}

@media (max-width: 680px) {
    .site-header .shell,
    .site-footer .shell {
        width: min(100% - 28px, 1180px);
    }

    .site-header .header-cta {
        display: none;
    }

    .site-header .brand-logo,
    .site-footer .brand-logo {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
        border-radius: 13px;
    }

    .site-header .brand-copy strong,
    .site-footer .brand-copy strong {
        font-size: 20px;
    }

    .site-footer .footer-cta {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 28px;
        padding: 30px 24px;
        text-align: right;
    }

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

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 55px;
    }

    .site-footer .copyright {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
    }

    .back-to-top {
        left: 14px;
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .site-footer *,
    .back-to-top {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
