/* ============================================================
   AILANE TIER CHROME TOKENS
   ------------------------------------------------------------
   Source of truth for tier chrome, neutrals, typography.
   Aligns with AILANE-SPEC-EILEEN-001 (The Nexus) and
   AILANE-AMD-069 (PALETTE-001 Tier Ring Palette).
   Do NOT modify without Director ratification.
   ============================================================ */

:root {
  /* ---- Core Identity (from PALETTE-001) ---- */
  --nexus-core: #F59E0B;              /* gold core — institutional signature */
  --nexus-ring-baseline: #0EA5E9;     /* cyan — baseline tier ring */
  --nexus-ring-high-accent: #D97706;  /* deep amber — high-accent tier ring */

  /* ---- Tier Ring Accents (AMD-069 canonical — do not modify) ---- */
  /* Operational tier accent (cyan-lift). Operational tier only per AMD-069 §1.3.
     AMD-069 canonical — do not modify. */
  --nexus-ring-operational-lift: #22d3ee;
  /* Dim companion for --nexus-ring-operational-lift.
     AMD-069 canonical — do not modify. */
  --nexus-ring-operational-lift-dim: rgba(34, 211, 238, 0.35);
  /* Governance tier accent (violet overlay). Governance tier only per AMD-069 §1.3.
     AMD-069 canonical — do not modify. */
  --nexus-ring-governance-overlay: #a855f7;
  /* Dim companion for --nexus-ring-governance-overlay.
     AMD-069 canonical — do not modify. */
  --nexus-ring-governance-overlay-dim: rgba(168, 85, 247, 0.35);

  /* --tier-* block aligned to AMD-069 §1.3 via AILANE-CC-BRIEF-NEXUS-TOKENS-REMAP-001 (AMD-071). */
  /* ---- Tier Chrome (canonical, tier-indexed) ---- */
  --tier-operational: #22d3ee;        /* = nexus-ring-operational-lift */
  --tier-governance: #a855f7;         /* = nexus-ring-governance-overlay */
  --tier-enterprise: #D97706;         /* = nexus-ring-high-accent (Tier 3, AMD-123) */
  --tier-institutional: #D97706;      /* AMD-123 transitional alias of --tier-enterprise; retained for kl-access */

  /* ---- Tier Chrome Glows (token-derived) ---- */
  --tier-operational-glow: rgba(34, 211, 238, 0.18);
  --tier-governance-glow: rgba(168, 85, 247, 0.18);
  --tier-enterprise-glow: rgba(217, 119, 6, 0.20);
  --tier-institutional-glow: rgba(217, 119, 6, 0.20);  /* AMD-123 transitional alias */

  /* ============================================================
     LAYER 3 — ACEI CHROMATIC SIGNATURE PALETTE (AMD-072)
     Governed by AILANE-SPEC-EILEEN-009 v1.0 (Cornerstone)
     Category 1-12 ordering is constitutional (ACEI Founding
     Constitution v1.0, Article II §2.11). Do NOT modify hex
     values or ordering without an EILEEN-009 amendment.
     Coexists with existing --nexus-* and --tier-* tokens;
     the c1..c12 ordering here is independent of the Nexus
     CANONICAL_KEYS ordering in nexus.js.
     ============================================================ */
  --acei-1:  #EF4444;   /* Unfair Dismissal            — red-500     L* 57  5.8:1 */
  --acei-2:  #D946EF;   /* Discrimination              — fuchsia-500 L* 56  5.5:1 */
  --acei-3:  #22C55E;   /* Wages / WT / Holiday        — green-500   L* 72  9.2:1 */
  --acei-4:  #FACC15;   /* Whistleblowing              — yellow-400  L* 82 12.3:1 */
  --acei-5:  #3B82F6;   /* Employment Status           — blue-500    L* 50  4.5:1 */
  --acei-6:  #F97316;   /* Redundancy                  — orange-500  L* 66  7.5:1 */
  --acei-7:  #F43F5E;   /* Parental / Family           — rose-500    L* 58  5.9:1 */
  --acei-8:  #A21CAF;   /* Trade Union                 — fuchsia-700 L* 40  3.4:1  NON-TEXT ONLY */
  --acei-9:  #6366F1;   /* Breach of Contract          — indigo-500  L* 53  4.8:1 */
  --acei-10: #14B8A6;   /* Health & Safety             — teal-500    L* 60  6.4:1 */
  --acei-11: #4338CA;   /* Data Protection             — indigo-700  L* 42  3.7:1  NON-TEXT ONLY */
  --acei-12: #64748B;   /* Business Transfers/Insolvency — slate-500 L* 50  4.4:1 */

  /* ---- Surface Scale (dark-mode neutrals) ---- */
  --surface-void: #050c18;
  --surface-deep: #06080f;
  --surface-base: #0a0e1a;
  --surface-card: #0c1525;
  --surface-raised: rgba(15, 23, 42, 0.80);
  --surface-glass: rgba(30, 41, 59, 0.50);
  --surface-hover: rgba(30, 41, 59, 0.65);

  /* ---- Border Scale ---- */
  --border-dim: rgba(148, 163, 184, 0.12);
  --border-mid: rgba(148, 163, 184, 0.20);
  --border-lit: rgba(148, 163, 184, 0.30);

  /* ---- Text Scale ---- */
  --text-prime: #F1F5F9;
  --text-body: #E2E8F0;
  --text-sec: #94A3B8;
  --text-mute: #64748B;
  --text-dim: #4A6280;

  /* ---- Status ---- */
  --status-ok: #10B981;
  --status-warn: #F59E0B;
  --status-err: #EF4444;

  /* ---- Typography ---- */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* ---- Layout ---- */
  --max-w: 1200px;
  --section-gap: 140px;
  --card-radius: 12px;
  --card-radius-sm: 8px;
  --card-radius-lg: 16px;

  /* ---- Legacy aliases (transitional — do NOT rely on in new code) ---- */
  --cyan: var(--tier-operational);
  --cyan-glow: var(--tier-operational-glow);
}
