/* PLACEHOLDER TOKENS: neutral on purpose. Not Ionant's brand. */
:root {
  /* color */
  --color-bg: #ffffff;
  --color-bg-subtle: #f4f4f5;
  --color-surface: #ffffff;
  --color-border: #8a8a93;
  --color-text: #18181b;
  --color-text-muted: #52525b;
  --color-accent: #3f3f46;
  --color-on-accent: #ffffff;
  --color-focus: #1d4ed8;
  --color-success: #166534;
  --color-warning: #854d0e;
  --color-danger: #b91c1c;
  --figure-mat-for-dark-ui: #e4e4e7;
  --figure-mat-for-light-ui: #27272a;
  /* type */
  --font-display: system-ui, sans-serif; /* PH-FONT-DISPLAY */
  --font-body: system-ui, sans-serif; /* PH-FONT-BODY */
  --font-mono: ui-monospace, monospace; /* PH-FONT-MONO */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --leading-tight: 1.2;
  --leading-body: 1.6;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  /* space: 4 px scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  /* shape */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --border-thin: 1px;
  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.12);
  --shadow-2: 0 8px 24px rgb(0 0 0 / 0.16);
  /* motion */
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --ease: ease-out;
  /* layout */
  --width-page: 1200px;
  --width-prose: 72ch;
  --header-h: 64px;
  --z-header: 10;
  --z-overlay: 100;
}

[data-theme="dark"] {
  --color-bg: #111113;
  --color-bg-subtle: #1b1b1f;
  --color-surface: #1b1b1f;
  --color-border: #71717a;
  --color-text: #f4f4f5;
  --color-text-muted: #a1a1aa;
  --color-accent: #e4e4e7;
  --color-on-accent: #18181b;
  --color-focus: #93c5fd;
  --color-success: #86efac;
  --color-warning: #fde047;
  --color-danger: #fca5a5;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-base: 0ms;
  }
}
