/* ============================================================
   OÉRIX — COLOR TOKENS
   A deep space-navy canvas lit by a cyan→violet energy spectrum.
   Cyan = electricity/water signal. Violet = intelligence/impact.
   ============================================================ */
:root {
  /* ---- Brand spectrum (base) ---- */
  --oerix-cyan:        #3ce7ff;   /* core signal cyan */
  --oerix-cyan-bright: #5fe9ff;   /* button / hover cyan */
  --oerix-cyan-soft:   #8ef0ff;   /* gradient highlight */
  --oerix-violet:      #8b5cff;   /* core impact violet */
  --oerix-violet-soft: #b79bff;   /* muted violet text */
  --oerix-periwinkle:  #8b9bff;   /* button gradient end */

  /* ---- Surface scale (dark → darker) ---- */
  --surface-base:    #05070f;   /* page background */
  --surface-deep:    #040610;   /* footer / deepest */
  --surface-panel:   #0d1328;   /* raised panel */
  --surface-card-1:  rgba(16, 22, 44, 0.62);  /* card top stop */
  --surface-card-2:  rgba(9, 13, 28, 0.50);   /* card bottom stop */
  --surface-raised:  rgba(255, 255, 255, 0.025); /* chip / inset fill */
  --surface-modal:   #0a1228;   /* dialog body */

  /* ---- Text scale ---- */
  --text-strong:  #f4f7ff;   /* headings, primary */
  --text-body:    #dbe3f6;   /* default body on dark */
  --text-muted:   #a7b2d1;   /* secondary / lead */
  --text-subtle:  #9fb0d4;   /* tertiary captions */
  --text-mono:    #7f8db0;   /* mono micro-labels */
  --text-nav:     #cdd6ef;   /* nav links */
  --text-on-accent: #04111a; /* text on cyan button */

  /* ---- Eyebrow / accent text ---- */
  --accent-eyebrow: #5fd0ff; /* IBM Plex Mono eyebrows */

  /* ---- Lines & borders ---- */
  --line-faint:   rgba(255, 255, 255, 0.05);
  --line-soft:    rgba(255, 255, 255, 0.08);
  --line-mid:     rgba(255, 255, 255, 0.12);
  --line-cyan:    rgba(60, 231, 255, 0.28);
  --line-violet:  rgba(139, 92, 255, 0.28);

  /* ---- Semantic accents (resources) ---- */
  --resource-elec:  #3ce7ff;  /* électricité */
  --resource-water: #5fd0ff;  /* eau */
  --resource-gas:   #8b5cff;  /* gaz */
  --resource-fuel:  #b79bff;  /* carburant */

  /* ---- Status ---- */
  --status-ok:    #3be0a0;   /* validated / on track */
  --status-warn:  #ffcf5f;   /* warning / urgency */
  --status-crit:  #ff6b8b;   /* critical anomaly */
  --status-info:  #5fe9ff;   /* info / detection */

  /* ---- Tint fills (translucent accent washes) ---- */
  --tint-cyan:   rgba(60, 231, 255, 0.06);
  --tint-violet: rgba(139, 92, 255, 0.07);

  /* ---- Signature gradients ---- */
  --grad-cta:     linear-gradient(135deg, #5fe9ff, #8b9bff);            /* @kind color */
  --grad-text:    linear-gradient(100deg, #fff, #8ef0ff 45%, #b9a4ff); /* @kind color */
  --grad-ring:    linear-gradient(135deg, #2fe6c0, #3ce7ff 45%, #8b5cff); /* @kind color */
  --grad-card:    linear-gradient(180deg, rgba(16,22,44,.62), rgba(9,13,28,.50)); /* @kind color */
  --grad-aura:    radial-gradient(circle, rgba(60,231,255,.28), rgba(139,92,255,.14) 46%, transparent 70%); /* @kind color */

  /* ---- Page atmosphere (fixed background washes) ---- */
  --atmo: radial-gradient(820px 560px at 82% -4%, rgba(60,231,255,.11), transparent 56%),
          radial-gradient(760px 620px at -6% 26%, rgba(139,92,255,.11), transparent 55%),
          radial-gradient(900px 700px at 60% 120%, rgba(60,231,255,.06), transparent 60%); /* @kind color */

  /* ---- BWS corporate mark spectrum (green→yellow molecule) ---- */
  --bws-green:  #45e08a;
  --bws-lime:   #c6f24f;
  --bws-yellow: #ffd60a;
}
