/* Hallmark · macrostructure: Workbench · tone: editorial-technical · anchor hue: 255 (electric blue)
 * Rootsurvey design system v2 — consumer intelligence, full-colour.
 */

:root {
  color-scheme: light;

  /* ---------- Core ---------- */
  --ink: oklch(21.18% 0.042 247.8);
  --ink-2: oklch(27.56% 0.053 245.2);
  --forest: oklch(31.78% 0.054 170);
  --forest-deep: oklch(24% 0.045 170);
  --paper: oklch(96.48% 0.013 86.8);
  --paper-2: oklch(93.52% 0.018 86.1);
  --white: oklch(100% 0 0);
  --muted: oklch(51.81% 0.025 235.4);
  --line: oklch(86.53% 0.022 85.9);
  --line-dark: oklch(100% 0 0 / 0.18);

  /* ---------- Signal palette ---------- */
  --blue: oklch(54.76% 0.25 264.1);
  --blue-dark: oklch(46% 0.23 264.1);
  --violet: oklch(59.74% 0.23 285.5);
  --coral: oklch(59.03% 0.198 15);
  --coral-dark: oklch(54.14% 0.183 15.6);
  --coral-light: oklch(74% 0.16 15);
  --mint: oklch(83.87% 0.117 171.8);
  --lime: oklch(91.64% 0.162 118.5);
  --amber: oklch(81.97% 0.141 78.8);
  --sky: oklch(89.29% 0.055 246.8);

  /* ---------- Tints ---------- */
  --tint-blue: oklch(95.6% 0.028 255);
  --tint-sky: oklch(96.4% 0.02 248);
  --tint-mint: oklch(96.2% 0.035 170);
  --tint-sand: oklch(93.2% 0.03 80);
  --tint-violet: oklch(95.4% 0.03 285);
  --tint-coral: oklch(94.8% 0.03 15);

  /* ---------- On dark ---------- */
  --on-dark: oklch(98% 0.006 90);
  --on-dark-muted: oklch(82% 0.018 240);

  /* ---------- Focus ---------- */
  --focus: oklch(54.76% 0.25 264.1);
  --focus-dark: oklch(85% 0.16 80);

  /* ---------- Type ---------- */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: clamp(1.9rem, 2.8vw, 2.7rem);
  --text-4xl: clamp(2.6rem, 4.4vw, 4.2rem);
  --text-display-s: clamp(2.6rem, 4.6vw, 4.4rem);
  --text-display: clamp(3.6rem, 7.4vw, 7rem);

  --leading-tight: 0.92;
  --leading-snug: 1.04;
  --leading-body: 1.55;

  /* ---------- Space ---------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6.5rem;
  --space-12: 8rem;

  --section-y: clamp(5.5rem, 9vw, 9.5rem);
  --gutter: clamp(1.25rem, 3.4vw, 2.75rem);
  --shell: 86rem;
  --header-h: 4.75rem;

  /* ---------- Shape / depth ---------- */
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 24px 70px oklch(21.18% 0.042 247.8 / 0.18);
  --shadow-soft: 0 10px 30px oklch(21.18% 0.042 247.8 / 0.1);

  /* ---------- Motion ---------- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-mid: 320ms;
  --dur-slow: 800ms;

  --z-header: 50;
  --z-menu: 40;
}
