/* Castora Design System — generated from tokens.json */
:root, [data-theme="light"] {
  --cf-navy-950: #0b1624;
  --cf-navy-900: #111f33;
  --cf-navy-800: #1a2d47;
  --cf-navy-700: #273e5a;
  --cf-steel-700: #24405b;
  --cf-steel-600: #315c79;
  --cf-steel-500: #4a7899;
  --cf-steel-400: #7fa0b8;
  --cf-steel-300: #a9c0d1;
  --cf-ice-100: #dce6ee;
  --cf-ice-50: #eef3f7;
  --cf-silver-500: #8e9398;
  --cf-silver-400: #a9aeb3;
  --cf-silver-200: #d9d9d9;
  --cf-silver-100: #e9eaeb;
  --cf-graphite-700: #3f4247;
  --cf-graphite-600: #5b5c5c;
  --cf-white: #ffffff;
  --cf-paper: #f4f5f6;
  --cf-bone: #eceef0;
  --cf-amber-500: #e0892b;
  --cf-amber-600: #c06f17;
  --cf-amber-100: #f8e6d2;
  --cf-green-600: #2f7d5b;
  --cf-red-600: #b8433a;
  --brand-primary: var(--cf-navy-700);
  --brand-secondary: var(--cf-steel-600);
  --brand-accent: var(--cf-amber-500);
  --brand-metal: var(--cf-silver-400);
  --surface-page: var(--cf-white);
  --surface-paper: var(--cf-paper);
  --surface-tint: var(--cf-ice-50);
  --surface-dark: var(--cf-navy-900);
  --surface-deep: var(--cf-navy-950);
  --surface-steel: var(--cf-steel-600);
  --text-strong: #101826;
  --text-body: #2e3846;
  --text-muted: #5f6977;
  --text-subtle: #8a929d;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #b7c4d2;
  --text-brand: var(--cf-navy-700);
  --text-accent: var(--cf-amber-600);
  --rule-hair: #dde1e6;
  --rule-strong: #101826;
  --rule-on-dark: rgba(255,255,255,0.18);
  --rule-brand: var(--cf-navy-700);
  --data-1: var(--cf-navy-700);
  --data-2: var(--cf-steel-500);
  --data-3: var(--cf-steel-300);
  --data-4: var(--cf-silver-400);
  --data-highlight: var(--cf-amber-500);
  --data-track: #e6e9ed;
  --data-positive: var(--cf-green-600);
  --data-negative: var(--cf-red-600);
  --shadow-none: none;
  --shadow-lift: 0 1px 2px rgba(11,22,36,0.06), 0 8px 24px rgba(11,22,36,0.10);
  --shadow-float: 0 2px 6px rgba(11,22,36,0.08), 0 24px 60px rgba(11,22,36,0.18);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-0: 0px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --stroke-hair: 1px;
  --stroke-rule: 2px;
  --stroke-heavy: 4px;
  --icon-stroke: 1.5;
  --page-a4-long: 1123px;
  --page-a4-short: 794px;
  --page-margin: 56px;
  --page-margin-inner: 64px;
  --page-margin-top: 48px;
  --page-margin-bottom: 44px;
  --page-gutter: 24px;
  --page-columns: 12;
  --page-chrome-height: 28px;
  --bleed: 3mm;
  --measure: 62ch;
  --measure-narrow: 44ch;
  --font-display: 'Sora', 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --font-accent: 'Archivo', 'Sora', Arial, sans-serif;
}
.cf-display-xxl { font-family: var(--font-display); font-size: 128px; line-height: 0.9; font-weight: 700; letter-spacing: -0.05em; }
.cf-display-xl { font-family: var(--font-display); font-size: 88px; line-height: 0.94; font-weight: 700; letter-spacing: -0.04em; }
.cf-display-lg { font-family: var(--font-display); font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.cf-headline { font-family: var(--font-display); font-size: 40px; line-height: 1.08; font-weight: 600; letter-spacing: -0.022em; }
.cf-subhead { font-family: var(--font-display); font-size: 24px; line-height: 1.32; font-weight: 400; letter-spacing: -0.012em; }
.cf-title { font-family: var(--font-display); font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -0.005em; }
.cf-lede-lg { font-family: var(--font-display); font-size: 28px; line-height: 1.32; font-weight: 300; letter-spacing: -0.012em; }
.cf-lede-md { font-family: var(--font-display); font-size: 21px; line-height: 1.45; font-weight: 300; }
.cf-body-lg { font-family: var(--font-text); font-size: 18px; line-height: 1.55; font-weight: 400; }
.cf-body { font-family: var(--font-text); font-size: 16px; line-height: 1.55; font-weight: 400; }
.cf-small { font-family: var(--font-text); font-size: 14px; line-height: 1.45; font-weight: 400; }
.cf-caption { font-family: var(--font-text); font-size: 12.5px; line-height: 1.4; font-weight: 400; }
.cf-label { font-family: var(--font-mono); font-size: 12px; line-height: 1.2; font-weight: 500; letter-spacing: 0.14em; }
.cf-stat-xl { font-family: var(--font-display); font-size: 152px; line-height: 0.86; font-weight: 600; letter-spacing: -0.055em; }
.cf-stat-lg { font-family: var(--font-display); font-size: 104px; line-height: 0.86; font-weight: 600; letter-spacing: -0.055em; }
.cf-stat-md { font-family: var(--font-display); font-size: 64px; line-height: 0.86; font-weight: 600; letter-spacing: -0.055em; }
.cf-stat-sm { font-family: var(--font-display); font-size: 40px; line-height: 0.86; font-weight: 600; letter-spacing: -0.055em; }
.cf-accent { font-family: var(--font-accent); font-size: 52px; line-height: 0.95; font-weight: 800; letter-spacing: -0.02em; font-style: italic; }
