/* ============================================================
   DESIGN TOKENS · Livingstones Conference 2026
   Used by all pages. Edit color values here to update site-wide.
   ============================================================ */

:root[data-theme="dark"] {
  /* Surfaces */
  --bg: #0a1628;
  --bg-2: #0d1c33;
  --surface: #13243d;
  --surface-2: #1a2f4d;
  --surface-3: #25405f;

  /* Borders */
  --border: #1f2f4a;
  --border-strong: #2d4566;

  /* Text */
  --text-1: #e6eaf3;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --text-4: #475569;

  /* Brand · gold + navy */
  --gold: #fbbf24;
  --gold-strong: #f59e0b;
  --gold-bg: rgba(251, 191, 36, 0.1);
  --gold-bg-strong: rgba(251, 191, 36, 0.2);

  /* Status colors */
  --teal: #5eead4;
  --teal-bg: rgba(94, 234, 212, 0.12);
  --cyan: #67e8f9;
  --cyan-bg: rgba(103, 232, 249, 0.15);
  --purple: #a78bfa;
  --purple-bg: rgba(167, 139, 250, 0.15);
  --orange: #fb923c;
  --orange-bg: rgba(251, 146, 60, 0.15);
  --red: #f87171;
  --red-bg: rgba(248, 113, 113, 0.15);
  --green: #22c55e;
  --green-bg: rgba(34, 197, 94, 0.15);

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.3);
}

:root[data-theme="light"] {
  --bg: #fdf8ed;
  --bg-2: #f8f0d9;
  --surface: #ffffff;
  --surface-2: #f5eed7;
  --surface-3: #ede4c2;

  --border: #e2d9b8;
  --border-strong: #c9bd95;

  --text-1: #1a1612;
  --text-2: #5a564f;
  --text-3: #8a857c;
  --text-4: #b5b1a6;

  --gold: #b45309;
  --gold-strong: #92400e;
  --gold-bg: rgba(180, 83, 9, 0.08);
  --gold-bg-strong: rgba(180, 83, 9, 0.18);

  --teal: #0d9488;
  --teal-bg: rgba(13, 148, 136, 0.1);
  --cyan: #0e7490;
  --cyan-bg: rgba(14, 116, 144, 0.1);
  --purple: #6d28d9;
  --purple-bg: rgba(109, 40, 217, 0.1);
  --orange: #c2410c;
  --orange-bg: rgba(194, 65, 12, 0.1);
  --red: #b91c1c;
  --red-bg: rgba(185, 28, 28, 0.1);
  --green: #15803d;
  --green-bg: rgba(21, 128, 61, 0.1);

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
  transition: background 0.2s, color 0.2s;
}

.display {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.02em;
}

.mono {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.2;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}

/* Selection */
::selection {
  background: var(--gold);
  color: var(--bg);
}
