/* Runtime-safe TellMyWallet wordmark. Keep it compact and legible at every size. */
@font-face {
    font-family: Inter;
    src: url('../brand/2026-09/Inter.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: auto;
    max-width: 100%;
    background: transparent;
    color: currentColor;
    font-size: 22px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

/* app.css still contains the retired display-logo treatment; this wins globally. */
.brand-logo.brand-wordmark {
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-style: normal !important;
    font-stretch: normal !important;
    font-variation-settings: normal !important;
    text-transform: none !important;
    letter-spacing: -0.045em !important;
    text-indent: 0 !important;
}

.brand-logo__tell { color: currentColor; }
.brand-logo__wallet { color: currentColor; font-weight: inherit; }
.brand-logo__symbol { display: block; width: 1.22em; height: 1.22em; margin-right: .28em; flex: none; object-fit: contain; }
.brand-logo__symbol--dark { display: none; }
[data-theme="dark"] .brand-logo__symbol--light { display: none; }
[data-theme="dark"] .brand-logo__symbol--dark { display: block; }

[data-theme="light"] .brand-logo {
    filter: none;
}

[data-theme="light"] .brand-logo__wallet {
    color: inherit;
}


.brand-logo--hero,
.brand-wordmark--hero.brand-logo {
    font-size: clamp(28px, 7vw, 34px);
    margin-bottom: 16px;
    margin-inline: auto;
    object-position: center;
}

.brand-logo--splash {
    font-size: clamp(30px, 8vw, 38px);
    margin-inline: auto;
    object-position: center;
}

.brand-logo--sidebar {
    font-size: 20px;
    max-width: 160px;
}

.brand-logo--sm {
    font-size: 18px;
}

.brand-logo--loader {
    font-size: clamp(30px, 8vw, 42px);
    margin-bottom: 24px;
    margin-inline: auto;
    object-position: center;
    opacity: 0;
    animation: benefitTagIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand-logo--nav {
    font-size: 20px;
}

.brand-logo--section {
    font-size: 23px;
    margin-bottom: 12px;
    object-position: left center;
}

.brand-logo--footer {
    font-size: 17px;
    opacity: 0.45;
}

.brand-logo--store {
    font-size: 15px;
    opacity: 0.4;
    margin-inline: auto;
    object-position: center;
}

/* PWA / install sheet — horizontal wordmark */
.brand-logo--pwa {
    font-size: 21px;
    max-width: min(220px, 72vw);
    margin: 0;
    object-position: left center;
}

/* App lock overlay — centered wordmark */
.brand-logo--pin-lock {
    font-size: clamp(30px, 8vw, 40px);
    max-width: min(240px, 82vw);
    margin: 0 auto;
    object-position: center;
}

/* Square app mark (logokare) — app icon contexts */
.brand-logo--mark {
    width: 100%;
    height: 100%;
    max-width: none;
    justify-content: center;
    border-radius: 22%;
    background: #183d32;
    color: #06110b;
    font-size: clamp(18px, 55%, 36px);
    font-weight: 850;
    letter-spacing: -0.06em;
}

.brand-logo__mark-image { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: contain; }

.brand-logo--mark,
[data-theme="light"] .brand-logo--mark,
[data-theme="dark"] .brand-logo--mark,
.landing-root .brand-logo--mark {
    filter: none;
    mix-blend-mode: normal;
}

button .brand-logo,
a .brand-logo {
    pointer-events: none;
}

.landing-header .brand-logo--nav {
    height: 24px;
}

/* Dark UI: hide any residual dark matte in raster wordmark */
[data-theme="dark"] .brand-logo,
.landing-root .brand-logo {
    mix-blend-mode: normal;
}

.video-modal-toolbar .brand-logo {
    height: 22px;
}

.store-feature-copy .brand-logo {
    height: 48px;
    margin-bottom: 12px;
}
