/* Shared product branding used by the authentication header and application sidebar. */

.auth-product-header {
    display: flex;
    align-items: center;
    min-height: var(--header-height);
    padding: 0 var(--space-9);
    border-bottom: 0;
    background-color: var(--color-nav-surface);
}

.auth-product-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-nav-text);
    text-decoration: none;
}

.auth-product-brand-copy {
    display: flex;
    flex-direction: column;
    /* 2px optical gap between the two stacked wordmark lines; below the space scale. */
    gap: 0.125rem;
    line-height: 1;
}

.auth-product-brand-name {
    color: var(--color-nav-text);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.auth-product-brand-subtitle {
    color: var(--color-nav-text-muted);
    font-size: var(--font-size-xs);
}

/* Compact header below the sm breakpoint; px is the media query's own unit. */
@media (max-width: 767.98px) {
    .auth-product-header {
        min-height: var(--header-height-sm);
        padding: 0 var(--space-6);
    }
}
