/* SCALE brand tokens from the supplied design system. */
:root {
  /* Color */
  --color-primary: #2090fe;
  --color-primary-strong: #075de6;
  --color-primary-deep: #054ab8;
  --color-primary-light: #6ab8ff;
  --color-secondary: #050d1a;
  --color-accent: #6ab8ff;
  --color-surface: #ffffff;
  --color-surface-tint: #f0f7ff;
  --color-surface-tint-2: #dce8ff;
  --color-background: #ffffff;
  --color-background-dark: #050d1a;
  --color-background-darkest: #020710;
  --color-surface-dark: #0a0f1e;
  --color-text: #050d1a;
  --color-text-muted: #6b7280;
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-muted: rgba(255,255,255,0.7);
  --color-text-on-dark-subtle: rgba(255,255,255,0.5);
  --color-border: #e5e7eb;
  --color-border-blue: #c8dfff;
  --color-border-on-dark: rgba(255,255,255,0.08);
  --color-border-on-dark-strong: rgba(255,255,255,0.15);
  --color-success: #37ca37;
  --color-success-text: #15803d;
  --color-warning: #f59e0b;
  --color-warning-text: #92400e;
  --color-danger: #e05555;
  --color-danger-text: #b42318;
  --color-danger-tint: rgba(224,85,85,0.15);
  --color-focus: #2090fe;

  /* Typography */
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-primary: 'DM Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --text-display: clamp(58px, 9vw, 104px);
  --text-h1: clamp(34px, 4.5vw, 54px);
  --text-h2: clamp(26px, 3.5vw, 42px);
  --text-h3: 22px;
  --text-stat: 38px;
  --text-lg: 17px;
  --text-md: 15px;
  --text-sm: 14px;
  --text-xs: 12px;
  --text-eyebrow: 11px;
  --leading-display: 0.93;
  --leading-heading: 1;
  --leading-body: 1.6;
  --tracking-display: -0.01em;
  --tracking-heading: 0.01em;
  --tracking-subhead: 0.03em;
  --tracking-eyebrow: 0.12em;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 900;

  /* Spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 36px;
  --space-7: 52px;
  --space-8: 80px;
  --content-width: 1120px;
  --content-narrow: 720px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;

  /* Shape & elevation */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 100px;
  --radius-round: 50%;
  --border-width: 1px;
  --border-width-strong: 1.5px;
  --shadow-card: 0 1px 5px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 0 4px rgba(32,144,254,0.35);
  --shadow-soft: 0 8px 24px rgba(5,13,26,0.12);

  /* Motion */
  --duration-fast: 150ms;
  --duration-base: 200ms;
  --duration-slow: 400ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
}

[data-theme="dark"] {
  --color-background: #050d1a;
  --color-surface: #0a0f1e;
  --color-surface-tint: rgba(255,255,255,0.04);
  --color-surface-tint-2: rgba(32,144,254,0.12);
  --color-text: #ffffff;
  --color-text-muted: rgba(255,255,255,0.7);
  --color-border: rgba(255,255,255,0.08);
  --color-border-blue: rgba(32,144,254,0.35);
  --color-primary-strong: #2090fe;
}
