@charset "UTF-8";

/* ============================================================
   PHARMALAB — SITE HEADER (site-wide, teal/mint)

   Previously the dark header lived only on the homepage, so every other page
   fell back to the light theme header where the navigation rendered teal on
   white at 3.96:1. The approved design uses one dark header everywhere, so the
   treatment is global and self-contained (its own tokens — it does not depend
   on the homepage design-system scope).

   Loaded after the light theme sheets so it owns the header block.
   ============================================================ */

.plab-site-header {
    --h-dark-900: var(--pharma-800);
    --h-dark-1000: var(--pharma-950);
    --h-accent: var(--mint-500);
    --h-accent-bright: var(--mint-400);
    --h-accent-deep: var(--mint-500);
    --h-line: rgba(50, 172, 145, .30);
    --h-line-2: rgba(50, 172, 145, .55);
    --h-on-dark: var(--white);
    --h-muted: var(--text-secondary-dark);
    --h-ease: cubic-bezier(.22, .68, .36, 1);
    background: rgba(0, 27, 25, .82);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    color: var(--h-on-dark);
    transition: background-color .25s var(--h-ease), box-shadow .25s var(--h-ease);
}

.plab-site-header.is-stuck,
.plab-site-header[data-plab-header].is-stuck {
    background: rgba(0, 21, 20, .96);
    box-shadow: 0 12px 34px -22px #000000;
}

.plab-site-header__inner {
    gap: 28px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.plab-site-header .plab-site-branding__link {
    color: var(--h-accent); text-decoration: none;
}

.plab-site-header .plab-site-branding,
.plab-site-header .plab-site-branding__link {
    width: 174px;
    max-width: 100%;
}

.plab-site-header .plab-wordmark__name {
    color: var(--white);
}

.plab-site-header .plab-wordmark__tagline {
    color: var(--h-accent); opacity: .92;
}

.plab-desktop-nav {
    margin-inline: auto;
}

.plab-desktop-nav .plab-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plab-desktop-nav .plab-nav > li {
    position: relative;
}

.plab-desktop-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 9px;
    color: var(--h-on-dark);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s var(--h-ease), background-color .2s var(--h-ease);
}

.plab-desktop-nav a:hover,
.plab-desktop-nav a:focus-visible,
.plab-desktop-nav .current-menu-item > a,
.plab-desktop-nav .current_page_item > a,
.plab-desktop-nav .current-menu-ancestor > a {
    color: var(--h-accent-bright);
    background: rgba(255, 255, 255, .05);
}

.plab-desktop-nav > .plab-nav > li > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 3px;
    height: 1.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--h-accent), transparent);
    transform: scaleX(0);
    transition: transform .22s var(--h-ease);
}

.plab-desktop-nav > .plab-nav > li > a:hover::after,
.plab-desktop-nav > .plab-nav > li:focus-within > a::after,
.plab-desktop-nav > .plab-nav > .current-menu-item > a::after,
.plab-desktop-nav > .plab-nav > .current_page_item > a::after,
.plab-desktop-nav > .plab-nav > .current-menu-ancestor > a::after {
    transform: scaleX(1);
}

.plab-desktop-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 70;
    display: none;
    min-width: 236px;
    margin: 0;
    padding: 10px;
    list-style: none;
    border-radius: 16px;
    border: 1px solid var(--h-line);
    background: linear-gradient(168deg, var(--h-dark-900), var(--h-dark-1000));
    box-shadow: 0 30px 70px -34px #000000;
}

.plab-desktop-nav li:hover > .sub-menu,
.plab-desktop-nav li:focus-within > .sub-menu {
    display: grid;
}

.plab-desktop-nav .sub-menu a {
    padding: 9px 10px; border-radius: 10px; font-size: 13.4px;
}

.plab-desktop-nav .sub-menu a:hover {
    background: rgba(50, 172, 145, .10);
}

.plab-desktop-nav > .plab-nav > li:nth-last-child(-n+3) > .sub-menu {
    left: auto; right: 0;
}

.plab-site-header__actions {
    display: flex; align-items: center; gap: 12px;
}

.plab-site-header--launch .plab-site-header__inner {
    grid-template-columns: max-content minmax(0, 1fr);
}

.plab-site-header--launch .plab-site-branding {
    width: max-content;
    min-width: 0;
}

.plab-launch-nav {
    justify-self: end;
    min-width: 0;
}

.plab-launch-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plab-launch-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--h-on-dark);
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s var(--h-ease), background-color .2s var(--h-ease), border-color .2s var(--h-ease);
}

.plab-launch-nav a:hover,
.plab-launch-nav a:focus-visible {
    color: var(--h-accent-bright);
    background: rgba(255, 255, 255, .05);
    border-color: rgba(50, 172, 145, .22);
}

.plab-launch-nav .is-current a {
    color: var(--h-dark-1000);
    background: linear-gradient(135deg, var(--h-accent-bright), var(--h-accent-deep));
    border-color: var(--h-line-2);
    box-shadow: 0 12px 26px -20px rgba(50, 172, 145, .95);
}

@media (max-width: 640px) {
    .plab-site-header--launch .plab-site-header__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding-block: 10px;
    }

    .plab-site-header--launch .plab-site-branding {
        justify-self: center;
    }

    .plab-launch-nav {
        width: 100%;
        justify-self: stretch;
    }

    .plab-launch-nav__list {
        justify-content: center;
    }

    .plab-launch-nav a {
        min-height: 36px;
        padding: 7px 11px;
        font-size: 12.5px;
    }

}

@media (max-width: 720px) {
    .plab-site-header .plab-site-branding,
.plab-site-header .plab-site-branding__link {
        width: 150px;
    }

}

@media (max-width: 420px) {
    .plab-site-header .plab-site-branding,
.plab-site-header .plab-site-branding__link {
        width: 136px;
    }

}

.plab-site-header .plab-header-cta {
    height: 40px;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 6px;
    color: var(--h-dark-1000) !important;
    background: linear-gradient(135deg, var(--h-accent-bright), var(--h-accent-deep)) !important;
    border: 1px solid var(--h-line-2) !important;
    box-shadow: 0 12px 26px -18px rgba(50, 172, 145, .85);
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    transition: transform .22s var(--h-ease), box-shadow .22s var(--h-ease), filter .22s var(--h-ease);
}

.plab-site-header .plab-header-cta:hover,
.plab-site-header .plab-header-cta:focus-visible {
    color: var(--h-dark-1000) !important;
    background: linear-gradient(135deg, var(--mint-300), var(--h-accent)) !important;
    transform: translateY(-2px);
}

.plab-site-header .plab-menu-toggle {
    border: 1px solid rgba(255, 255, 255, .14);
    background: transparent;
}

.plab-site-header .plab-menu-icon span {
    background: var(--h-on-dark);
}

.plab-site-header .plab-skip-link:focus,
.plab-skip-link:focus {
    color: var(--h-dark-1000); background: var(--h-accent);
}

.plab-mobile-navigation__drawer {
    background: linear-gradient(180deg, var(--pharma-900), var(--pharma-950));
    border-left: 1px solid rgba(50, 172, 145, .30);
    color: var(--white);
}

.plab-mobile-navigation__header,
.plab-mobile-navigation__title {
    color: var(--white);
}

.plab-mobile-navigation__scrim {
    background: rgba(0, 21, 20, .68);
}

.plab-mobile-menu,
.plab-mobile-menu .sub-menu {
    margin: 0; padding: 0; list-style: none;
}

.plab-mobile-menu a {
    display: block;
    padding: 13px 4px;
    color: var(--white);
    font-size: 15.5px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: color .2s cubic-bezier(.22, .68, .36, 1);
}

.plab-mobile-menu a:hover,
.plab-mobile-menu a:focus-visible {
    color: var(--mint-400);
}

.plab-mobile-menu .sub-menu a {
    padding-left: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary-dark);
}

.plab-site-header a:focus-visible,
.plab-site-header button:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

@media (max-width: 1160px) {
    .plab-desktop-nav {
        display: none;
    }

}

@media (prefers-reduced-motion: reduce) {
    .plab-site-header *,
.plab-site-header *::after {
        transition-duration: .001ms !important;
    }

}

.plab-site-header .plab-desktop-nav .sub-menu {
    border: 1px solid var(--h-line);
    border-radius: 16px;
    background-image: linear-gradient(168deg, var(--h-dark-900), var(--h-dark-1000));
    background-color: var(--h-dark-1000);
    box-shadow: 0 30px 70px -34px #000000;
}

.plab-site-header .plab-desktop-nav .sub-menu a,
.plab-site-header .plab-desktop-nav .sub-menu a:visited {
    color: var(--text-soft-dark);
    background-color: transparent;
    text-decoration: none;
}

.plab-site-header .plab-desktop-nav .sub-menu a:hover,
.plab-site-header .plab-desktop-nav .sub-menu a:focus-visible {
    color: var(--h-accent-bright, var(--mint-400));
    background-color: rgba(50, 172, 145, .12);
}

.plab-site-header .plab-mobile-menu .sub-menu,
.plab-site-header .plab-mobile-menu .sub-menu a {
    background-color: transparent;
    color: var(--text-soft-dark);
}

/* ------------------------------------------------ header CTA pill (site-wide)
   A menu item with the class "plab-cta" (or a config item with cta => true)
   renders as the filled pill; on small screens it hides because the hero
   repeats the same call to action right below the header. */

.plab-launch-nav .plab-launch-nav__cta a {
    margin-left: 6px;
    color: var(--pharma-950);
    background: linear-gradient(135deg, var(--mint-400), var(--mint-500));
    border-color: rgba(50, 172, 145, .55);
    box-shadow: 0 12px 26px -20px rgba(50, 172, 145, .95);
}

.plab-launch-nav .plab-launch-nav__cta a:hover,
.plab-launch-nav .plab-launch-nav__cta a:focus-visible {
    color: var(--pharma-950);
    background: linear-gradient(135deg, var(--mint-300), var(--mint-400));
    border-color: rgba(154, 234, 210, .8);
}

@media (max-width: 640px) {
    .plab-launch-nav__list {
        flex-wrap: wrap;
        gap: 4px;
        row-gap: 6px;
    }

    .plab-launch-nav a {
        min-height: 34px;
        padding: 6px 8px;
        font-size: 11.5px;
        letter-spacing: -.005em;
    }

    /* The hero repeats the call to action right below the header. */
    .plab-launch-nav .plab-launch-nav__cta {
        display: none;
    }
}
