.site-footer .site-footer-grid {
    grid-template-columns: minmax(0, 1.2fr) 36px minmax(0, .9fr) minmax(0, .8fr);
}
.site-footer .footer-social {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.site-footer .footer-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: 0;
    border: 1px solid currentColor;
    border-radius: 8px;
    color: var(--muted, #94a3b8);
    line-height: 1;
    transition: color .15s ease, background-color .15s ease;
}
.site-footer .footer-linkedin:hover {
    color: #fff;
    background-color: #0a66c2;
    border-color: #0a66c2;
}
.site-footer .footer-linkedin:focus-visible {
    outline: 2px solid #0a66c2;
    outline-offset: 3px;
}
.site-footer .footer-linkedin svg { display: block; flex: 0 0 auto; }
@media (max-width: 980px) {
    .site-footer .site-footer-grid { grid-template-columns: 1fr; }
    .site-footer .footer-social { justify-content: flex-start; }
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
}

.site-header-brand {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 12px;
    color: #f8fafc;
    text-decoration: none;
}

.site-header-logo {
    width: 57px;
    height: 57px;
    display: block;
    object-fit: contain;
    flex: 0 0 auto;
    filter: drop-shadow(0 10px 18px rgba(2, 132, 199, 0.18));
}

.site-header-logo-wide {
    width: 280px;
    height: auto;
    max-width: min(280px, 70vw);
}

.site-header-wordmark {
    font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.site-header-actions {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.site-header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 18px;
    min-height: auto;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
    font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.site-header-button:hover,
.site-header-button:focus {
    transform: translateY(-1px);
    outline: none;
}

.site-header-primary {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
    box-shadow: 0 14px 32px rgba(59, 130, 246, 0.28);
}

.site-header-language {
    min-width: 54px;
}

.site-header-account-toggle {
    gap: 9px;
    max-width: min(320px, 100%);
}

.site-header-account-label {
    overflow: hidden;
    max-width: 180px;
    text-overflow: ellipsis;
}

.site-header-account-plan {
    border-radius: 999px;
    padding: 3px 7px;
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.16);
    font-size: 12px;
    line-height: 1.1;
}

.site-header-dropdown {
    position: relative;
    padding-bottom: 0;
    margin-bottom: 0;
}

.site-header-dropdown::after {
    display: none;
}

.site-header-dropdown-toggle {
    appearance: none;
    cursor: pointer;
}

.site-header-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 14px;
    width: min(680px, calc(100vw - 44px));
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    background: rgba(9, 20, 39, 0.99);
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.38);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-2px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.site-header-dropdown:hover .site-header-dropdown-menu,
.site-header-dropdown.is-open .site-header-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-header-dropdown-group {
    display: grid;
    gap: 7px;
}

.site-header-source-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.site-header-actions {
    position: relative;
}

.site-header-dropdown[data-report-sources-dropdown] {
    position: static;
}

.site-header-source-extra {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding-top: 10px;
}

.site-header-dropdown-title {
    color: #bfdbfe;
    font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.site-header-dropdown-menu a {
    display: block;
    border-radius: 10px;
    padding: 8px 10px;
    color: #b8c4d9;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
}

.site-header-dropdown-menu a:hover,
.site-header-dropdown-menu a:focus {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.055);
    outline: none;
}

.site-header-account-menu {
    display: grid;
    grid-template-columns: 1fr;
    width: min(340px, calc(100vw - 44px));
    gap: 12px;
}

.site-header-account-summary {
    display: grid;
    gap: 5px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    color: #b8c4d9;
    font-size: 13px;
    line-height: 1.35;
}

.site-header-account-summary strong {
    overflow: hidden;
    color: #f8fafc;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header-account-upgrade {
    color: #ffffff !important;
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
}

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header-actions {
        width: 100%;
        justify-content: flex-start;
        position: relative;
    }

    .site-header-dropdown {
        position: static;
    }

    .site-header-dropdown-menu {
        left: 0;
        right: auto;
        grid-template-columns: 1fr;
    }

    .site-header-source-menu {
        grid-template-columns: 1fr;
    }
}
