/* ============================================================
   MacLeod Services v4 — Design Tokens
   Single source of truth for colour, type, spacing, radii and
   shadows across every MacLeod property (main site, blog,
   NULL SECTOR chrome, Neon Vault, Kindred North, AI Copilot,
   MSG Store, BDSN fundraising, sites offer, Daemon Network).
   Dark professional theme: deep slate-black, MacLeod gold,
   steel-blue action accent. Never hard-code a hex value in a
   component — always reference a token.
   ============================================================ */
:root {
  /* ---- Colour: surfaces ---- */
  --bg:          #0a0c0f;  /* page background */
  --bg-2:        #0f1216;  /* alt section background */
  --surface:     #151920;  /* card surface */
  --surface-2:   #1b212b;  /* raised surface / hover */
  --surface-3:   #232b37;  /* inputs on dark, chips */
  --overlay:     rgba(10, 12, 15, 0.72);

  /* ---- Colour: lines & text ---- */
  --line:        #263041;
  --line-strong: #35435a;
  --text:        #f2efe6;  /* warm off-white */
  --text-2:      #c9cdd4;  /* secondary text */
  --muted:       #9aa3af;  /* captions, meta */
  --faint:       #6b7482;  /* disabled, footnotes */

  /* ---- Colour: brand & actions ---- */
  --gold:        #d9a83c;  /* MacLeod gold — brand, headings accents */
  --gold-2:      #ecc35c;  /* gold highlight / gradient top */
  --gold-deep:   #a87f24;  /* gold gradient bottom, borders */
  --gold-tint:   rgba(217, 168, 60, 0.10);
  --gold-line:   rgba(217, 168, 60, 0.45);
  --accent:      #3e7bfa;  /* primary action blue */
  --accent-2:    #5b93ff;  /* accent hover */
  --accent-tint: rgba(62, 123, 250, 0.12);
  --ink-on-gold: #16130a;  /* text on gold buttons */
  --ink-on-accent: #ffffff;

  /* ---- Colour: status ---- */
  --ok:          #34b26b;
  --ok-tint:     rgba(52, 178, 107, 0.13);
  --warn:        #e0a63e;
  --warn-tint:   rgba(224, 166, 62, 0.13);
  --danger:      #d84a3a;
  --danger-2:    #ff8a7a;
  --danger-tint: rgba(216, 74, 58, 0.14);
  --info:        #4c9aff;
  --info-tint:   rgba(76, 154, 255, 0.12);

  /* ---- Typography ---- */
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;   /* brand wordmark accents only */
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --fs-xs:   0.78rem;
  --fs-sm:   0.88rem;
  --fs-base: 1rem;
  --fs-md:   1.13rem;
  --fs-lg:   1.32rem;
  --fs-xl:   1.62rem;
  --fs-2xl:  2.05rem;
  --fs-3xl:  2.62rem;
  --lh-tight: 1.22;
  --lh-body:  1.62;
  --fw-normal: 400;
  --fw-medium: 600;
  --fw-bold:   700;
  --fw-black:  800;
  --ls-label:  0.08em;  /* uppercase micro-labels */

  /* ---- Spacing (4px base) ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 22px;
  --sp-6: 28px;
  --sp-7: 40px;
  --sp-8: 56px;
  --wrap: 1120px;       /* content max width */
  --wrap-narrow: 780px; /* forms, articles */

  /* ---- Radii ---- */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* ---- Shadows & focus ---- */
  --shadow-card: 0 1px 2px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.28);
  --shadow-pop:  0 24px 70px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.4);
  --shadow-bar:  0 10px 34px rgba(0,0,0,.45);
  --focus-ring: 0 0 0 3px rgba(217, 168, 60, 0.35);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.2,.7,.3,1);
  --dur: 180ms;
}

/* Respect users who ask for less motion, everywhere. */
@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0ms; }
}
