/* ITFortal IAM design tokens. Copied verbatim from the approved style index (docs/style-index/index.html, 2026-09-20).
 * This is the only file allowed to contain colour or font literals (tools/token-lint.mjs). */
:root {
  color-scheme: light;

  /* ---- Colour (OKLCH, cool anchor hue 250–258) ---- */
  --color-paper:          oklch(98.5% 0.004 250);
  --color-paper-2:        oklch(96.5% 0.006 250);
  --color-rule:           oklch(90% 0.008 250);
  --color-rule-2:         oklch(82% 0.012 252);
  --color-ink:            oklch(24% 0.02 258);
  --color-ink-2:          oklch(34% 0.018 257);
  --color-muted:          oklch(50% 0.015 256);
  --color-graphite:       oklch(22% 0.016 260);
  --color-graphite-2:     oklch(28% 0.016 260);
  --color-graphite-ink:   oklch(93% 0.006 250);
  --color-graphite-muted: oklch(70% 0.01 252);
  --color-accent:         oklch(52% 0.20 256);   /* 5.4:1 on paper; the index draft had 58% = 4.2:1 */
  --color-accent-strong:  oklch(45% 0.19 256);
  --color-accent-ink:     oklch(99% 0.005 250);
  --color-accent-soft:    oklch(94% 0.035 256);
  --color-focus:          oklch(52% 0.20 256);
  --color-accent-on-dark: oklch(78% 0.13 256);   /* accent for text on graphite: 8:1 */
  --color-ok:             oklch(55% 0.14 152);
  --color-ok-soft:        oklch(95% 0.03 152);
  --color-warn:           oklch(66% 0.15 70);
  --color-warn-soft:      oklch(96% 0.04 70);
  --color-danger:         oklch(55% 0.20 27);
  --color-danger-soft:    oklch(95% 0.03 27);
  --color-shadow:         oklch(24% 0.02 258 / 0.05);
  --color-scrim:          oklch(20% 0.02 258 / 0.45);
  --color-nav-glass:      oklch(98.5% 0.004 250 / 0.88);

  /* ---- Type ---- */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", Consolas, "SF Mono", monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5625rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
  --text-4xl: 3.05rem;
  --text-display-s: clamp(2rem, 3.2vw + 0.8rem, 3.4rem);   /* headlines of 51–90 characters */
  --text-display:   clamp(2.5rem, 5vw + 0.5rem, 4.75rem);  /* headlines up to 50 characters */

  /* ---- Space (4 pt) ---- */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 600ms;

  /* ---- Shape ---- */
  --radius-control: 6px;
  --radius-card: 10px;
  --radius-pill: 999px;
  --rule-1: 1px solid var(--color-rule);
  --z-sticky: 200;
  --z-modal: 400;

  /* ---- Layout ---- */
  --measure: 65ch;
  --wrap: 72rem;
  --auth-width: 28rem;
}
