/*
  Axis Specimen: design tokens
  Feel: a precise, crafted tool on a clean white page. Forest ink, a heavy
  sturdy serif for headlines, a humanist sans for reading, mono numbers for
  readouts. One giant drawn specimen sits above a row of axis sliders. Feature
  stories live in thin-bordered canvas windows with a colored card that breaks
  out over the frame edge. Acid lime marks the single main action.

  Fonts (free on Google Fonts):
  <link href="https://fonts.googleapis.com/css2?family=Young+Serif&family=Alegreya+Sans:ital,wght@0,400;0,500;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
*/

:root {
  /* Surfaces */
  --ax-paper: #FFFFFF;
  --ax-mist: #F1F6EF;
  --ax-blush: #F8F1F2;
  --ax-cream: #FBF7EA;
  --ax-line: #D6DED3;
  --ax-line-strong: #B9C6B5;

  /* Ink */
  --ax-ink: #1D3320;
  --ax-text: #22291F;
  --ax-muted: #5F6C5C;
  --ax-on-dark: #FFFFFF;

  /* Accents */
  --ax-lime: #A8F00C;
  --ax-lime-deep: #93D80A;
  --ax-green: #24A64F;
  --ax-green-soft: #E3F4E7;
  --ax-cyan: #2BCBDC;
  --ax-cyan-line: #8FDDE6;
  --ax-plum: #46283A;
  --ax-plum-line: #CDB4BF;
  --ax-gold: #F3B51E;
  --ax-alert: #C33A2B;

  /* Fonts */
  --ax-font-display: "Young Serif", Georgia, serif;
  --ax-font-body: "Alegreya Sans", "Helvetica Neue", Arial, sans-serif;
  --ax-font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --ax-text-hero: clamp(46px, 7.4vw, 104px);
  --ax-text-h1: clamp(40px, 5.4vw, 72px);
  --ax-text-h2: clamp(34px, 4.4vw, 60px);
  --ax-text-h3: clamp(26px, 2.6vw, 36px);
  --ax-text-h4: 21px;
  --ax-text-lead: clamp(21px, 2vw, 27px);
  --ax-text-body: 19px;
  --ax-text-small: 16px;
  --ax-text-tiny: 14px;
  --ax-text-mono: 14px;

  --ax-leading-tight: 1.02;
  --ax-leading-head: 1.1;
  --ax-leading-body: 1.55;

  /* Shape */
  --ax-radius-0: 0;
  --ax-radius-sm: 4px;
  --ax-radius-md: 8px;
  --ax-radius-tag: 8px;
  --ax-radius-pill: 999px;
  --ax-border: 1px solid var(--ax-line);
  --ax-border-strong: 1.5px solid var(--ax-ink);

  /* Shadows: only for floating readouts inside a canvas */
  --ax-shadow-chip: 0 2px 10px rgba(29, 51, 32, 0.10);
  --ax-shadow-none: none;

  /* Sliders */
  --ax-track: 6px;
  --ax-thumb: 18px;

  /* Space */
  --ax-space-1: 4px;
  --ax-space-2: 8px;
  --ax-space-3: 12px;
  --ax-space-4: 16px;
  --ax-space-5: 24px;
  --ax-space-6: 32px;
  --ax-space-7: 48px;
  --ax-space-8: 64px;
  --ax-space-9: 96px;
  --ax-space-10: 128px;
  --ax-container: 1240px;
  --ax-narrow: 760px;
  --ax-gutter: clamp(20px, 5vw, 80px);

  /* Motion */
  --ax-ease: cubic-bezier(.2, .7, .2, 1);
  --ax-fast: 160ms;
  --ax-slow: 600ms;
}
