/* ClearTrust — diagram token bridge (site side).
   The three interactive diagrams were authored against the handoff token contract
   (cleartrust-tokens.css / cleartrust-diagram-tokens.css). The live site writes its
   palette onto :root at runtime from ct-site.js and does not carry twelve of the
   names the diagrams read. This file declares those names ONCE, each pointing at a
   token the site already sets. Nothing here redeclares a token the site owns.
   Load after ct-site.js has applied a palette (it is a stylesheet; order vs. the
   inline :root style does not matter because these names are not set inline). */
:root {
  /* type: the site names fonts --ct-f-*, the diagrams read --ct-font-* */
  --ct-font-display: var(--ct-f-display);
  --ct-font-text:    var(--ct-f-text);
  --ct-font-mono:    var(--ct-f-mono);

  /* routing / movement ink. Per the palette declarations, routing, diagrams and
     network graphics belong to the movement colour, not the signature accent. */
  --ct-data-1:               var(--ct-movement);
  --ct-data-2:               var(--ct-movement);   /* no colour hierarchy is declared yet: one ink */
  --ct-data-3:               var(--ct-movement);
  --ct-accent-label:         var(--ct-movement);
  --ct-accent-tint:          color-mix(in srgb, var(--ct-movement) 14%, var(--ct-surface));
  --ct-diagram-path-selected: var(--ct-movement);

  /* neutral structure */
  --ct-stroke:               var(--ct-rule-strong);
  --ct-diagram-node-stroke:  var(--ct-rule-strong);
  --ct-diagram-connector:    var(--ct-text-quiet);
  --ct-diagram-junction:     var(--ct-text-quiet);

  /* gold hairline (Diagram 2 digital hop, Diagram 3 objective card) */
  --ct-emphasis-rule:        var(--ct-emphasis-ink);
}

/* Design review 2026-09-06, item 1: control is orchestration's ink and takes the
   movement colour, never the signature accent. Scoped to the diagram root so the
   page's own --ct-accent is untouched, and the LINKS data keeps '--ct-accent' so it
   stays diffable against the reference files. */
.ct-dg { --ct-accent: var(--ct-movement); }
