/* ============================================================
   Canter Intelligence — Shared Theme
   ============================================================
   Include this on all sub-pages for consistent branding.
   Landing page (index.html) has its own inline styles.
   ============================================================ */

:root {
  --ci-forest: #1B3A1A;
  --ci-forest-light: #2D5016;
  --ci-sage: #7A9A6B;
  --ci-sage-light: #A8C49A;
  --ci-cream: #FDFBF6;
  --ci-warm: #D4B896;
  --ci-warm-light: #EDE4D8;
  --ci-brown: #634832;
  --ci-barn-red: #8B3A3A;
  --ci-dark: #1A1A1A;
  --ci-gray: #6B7280;
}

/* ─── SHARED NAV BAR ─── */
.ci-nav {
  background: rgba(27, 58, 26, 0.97);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

.ci-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
}

.ci-nav-brand .ci-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  filter: brightness(1.2);
  border: 1px solid rgba(255,255,255,0.25);
}

.ci-nav-brand span {
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: -0.02em;
}

.ci-nav-title {
  text-align: right;
  color: white;
}

.ci-nav-title h1 {
  font-size: 1.1em;
  font-weight: 700;
  margin: 0;
  padding: 0;
  background: none;
  color: white;
  text-align: right;
}

.ci-nav-title p {
  font-size: 0.8em;
  color: var(--ci-sage-light);
  margin: 2px 0 0 0;
}

/* Back button in nav */
.ci-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 500;
  transition: background 0.2s;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

.ci-back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ci-back-btn svg {
  width: 16px;
  height: 16px;
}

/* ─── MODULE BADGE ─── */
.ci-module-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.7em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ci-badge-scribe {
  background: rgba(122, 154, 107, 0.2);
  color: var(--ci-sage);
}

.ci-badge-barnbrain {
  background: rgba(139, 58, 58, 0.15);
  color: var(--ci-barn-red);
}

/* ─── FOOTER BAR ─── */
.ci-footer-bar {
  background: var(--ci-forest);
  color: rgba(255, 255, 255, 0.5);
  padding: 16px 24px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 0.8em;
}

.ci-footer-bar a {
  color: var(--ci-sage-light);
  text-decoration: none;
}

.ci-footer-bar a:hover {
  color: white;
}
