/* Brand mark — Stix + icon (right), tagline stretched to that width */
.app-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #1a1a1a;
    line-height: 1;
}

.app-brand:hover,
.app-brand:focus {
    color: #1a1a1a;
    text-decoration: none;
}

.app-brand__text {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: max-content;
    max-width: 100%;
}

.app-brand__row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.app-brand__icon {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.app-brand__wordmark {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 100;
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #1a1a1a !important;
    white-space: nowrap;
}

.app-brand__wordmark-bnk {
    font-weight: inherit;
    letter-spacing: inherit;
}

.app-brand__tagline {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    font-size: 8px;
    line-height: 1.2;
    letter-spacing: 0;
    color: #6b7280 !important;
    white-space: nowrap;
    text-align: justify;
    text-align-last: justify;
}

/* Keep icon at 20px even when parent logo CSS forces larger img heights */
.hv-header__logo .app-brand__icon,
.hv-footer__logo .app-brand__icon,
.logo .app-brand__icon,
.auth-brand .app-brand__icon {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
}
