/* tokens.css — design tokens: the latent-space palette, type scale, spacing.
   Single source of truth; every other sheet pulls from here. */
:root {
  /* ink + surfaces */
  --ink:        #0B0A12;
  --ink-2:      #100E1A;
  --surface:    #15131F;
  --surface-2:  #1C1928;
  --border:     #2A2538;
  --border-lit: #3A3350;

  /* text */
  --text:       #EDEAF4;
  --text-dim:   #B7B0C8;
  --muted:      #8E86A4;
  --faint:      #5E576F;

  /* plasma activation-map ramp — the signature.
     low probability ........................ high */
  --p0: #2C7FFF;  /* signal blue   */
  --p1: #7A53F0;  /* indigo        */
  --p2: #B14AED;  /* violet        */
  --p3: #FF4D8D;  /* magenta       */
  --p4: #FFC24B;  /* amber (peak)  */
  --plasma: linear-gradient(90deg, var(--p0) 0%, var(--p2) 42%, var(--p3) 72%, var(--p4) 100%);
  --plasma-soft: linear-gradient(90deg, rgba(44,127,255,.16), rgba(177,74,237,.16), rgba(255,77,141,.16));

  --accent:     #B14AED;
  --accent-lit: #FF4D8D;

  /* type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Newsreader", Georgia, serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, monospace;

  /* fluid type scale */
  --t-xs:   0.78rem;
  --t-sm:   0.9rem;
  --t-base: 1.06rem;
  --t-lg:   1.25rem;
  --t-xl:   clamp(1.5rem, 1.1rem + 1.8vw, 2.1rem);
  --t-2xl:  clamp(2rem, 1.3rem + 3.2vw, 3.4rem);
  --t-hero: clamp(2.5rem, 1.4rem + 5vw, 5rem);

  /* rhythm */
  --gap:   1.5rem;
  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --band-y: clamp(4.5rem, 9vw, 9rem);
  --maxw:  1200px;
  --radius: 14px;
  --radius-sm: 8px;

  --shadow: 0 24px 60px -28px rgba(0,0,0,.8);
  --ring: 0 0 0 2px var(--ink), 0 0 0 4px var(--accent-lit);
}
