/* Design tokens for TSKN.dev: a white canvas, near-black ink, and the brand violet from brand/README.md.
   Colour is rationed: violet marks actions, active states and the accent phrase of a headline; the
   lavender, sky and peach tints only ever appear as soft washes behind content. */
:root {
  color-scheme: light;

  /* Brand */
  --violet: #4f3ff0;
  --violet-deep: #3d2ed1;
  --violet-bright: #8b7fff;
  --lavender: #e3deff;
  --peach: #ffe4d6;
  --sky: #dcebff;

  /* Surfaces */
  --canvas: #fff;
  --surface: #fafafb;
  --surface-2: #f4f4f7;
  --tint: #f5f3ff;
  --ink-surface: #0d0d12;

  /* Text: ink for headings, ink-2 for body (11.9:1 on white), ink-3 for supporting copy (5.6:1),
     ink-4 for the quiet half of a two-tone heading (large text only, 3.6:1), ink-5 for decoration */
  --ink: #0d0d12;
  --ink-2: #3c3f4a;
  --ink-3: #646876;
  --ink-4: #858998;
  --ink-5: #b4b7c2;

  /* Lines */
  --line: #ececf1;
  --line-2: #dedee6;
  --line-3: #c9c9d4;

  /* Status */
  --green: #0f9d58;
  --green-tint: #e7f6ee;
  --red: #c8321e;
  --red-tint: #fdeeeb;

  /* Type */
  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --text-display: clamp(2.5rem, 1.2rem + 5.4vw, 4.75rem);
  --text-h1: clamp(2.25rem, 1.35rem + 3.8vw, 4rem);
  --text-h2: clamp(1.75rem, 1.25rem + 2.1vw, 2.75rem);
  --text-h3: 1.1875rem;
  --text-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);

  /* Shape */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Elevation: hairlines first, then soft, low shadows */
  --shadow-xs: 0 1px 2px rgba(13, 13, 18, .05);
  --shadow-sm: 0 1px 2px rgba(13, 13, 18, .04), 0 4px 12px -4px rgba(13, 13, 18, .06);
  --shadow-md: 0 1px 2px rgba(13, 13, 18, .04), 0 12px 32px -12px rgba(13, 13, 18, .12);
  --shadow-lg: 0 2px 4px rgba(13, 13, 18, .04), 0 32px 64px -24px rgba(31, 22, 110, .22);
  --ring: 0 0 0 4px rgba(79, 63, 240, .16);

  /* Layout */
  --gutter: clamp(20px, 4.5vw, 40px);
  --container: 1200px;
  --header-h: 68px;
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fast: .18s;
}
