{
  "$description": "Brand: HBO Max — dark mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette hbo-max@1.0.0",
      "max-purple": {
        "$value": "#B535F6",
        "$type": "color",
        "$description": "Primary signature purple — the dominant brand color in the gradient and the wordmark accent."
      },
      "max-purple-deep": {
        "$value": "#7A1FB8",
        "$type": "color",
        "$description": "Deeper purple used on pressed states and as the mid-gradient anchor."
      },
      "max-blue": {
        "$value": "#0046FE",
        "$type": "color",
        "$description": "Saturated blue — the paired end of the purple-to-blue gradient that defines the brand surface."
      },
      "max-blue-bright": {
        "$value": "#3D7AFF",
        "$type": "color",
        "$description": "Lighter blue used on hover/highlight states and as a secondary accent."
      },
      "max-black": {
        "$value": "#000000",
        "$type": "color",
        "$description": "Canonical canvas — the Max consumer surface is solid black."
      },
      "max-near-black": {
        "$value": "#0A0A14",
        "$type": "color",
        "$description": "Elevated surface — rows, tiles, and modal backgrounds sit on this slightly purple-tinted near-black."
      },
      "max-charcoal": {
        "$value": "#1A1A2E",
        "$type": "color",
        "$description": "Elevated surface — used on hover states, expanded title cards, and modal headers."
      },
      "max-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Primary text on the dark canvas; reversed wordmark fill on light backgrounds."
      },
      "max-gray-light": {
        "$value": "#B8B8C8",
        "$type": "color",
        "$description": "Tertiary text and metadata on the dark canvas."
      },
      "max-gray": {
        "$value": "#5A5A6E",
        "$type": "color",
        "$description": "Secondary text and divider color on the dark canvas."
      },
      "max-fog": {
        "$value": "#F5F5FA",
        "$type": "color",
        "$description": "Authored light-mode canvas — for marketing surfaces that require a light treatment."
      }
    },
    "roles": {
      "$description": "Semantic color roles (dark mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.max-black}",
        "$type": "color",
        "$description": "background role → Max Black"
      },
      "surface": {
        "$value": "{color.swatches.max-near-black}",
        "$type": "color",
        "$description": "surface role → Max Near-Black"
      },
      "surface-elevated": {
        "$value": "{color.swatches.max-charcoal}",
        "$type": "color",
        "$description": "surface-elevated role → Max Charcoal"
      },
      "text-primary": {
        "$value": "{color.swatches.max-white}",
        "$type": "color",
        "$description": "text-primary role → Max White"
      },
      "text-secondary": {
        "$value": "{color.swatches.max-gray-light}",
        "$type": "color",
        "$description": "text-secondary role → Max Gray Light"
      },
      "text-tertiary": {
        "$value": "{color.swatches.max-gray}",
        "$type": "color",
        "$description": "text-tertiary role → Max Gray"
      },
      "primary": {
        "$value": "{color.swatches.max-purple}",
        "$type": "color",
        "$description": "primary role → Max Purple"
      },
      "primary-hover": {
        "$value": "{color.swatches.max-purple-deep}",
        "$type": "color",
        "$description": "primary-hover role → Max Purple Deep"
      },
      "accent": {
        "$value": "{color.swatches.max-blue}",
        "$type": "color",
        "$description": "accent role → Max Blue"
      },
      "accent-hover": {
        "$value": "{color.swatches.max-blue-bright}",
        "$type": "color",
        "$description": "accent-hover role → Max Blue Bright"
      },
      "warning": {
        "$value": "{color.swatches.max-purple}",
        "$type": "color",
        "$description": "warning role → Max Purple"
      },
      "warning-hover": {
        "$value": "{color.swatches.max-purple-deep}",
        "$type": "color",
        "$description": "warning-hover role → Max Purple Deep"
      },
      "error": {
        "$value": "{color.swatches.max-purple}",
        "$type": "color",
        "$description": "error role → Max Purple"
      },
      "success": {
        "$value": "{color.swatches.max-blue-bright}",
        "$type": "color",
        "$description": "success role → Max Blue Bright"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.max-black}",
          "$type": "color",
          "$description": "Brand role identity → Max Black"
        },
        "on-identity": {
          "$value": "{color.swatches.max-purple}",
          "$type": "color",
          "$description": "Brand role on-identity → Max Purple"
        },
        "background": {
          "$value": "{color.swatches.max-black}",
          "$type": "color",
          "$description": "Brand role background → Max Black"
        },
        "surface": {
          "$value": "{color.swatches.max-near-black}",
          "$type": "color",
          "$description": "Brand role surface → Max Near-Black"
        },
        "surface-elevated": {
          "$value": "{color.swatches.max-charcoal}",
          "$type": "color",
          "$description": "Brand role surface-elevated → Max Charcoal"
        },
        "text-primary": {
          "$value": "{color.swatches.max-white}",
          "$type": "color",
          "$description": "Brand role text-primary → Max White"
        },
        "text-secondary": {
          "$value": "{color.swatches.max-gray-light}",
          "$type": "color",
          "$description": "Brand role text-secondary → Max Gray Light"
        },
        "text-tertiary": {
          "$value": "{color.swatches.max-gray}",
          "$type": "color",
          "$description": "Brand role text-tertiary → Max Gray"
        },
        "primary": {
          "$value": "{color.swatches.max-purple}",
          "$type": "color",
          "$description": "Brand role primary → Max Purple"
        },
        "primary-hover": {
          "$value": "{color.swatches.max-purple-deep}",
          "$type": "color",
          "$description": "Brand role primary-hover → Max Purple Deep"
        },
        "accent": {
          "$value": "{color.swatches.max-blue}",
          "$type": "color",
          "$description": "Brand role accent → Max Blue"
        },
        "accent-hover": {
          "$value": "{color.swatches.max-blue-bright}",
          "$type": "color",
          "$description": "Brand role accent-hover → Max Blue Bright"
        },
        "mark": {
          "$value": "{color.swatches.max-purple}",
          "$type": "color",
          "$description": "Brand role mark → Max Purple"
        },
        "text-emphasis": {
          "$value": "{color.swatches.max-white}",
          "$type": "color",
          "$description": "Brand role text-emphasis → Max White"
        }
      }
    }
  },
  "font": {
    "$description": "Typography roles mapped to font atoms",
    "heading": {
      "family": {
        "$value": [
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Roboto",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "heading role → Inter (inter@1.0.0)"
      },
      "weight": {
        "100": {
          "$value": 100,
          "$type": "fontWeight"
        },
        "200": {
          "$value": 200,
          "$type": "fontWeight"
        },
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "600": {
          "$value": 600,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "800": {
          "$value": 800,
          "$type": "fontWeight"
        },
        "900": {
          "$value": 900,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "body": {
      "family": {
        "$value": [
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Roboto",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "body role → Inter (inter@1.0.0)"
      },
      "weight": {
        "100": {
          "$value": 100,
          "$type": "fontWeight"
        },
        "200": {
          "$value": 200,
          "$type": "fontWeight"
        },
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "600": {
          "$value": 600,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "800": {
          "$value": 800,
          "$type": "fontWeight"
        },
        "900": {
          "$value": 900,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "mono": {
      "family": {
        "$value": [
          "JetBrainsMono Nerd Font",
          "JetBrains Mono",
          "Fira Code",
          "Menlo",
          "Monaco",
          "Consolas",
          "Liberation Mono",
          "monospace"
        ],
        "$type": "fontFamily",
        "$description": "mono role → JetBrainsMono Nerd Font (jetbrainsmono-nerdfont@1.0.0)"
      },
      "weight": {
        "100": {
          "$value": 100,
          "$type": "fontWeight"
        },
        "200": {
          "$value": 200,
          "$type": "fontWeight"
        },
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "600": {
          "$value": 600,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "800": {
          "$value": 800,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    }
  }
}
