/* Brand Override — auto-generated */
:root {
  --accent: #0099ff;
  --accent-hover: #ff312f;
  --accent-muted: #0099ff;
  --accent-subtle: rgba(0, 153, 255, 0.15);
  --accent-foreground: #fafafa;
  --accent-glow: rgba(0, 153, 255, 0.25);
  --primary: #0099ff;
  --primary-foreground: #ffffff;
  --ring: #0099ff;
  --focus: rgba(0, 153, 255, 0.25);
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px #0099ff;
  --focus-glow: 0 0 0 2px var(--bg), 0 0 0 4px #0099ff, 0 0 20px rgba(0, 153, 255, 0.25);
}

[data-theme="light"] {
  --accent: #0099ff;
  --accent-hover: #ff312f;
  --accent-muted: #0099ff;
  --accent-subtle: rgba(0, 153, 255, 0.1);
  --primary: #0099ff;
  --ring: #0099ff;
}

/* ============================================================
   Co-branding: Eragon × Hex
   ============================================================ */

/* --- Chat page header: "Eragon" → "[star] Eragon × [hex-icon] Hex" --- */
.page-title--brand {
  font-size: 0 !important;
}
.page-title--brand::after {
  content: "Eragon  ×  Hex";
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  line-height: 1.15;
}
.page-title__brandmark {
  width: 28px !important;
  height: 28px !important;
}
/* Hex icon next to Eragon brandmark in chat header */
.page-title--brand .page-title__brandmark + *,
.page-title--brand::before {
  display: none;
}
/* Inject Hex icon after the brandmark via the container */
.page-title--brand {
  position: relative;
}
.page-title--brand .page-title__brandmark {
  margin-right: 4px;
}

/* --- Chat header tagline --- */
.content-header .page-sub {
  font-size: 0 !important;
}
.content-header .page-sub::after {
  content: "AI-powered reasoning for Hex, by Eragon.";
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0;
  font-weight: 400;
}

/* --- Homepage hero: add Hex icon + "× Hex" after Eragon logo --- */
.homepage-logo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.homepage-logo::after {
  content: "× Hex";
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  line-height: 1;
  flex-shrink: 0;
}

/* --- Homepage tagline --- */
.homepage-tagline {
  font-size: 0 !important;
}
.homepage-tagline::after {
  content: "AI-powered reasoning for Hex, by Eragon.";
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* --- Sign-in page: add "× Hex" after logo --- */
.signin-logo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.signin-logo::after {
  content: "× Hex";
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  line-height: 1;
  flex-shrink: 0;
}
