/* Hallmark · genre: modern-minimal · theme: Cobalt
 * axes: paper-band light / display-style grotesk-sans / accent-hue cool
 *
 * Named tokens-cobalt.css deliberately: the incumbent tokens.css is still
 * referenced by boostili-redesign.css, boostili-fixes.css, boostili-commerce-v2.css
 * and boostili-report-modal.css. Overwriting it would restyle the legacy pages
 * unpredictably mid-migration.
 */

:root {
  /* Surfaces — cool engineered near-white, never #fff */
  --c-paper: oklch(98.5% 0.004 250);
  --c-paper-2: oklch(96.2% 0.006 252);
  --c-paper-3: oklch(93.5% 0.008 253);
  --c-graphite: oklch(22% 0.016 260);
  --c-graphite-2: oklch(27% 0.018 260);

  /* Ink — cool charcoal, never #000 */
  --c-ink: oklch(24% 0.02 258);
  --c-ink-2: oklch(34% 0.018 257);
  --c-ink-3: oklch(52% 0.014 256);
  --c-ink-on-dark: oklch(94% 0.006 252);
  --c-ink-on-dark-2: oklch(72% 0.012 254);

  /* Rules — hairlines carry the structure */
  --c-rule: oklch(89% 0.006 252);
  --c-rule-2: oklch(80% 0.008 254);
  --c-rule-dark: oklch(34% 0.014 260);

  /* The one signal. Under 5% of any viewport. */
  --c-accent: oklch(58% 0.20 256);
  --c-accent-hover: oklch(51% 0.20 256);
  --c-accent-ink: oklch(99% 0.002 250);
  --c-accent-wash: oklch(95% 0.03 256);
  --c-accent-bright: oklch(72% 0.17 256); /* on graphite only */

  /* Truth-telling colours. Never decorative. */
  --c-warn: oklch(58% 0.13 62);
  --c-warn-wash: oklch(96% 0.03 70);

  --c-focus: oklch(58% 0.20 256);

  /* Type */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-arabic: "Noto Sans Arabic", var(--font-body);

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-md: 0.9375rem;
  --text-lg: 1.0625rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem);
  --text-3xl: clamp(1.875rem, 1.3rem + 2.4vw, 2.75rem);
  --text-display: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
  --text-figure: clamp(2.75rem, 1.5rem + 5.5vw, 5.5rem);

  --track-display: -0.02em;
  --track-mono: 0.06em;

  /* 4-point scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 7rem;

  /* Drawn with a ruler */
  --radius-control: 6px;
  --radius-panel: 10px;
  --rule-thin: 1px;

  --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-short: 240ms;
  --dur-reveal: 600ms;

  --measure: 68ch;
  --container: 76rem;
  --container-narrow: 58rem;
}
