.site-shell {
    --home-header-container: var(--container);
    --home-header-blue: #344dff;
}

.trade-home,
.product-page,
.contact-page {
    --home-header-container: var(--fy-container);
    --home-header-blue: var(--fy-blue, #344dff);
}

.solutions-page {
    --home-header-container: var(--solution-container);
    --home-header-blue: var(--solution-blue, #344dff);
}

.support-page {
    --home-header-container: var(--srm-container);
    --home-header-blue: var(--srm-blue, #344dff);
}

.about-page {
    --home-header-container: var(--about-container);
    --home-header-blue: var(--about-blue, #344dff);
}

.site-shell .fy-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 24px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: padding 0.35s ease;
}

.site-shell .fy-header.scrolled {
    padding-top: 12px;
}

.site-shell .fy-nav {
    width: var(--home-header-container);
    min-height: 52px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
}

.site-shell .fy-header.scrolled .fy-nav {
    min-height: 60px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 44px rgba(55, 77, 150, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-shell .fy-header .fy-brand {
    min-width: 230px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.site-shell .fy-header .fy-logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 68% 28%, #eef9ff 0 30%, #daf3e8 31% 100%);
    box-shadow: inset 0 0 0 1px rgba(34, 80, 132, 0.08);
}

.site-shell .fy-header .fy-logo-mark svg {
    width: 27px;
    height: 27px;
    color: var(--home-header-blue);
}

.site-shell .fy-header .fy-logo-mark path:first-child {
    fill: #3ab86f;
    stroke: none;
}

.site-shell .fy-header .fy-logo-mark path:last-child {
    fill: var(--home-header-blue);
    stroke: none;
}

.site-shell .fy-header .fy-brand-text {
    color: #070a14;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1;
}

.site-shell .fy-header .fy-links {
    gap: clamp(32px, 3vw, 62px);
    justify-content: center;
}

.site-shell .fy-header .fy-links .nav-link {
    color: #111520;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.02em;
    padding: 8px 0 13px;
}

.site-shell .fy-header .fy-links .nav-link::after {
    bottom: 0;
    height: 3px;
    background: var(--home-header-blue);
}

.site-shell .fy-header .fy-actions {
    min-width: 170px;
    justify-content: flex-end;
    gap: 12px;
    flex: none;
}

.site-shell .fy-header .fy-lang {
    gap: 0;
    padding: 3px;
    border: 1px solid rgba(31, 45, 98, 0.12);
    background: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(61, 80, 150, 0.09);
}

.site-shell .fy-header .fy-lang .lang-btn {
    padding: 6px 8px;
    min-width: 32px;
    font-size: 11px;
    color: #1a2132;
    border-radius: 999px;
}

.site-shell .fy-header .fy-lang .lang-btn.active {
    color: #fff;
    background: var(--home-header-blue);
    box-shadow: none;
}

.site-shell .fy-header .fy-menu {
    display: inline-flex;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 22px rgba(61, 80, 150, 0.09), inset 0 0 0 1px rgba(31, 45, 98, 0.1);
}

.site-shell .fy-header .fy-menu::before,
.site-shell .fy-header .fy-menu::after,
.site-shell .fy-header .fy-menu span {
    left: 11px;
    right: 11px;
    height: 2px;
}

.site-shell .fy-header .fy-menu::before { top: 12px; }
.site-shell .fy-header .fy-menu span { top: 18px; }
.site-shell .fy-header .fy-menu::after { top: 24px; }

@media (max-width: 1420px) {
    .site-shell .fy-header .fy-links {
        gap: clamp(18px, 2vw, 34px);
    }

    .site-shell .fy-header .fy-brand {
        min-width: 205px;
    }
}

@media (max-width: 1100px) {
    .site-shell .fy-header .fy-links {
        display: flex;
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 10px);
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 20px 44px rgba(31, 45, 98, 0.16);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .site-shell .fy-header.menu-open .fy-links {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
        display: flex !important;
    }

    .site-shell .fy-header .fy-actions {
        min-width: auto;
        margin-left: auto;
    }
}

@media (max-width: 720px) {
    .site-shell .fy-header {
        padding-top: 14px;
    }

    .site-shell .fy-header.scrolled .fy-nav,
    .site-shell .fy-nav {
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
        min-height: 54px;
        padding: 0 4px;
    }

    .site-shell .fy-header .fy-brand {
        min-width: 0;
        gap: 8px;
    }

    .site-shell .fy-header .fy-actions {
        position: absolute;
        right: 0;
        top: 8px;
    }

    .site-shell .fy-header .fy-menu {
        display: inline-flex !important;
        position: fixed;
        right: 18px;
        top: 22px;
        z-index: 1002;
        background: #fff !important;
        box-shadow: 0 8px 22px rgba(31, 45, 98, 0.14), inset 0 0 0 1px rgba(31, 45, 98, 0.1) !important;
    }

    .site-shell .fy-header .fy-menu::before,
    .site-shell .fy-header .fy-menu::after,
    .site-shell .fy-header .fy-menu span {
        display: block !important;
        background: #111520 !important;
    }

    .site-shell .fy-header .fy-logo-mark {
        width: 29px;
        height: 29px;
    }

    .site-shell .fy-header .fy-brand-text {
        font-size: 18px;
    }

    .site-shell .fy-header .fy-lang {
        display: none;
    }
}

.site-shell .fy-header.menu-open .fy-links {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    display: flex !important;
    transition: none !important;
}

.site-shell header.menu-open nav.nav-links {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    display: flex !important;
    transition: none !important;
}

.product-page .product-hero > .product-hero-copy > .fy-kicker,
.solutions-page .solution-hero .solution-kicker,
.support-page .support-hero .support-kicker,
.about-page .about-hero .about-kicker,
.contact-page .contact-hero .fy-kicker,
.site-shell:not(.trade-home):not(.product-page):not(.solutions-page):not(.support-page):not(.about-page):not(.contact-page) main > .hero .eyebrow {
    display: none !important;
}

@media (min-width: 721px) {
    .product-page .product-hero-copy {
        padding-top: 135px;
    }

    .solutions-page .solution-hero .hero-layer,
    .about-page .about-hero .hero-layer {
        align-items: start;
        padding-top: 138px;
    }

    .support-page .support-hero .hero-inner {
        align-items: start;
        padding-top: 142px;
    }

    .solutions-page .solution-hero .hero-copy,
    .support-page .support-hero .hero-copy,
    .about-page .about-hero .hero-copy {
        padding-top: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .contact-page .contact-hero .hero-copy {
        padding-top: 16px;
    }

    .site-shell:not(.trade-home):not(.product-page):not(.solutions-page):not(.support-page):not(.about-page):not(.contact-page) main > .hero .hero-copy {
        padding: 24px 0 0;
        border: 0;
        border-radius: 0;
        overflow: visible;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .site-shell:not(.trade-home):not(.product-page):not(.solutions-page):not(.support-page):not(.about-page):not(.contact-page) main > .hero .hero-copy::before,
    .site-shell:not(.trade-home):not(.product-page):not(.solutions-page):not(.support-page):not(.about-page):not(.contact-page) main > .hero .hero-copy::after {
        content: none;
        display: none;
    }
}
