.fsfo-site-header {
    --header-text: #f0f7ff;
    --header-accent: #9bdeff;
    --header-image: url("/downloads/fsfo-v7-downloads-cockpit.webp");
    --header-position: center 56%;
    border-bottom: 1px solid #276384;
    background: linear-gradient(90deg, #051629e8, #071b2cbc 48%, #041426c9),
        var(--header-image) var(--header-position) / cover no-repeat, #081c2d;
    color: #fff;
    font: 600 15px/1.3 system-ui, sans-serif;
}

.fsfo-site-header[data-page="home"] {
    --header-image: url("/wp-content/uploads/2021/05/cockpit-3-768x576.jpg");
    --header-position: center 48%;
}
.fsfo-site-header[data-page="v6-home"] {
    --header-image: url("/wp-content/uploads/2021/05/cockpit2-768x512.jpg");
    --header-position: center 45%;
}
.fsfo-site-header[data-page="pricing"] {
    --header-image: url("/storefront/fsfo-v7-assets/fsfo-v7-fenix-a320-cover.png");
    --header-position: center 70%;
}
.fsfo-site-header[data-page="overview"] {
    --header-image: url("/storefront/fsfo-v7-assets/fsfo-v7-copilot-flow-demo.jpg");
    --header-position: center 55%;
}
.fsfo-site-header[data-page="v6-overview"] {
    --header-image: url("/FSFO_V6/landing-backdrop.png");
    --header-position: center 49%;
}
.fsfo-site-header[data-page="operations"] {
    --header-image: url("/storefront/fsfo-v7-assets/fsfo-v7-home-screen-full.png");
    --header-position: center 89%;
}

.fsfo-site-header__inner {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    grid-template-areas: "brand nav actions";
    align-items: center;
    gap: 12px clamp(16px, 2vw, 32px);
    width: min(1440px, calc(100% - 64px));
    min-height: 104px;
    padding-block: 12px;
    margin-inline: auto;
}

.fsfo-site-header a { color: var(--header-text); text-decoration: none; }
.fsfo-site-header a:hover { color: var(--header-accent); }
.fsfo-site-header a:focus-visible { outline: 2px solid var(--header-accent); outline-offset: 4px; }

.fsfo-site-header .fsfo-site-header__brand {
    grid-area: brand;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}

.fsfo-site-header__brand img { display: block; border-radius: 8px; }
.fsfo-site-header__brand strong { display: block; font-size: 26px; font-style: italic; font-weight: 900; letter-spacing: -.06em; }
.fsfo-site-header__brand small { display: block; margin-top: 4px; font-size: 9px; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }

.fsfo-site-header__nav, .fsfo-site-header__actions { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
.fsfo-site-header__nav { grid-area: nav; justify-content: center; font-size: 1.08rem; }
.fsfo-site-header__actions { grid-area: actions; white-space: nowrap; }
.fsfo-site-header__nav a { position: relative; padding-block: 11px; }
.fsfo-site-header__nav a[aria-current] { color: #fff; font-weight: 750; }
.fsfo-site-header__nav a[aria-current]::after {
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: var(--header-accent);
    content: "";
}

.fsfo-site-header .fsfo-site-header__buy {
    display: inline-flex;
    align-items: center;
    min-height: 45px;
    padding-inline: 17px;
    border: 1px solid #448ff7;
    border-radius: 10px;
    background: #075be8;
    color: #fff;
    font-weight: 800;
}

.fsfo-site-header .fsfo-site-header__buy:hover { background: #004bc8; color: #fff; }
.fsfo-screen-reader-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 900px) {
    .fsfo-site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "brand actions" "nav nav";
        width: calc(100% - 32px);
        gap: 6px 12px;
        padding-block: 12px;
    }
    .fsfo-site-header__nav { justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; }
    .fsfo-site-header__nav a { padding-block: 8px; }
}

@media (max-width: 460px) {
    .fsfo-site-header, .fsfo-site-header__nav { font-size: 14px; }
    .fsfo-site-header__brand img { width: 30px; height: 30px; }
    .fsfo-site-header__brand strong { font-size: 21px; }
    .fsfo-site-header__brand small { font-size: 7px; }
    .fsfo-site-header__actions { gap: 8px; }
    .fsfo-site-header .fsfo-site-header__buy { min-height: 38px; padding-inline: 9px; }
}

