{
  "$schema": "https://designguide.moodsteady.com/design-tokens.json",
  "name": "MoodSteady Design Tokens",
  "version": "1.0.0",
  "url": "https://designguide.moodsteady.com",
  "color": {
    "brand": {
      "primary":  { "value": "#3B6B6B", "name": "Primary Teal",  "usage": "Core identity and primary actions" },
      "forest":   { "value": "#2A4A47", "name": "Forest Dark",   "usage": "Depth, high-contrast surfaces, dark mode background" },
      "sage":     { "value": "#8FB3A7", "name": "Sage",          "usage": "Calm support accents" }
    },
    "surface": {
      "background": { "value": "#FBF9F4", "name": "Background", "usage": "Warm off-white page background" },
      "surface":    { "value": "#F5F2EC", "name": "Surface",    "usage": "Cards and raised surfaces" },
      "sand":       { "value": "#F0E3D0", "name": "Sand",       "usage": "Warm secondary surfaces" },
      "mint":       { "value": "#E8F0EC", "name": "Mint",       "usage": "Quiet support areas" }
    },
    "text": {
      "ink":    { "value": "#1D2629", "name": "Ink",    "usage": "Primary text" },
      "muted":  { "value": "#5F6B70", "name": "Muted",  "usage": "Secondary text" }
    },
    "border": {
      "border": { "value": "#E4DED2", "name": "Border", "usage": "Hairlines and dividers" }
    },
    "signal": {
      "low":      { "value": "#459070", "name": "Signal Green",  "label": "Lav",        "usage": "Low / steady state" },
      "moderate": { "value": "#E8B23A", "name": "Signal Yellow", "label": "Moderat",    "usage": "Moderate change detected" },
      "high":     { "value": "#E2701F", "name": "Signal Orange", "label": "Høy",        "usage": "High signal — invite steady action" },
      "veryHigh": { "value": "#C9402D", "name": "Signal Red",    "label": "Svært høy",  "usage": "Reserved for very high state. Non-alarmist. Always paired with a text label." }
    }
  },
  "radius": {
    "card":   { "value": "16px" },
    "button": { "value": "12px" }
  },
  "shadow": {
    "soft": { "value": "0 4px 24px -8px rgba(20,40,40,.08)" }
  },
  "spacing": {
    "minTapTarget": { "value": "44px", "usage": "Minimum interactive target height" }
  },
  "typography": {
    "fontFamily": {
      "system": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Inter, Helvetica, Arial, sans-serif"
    },
    "scale": {
      "h1":      { "size": "32px", "lineHeight": "40px", "weight": 700, "tracking": "tight" },
      "h2":      { "size": "24px", "lineHeight": "32px", "weight": 600 },
      "h3":      { "size": "20px", "lineHeight": "28px", "weight": 600 },
      "body":    { "size": "16px", "lineHeight": "24px", "weight": 400 },
      "small":   { "size": "14px", "lineHeight": "20px", "weight": 400 },
      "caption": { "size": "12px", "lineHeight": "16px", "weight": 400 }
    }
  }
}
