/* ==========================================================================
   QAF by QuantiSight lockup (templates/partials/qaf_brand.html)

   One lockup, scaled as a unit. Every part is sized in em from the
   lockup's own font-size, so the mark, "QAF" and "BY QUANTISIGHT" keep the
   same proportions at every size. Pick a size with the partial's `size`:

     {% include 'partials/qaf_brand.html' with size='lg' %}

     sm   13px   compact places (mobile headers)
     md   16px   default - app sidebar
     lg   19px   public headers and the landing footer
     xl   30px   sign-in / register panels, intro card

   On a light background add tone='light'. Selectors are doubled
   (.qaf-brand .qaf-brand-mark) so older page rules such as
   ".lp-nav-logo img { height: 36px !important }" cannot resize the mark.
   ========================================================================== */
.qaf-brand {
    --qb-name: #fff;
    --qb-by: rgba(255, 255, 255, .55);
    --qb-accent: #C6F135;
    font-size: 16px;
    display: inline-flex; align-items: center; gap: .625em;
    line-height: 1; text-decoration: none; vertical-align: middle;
}
.qaf-brand--sm { font-size: 13px; }
.qaf-brand--md { font-size: 16px; }
.qaf-brand--lg { font-size: 19px; }
.qaf-brand--xl { font-size: 30px; }

.qaf-brand .qaf-brand-mark {
    width: 2.15em !important; height: 2.15em !important;
    max-width: none !important; max-height: none !important;
    display: block; flex: 0 0 auto; border-radius: 0 !important; filter: none !important;
}
.qaf-brand .qaf-brand-text { display: flex; flex-direction: column; align-items: flex-start; gap: .25em; text-align: left; }
.qaf-brand .qaf-brand-name {
    font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    font-weight: 800; font-size: 1.45em; letter-spacing: .02em; color: var(--qb-name);
}
.qaf-brand .qaf-brand-by {
    font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    font-size: .6em; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; white-space: nowrap; color: var(--qb-by);
}
.qaf-brand .qaf-brand-by b { color: var(--qb-accent); font-weight: 800; }
a:hover .qaf-brand-name { color: var(--qb-name); }

/* On a light background */
.qaf-brand--light,
html.lp-light .qaf-brand {
    --qb-name: #0F0F0F;
    --qb-by: rgba(15, 15, 15, .55);
    --qb-accent: #93B02A;
}
.qaf-brand--light .qaf-brand-mark,
html.lp-light .qaf-brand .qaf-brand-mark { filter: brightness(.72) saturate(1.3) !important; }

/* Small screens: public headers step down one size */
@media (max-width: 576px) {
    .qaf-brand--lg { font-size: 16px; }
    .qaf-brand--xl { font-size: 24px; }
}

/* Link back to the QuantiSight website */
.qs-site-link { display: inline-flex; align-items: center; gap: .35rem; }
.qs-site-link img { width: 14px; height: 14px; }
.lp-nav-logo, .pub-nav-logo, .guest-logo { line-height: 1 !important; }
