/* monstrous.dev · design tokens
   Pattern: docs/ledgerline (Coral) re-themed for an analytics & data software company.
   Theme: Indigo (cool analytic) — cool-grey paper (hue 255) · single indigo accent (hue 270) · pill CTAs
   Every colour below is OKLCH. style.css references these BY NAME only. */

:root {
  /* ── Paper surfaces (cool, tinted toward hue 255) ── */
  --color-paper: oklch(97.5% 0.007 255);
  --color-paper-2: oklch(95% 0.01 255);
  --color-paper-3: oklch(91.5% 0.013 255);

  /* ── Ink & text (cool, never pure black) ── */
  --color-ink: oklch(22% 0.014 270);
  --color-ink-hover: oklch(30% 0.016 270);
  --color-body: oklch(33% 0.015 270);
  --color-neutral: oklch(45% 0.016 270);
  --color-muted: oklch(53% 0.015 270);

  /* ── Rules & lines (decorative vs. 3:1 boundary) ── */
  --color-rule: oklch(89% 0.013 255);
  --color-rule-2: oklch(78% 0.015 255);
  --color-line-strong: oklch(62% 0.022 268);

  /* ── Dark panel surface (bento ink tile) ── */
  --color-ink-panel: oklch(21% 0.015 270);
  --color-ink-panel-2: oklch(27% 0.017 270);
  --color-ink-rule: oklch(33% 0.017 270);

  /* ── Accent: indigo, used as highlighter not flood ── */
  --color-accent: oklch(65% 0.17 270);
  --color-accent-deep: oklch(52% 0.165 272);
  --color-accent-soft: oklch(93.5% 0.03 270);
  --color-accent-ink: oklch(25% 0.05 270);
  --color-accent-text: oklch(46% 0.15 272);

  /* ── Signal colours (state, never decoration) ── */
  --color-focus: oklch(53% 0.16 272);
  --color-success: oklch(56% 0.12 152);
  --color-success-text: oklch(43% 0.11 152);
  --color-success-soft: oklch(94% 0.04 152);
  --color-error: oklch(52% 0.19 22);
  --color-error-text: oklch(45% 0.17 22);
  --color-error-soft: oklch(94% 0.035 22);

  /* ── Type — Geist display/body, Geist Mono as the data outlier ── */
  --font-display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-data: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;

  /* ── Type scale — 1.25 major third from 16px ── */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.9531rem;
  --text-2xl: 2.4414rem;
  --text-display-s: clamp(2rem, 1.4rem + 2.6vw, 3.0518rem);
  --text-display: clamp(2.6rem, 1.5rem + 4.8vw, 4.5rem);

  /* ── Spacing — 4pt scale, named by role ── */
  --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;

  /* ── Radii — soft pills are the genre signature ── */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* ── Motion — named easings, three duration buckets ── */
  --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-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;

  /* ── Layout ── */
  --page-max: 72rem;
  --page-gutter: clamp(1rem, 4vw, 2.5rem);

  /* ── Depth — whisper shadow only, cool-tinted ── */
  --shadow-whisper: 0 1px 2px oklch(20% 0.014 270 / 0.05);
  --shadow-lift: 0 12px 32px -18px oklch(20% 0.014 270 / 0.3);
  --shadow-pulse: 0 0 0 4px oklch(65% 0.17 270 / 0.25);

  /* ── Z scale — six named levels ── */
  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
}
