:root {
  /* 60% Neutral Canvas */
  --bg-canvas: #F7F9FB;
  --bg-surface: #FFFFFF;
  --bg-subtle: #EFF3F8;
  --bg-input: #FFFFFF;

  /* 30% Structural Borders & Typography */
  --border-hairline: #DCE3EC;
  --border-strong: #B8C5D6;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #526176;

  /* 10% Accent Budget (Canadian Maple Crimson + Pine Secondary) */
  --accent-primary: #B91C1C;
  --accent-primary-hover: #991B1B;
  --accent-primary-soft: #FEF2F2;
  --accent-on-primary: #FFFFFF;

  --accent-secondary: #0F766E;
  --accent-secondary-soft: #F0FDFA;
  --accent-warning: #B45309;
  --accent-warning-soft: #FFFBEB;
  --accent-error: #B91C1C;
  --accent-success: #15803D;

  /* SVG Illustration Tokens */
  --svg-bg: #EEF3F9;
  --svg-card: #FFFFFF;
  --svg-stroke: #1E293B;
  --svg-muted: #94A3B8;
  --svg-crimson: #B91C1C;
  --svg-crimson-soft: #FEE2E2;
  --svg-pine: #0F766E;
  --svg-pine-soft: #CCFBF1;
  --svg-gold: #D97706;
  --svg-gold-soft: #FEF3C7;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* 4px Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Radius Scale */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Single-Elevation Shadows */
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-lift: 0 6px 18px rgba(15, 23, 42, 0.09);

  /* Motion Tokens */
  --dur-fast: 150ms;
  --dur-med: 240ms;
  --dur-enter: 360ms;
  --dur-loop: 5.5s;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1180px;
  --prose-max: 72ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-canvas: #0B1120;
    --bg-surface: #111A2E;
    --bg-subtle: #18233A;
    --bg-input: #0F172A;

    --border-hairline: #23314D;
    --border-strong: #394D73;
    --text-primary: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;

    --accent-primary: #DC2626;
    --accent-primary-hover: #EF4444;
    --accent-primary-soft: #2A141A;
    --accent-on-primary: #FFFFFF;

    --accent-secondary: #2DD4BF;
    --accent-secondary-soft: #102B2C;
    --accent-warning: #F59E0B;
    --accent-warning-soft: #2B2110;
    --accent-error: #F87171;
    --accent-success: #4ADE80;

    --svg-bg: #162238;
    --svg-card: #1E2C47;
    --svg-stroke: #E2E8F0;
    --svg-muted: #64748B;
    --svg-crimson: #F87171;
    --svg-crimson-soft: #3B1A22;
    --svg-pine: #2DD4BF;
    --svg-pine-soft: #133838;
    --svg-gold: #FBBF24;
    --svg-gold-soft: #362812;

    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.35), 0 6px 16px rgba(0, 0, 0, 0.28);
    --shadow-lift: 0 10px 24px rgba(0, 0, 0, 0.42);
  }
}
