/* ==========================================================================
   BSA design tokens
   Every token from the design system's tokens.json (Nov 2026), as CSS
   custom properties. bundle.css and typography.css both read these.
   This stands in for the design system's generated tokens.css, which
   only defined --Blue, --Green and --Orange (see docs/shortcodes.md 10.1).
   Load this FIRST, before typography.css and bundle.css.
   ========================================================================== */

:root {
	/* Brand (from the logo) */
	--Blue:   #4b60ab;  /* leads: links, primary buttons, focus ring */
	--Green:  #b3be36;  /* supports: fills, bands, rules. Never text on light grounds */
	--Orange: #e65625;  /* sparks: small blocks, badges. Never small text on light grounds */

	/* Text-safe and tint variants */
	--blue-700:   #34447f;  /* hover/pressed for Blue */
	--blue-50:    #eef0f8;
	--green-700:  #5c6419;  /* green TEXT */
	--green-50:   #f4f6e0;
	--orange-700: #b23f14;  /* orange TEXT */
	--orange-50:  #fdece4;

	/* Neutrals */
	--ink:           #1d2033;  /* body copy and headings */
	--ink-muted:     #51556a;  /* captions, meta, helper text */
	--surface:       #ffffff;  /* page and card background */
	--paper:         #f8f6f1;  /* alternating sections, header, footer */
	--border:        #dcd8cd;  /* decorative hairlines */
	--border-strong: #85847a;  /* form controls, anything clickable */

	/* Feedback */
	--focus:   var(--Blue);
	--danger:  #b3261e;
	--success: #2f6b3b;

	/* Type families */
	--font-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
	--font-sans:  Figtree, "Segoe UI", system-ui, sans-serif;

	/* Spacing (4px base) */
	--space-1:  4px;
	--space-2:  8px;
	--space-3:  12px;
	--space-4:  16px;
	--space-6:  24px;
	--space-8:  32px;
	--space-12: 48px;
	--space-16: 64px;
	--space-24: 96px;

	/* Corners */
	--radius-none: 0;
	--radius-sm:   3px;   /* buttons, inputs, tags */
	--radius-md:   6px;   /* cards, panels */
}
