:root {
  /* Brand colors */
  --paper: #f6f3ec;
  --surface: #ebe6dc;
  --surface-strong: #ded6ca;
  --ink: #1d1b19;
  --muted: #625d56;
  --line: #b9b1a7;
  --accent: #ff5a2a;
  --accent-strong: #d93d14;
  --accent-soft: #ffd8cc;
  --focus: #1541c6;

  /* Code and syntax */
  --code: #1d1b19;
  --code-text: #fff7ed;
  --code-muted: #c9bdb3;
  --syntax-keyword: #ff8b68;
  --syntax-flow: #ffb199;
  --syntax-type: #ffd166;
  --syntax-string: #b8e986;
  --syntax-number: #80cbc4;
  --syntax-function: #fff7ed;
  --syntax-variable: #ddd4ca;
  --syntax-comment: #a69d94;

  /* Typography */
  --display: "Franklin Gothic Heavy", "Avenir Next", "Trebuchet MS", sans-serif;
  --body: "Franklin Gothic Book", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.15rem, 2vw, 1.45rem);
  --text-xl: clamp(1.25rem, 2.2vw, 1.7rem);
  --text-2xl: clamp(1.35rem, 2.2vw, 2rem);
  --text-3xl: clamp(2.6rem, 5vw, 5rem);
  --text-hero: clamp(4.25rem, 9vw, 8.5rem);

  /* Spacing */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Layout and shape */
  --max: 1240px;
  --reading: 76ch;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --line-thin: 1px;
  --line-accent: clamp(12px, 1.5vw, 20px);
  --radius-none: 0;
  --radius-round: 999px;

  /* Motion */
  --duration-fast: 160ms;
  --duration-base: 200ms;
  --ease-enter: ease-out;
  --ease-exit: ease-in;
  --transition: var(--duration-base) var(--ease-enter);
}
