/* ============================================================
   LADLA — Design Tokens v2
   Single source of truth. No hardcoded values anywhere else.
   ============================================================ */
:root {
  /* === BLACK === */
  --black:           #050505;
  --black-soft:      #0A0A0A;
  --black-surface:   #111111;
  --black-elevated:  #1A1A1A;

  /* === WHITE (opacity hierarchy) === */
  --white:     #FFFFFF;
  --white-90:  rgba(255,255,255,0.90);
  --white-60:  rgba(255,255,255,0.60);
  --white-40:  rgba(255,255,255,0.40);
  --white-20:  rgba(255,255,255,0.20);
  --white-10:  rgba(255,255,255,0.10);
  --white-07:  rgba(255,255,255,0.07);
  --white-05:  rgba(255,255,255,0.05);

  /* === COSMIC BLUE (used sparingly) === */
  --cosmic:         #1951A8;
  --cosmic-light:   #2563C4;
  --cosmic-bright:  #5B8FD4;
  --cosmic-glow:    rgba(25,81,168,0.35);
  --cosmic-faint:   rgba(25,81,168,0.10);
  --cosmic-faintest:rgba(25,81,168,0.05);

  --cosmic-gradient: linear-gradient(135deg,#1951A8,#5B8FD4,#1951A8);
  --cosmic-shine:    linear-gradient(90deg,#1951A8,#5B8FD4,#8BB8E8,#5B8FD4,#1951A8);

  /* === SEMANTIC === */
  --success: #22C55E;
  --danger:  #EF4444;

  /* === TYPOGRAPHY === */
  --font-sans: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --font-mono: 'JetBrains Mono','Fira Code',monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.75rem;
  --text-5xl:  3.5rem;
  --text-6xl:  5rem;
  --text-7xl:  6.5rem;

  --weight-light:  300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-bold:   700;
  --weight-black:  900;

  --leading-none:    1;
  --leading-tight:   1.1;
  --leading-snug:    1.3;
  --leading-normal:  1.6;
  --leading-relaxed: 1.8;

  --tracking-tight:   -0.03em;
  --tracking-normal:  0em;
  --tracking-wide:    0.05em;
  --tracking-wider:   0.15em;
  --tracking-widest:  0.30em;

  /* === SPACING === */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-48: 12rem;
  --space-64: 16rem;

  /* === LAYOUT === */
  --container-max:    1200px;
  --container-narrow: 700px;

  /* === Z-INDEX === */
  --z-bg:      -1;
  --z-content:  1;
  --z-nav:     50;
  --z-toast:   70;

  /* === EASING === */
  --ease-out:    cubic-bezier(0.16,1,0.3,1);
  --ease-smooth: cubic-bezier(0.4,0,0,1);

  --dur-fast:   200ms;
  --dur-base:   400ms;
  --dur-slow:   800ms;
  --dur-slower: 1200ms;
}
