{
  "$description": "ADF design tokens (physics paper). Source of truth for brand/tokens.css; run `node brand/build-tokens.mjs` after editing. Values mirror src/styles/tokens.css. Each leaf key is its CSS custom property name. Tokens marked adf.format = rgb-triple are emitted as 'r g b' for use in rgb(var(--x) / a).",
  "font": {
    "font-sans": { "$type": "fontFamily", "$value": ["Inter Tight Variable", "Inter Tight", "system-ui", "-apple-system", "Segoe UI", "sans-serif"], "$description": "UI and body" },
    "font-serif": { "$type": "fontFamily", "$value": ["STIX Two Text Variable", "STIX Two Text", "Times New Roman", "serif"], "$description": "Figures, captions, equations, section numbers, references" },
    "font-mono": { "$type": "fontFamily", "$value": ["JetBrains Mono Variable", "JetBrains Mono", "ui-monospace", "SFMono-Regular", "Cascadia Mono", "Consolas", "monospace"], "$description": "Code, filenames, bytes, ids" }
  },
  "text": {
    "text-2xs": { "$type": "dimension", "$value": "0.6875rem", "$description": "11px" },
    "text-xs": { "$type": "dimension", "$value": "0.75rem", "$description": "12px; labels, refs" },
    "text-sm": { "$type": "dimension", "$value": "0.8125rem", "$description": "13px; UI, meta, tables" },
    "text-md": { "$type": "dimension", "$value": "0.9375rem", "$description": "15px; UI body (page default)" },
    "text-base": { "$type": "dimension", "$value": "1rem", "$description": "16px" },
    "text-prose": { "$type": "dimension", "$value": "1.0625rem", "$description": "17px; long-form reading" },
    "text-lg": { "$type": "dimension", "$value": "1.1875rem", "$description": "19px; lede" },
    "text-xl": { "$type": "dimension", "$value": "1.25rem", "$description": "20px; h3" },
    "text-2xl": { "$type": "dimension", "$value": "clamp(1.5rem, 1.2rem + 0.9vw, 2rem)", "$description": "24-32px; h2" },
    "text-3xl": { "$type": "dimension", "$value": "clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem)", "$description": "36-52px; page titles" },
    "text-4xl": { "$type": "dimension", "$value": "clamp(3rem, 1.5rem + 6vw, 7.25rem)", "$description": "48-116px; home hero only" },
    "text-cap": { "$type": "dimension", "$value": "0.9688rem", "$description": "15.5px; STIX figure captions" }
  },
  "leading": {
    "leading-tight": { "$type": "number", "$value": 1.05 },
    "leading-snug": { "$type": "number", "$value": 1.25 },
    "leading-ui": { "$type": "number", "$value": 1.5 },
    "leading-prose": { "$type": "number", "$value": 1.65 }
  },
  "tracking": {
    "tracking-caps": { "$type": "dimension", "$value": "0.06em" },
    "tracking-tight": { "$type": "dimension", "$value": "-0.022em" },
    "tracking-display": { "$type": "dimension", "$value": "-0.045em" }
  },
  "space": {
    "space-1": { "$type": "dimension", "$value": "0.25rem", "$description": "4px" },
    "space-2": { "$type": "dimension", "$value": "0.5rem", "$description": "8px" },
    "space-3": { "$type": "dimension", "$value": "0.75rem", "$description": "12px" },
    "space-4": { "$type": "dimension", "$value": "1rem", "$description": "16px" },
    "space-5": { "$type": "dimension", "$value": "1.5rem", "$description": "24px" },
    "space-6": { "$type": "dimension", "$value": "2rem", "$description": "32px" },
    "space-7": { "$type": "dimension", "$value": "3rem", "$description": "48px" },
    "space-8": { "$type": "dimension", "$value": "4rem", "$description": "64px" },
    "space-9": { "$type": "dimension", "$value": "6rem", "$description": "96px" },
    "space-10": { "$type": "dimension", "$value": "8rem", "$description": "128px" }
  },
  "layout": {
    "measure": { "$type": "dimension", "$value": "68ch", "$description": "prose line length" },
    "page-max": { "$type": "dimension", "$value": "78rem" },
    "content-max": { "$type": "dimension", "$value": "46rem" },
    "sidebar-w": { "$type": "dimension", "$value": "15.5rem" },
    "toc-w": { "$type": "dimension", "$value": "13.5rem" },
    "header-h": { "$type": "dimension", "$value": "3.5rem" },
    "gutter": { "$type": "dimension", "$value": "clamp(1rem, 0.5rem + 2.5vw, 2rem)" },
    "grid-pitch": { "$type": "dimension", "$value": "24px", "$description": "plot grid cell; heavier line every 5 cells" }
  },
  "shape": {
    "radius-xs": { "$type": "dimension", "$value": "2px" },
    "radius-sm": { "$type": "dimension", "$value": "3px" },
    "radius-md": { "$type": "dimension", "$value": "3px" },
    "radius-lg": { "$type": "dimension", "$value": "6px" },
    "hairline": { "$type": "dimension", "$value": "1px" },
    "rule-heavy": { "$type": "dimension", "$value": "1.5px", "$description": "booktabs top and bottom rules" }
  },
  "motion": {
    "ease": { "$type": "cubicBezier", "$value": [0.2, 0.7, 0.2, 1] },
    "dur-fast": { "$type": "duration", "$value": "120ms" },
    "dur": { "$type": "duration", "$value": "220ms" },
    "dur-slow": { "$type": "duration", "$value": "900ms" }
  },
  "color": {
    "light": {
      "paper": { "$type": "color", "$value": "#ffffff", "$description": "page background" },
      "paper-raised": { "$type": "color", "$value": "#ffffff", "$description": "cards, dialogs" },
      "paper-sunken": { "$type": "color", "$value": "#f6f7fa", "$description": "code blocks, table heads, wells" },
      "ink": { "$type": "color", "$value": "#111111", "$description": "primary text" },
      "ink-muted": { "$type": "color", "$value": "#474b54", "$description": "secondary text" },
      "ink-faint": { "$type": "color", "$value": "#6b707c", "$description": "labels, meta" },
      "rule": { "$type": "color", "$value": "#e6e9ef", "$description": "hairlines" },
      "rule-strong": { "$type": "color", "$value": "#c9ced8", "$description": "control borders, figure frames" },
      "blue": { "$type": "color", "$value": "#2f5bea", "$description": "the one brand hue: the agent and its core, links, section numbers, focus" },
      "blue-strong": { "$type": "color", "$value": "#1f44bf", "$description": "link hover, pressed" },
      "blue-soft": { "$type": "color", "$value": "#8a98c4", "$description": "secondary marks" },
      "tint": { "$type": "color", "$value": "#e8eefd", "$description": "active nav, selected fills" },
      "tint-soft": { "$type": "color", "$value": "#f3f6fe", "$description": "very light tint backgrounds" },
      "on-blue": { "$type": "color", "$value": "#ffffff", "$description": "text on a blue fill" },
      "focus": { "$type": "color", "$value": "#2f5bea" },
      "selection": { "$type": "color", "$value": "#d9e2fc" },
      "plot": { "$type": "color", "$value": "#ffffff", "$description": "plot paper background" },
      "plot-grid": { "$type": "color", "$value": "#e6e9ef", "$description": "minor grid line" },
      "plot-grid-major": { "$type": "color", "$value": "#d7dce5", "$description": "every 5th grid line" },
      "particle": { "$type": "color", "$value": "#2f5bea", "$extensions": { "adf.format": "rgb-triple" }, "$description": "orbital dots and fill, psi > 0" },
      "particle-2": { "$type": "color", "$value": "#687084", "$extensions": { "adf.format": "rgb-triple" }, "$description": "orbital dots and fill, psi < 0" },
      "buddy-rim": { "$type": "color", "$value": "#2f5bea", "$extensions": { "adf.format": "rgb-triple" }, "$description": "ava's 90% contour" },
      "buddy-core": { "$type": "color", "$value": "#ffffff", "$extensions": { "adf.format": "rgb-triple" }, "$description": "ava's core" },
      "status-draft": { "$type": "color", "$value": "#8a5a0b" },
      "status-draft-bg": { "$type": "color", "$value": "#f7eedb" },
      "status-stable": { "$type": "color", "$value": "#1f6a52" },
      "status-stable-bg": { "$type": "color", "$value": "#e0f0e8" },
      "status-experimental": { "$type": "color", "$value": "#6a4a8c" },
      "status-experimental-bg": { "$type": "color", "$value": "#efe8f6" },
      "status-deprecated": { "$type": "color", "$value": "#a12f29" },
      "status-deprecated-bg": { "$type": "color", "$value": "#f8e3e1" },
      "status-info": { "$type": "color", "$value": "#2f5bea" },
      "status-info-bg": { "$type": "color", "$value": "#e8eefd" },
      "shadow-pop": { "$type": "shadow", "$value": "0 1px 2px rgb(17 17 17 / 0.06), 0 12px 32px -8px rgb(17 17 17 / 0.18)", "$description": "popovers and dialogs" }
    },
    "dark": {
      "paper": { "$type": "color", "$value": "#0c0e13" },
      "paper-raised": { "$type": "color", "$value": "#11141b" },
      "paper-sunken": { "$type": "color", "$value": "#151922" },
      "ink": { "$type": "color", "$value": "#eceef3" },
      "ink-muted": { "$type": "color", "$value": "#b0b5c2" },
      "ink-faint": { "$type": "color", "$value": "#858b99" },
      "rule": { "$type": "color", "$value": "#1f2430" },
      "rule-strong": { "$type": "color", "$value": "#333a49" },
      "blue": { "$type": "color", "$value": "#7f9dff" },
      "blue-strong": { "$type": "color", "$value": "#a9bdff" },
      "blue-soft": { "$type": "color", "$value": "#5c6b99" },
      "tint": { "$type": "color", "$value": "#1a2440" },
      "tint-soft": { "$type": "color", "$value": "#131a2c" },
      "on-blue": { "$type": "color", "$value": "#0c0e13" },
      "focus": { "$type": "color", "$value": "#7f9dff" },
      "selection": { "$type": "color", "$value": "#26345e" },
      "plot": { "$type": "color", "$value": "#0e1117" },
      "plot-grid": { "$type": "color", "$value": "#1a1f29" },
      "plot-grid-major": { "$type": "color", "$value": "#252b38" },
      "particle": { "$type": "color", "$value": "#7f9dff", "$extensions": { "adf.format": "rgb-triple" } },
      "particle-2": { "$type": "color", "$value": "#b2bace", "$extensions": { "adf.format": "rgb-triple" } },
      "buddy-rim": { "$type": "color", "$value": "#c4d2ff", "$extensions": { "adf.format": "rgb-triple" } },
      "buddy-core": { "$type": "color", "$value": "#ffffff", "$extensions": { "adf.format": "rgb-triple" } },
      "status-draft": { "$type": "color", "$value": "#e7bf73" },
      "status-draft-bg": { "$type": "color", "$value": "#2e2410" },
      "status-stable": { "$type": "color", "$value": "#86cfae" },
      "status-stable-bg": { "$type": "color", "$value": "#12291f" },
      "status-experimental": { "$type": "color", "$value": "#c6a8e6" },
      "status-experimental-bg": { "$type": "color", "$value": "#251d33" },
      "status-deprecated": { "$type": "color", "$value": "#ee9b92" },
      "status-deprecated-bg": { "$type": "color", "$value": "#331a18" },
      "status-info": { "$type": "color", "$value": "#7f9dff" },
      "status-info-bg": { "$type": "color", "$value": "#1a2440" },
      "shadow-pop": { "$type": "shadow", "$value": "0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px -8px rgb(0 0 0 / 0.6)" }
    }
  }
}
