:root {
  color-scheme: light;

  /* Surface and text */
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-surface-subtle: #f1f4f8;
  --color-surface-raised: #ffffff;
  --color-text: #111827;
  --color-text-muted: #4b5563;
  --color-text-quiet: #5b6472;
  --color-line: #e3e7ef;
  --color-line-strong: #cfd6e2;

  /* Brand and action */
  --color-accent: #1f5f8b;
  --color-accent-hover: #174a6d;
  --color-accent-soft: #e8f1f8;
  --color-accent-ink: #ffffff;

  /* Semantic */
  --color-success: #1e7a4d;
  --color-success-soft: #e9f6ef;
  --color-warning: #8a5a00;
  --color-warning-soft: #fdf3df;
  --color-danger: #b42318;
  --color-danger-hover: #8f1c13;
  --color-danger-soft: #fceceb;
  --color-info: #1f5f8b;
  --color-info-soft: #e8f1f8;

  /* Risk accents */
  --color-risk-read: #0f6b63;
  --color-risk-write: #8a5a00;
  --color-risk-trade: #a34700;
  --color-risk-custody: #b42318;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 15px;
  --text-lg: 17px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 38px;
  --leading-tight: 1.2;
  --leading-normal: 1.55;

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

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgb(17 24 39 / 4%), 0 12px 32px rgb(17 24 39 / 5%);
  --shadow-pop: 0 18px 48px rgb(17 24 39 / 14%);

  /* Layout */
  --layout-max: 1160px;
  --layout-narrow: 720px;
  --header-height: 64px;
}
