/* ==========================================================================
   assets/css/brand.css — Perspicax brand system
   ========================================================================== */

/* --- Nav logo lockup ---------------------------------------------------- */
.logo {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none !important;
}
.logo-mark {
  width: 36px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}
/* Show light (original) mark by default, inverted mark in dark mode */
.logo-mark--inverted { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-mark--light    { display: none; }
  .logo-mark--inverted { display: inline; }
}
.logo-wordmark {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.3px;
}

/* --- Curriculum (Ai)ssist product logo image ------------------------------ */
.product-logo {
  display: block;
  max-width: 380px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.product-logo--inverted { display: none; }
@media (prefers-color-scheme: dark) {
  .product-logo--light    { display: none; }
  .product-logo--inverted { display: block; margin: 0 auto; }
}

/* Smaller inline variant (for headings, etc.) */
.product-name-inline {
  font-family: 'Georgia', 'Palatino Linotype', 'Book Antiqua', serif;
  font-weight: 700;
  white-space: nowrap;
}
.product-name-inline .cap {
  color: #1d4ed8;
  font-size: 1.05em;
}
.product-name-inline .ai-part {
  font-style: italic;
}
.product-name-inline .super-i {
  color: #DC2626;
  font-size: 0.55em;
  position: relative;
  top: -0.55em;
}

/* --- Footer brand lockup ------------------------------------------------ */
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.footer-brand .logo-mark { width: 28px; height: 28px; }
.footer-brand span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}
