:root, [data-theme="light"] {
  --surface-100: #ffffff;
  --surface-200: #f3f7fc;
  --surface-300: #e4ecf6;
  --surface-deep: #04264d;
  --ink: #0a1f38;
  --ink-muted: #46586e;
  --ink-on-deep: #ffffff;
  --ink-on-deep-muted: #b9c9dd;
  --brand-blue: #0164c9;
  --brand-blue-hover: #0152a6;
  --brand-blue-pressed: #043f82;
  --on-brand: #ffffff;
  --brand-blue-tint: #e4f0fc;
  --link: #0158b3;
  --logo-red: #fe0000;
  --signal-red: #c80000;
  --signal-red-hover: #a30000;
  --on-signal: #ffffff;
  --logo-grey: #7f7f7f;
  --border: #d3dce8;
  --border-strong: #667a94;
  --focus-ring: #0164c9;
  --focus-ring-on-deep: #8cc2ff;
  --status-success: #00706b;
  --status-warning: #8a5a00;
  --status-danger: var(--signal-red);
  --status-info: var(--brand-blue);
  --shadow-xs: 0 1px 2px rgba(10, 31, 56, 0.08);
  --shadow-sm: 0 2px 8px rgba(10, 31, 56, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 31, 56, 0.12);
  --shadow-lg: 0 20px 48px rgba(10, 31, 56, 0.18);
}
[data-theme="dark"] {
  --surface-100: #061a31;
  --surface-200: #0b2644;
  --surface-300: #133661;
  --surface-deep: #030f1e;
  --ink: #f1f6fc;
  --ink-muted: #a8bad0;
  --ink-on-deep: #f1f6fc;
  --ink-on-deep-muted: #a8bad0;
  --brand-blue: #5aa6f8;
  --brand-blue-hover: #86bdfa;
  --brand-blue-pressed: #a9d0fb;
  --on-brand: #04172b;
  --brand-blue-tint: #0f3a6b;
  --link: #7db8fa;
  --logo-red: #fe0000;
  --signal-red: #ff6b6b;
  --signal-red-hover: #ff9494;
  --on-signal: #2a0000;
  --logo-grey: #7f7f7f;
  --border: #1f4373;
  --border-strong: #6f8db0;
  --focus-ring: #8cc2ff;
  --focus-ring-on-deep: #8cc2ff;
  --status-success: #4cc9c0;
  --status-warning: #f2b84b;
  --status-danger: var(--signal-red);
  --status-info: var(--brand-blue);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.6);
}
: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;
  --section-y-sm: 64px;
  --section-y-md: 96px;
  --section-y-lg: 128px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --bp-2xl: 1536px;
  --container-prose: 680px;
  --container-default: 1200px;
  --container-wide: 1360px;
  --gutter-sm: 20px;
  --gutter-md: 32px;
  --gutter-lg: 48px;
  --aspect-hero: 21 / 9;
  --aspect-wide: 16 / 9;
  --aspect-feature: 3 / 2;
  --aspect-card: 4 / 3;
  --aspect-portrait: 4 / 5;
  --aspect-square: 1 / 1;
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
}