/* PairTrace public surface — restrained white + one cobalt.
 * Logo colors locked: accent #0057c5, ink #0f1621.
 * Hangul face is IBM Plex Sans KR (only Korean face we host). One family; weight does hierarchy.
 */
:root {
  color-scheme: light;

  --font-display: "IBM Plex Sans KR", sans-serif;
  --font-body: "IBM Plex Sans KR", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --color-paper: #ffffff;
  --color-paper-2: #f4f6f9;
  --color-paper-3: #e8ecf2;
  --color-ink: #0f1621;
  --color-ink-2: #1c2430;
  --color-muted: #5a6573;
  --color-neutral: #7a8492;
  --color-rule: #d5dae3;
  --color-rule-2: #e8ecf2;
  --color-accent: #0057c5;
  --color-accent-ink: #ffffff;
  --color-accent-hover: #0049a8;
  --color-focus: #003e90;
  --color-success: #1f7a4d;
  --color-success-soft: #e8f6ee;
  --color-warning: #8a5a00;
  --color-warning-soft: #fff4d6;
  --color-error: #b42318;
  --color-error-soft: #fde8e6;
  --color-overlay: rgb(15 22 33 / 0.48);
  --color-shadow: rgb(15 22 33 / 0.12);
  --color-transparent: rgb(255 255 255 / 0);

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.125rem;
  --text-3xl: 2.75rem;
  --text-display: clamp(2.05rem, 4.4vw, 3.25rem);
  --text-caption: 0.875rem;

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.25rem;
  --space-2xl: 3.5rem;
  --space-3xl: 5.5rem;
  --space-4xl: 8rem;

  --page-gutter: clamp(1.25rem, 4vw, 3rem);
  --page-max: 72rem;
  --measure: 62ch;
  --measure-narrow: 44ch;
  --control-height: 2.75rem;
  --nav-height: 3.5rem;

  --radius-xs: 0.25rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-pill: 999px;

  --line: 1px;
  --shadow-shot: 0 18px 40px -18px rgb(15 22 33 / 0.22);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-short: 180ms;

  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 200;
  --z-tooltip: 600;
}
