{
  "$description": "Red Nucleus design tokens — generated from standards/design.md. Import into Figma with the Tokens Studio plugin (Tokens tab -> menu -> Import). Semantic tokens reference the primitives, mirroring how the build resolves them. Colours are contrast-validated for WCAG 2.2 AA.",
  "color": {
    "crimson": {
      "50": {
        "value": "#FCF0F2",
        "type": "color"
      },
      "100": {
        "value": "#F8E0E3",
        "type": "color"
      },
      "200": {
        "value": "#F5BDC5",
        "type": "color"
      },
      "300": {
        "value": "#EE8C9A",
        "type": "color"
      },
      "400": {
        "value": "#E65B70",
        "type": "color"
      },
      "500": {
        "value": "#E0314B",
        "type": "color"
      },
      "600": {
        "value": "#CA1E38",
        "type": "color"
      },
      "700": {
        "value": "#A6192E",
        "type": "color"
      },
      "800": {
        "value": "#811324",
        "type": "color"
      },
      "900": {
        "value": "#5B0E19",
        "type": "color"
      }
    },
    "slate": {
      "50": {
        "value": "#F5F6F7",
        "type": "color"
      },
      "100": {
        "value": "#EAEBED",
        "type": "color"
      },
      "200": {
        "value": "#D3D7DE",
        "type": "color"
      },
      "300": {
        "value": "#B4BAC6",
        "type": "color"
      },
      "400": {
        "value": "#949DAE",
        "type": "color"
      },
      "500": {
        "value": "#788499",
        "type": "color"
      },
      "600": {
        "value": "#647084",
        "type": "color"
      },
      "700": {
        "value": "#525C6D",
        "type": "color"
      },
      "800": {
        "value": "#404754",
        "type": "color"
      },
      "900": {
        "value": "#0F1B2D",
        "type": "color"
      }
    },
    "gold": {
      "50": {
        "value": "#FBF8F2",
        "type": "color"
      },
      "100": {
        "value": "#F6F1E2",
        "type": "color"
      },
      "200": {
        "value": "#F0E4C2",
        "type": "color"
      },
      "300": {
        "value": "#E4D095",
        "type": "color"
      },
      "400": {
        "value": "#D9BC68",
        "type": "color"
      },
      "500": {
        "value": "#D0AA41",
        "type": "color"
      },
      "600": {
        "value": "#BA952E",
        "type": "color"
      },
      "700": {
        "value": "#997B26",
        "type": "color"
      },
      "800": {
        "value": "#765F1E",
        "type": "color"
      },
      "900": {
        "value": "#544315",
        "type": "color"
      }
    },
    "green": {
      "50": {
        "value": "#F2FBF4",
        "type": "color"
      },
      "100": {
        "value": "#E2F6E8",
        "type": "color"
      },
      "200": {
        "value": "#C2F0D0",
        "type": "color"
      },
      "300": {
        "value": "#95E4AD",
        "type": "color"
      },
      "400": {
        "value": "#69D98A",
        "type": "color"
      },
      "500": {
        "value": "#42CF6C",
        "type": "color"
      },
      "600": {
        "value": "#2FB958",
        "type": "color"
      },
      "700": {
        "value": "#1F7A3A",
        "type": "color"
      },
      "800": {
        "value": "#1E7638",
        "type": "color"
      },
      "900": {
        "value": "#155328",
        "type": "color"
      }
    },
    "amber": {
      "50": {
        "value": "#FEF8EE",
        "type": "color"
      },
      "100": {
        "value": "#FCF1DC",
        "type": "color"
      },
      "200": {
        "value": "#FFE5B2",
        "type": "color"
      },
      "300": {
        "value": "#FFD27A",
        "type": "color"
      },
      "400": {
        "value": "#FFBF42",
        "type": "color"
      },
      "500": {
        "value": "#FFAE12",
        "type": "color"
      },
      "600": {
        "value": "#E89900",
        "type": "color"
      },
      "700": {
        "value": "#BF7E00",
        "type": "color"
      },
      "800": {
        "value": "#946200",
        "type": "color"
      },
      "900": {
        "value": "#694500",
        "type": "color"
      }
    },
    "scarlet": {
      "50": {
        "value": "#FDF3F1",
        "type": "color"
      },
      "100": {
        "value": "#FBE4E0",
        "type": "color"
      },
      "200": {
        "value": "#F6C6BE",
        "type": "color"
      },
      "300": {
        "value": "#EE9E90",
        "type": "color"
      },
      "400": {
        "value": "#E37563",
        "type": "color"
      },
      "500": {
        "value": "#D6503B",
        "type": "color"
      },
      "600": {
        "value": "#C0392B",
        "type": "color"
      },
      "700": {
        "value": "#9E2C20",
        "type": "color"
      },
      "800": {
        "value": "#7B221A",
        "type": "color"
      },
      "900": {
        "value": "#571712",
        "type": "color"
      }
    },
    "blue": {
      "50": {
        "value": "#F3F6F9",
        "type": "color"
      },
      "100": {
        "value": "#E5ECF3",
        "type": "color"
      },
      "200": {
        "value": "#C8DAE9",
        "type": "color"
      },
      "300": {
        "value": "#A0BED9",
        "type": "color"
      },
      "400": {
        "value": "#78A3CA",
        "type": "color"
      },
      "500": {
        "value": "#558BBC",
        "type": "color"
      },
      "600": {
        "value": "#4277A6",
        "type": "color"
      },
      "700": {
        "value": "#335C81",
        "type": "color"
      },
      "800": {
        "value": "#2A4C6A",
        "type": "color"
      },
      "900": {
        "value": "#1E354B",
        "type": "color"
      }
    },
    "white": {
      "value": "#FFFFFF",
      "type": "color"
    },
    "brand-mark": {
      "value": "#ED1C24",
      "type": "color",
      "description": "Logo / brand mark ONLY. Contrast 4.4:1 on white — NOT accessible for text or UI. Use crimson.700 for anything that carries text."
    },
    "semantic": {
      "primary": {
        "value": "{color.crimson.700}",
        "type": "color",
        "description": "Interactive primary — buttons, links, active nav. 7.5:1 on white (AAA)."
      },
      "primary-hover": {
        "value": "{color.crimson.800}",
        "type": "color"
      },
      "ring": {
        "value": "{color.crimson.600}",
        "type": "color",
        "description": "Focus ring — 2px, 2px surface offset, >=3:1 vs adjacent."
      },
      "accent": {
        "value": "{color.gold.700}",
        "type": "color",
        "description": "Sparing highlight. gold.600 fails as text — use 700+ for anything with text."
      },
      "text-primary": {
        "value": "{color.slate.900}",
        "type": "color",
        "description": "Body + headings. slate.900 is the RN ink #0F1B2D, 17:1 on white."
      },
      "text-secondary": {
        "value": "{color.slate.700}",
        "type": "color"
      },
      "text-muted": {
        "value": "{color.slate.600}",
        "type": "color",
        "description": "Metadata/placeholder. 5.9:1 on white (AA)."
      },
      "text-on-primary": {
        "value": "{color.white}",
        "type": "color"
      },
      "bg-canvas": {
        "value": "{color.slate.50}",
        "type": "color"
      },
      "bg-surface": {
        "value": "{color.white}",
        "type": "color"
      },
      "bg-subtle": {
        "value": "{color.slate.100}",
        "type": "color"
      },
      "border": {
        "value": "{color.slate.200}",
        "type": "color"
      },
      "border-strong": {
        "value": "{color.slate.300}",
        "type": "color"
      },
      "status-success": {
        "value": "{color.green.700}",
        "type": "color"
      },
      "status-warning": {
        "value": "{color.amber.800}",
        "type": "color",
        "description": "Text-safe warning. amber.500 for fills only."
      },
      "status-danger": {
        "value": "{color.scarlet.600}",
        "type": "color",
        "description": "Error/destructive. Distinct from brand crimson; always pair with icon+label."
      },
      "status-info": {
        "value": "{color.blue.700}",
        "type": "color"
      }
    }
  },
  "spacing": {
    "0": {
      "value": "0",
      "type": "spacing"
    },
    "0.5": {
      "value": "2",
      "type": "spacing"
    },
    "1": {
      "value": "4",
      "type": "spacing"
    },
    "1.5": {
      "value": "6",
      "type": "spacing"
    },
    "2": {
      "value": "8",
      "type": "spacing"
    },
    "3": {
      "value": "12",
      "type": "spacing"
    },
    "4": {
      "value": "16",
      "type": "spacing"
    },
    "5": {
      "value": "20",
      "type": "spacing"
    },
    "6": {
      "value": "24",
      "type": "spacing"
    },
    "8": {
      "value": "32",
      "type": "spacing"
    },
    "10": {
      "value": "40",
      "type": "spacing"
    },
    "12": {
      "value": "48",
      "type": "spacing"
    },
    "16": {
      "value": "64",
      "type": "spacing"
    },
    "24": {
      "value": "96",
      "type": "spacing"
    }
  },
  "radius": {
    "none": {
      "value": "0",
      "type": "borderRadius"
    },
    "sm": {
      "value": "4",
      "type": "borderRadius"
    },
    "md": {
      "value": "6",
      "type": "borderRadius"
    },
    "lg": {
      "value": "8",
      "type": "borderRadius"
    },
    "xl": {
      "value": "12",
      "type": "borderRadius"
    },
    "2xl": {
      "value": "16",
      "type": "borderRadius"
    },
    "full": {
      "value": "9999",
      "type": "borderRadius"
    }
  },
  "font": {
    "family": {
      "sans": {
        "value": "Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif",
        "type": "fontFamilies",
        "description": "System stack (default) or hosted Inter for brand-consistent tools."
      },
      "mono": {
        "value": "ui-monospace, JetBrains Mono, SF Mono, Menlo, Consolas, monospace",
        "type": "fontFamilies",
        "description": "IDs, codes, numbers — use tabular-nums."
      }
    },
    "weight": {
      "regular": {
        "value": "400",
        "type": "fontWeights"
      },
      "medium": {
        "value": "500",
        "type": "fontWeights"
      },
      "semibold": {
        "value": "600",
        "type": "fontWeights"
      }
    },
    "size": {
      "display": {
        "value": "36",
        "type": "fontSizes"
      },
      "h1": {
        "value": "28",
        "type": "fontSizes"
      },
      "h2": {
        "value": "22",
        "type": "fontSizes"
      },
      "h3": {
        "value": "18",
        "type": "fontSizes"
      },
      "body-lg": {
        "value": "16",
        "type": "fontSizes"
      },
      "body": {
        "value": "14",
        "type": "fontSizes"
      },
      "caption": {
        "value": "12",
        "type": "fontSizes"
      },
      "overline": {
        "value": "11",
        "type": "fontSizes"
      }
    },
    "lineHeight": {
      "display": {
        "value": "41",
        "type": "lineHeights"
      },
      "h1": {
        "value": "35",
        "type": "lineHeights"
      },
      "h2": {
        "value": "29",
        "type": "lineHeights"
      },
      "h3": {
        "value": "25",
        "type": "lineHeights"
      },
      "body": {
        "value": "21",
        "type": "lineHeights"
      },
      "body-lg": {
        "value": "24",
        "type": "lineHeights"
      },
      "caption": {
        "value": "17",
        "type": "lineHeights"
      }
    }
  },
  "typography": {
    "display": {
      "value": {
        "fontFamily": "{font.family.sans}",
        "fontWeight": "{font.weight.semibold}",
        "fontSize": "{font.size.display}",
        "lineHeight": "{font.lineHeight.display}"
      },
      "type": "typography"
    },
    "h1": {
      "value": {
        "fontFamily": "{font.family.sans}",
        "fontWeight": "{font.weight.semibold}",
        "fontSize": "{font.size.h1}",
        "lineHeight": "{font.lineHeight.h1}"
      },
      "type": "typography"
    },
    "h2": {
      "value": {
        "fontFamily": "{font.family.sans}",
        "fontWeight": "{font.weight.semibold}",
        "fontSize": "{font.size.h2}",
        "lineHeight": "{font.lineHeight.h2}"
      },
      "type": "typography"
    },
    "h3": {
      "value": {
        "fontFamily": "{font.family.sans}",
        "fontWeight": "{font.weight.semibold}",
        "fontSize": "{font.size.h3}",
        "lineHeight": "{font.lineHeight.h3}"
      },
      "type": "typography"
    },
    "body-lg": {
      "value": {
        "fontFamily": "{font.family.sans}",
        "fontWeight": "{font.weight.regular}",
        "fontSize": "{font.size.body-lg}",
        "lineHeight": "{font.lineHeight.body-lg}"
      },
      "type": "typography"
    },
    "body": {
      "value": {
        "fontFamily": "{font.family.sans}",
        "fontWeight": "{font.weight.regular}",
        "fontSize": "{font.size.body}",
        "lineHeight": "{font.lineHeight.body}"
      },
      "type": "typography"
    },
    "label": {
      "value": {
        "fontFamily": "{font.family.sans}",
        "fontWeight": "{font.weight.medium}",
        "fontSize": "{font.size.body}",
        "lineHeight": "{font.lineHeight.body}"
      },
      "type": "typography"
    },
    "caption": {
      "value": {
        "fontFamily": "{font.family.sans}",
        "fontWeight": "{font.weight.regular}",
        "fontSize": "{font.size.caption}",
        "lineHeight": "{font.lineHeight.caption}"
      },
      "type": "typography"
    },
    "overline": {
      "value": {
        "fontFamily": "{font.family.sans}",
        "fontWeight": "{font.weight.semibold}",
        "fontSize": "{font.size.overline}",
        "lineHeight": "{font.lineHeight.caption}",
        "letterSpacing": "0.04em",
        "textCase": "uppercase"
      },
      "type": "typography"
    }
  }
}