@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');


/* =========================================================
   ROOT
========================================================= */

:root {

    --primary: #0756d9;
    --primary-dark: #0344b4;

    --navy: #101a2b;

    --text: #344158;
    --muted: #788397;

    --border: #e9edf4;

    --white: #ffffff;

    --font: 'Manrope', sans-serif;
}


/* =========================================================
   GLOBAL RESET
========================================================= */

.snp-header,
.snp-header * {
    box-sizing: border-box;
}

.snp-header a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   HEADER
========================================================= */

.snp-header {

    width: 100%;

    height: 70px;

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid var(--border);

    box-shadow:
        0 5px 25px rgba(16, 26, 43, 0.045);

    font-family: var(--font);
}


/* =========================================================
   HEADER INNER
========================================================= */

.snp-header-inner {

    width: min(1360px, calc(100% - 90px));

    height: 100%;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;
}


/* =========================================================
   BRAND
========================================================= */

.snp-brand {

    display: inline-flex;

    align-items: center;

    gap: 13px;

    flex-shrink: 0;

    text-decoration: none;

    outline: none;
}


.snp-brand img {

    width: 65px;

    height: 65px;

    object-fit: contain;

    transition:
        transform 0.3s ease;
}


.snp-brand:hover img {

    transform: scale(1.05);
}


/* =========================================================
   BRAND TEXT
========================================================= */

.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.25;
}


.brand-text strong {

    font-family: var(--font);

    font-size: 17px;

    font-weight: 800;

    letter-spacing: 0.025em;

    color: var(--navy);
}


.brand-text small {

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.29em;

    margin-top: 5px;

    color: var(--primary);
}


/* =========================================================
   NAVIGATION
========================================================= */

.snp-nav {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: clamp(16px, 2vw, 29px);
}


/* =========================================================
   NAV LINK
========================================================= */

.nav-link {

    height: 100%;

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: var(--text);

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        color 0.25s ease;
}


/* =========================================================
   DESKTOP ACTIVE UNDERLINE
========================================================= */

.nav-link::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 25px;

    width: 100%;

    height: 3px;

    border-radius: 10px;

    background: var(--primary);

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform 0.25s ease;
}


/* Hover */

.nav-link:hover {

    color: var(--primary);
}


/* Active */

.nav-link.active {

    color: var(--primary);
}


/* Hover underline */

.nav-link:hover::after {

    transform: scaleX(1);
}


/* Active underline */

.nav-link.active::after {

    transform: scaleX(1);
}


/* =========================================================
   CONNECT BUTTON
========================================================= */

.nav-cta {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 0 15px;

    min-height: 36px;

    color: #ffffff;

    background: var(--primary);

    border: 1px solid var(--primary);

    border-radius: 6px;

    font-family: var(--font);

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    box-shadow:
        0 4px 12px rgba(7, 86, 217, 0.12);

    transition:
        all 0.25s ease;
}


.nav-cta:hover {

    color: #ffffff;

    background: var(--primary-dark);

    border-color: var(--primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(7, 86, 217, 0.24);
}


/* =========================================================
   CTA ARROW
========================================================= */

.cta-arrow {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 19px;

    line-height: 1;

    transition:
        transform 0.25s ease;
}


.nav-cta:hover .cta-arrow {

    transform:
        translate(3px, -3px);
}


/* =========================================================
   DESKTOP ONLY
========================================================= */

.menu-toggle,
.nav-backdrop,
.mobile-nav-heading {

    display: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .snp-header-inner {

        width:
            calc(100% - 45px);

        gap: 18px;
    }


    .snp-nav {

        gap: 16px;
    }


    .nav-link {

        font-size: 12px;
    }


    .brand-text strong {

        font-size: 15px;
    }


    .snp-brand img {

        width: 57px;

        height: 57px;
    }


    .nav-cta {

        padding: 0 13px;

        font-size: 12px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    html,
    body {

        max-width: 100%;

        overflow-x: hidden;
    }


    /* Header */

    .snp-header {

        height: 78px;
    }


    .snp-header-inner {

        width: 100%;

        min-width: 0;

        padding-inline: 16px;

        gap: 12px;
    }


    /* Brand */

    .snp-brand {

        gap: 10px;

        min-width: 0;

        max-width:
            calc(100% - 60px);

        flex-shrink: 1;

        overflow: hidden;
    }


    .snp-brand img {

        width: 51px;

        height: 51px;

        flex-shrink: 0;
    }


    .brand-text {

        min-width: 0;

        white-space: nowrap;

        overflow: hidden;
    }


    .brand-text strong {

        font-size: 14px;

        letter-spacing: 0.01em;
    }


    .brand-text small {

        font-size: 8px;

        letter-spacing: 0.22em;

        margin-top: 4px;
    }


    /* =====================================================
       MOBILE MENU BUTTON
    ===================================================== */

    .menu-toggle {

        width: 47px;

        height: 47px;

        flex: 0 0 47px;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 6px;

        padding: 10px;

        border:
            1px solid #e1e8f2;

        border-radius: 7px;

        background: #f7faff;

        cursor: pointer;

        position: relative;

        z-index: 1002;

        transition:
            background 0.2s ease;
    }


    .menu-toggle:hover {

        background: #eef5ff;
    }


    .menu-toggle:active {

        background: #eaf1ff;
    }


    .menu-toggle span {

        width: 21px;

        height: 2.5px;

        display: block;

        border-radius: 10px;

        background: var(--navy);

        transition:
            transform 0.3s ease,
            opacity 0.2s ease;
    }


    /* Hamburger -> X */

    .menu-toggle[aria-expanded="true"]
    span:first-child {

        transform:
            translateY(8.5px)
            rotate(45deg);
    }


    .menu-toggle[aria-expanded="true"]
    span:nth-child(2) {

        opacity: 0;
    }


    .menu-toggle[aria-expanded="true"]
    span:last-child {

        transform:
            translateY(-8.5px)
            rotate(-45deg);
    }


    /* =====================================================
       MOBILE DRAWER
    ===================================================== */

    .snp-nav {

        position: fixed;

        top: 0;

        right: 0;

        left: auto;

        width: min(88vw, 380px);

        max-width: 100vw;

        height: 100vh;

        height: 100dvh;

        margin: 0;

        padding:
            22px
            20px
            28px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        justify-content: flex-start;

        gap: 0;

        overflow-x: hidden;

        overflow-y: auto;

        background: #ffffff;

        box-shadow:
            -15px 0 50px
            rgba(16, 26, 43, 0.13);

        transform:
            translateX(105%);

        visibility: hidden;

        transition:
            transform 0.3s ease,
            visibility 0.3s ease;

        z-index: 1001;
    }


    .snp-header.menu-open
    .snp-nav {

        transform:
            translateX(0);

        visibility: visible;
    }


    /* =====================================================
       MOBILE NAV HEADING
    ===================================================== */

    .mobile-nav-heading {

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 6px;

        width: 100%;

        min-width: 0;

        margin:
            0 0 16px;

        padding:
            10px 0 18px;

        border-bottom:
            1px solid #e8edf4;
    }


    .mobile-nav-heading strong {

        font-size: 22px;

        font-weight: 800;

        color: var(--navy);
    }


    .mobile-nav-heading small {

        font-size: 10px;

        font-weight: 800;

        letter-spacing: 0.19em;

        color: var(--primary);
    }


    /* =====================================================
       MOBILE NAV LINKS
    ===================================================== */

    .snp-nav .nav-link {

        display: flex;

        align-items: center;

        justify-content: flex-start;

        width: 100%;

        min-width: 0;

        min-height: 56px;

        height: auto;

        margin: 0;

        padding:
            15px 12px;

        box-sizing: border-box;

        white-space: normal;

        overflow-wrap: anywhere;

        border-bottom:
            1px solid #edf1f6;

        color: #344158;

        font-size: 15px;

        font-weight: 700;
    }


    /* Remove desktop underline */

    .snp-nav .nav-link::after {

        display: none;
    }


    /* Mobile hover */

    .snp-nav .nav-link:hover {

        color: var(--primary);

        background: #f8faff;
    }


    /* Mobile active */

    .snp-nav .nav-link.active {

        color: var(--primary);

        padding-left: 12px;

        border-left:
            3px solid var(--primary);

        background:
            #f4f8ff;
    }


    /* =====================================================
       MOBILE CTA
    ===================================================== */

    .snp-nav .nav-cta {

        display: flex;

        align-items: center;

        justify-content: space-between;

        width: 100%;

        max-width: 100%;

        min-width: 0;

        min-height: 48px;

        margin:
            24px 0 0;

        padding:
            0 16px;

        box-sizing: border-box;

        font-size: 13px;

        border-radius: 6px;
    }


    /* =====================================================
       BACKDROP
    ===================================================== */

    .nav-backdrop {

        display: block;

        position: fixed;

        inset: 0;

        width: 100%;

        height: 100%;

        padding: 0;

        border: none;

        background:
            rgba(10, 20, 40, 0.48);

        opacity: 0;

        visibility: hidden;

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;

        z-index: 1000;
    }


    .snp-header.menu-open
    .nav-backdrop {

        opacity: 1;

        visibility: visible;
    }


    /* Lock page scroll */

    body.menu-locked {

        overflow: hidden;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .snp-header-inner {

        width:
            calc(100% - 24px);

        padding-inline: 0;
    }


    .snp-brand img {

        width: 45px;

        height: 45px;
    }


    .brand-text strong {

        font-size: 12px;
    }


    .brand-text small {

        font-size: 7px;
    }


    .menu-toggle {

        width: 43px;

        height: 43px;

        flex-basis: 43px;
    }


    .snp-nav {

        width: 90vw;

        padding:
            20px
            17px
            25px;
    }


    .mobile-nav-heading strong {

        font-size: 20px;
    }


    .snp-nav .nav-link {

        min-height: 53px;

        font-size: 14px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.snp-brand:focus-visible,
.snp-nav a:focus-visible,
.menu-toggle:focus-visible {

    outline:
        3px solid
        rgba(7, 86, 217, 0.4);

    outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }
}