:root {
    --wg-blue: #2563eb;
    --wg-blue-dark: #1e40af;
    --wg-slate: #0f172a;
    --wg-muted: #6b7280;
    --wg-border: #e5e7eb;
    --wg-bg: #f8fafc;
}

.wg-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

.wg-announcement {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: var(--wg-blue);
    color: #fff;
    z-index: 60;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgb(15 23 42 / 0.2);
    transition: transform 0.3s ease;
}

.wg-announcement.is-hidden {
    transform: translateY(-100%);
}

.wg-announcement__text {
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wg-pill {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 2px 12px;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wg-announcement__link {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.wg-announcement__meta {
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
}

.wg-header {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--wg-border);
    z-index: 55;
    transition: box-shadow 0.3s ease, top 0.3s ease, background 0.3s ease;
}

.wg-header.is-scrolled {
    top: 0;
    box-shadow: 0 15px 35px -12px rgb(15 23 42 / 0.25);
}

.wg-header__inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    width: 100%;
}

.wg-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.wg-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.wg-nav a {
    font-weight: 600;
    font-size: 15px;
    color: var(--wg-slate);
    text-decoration: none;
    transition: color 0.2s ease;
}

.wg-nav a:hover {
    color: var(--wg-blue);
}

.wg-header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.wg-link {
    color: var(--wg-slate);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wg-link:hover {
    color: var(--wg-blue);
}

.wg-cta {
    background: var(--wg-blue);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wg-cta:hover {
    background: var(--wg-blue-dark);
}

.wg-header__welcome span {
    font-weight: 600;
    color: var(--wg-slate);
    font-size: 14px;
}

.wg-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--wg-border);
    border-radius: 12px;
    background: #fff;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.wg-mobile-toggle span {
    width: 20px;
    height: 2px;
    background: var(--wg-slate);
    display: block;
    transition: transform 0.2s ease;
}

.wg-mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.wg-mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.wg-mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.wg-header-spacer {
    height: 188px;
}

.wg-hero {
    background: linear-gradient(135deg, #0f172a, #1d4ed8 55%, #60a5fa);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.wg-hero--compact {
    padding: 48px 0;
}

.wg-hero__content {
    max-width: 560px;
}

.wg-eyebrow {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.75);
}

.wg-hero h1,
.wg-hero h2 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    margin-bottom: 16px;
}

.wg-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.wg-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wg-hero__badge {
    margin-left: auto;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    min-width: 200px;
}

.wg-badge__value {
    font-size: 40px;
    font-weight: 700;
}

.wg-badge__label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 991px) {
    .wg-container {
        flex-wrap: wrap;
        gap: 16px;
    }

    .wg-nav {
        width: 100%;
        order: 3;
        margin-top: 16px;
        padding: 24px;
        background: #fff;
        border: 1px solid var(--wg-border);
        border-radius: 16px;
        box-shadow: 0 15px 25px -12px rgb(15 23 42 / 0.15);
        display: none;
    }

    .wg-nav.is-open {
        display: block;
    }

    .wg-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .wg-header__actions {
        width: 100%;
        justify-content: space-between;
        order: 2;
    }

    .wg-mobile-toggle {
        display: inline-flex;
    }

    .wg-header-spacer {
        height: 160px;
    }

    .wg-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .wg-hero__badge {
        margin-left: 0;
        margin-top: 32px;
    }
}

@media (max-width: 600px) {
    .wg-announcement__text {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .wg-announcement__meta {
        display: none;
    }

    .wg-container {
        width: calc(100% - 24px);
    }

    .wg-header__inner {
        padding: 16px 0;
    }

    .wg-hero {
        padding: 64px 0;
    }
}
