/* Agilex+ design tokens. Light is the default; set data-theme="dark" on <html> for the Navy theme.
   Fonts: the @font-face rules below use this skill's fonts/ folder; where those files can't be reached
   (a browser artifact), the Google Fonts import supplies the same faces. */
@font-face { font-family: 'DM Sans'; src: url('fonts/DMSans-VF.ttf') format('truetype'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-VF.ttf') format('truetype'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/JetBrainsMono-VF.ttf') format('truetype'); font-weight: 400 500; font-style: normal; font-display: swap; }

:root, [data-theme="light"] {
  --brand-navy: #0D1F3C;
  --brand-blue: #1A5FB4;
  --brand-amber: #E8A020;
  --bg: #FAFAFA;
  --surface: #EEF2F7;
  --surface-raised: #FFFFFF;
  --border: #CBD5E0;
  --border-control: #4A5568;
  --ink: #141414;
  --ink-heading: #0D1F3C;
  --ink-body: #141414;
  --ink-muted: #4A5568;
  --link: #1A5FB4;
  --accent: var(--brand-amber);
  --on-accent: #0D1F3C;
  --interactive: var(--brand-blue);
  --on-interactive: #FAFAFA;
  --focus-ring: #1A5FB4;
  --success: #1A7A4A;
  --success-tint: #edf4f1;
  --danger: #C0392B;
  --danger-tint: #faefee;
  --warning: #0D1F3C;
  --warning-tint: #faeace;
  --info: #1A5FB4;
  --info-tint: #edf2f9;
  --ai: #6D28D9;
  --ai-mark: #7C3AED;
  --ai-tint: #f1ecfd;
  --overlay: rgba(13, 31, 60, 0.45);
  --shadow-card: 0 2px 8px rgba(13, 31, 60, 0.08), 0 1px 3px rgba(13, 31, 60, 0.04);
  --shadow-modal: 0 8px 32px rgba(13, 31, 60, 0.16);
}
[data-theme="dark"] {
  color-scheme: dark;
  --brand-navy: #0D1F3C;
  --brand-blue: #1A5FB4;
  --brand-amber: #E8A020;
  --bg: #0D1F3C;
  --surface: #13294d;
  --surface-raised: #1c3354;
  --border: #24375a;
  --border-control: #9fb0c9;
  --ink: #e8edf6;
  --ink-heading: #e8edf6;
  --ink-body: #c7d2e4;
  --ink-muted: #9fb0c9;
  --link: #E8A020;
  --accent: var(--brand-amber);
  --on-accent: #0D1F3C;
  --interactive: var(--brand-blue);
  --on-interactive: #FAFAFA;
  --focus-ring: #E8A020;
  --success: #7fd6ab;
  --success-tint: rgba(47, 158, 111, 0.18);
  --danger: #f0a196;
  --danger-tint: rgba(192, 57, 43, 0.18);
  --warning: #f3c969;
  --warning-tint: rgba(232, 160, 32, 0.18);
  --info: #9ec3f0;
  --info-tint: rgba(26, 95, 180, 0.18);
  --ai: #c3b2f2;
  --ai-mark: #a78bfa;
  --ai-tint: rgba(124, 58, 237, 0.12);
  --overlay: rgba(4, 10, 22, 0.55);
  --shadow-card: none;
  --shadow-modal: 0 8px 32px rgba(4, 10, 22, 0.5);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --font-display: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.type-display { font-family: var(--font-display); font-size: 56px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.type-h1 { font-family: var(--font-display); font-size: 40px; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; }
.type-h2 { font-family: var(--font-display); font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.type-h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -0.005em; }
.type-h4 { font-family: var(--font-display); font-size: 20px; line-height: 1.35; font-weight: 500; letter-spacing: 0; }
.type-body-lg { font-family: var(--font-body); font-size: 18px; line-height: 1.7; font-weight: 400; letter-spacing: 0; }
.type-body { font-family: var(--font-body); font-size: 16px; line-height: 1.65; font-weight: 400; letter-spacing: 0; }
.type-body-strong { font-family: var(--font-body); font-size: 16px; line-height: 1.65; font-weight: 600; letter-spacing: 0; }
.type-body-sm { font-family: var(--font-body); font-size: 14px; line-height: 1.6; font-weight: 400; letter-spacing: 0.005em; }
.type-caption { font-family: var(--font-body); font-size: 12px; line-height: 1.5; font-weight: 400; letter-spacing: 0.01em; }
.type-label { font-family: var(--font-body); font-size: 11px; line-height: 1.4; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.type-mono { font-family: var(--font-mono); font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: 0; }
