/* ============================================================
   Elevation, motion, backgrounds
   Shadows are subtle. Cards mostly e2, raised e3. glow = focus only.
   ============================================================ */
:root {
  /* ---- Elevation ---- */
  --elev-0: none;
  --elev-1: 0 1px 2px rgba(20,23,30,.06), 0 1px 3px rgba(20,23,30,.08);
  --elev-2: 0 4px 12px rgba(20,23,30,.08), 0 2px 4px rgba(20,23,30,.06);
  --elev-3: 0 12px 32px rgba(20,23,30,.12), 0 4px 12px rgba(20,23,30,.08);
  --elev-4: 0 24px 64px rgba(20,23,30,.18), 0 8px 24px rgba(20,23,30,.10);
  --glow:   0 0 0 1px rgba(79,70,229,.30), 0 8px 32px rgba(79,70,229,.25);

  /* ---- Motion ---- */
  --dur-fast: 140ms; /* @kind other */
  --dur-base: 220ms; /* @kind other */
  --dur-slow: 420ms; /* @kind other */
  --ease-standard:   cubic-bezier(.4,0,.2,1); /* @kind other */
  --ease-accelerate: cubic-bezier(.4,0,1,1); /* @kind other */
  --ease-decelerate: cubic-bezier(0,0,.2,1); /* @kind other */

  /* ---- "Data Flow" grid backgrounds ----
     Use as quiet carriers under content on the dark slate stage.
     Apply via background: var(--bg-grid-dark); on a dark surface. */
  --bg-grid-dark:
    linear-gradient(to right,  rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(to right,  rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px); /* @kind other */
  --bg-grid-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px; /* @kind other */

  /* Light "Aurora" grid for light surfaces */
  --bg-grid-light:
    linear-gradient(to right,  rgba(79,70,229,0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(79,70,229,0.10) 1px, transparent 1px); /* @kind other */
  --bg-grid-light-size: 40px 40px, 40px 40px; /* @kind other */

  /* Radial glow accents (place absolutely, low opacity) */
  --glow-sky:  radial-gradient(ellipse, rgba(79,70,229,0.25) 0%, transparent 65%); /* @kind other */
  --glow-teal: radial-gradient(ellipse, rgba(5,150,105,0.18) 0%, transparent 65%); /* @kind other */
}
