/* Therius — Color tokens
   Source of truth: Therius Visual Identity Guidelines v1.0 (rev. June 2026).
   Two co-primaries: Cobalt (brand) and Magenta (product/UI). Status colors
   signal sandbox vs. live and transaction outcomes. */

:root {
  /* ---- Brand: Therius Cobalt (logo, marketing, hero moments — use sparingly) ---- */
  --cobalt-deep:   #1E40AF;
  --cobalt:        #1D4ED8;
  --cobalt-light:  #3B82F6;
  --brand-gradient: linear-gradient(140deg, var(--cobalt-deep), var(--cobalt-light));

  /* ---- Product: Therius Magenta (primary buttons, active nav, links) ---- */
  --magenta-primary: #DB2777;
  --magenta-hover:    #BE185D;
  --magenta-light:    #EC4899;
  --magenta-50:       #FDF2F8;

  /* ---- Ink + neutral scale ---- */
  --surface-dark: #0F172A;
  --ink:          #1E2B3E;
  --slate-700:    #334155;
  --slate-500:    #64748B;
  --slate-400:    #94A3B8;
  --slate-300:    #CBD5E1;
  --slate-200:    #E2E8F0;
  --slate-100:    #F1F5F9;
  --slate-50:     #F8FAFC;
  --white:        #FFFFFF;

  /* ---- Status ---- */
  --success:        #16A34A;
  --success-bg:      #F0FDF4;
  --sandbox:         #FBBF24;
  --sandbox-bg:      #FFFBEB;
  --sandbox-ink:     #92400E;
  --danger:          #DC2626;
  --danger-bg:       #FEF2F2;
  --info-bg:         var(--magenta-50);

  /* ---- Semantic aliases — product UI (map straight onto components) ---- */
  --surface:          var(--white);
  --surface-muted:    var(--slate-50);
  --text-primary:     #0F172A;
  --text-secondary:   var(--slate-500);
  --text-tertiary:    var(--slate-400);
  --text-on-brand:    var(--white);
  --border:           var(--slate-200);
  --border-strong:    var(--slate-300);

  --color-primary:        var(--magenta-primary);
  --color-primary-hover:  var(--magenta-hover);
  --color-primary-light:  var(--magenta-50);

  --sidebar-bg:           var(--white);
  --sidebar-hover:        var(--slate-100);
  --sidebar-border:       var(--slate-200);
  --sidebar-active-bg:    var(--magenta-primary);
  --sidebar-active-text:  var(--white);

  /* ---- Dark mode (product supports a dark theme; brand cobalt stays the same) ---- */
  --surface-dark-1:   #1E293B; /* slate-800 */
  --surface-dark-2:   #0F172A; /* slate-900 */

  /* ---- Deprecated — Therius v1 "Amber/Slate" palette (June 2026 launch), kept
     only for migration diffing. The visual identity deck was revised to the
     Cobalt/Magenta co-primaries above later the same month — do not use these
     in new work. ---- */
  --legacy-amber-deep:        #B45309;
  --legacy-amber:             #D97706;
  --legacy-amber-light:       #F59E0B;
  --legacy-slate-primary:     #334155;
  --legacy-slate-hover:       #1E293B;
  --legacy-slate-light:       #475569;

  /* ---- Deprecated — pre-rebrand "Rebel" palette, kept only for migration
     diffing. Do not use in new work; the Therius identity above supersedes
     these. ---- */
  --legacy-blue:    #2563EB;
  --legacy-orange:  #F97316;
}
