/**
 * Shared crisp MatterVanta brand lockup for auth topnavs.
 * New classes only — does not alter existing al4/as4/cl4/ad4/pw4 class rules.
 */
.bk-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.bk-auth-brand-mark {
    display: block;
    width: 40px;
    height: 40px;
    flex: none;
    object-fit: contain;
}

.bk-auth-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    line-height: 1.15;
}

.bk-auth-brand-name {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.bk-auth-brand-name-matter {
    color: #0b1f3f;
}

.bk-auth-brand-name-vanta {
    color: #2f6feb;
}

/* Single text-node lockup: preserves two-tone look without splitting MatterVanta. */
.bk-auth-brand-name--unified {
    background: linear-gradient(90deg, #0b1f3f 0 52%, #2f6feb 52% 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bk-auth-brand-tagline {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #3b82f6;
    white-space: nowrap;
    display: block;
}

@media (max-width: 640px) {
    .bk-auth-brand-copy {
        display: flex !important;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .bk-auth-brand-tagline {
        display: block !important;
        font-size: 11px;
        line-height: 1.2;
        white-space: normal;
        max-width: 11.5rem;
    }

    .bk-auth-brand-name {
        font-size: 15px;
    }

    .bk-auth-brand-mark {
        width: 34px;
        height: 34px;
    }
}
