/* 16.11.2026, owner: logo «ProON VulPiNe» in one line, same face (Fredoka Expanded), ON red, VulPiNe in text colour.
   The line is ~9.3× its font-size wide (twice «ProON»), so every header scales it to the room it has:
   font-size = min(page's logo size, (viewport − room taken by the other header items) / 9.3).
   Loaded after each page's own CSS; !important beats the many per-breakpoint logo sizes in styles.css / order.css / legal.css / support.css. */
.brand-vulpine {
  --bv-max: 42px;
  --bv-reserve: 320px;
  font-size: max(15px, min(var(--bv-max), calc((100vw - var(--bv-reserve)) / 9.3))) !important;
  white-space: nowrap;
}
.brand-vulpine .brand-product {
  color: var(--text, #f5f6f7) !important;
  margin-left: 0.26em !important;
  font-size: 1em;
}

/* Home header: 601–1240 px logo + «Подключить» + language + menu; ≤600 px language + menu only; ≥1241 px full nav row. */
@media (max-width: 600px) { .site-header .brand-vulpine { --bv-max: 32px; --bv-reserve: 136px; } }
@media (min-width: 1241px) { .site-header .brand-vulpine { --bv-max: 42px; --bv-reserve: 0px; } }

/* Home footer: small wordmark, plenty of room. */
.site-footer .brand-vulpine { --bv-max: 1.05rem; --bv-reserve: 0px; }

/* /order/ and /payment-result/: logo + «Помощь с подключением ↗» (order.css: 50.88px, 36px ≤800px). */
.order-nav .brand-vulpine { --bv-max: 50.88px; --bv-reserve: 260px; }
@media (max-width: 800px) { .order-nav .brand-vulpine { --bv-max: 36px; --bv-reserve: 172px; } }

/* Legal pages: logo alone in its row. */
.brand-back .brand-vulpine { --bv-max: 50.88px; --bv-reserve: 48px; }

/* /support/ and /support/chat/: logo + «← Вернуться…». */
.article-brand .brand-vulpine { --bv-max: 42px; --bv-reserve: 190px; }
