/* Prism Edge · Night. Deep violet-slate ground, pale ink, and colour only as
 * a thin mint, rose, and violet fringe on edges. */
:root {
  --color-paper: oklch(16.5% 0.02 278);
  --color-paper-2: oklch(20.5% 0.022 278);
  --color-paper-3: oklch(24.5% 0.024 278);
  --color-ink: oklch(95.5% 0.008 285);
  --color-ink-hover: oklch(99% 0.004 285);
  --color-ink-2: oklch(86% 0.014 282);
  --color-muted: oklch(75% 0.022 280);
  --color-neutral: oklch(66% 0.024 280);
  --color-rule: oklch(30% 0.022 278);
  --color-rule-2: oklch(42% 0.03 280);
  --color-field-edge: oklch(54% 0.03 280);
  --color-accent: oklch(78% 0.13 295);
  --color-accent-ink: oklch(16.5% 0.02 278);
  --color-focus: oklch(86% 0.1 172);
  --color-signal: oklch(86% 0.1 172);
  --color-error: oklch(72% 0.16 25);
  --color-scrim: oklch(8% 0.015 278 / 0.88);
  --color-selection: oklch(74% 0.14 295 / 0.38);

  /* The prism fringe: only ever on edges, rules, and the one hero band. */
  --color-prism-mint: oklch(84% 0.1 172);
  --color-prism-rose: oklch(80% 0.11 2);
  --color-prism-violet: oklch(74% 0.14 295);
  --prism: linear-gradient(
    90deg,
    var(--color-prism-mint),
    var(--color-prism-rose) 50%,
    var(--color-prism-violet)
  );
  --prism-edge: 1.5px;

  --font-display: "Albert Sans", ui-sans-serif, sans-serif;
  --font-body: "Albert Sans", ui-sans-serif, sans-serif;
  --font-outlier: "Albert Sans", ui-sans-serif, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.1875rem;
  --text-lg: 1.5rem;
  --text-xl: 1.875rem;
  --text-2xl: 2.441rem;
  --text-3xl: clamp(2.4rem, 4.6vw, 3.6rem);
  --text-display-s: clamp(2.6rem, 6.5vw, 4.75rem);
  --text-display: clamp(3rem, 7.4vw, 6rem);

  --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;
  --space-4xl: 10rem;

  --page-gutter: clamp(1rem, 4vw, 4rem);
  --page-max: 76rem;
  --measure: 65ch;
  --control-height: 3rem;

  --rule-hair: 1px;
  --rule-fine: 2px;
  --rule-focus: 2px;
  --radius-card: 1.25rem;
  --radius-pill: 999px;
  --radius-input: 0.75rem;

  --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;
  --dur-draw: 900ms;

  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 400;
  --z-toast: 500;
}
