{
  "$generatedBy": "BrandSweets tokens.json — casper-com v4",
  "brand": {
    "slug": "casper-com",
    "name": "Casper Sleep",
    "version": 4,
    "schemaVersion": "1"
  },
  "identity": {
    "name": "Casper Sleep",
    "tagline": "Discover award-winning mattresses built for cooler, deeper sleep and lasting support. Shop Casper with free shipping & returns.",
    "sector": "consumer"
  },
  "colors": {
    "primary": {
      "hex": "#cc3b31",
      "name": "Red",
      "usage": "Primary brand color: CTAs, links, active states.",
      "scale": {
        "50": "#f8f2f1",
        "100": "#eededd",
        "200": "#edb9b5",
        "300": "#e28e88",
        "400": "#d8675f",
        "500": "#cc3b31",
        "600": "#b5352c",
        "700": "#942b24",
        "800": "#73221c",
        "900": "#4d1c19",
        "950": "#321210"
      }
    },
    "secondary": {
      "hex": "#e9a49c",
      "name": "Dusty Rose",
      "usage": "Secondary brand color.",
      "scale": {
        "50": "#f8f2f1",
        "100": "#eededd",
        "200": "#eebab4",
        "300": "#e9a49c",
        "400": "#db695c",
        "500": "#d34636",
        "600": "#b83728",
        "700": "#972d21",
        "800": "#75231a",
        "900": "#4f1d17",
        "950": "#33130f"
      }
    },
    "accent": {
      "hex": "#1e306e",
      "name": "Navy",
      "usage": "Accent: highlights and secondary emphasis.",
      "scale": {
        "50": "#f2f3f8",
        "100": "#dee1ed",
        "200": "#b7c2eb",
        "300": "#8b9ddf",
        "400": "#637bd4",
        "500": "#3f5dca",
        "600": "#304cb0",
        "700": "#273e90",
        "800": "#1e306e",
        "900": "#1a254c",
        "950": "#111831"
      }
    },
    "surface": {
      "hex": "#ffffff",
      "name": "White",
      "usage": "Page and card background.",
      "scale": {
        "50": "#ffffff",
        "100": "#e6e6e6",
        "200": "#d1d1d1",
        "300": "#b5b5b5",
        "400": "#9c9c9c",
        "500": "#858585",
        "600": "#707070",
        "700": "#5c5c5c",
        "800": "#474747",
        "900": "#333333",
        "950": "#212121"
      }
    },
    "text": {
      "hex": "#111111",
      "name": "Near Black",
      "usage": "Body text on surface.",
      "scale": {
        "50": "#f5f5f5",
        "100": "#e6e6e6",
        "200": "#d1d1d1",
        "300": "#b5b5b5",
        "400": "#9c9c9c",
        "500": "#858585",
        "600": "#707070",
        "700": "#5c5c5c",
        "800": "#474747",
        "900": "#333333",
        "950": "#111111"
      }
    }
  },
  "typography": {
    "families": {
      "calibre": {
        "family": "Calibre",
        "source": "custom",
        "stack": "Calibre, sans-serif",
        "weights": [
          400,
          600,
          700
        ],
        "licensingNote": "Auto-detected web font; provenance unconfirmed. Reference only — never rehost without a license."
      }
    },
    "roles": {
      "heading": {
        "familyRef": "calibre",
        "stack": "Calibre, sans-serif"
      },
      "body": {
        "familyRef": "calibre",
        "stack": "Calibre, sans-serif"
      }
    },
    "scale": [
      {
        "name": "sm",
        "sizeRem": 0.875,
        "lineHeight": 1.5
      },
      {
        "name": "base",
        "sizeRem": 1,
        "lineHeight": 1.6
      },
      {
        "name": "lg",
        "sizeRem": 1.25,
        "lineHeight": 1.4
      },
      {
        "name": "xl",
        "sizeRem": 1.75,
        "lineHeight": 1.25
      },
      {
        "name": "2xl",
        "sizeRem": 2.25,
        "lineHeight": 1.15
      },
      {
        "name": "display",
        "sizeRem": 3.5,
        "lineHeight": 1.05,
        "letterSpacingEm": -0.02
      }
    ]
  },
  "brandGradient": {
    "brand": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.8,
              0.231,
              0.192
            ],
            "hex": "#cc3b31"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.914,
              0.643,
              0.612
            ],
            "hex": "#e9a49c"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(135deg in oklab, #cc3b31 0%, #e9a49c 100%)",
          "interpolation": "oklab",
          "angle": 135,
          "name": "brand",
          "contrast": {
            "white": {
              "ratio": 2.048,
              "at": 1,
              "passesAA": false,
              "passesAALarge": false
            },
            "black": {
              "ratio": 4.237,
              "at": 0,
              "passesAA": false,
              "passesAALarge": true
            },
            "suggestedInk": "#000000"
          }
        }
      },
      "$description": "The canonical brand gradient (--brand-gradient)."
    },
    "hero": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.341,
              0.149,
              0.125
            ],
            "hex": "#572620"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.533,
              0.439,
              0.424
            ],
            "hex": "#88706c"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(135deg in oklab, #572620 0%, #88706c 100%)",
          "interpolation": "oklab",
          "angle": 135,
          "name": "hero",
          "ink": "#ffffff",
          "contrast": {
            "white": {
              "ratio": 4.584,
              "at": 1,
              "passesAA": true,
              "passesAALarge": true
            },
            "black": {
              "ratio": 1.703,
              "at": 0,
              "passesAA": false,
              "passesAALarge": false
            },
            "suggestedInk": "#ffffff"
          }
        }
      },
      "$description": "Low-chroma hero background with a text-safe ink (--brand-gradient-hero)."
    },
    "button": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.784,
              0.216,
              0.18
            ],
            "hex": "#c8372e"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.675,
              0.082,
              0.075
            ],
            "hex": "#ac1513"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(180deg in oklch shorter hue, #c8372e 0%, #ac1513 100%)",
          "interpolation": "oklch",
          "hue": "shorter",
          "angle": 180,
          "name": "button",
          "ink": "#ffffff",
          "states": {
            "hover": "linear-gradient(180deg in oklch shorter hue, #d34237 0%, #b7241e 100%)",
            "active": "linear-gradient(180deg in oklch shorter hue, #be2c24 0%, #a20005 100%)"
          },
          "contrast": {
            "white": {
              "ratio": 5.196,
              "at": 0,
              "passesAA": true,
              "passesAALarge": true
            },
            "black": {
              "ratio": 2.871,
              "at": 1,
              "passesAA": false,
              "passesAALarge": false
            },
            "suggestedInk": "#ffffff"
          }
        }
      },
      "$description": "Button / CTA surface with hover and active states (--brand-gradient-button)."
    }
  }
}