/* ONCONEX-SPAIN design tokens — dark, matte, accent #34d399 green.
   Preserves the look of the original bespoke deck.html (dark theme, green accent)
   re-expressed as a governed token system, mirroring the CANONIC-NEXUS shape.
   See CONTENT/DECKS/ONCONEX-SPAIN/CANON.md. */

:root {
  /* Surfaces — matte, dark, no gradients */
  --bg-deep:           #08090c;
  --bg-elevated:       #0f1117;
  --bg-surface:        #11141b;

  /* Type — warm whites, hierarchy by opacity */
  --fg-primary:        #f0f2f5;
  --fg-secondary:      rgba(240, 242, 245, 0.78);
  --fg-tertiary:       rgba(240, 242, 245, 0.50);
  --fg-quaternary:     rgba(240, 242, 245, 0.30);

  /* Hairlines — never heavy borders */
  --rule-strong:       rgba(255, 255, 255, 0.14);
  --rule:              rgba(255, 255, 255, 0.07);
  --rule-faint:        rgba(255, 255, 255, 0.035);

  /* Accents — semantic, restrained */
  --accent:            #34d399;          /* primary green — the deck accent */
  --accent-dim:        rgba(52, 211, 153, 0.12);
  --accent-soft:       rgba(52, 211, 153, 0.20);
  --accent-2:          #22d3ee;          /* teal — secondary (governed platform) */
  --accent-warn:       #fbbf24;          /* amber — caution / scaling */
  --accent-pink:       #f472b6;          /* GOV / governance marker */

  /* Type stack — Apple system */
  --font-display:      -apple-system, BlinkMacSystemFont, "SF Pro Display",
                       "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text:         -apple-system, BlinkMacSystemFont, "SF Pro Text",
                       "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:         "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Caps tracking */
  --tracking-caps:       0.14em;
  --tracking-caps-tight: 0.08em;

  /* Spacing scale */
  --gap-1:  4px;
  --gap-2:  8px;
  --gap-3:  16px;
  --gap-4:  24px;
  --gap-5:  40px;
  --gap-6:  64px;
  --gap-7:  96px;
}
