/* ─── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --bg: #f4f9f6;
  --surface: #ffffff;
  --text: #1a1d26;
  --text-muted: #5c6370;
  --accent: #54fa80;
  --accent-soft: #dfffe8;
  --accent-ink: #0c2418;
  --brand: #54fa80;
  --header-bg: #0f1419;
  --border: #e2e8f0;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Week colour tokens (used across deck pages) */
  --ddd: #3b82f6;
  --ddd-soft: #eff6ff;
  --arch: #8b5cf6;
  --arch-soft: #f5f3ff;
  --infra: #f59e0b;
  --infra-soft: #fffbeb;
  --api: #ec4899;
  --api-soft: #fdf2f8;

  --week1: #3b82f6;
  --week1-soft: #eff6ff;
  --week2: #8b5cf6;
  --week2-soft: #f5f3ff;
  --week3: #f59e0b;
  --week3-soft: #fffbeb;
  --week4: #ec4899;
  --week4-soft: #fdf2f8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ─── Brand bar ──────────────────────────────────────────────────────────── */
.brand-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: var(--header-bg);
  z-index: 95;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Index brand-bar is taller and sits at top:0, deck bars sit at top:4px */
.brand-bar--page {
  height: 52px;
  top: 0;
  padding: 0 1.5rem;
}

.brand-bar--deck {
  height: 48px;
  top: 4px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 1;
  transition: opacity 0.15s ease;
  text-decoration: none;
}
.brand-logo-link:hover { opacity: 0.8; }

.brand-logo {
  display: block;
  height: 24px;
  width: auto;
  flex-shrink: 0;
}

.brand-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
