/* Runtime-safe text wordmark; avoids stale raster branding during rebrands. */
.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: 24px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

[data-theme="light"] .brand-logo {
    filter: none;
}

.brand-logo--hero,
.brand-wordmark--hero.brand-logo {
    font-size: clamp(32px, 8vw, 46px);
    margin-bottom: 20px;
    margin-inline: auto;
    object-position: center;
}

.brand-logo--splash {
    font-size: clamp(34px, 9vw, 48px);
    margin-inline: auto;
    object-position: center;
}

.brand-logo--sidebar {
    font-size: 21px;
    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: 21px;
}

.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: clamp(28px, 7vw, 36px);
    max-width: min(260px, 88vw);
    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: 28%;
    background: #3effa0;
    color: #06110b;
    font-size: 0;
}

.brand-logo--mark::before {
    content: "T";
    font-size: clamp(18px, 55%, 36px);
    font-weight: 850;
    letter-spacing: -0.06em;
}

.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;
}
