/*
 * Word Mill: tokens
 * Friendly, clever and calm, like a dictionary that also runs a small factory.
 * Off-white paper with a soft grey haze, bold lowercase serif headlines, a clean
 * sans for everything else, and one hot orange accent. Signature moves: a dictionary
 * entry heading (/fold.wel/ in orange with a tiny ink part-of-speech tag), a drawn
 * isometric conveyor belt that carries orange parcels through a machine, uppercase
 * orange text links with arrows, and white paper cards laid over graphite chart panels.
 *
 * Fonts (free on Google Fonts):
 * <link href="https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,700;1,7..72,400&family=Figtree:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces */
  --wm-paper: #F7F6F3;
  --wm-card: #FFFFFF;
  --wm-haze: #ECEBE7;
  --wm-line: #E1DED8;
  --wm-line-strong: #C9C5BE;
  --wm-haze-gradient: linear-gradient(180deg, #FFFFFF 0%, #F7F6F3 45%, #ECEBE7 100%);

  /* Text */
  --wm-ink: #22201E;
  --wm-ink-soft: #3B3835;
  --wm-soft: #67625C;
  --wm-faint: #98938C;
  --wm-on-dark: #F4F2EE;

  /* Accent: one orange, used for links, the dictionary word, parcels and the main button */
  --wm-orange: #EC5A24;
  --wm-orange-deep: #BE4012;
  --wm-orange-light: #F3845A;
  --wm-orange-soft: #FCE6DB;

  /* Machinery: the conveyor, steel greys and the graphite chart panels */
  --wm-steel: #A3A7AE;
  --wm-steel-light: #D2D4D8;
  --wm-steel-dark: #6E737B;
  --wm-graphite: #2A2C31;
  --wm-graphite-line: #42454C;
  --wm-graphite-soft: #8D9098;

  --wm-alert: #B3261E;

  /* Fonts */
  --wm-serif: "Literata", Georgia, serif;
  --wm-sans: "Figtree", "Helvetica Neue", system-ui, sans-serif;
  --wm-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --wm-text-hero: clamp(42px, 5.6vw, 76px);
  --wm-text-word: clamp(44px, 6vw, 84px);
  --wm-text-h2: clamp(32px, 3.8vw, 50px);
  --wm-text-h3: 22px;
  --wm-text-lead: 19px;
  --wm-text-body: 17px;
  --wm-text-small: 14px;
  --wm-text-label: 13px;
  --wm-tracking-display: -0.02em;
  --wm-tracking-caps: 0.06em;

  /* Shape */
  --wm-radius-lg: 14px;
  --wm-radius: 10px;
  --wm-radius-sm: 6px;
  --wm-radius-xs: 3px;
  --wm-pill: 999px;
  --wm-border: 1px solid var(--wm-line);
  --wm-shadow-card: 0 1px 2px rgba(34, 32, 30, .06), 0 12px 32px -14px rgba(34, 32, 30, .22);
  --wm-shadow-lift: 0 2px 4px rgba(34, 32, 30, .08), 0 28px 56px -22px rgba(34, 32, 30, .38);
  --wm-shadow-nav: 0 1px 0 var(--wm-line);
  --wm-focus: 0 0 0 3px rgba(236, 90, 36, .28);

  /* Space */
  --wm-space-1: 4px;
  --wm-space-2: 8px;
  --wm-space-3: 12px;
  --wm-space-4: 16px;
  --wm-space-5: 24px;
  --wm-space-6: 32px;
  --wm-space-7: 48px;
  --wm-space-8: 72px;
  --wm-space-9: 112px;
  --wm-container: 1160px;
  --wm-narrow: 700px;
  --wm-nav-height: 60px;
}
