{
  "$generatedBy": "BrandSweets tokens.json — affirm-com v4",
  "brand": {
    "slug": "affirm-com",
    "name": "Affirm",
    "version": 4,
    "schemaVersion": "1"
  },
  "identity": {
    "name": "Affirm",
    "tagline": "Buy now pay later without the fees. Flexible payment options with longer plans, lower payments, and no fees. Pay in 4 interest-free or get more time and see …",
    "sector": "fintech"
  },
  "colors": {
    "primary": {
      "hex": "#000061",
      "name": "Deep Indigo",
      "usage": "Primary brand color: CTAs, links, active states.",
      "scale": {
        "50": "#efeffa",
        "100": "#d7d7f4",
        "200": "#a3a3ff",
        "300": "#6b6bff",
        "400": "#3838ff",
        "500": "#0a0aff",
        "600": "#0000e0",
        "700": "#0000b8",
        "800": "#00008f",
        "900": "#000061",
        "950": "#05053d"
      }
    },
    "secondary": {
      "hex": "#a8a9fc",
      "name": "Pale Blue",
      "usage": "Secondary brand color.",
      "scale": {
        "50": "#f0f0fa",
        "100": "#d8d9f3",
        "200": "#a8a9fc",
        "300": "#7073fa",
        "400": "#3f42f8",
        "500": "#1317f6",
        "600": "#080bd9",
        "700": "#0609b1",
        "800": "#05078a",
        "900": "#0b0c5b",
        "950": "#07083b"
      }
    },
    "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": "#101820",
      "name": "Near Black",
      "usage": "Body text on surface.",
      "scale": {
        "50": "#f3f5f7",
        "100": "#e1e6ea",
        "200": "#c2d1e0",
        "300": "#9db5cd",
        "400": "#7b9cbc",
        "500": "#5c85ad",
        "600": "#4b7095",
        "700": "#3e5c7a",
        "800": "#30475f",
        "900": "#253341",
        "950": "#101820"
      }
    }
  },
  "typography": {
    "families": {
      "axiforma-for-affirm": {
        "family": "Axiforma for Affirm",
        "source": "custom",
        "stack": "\"Axiforma for Affirm\", Axiforma, Calibre, sans-serif",
        "weights": [
          400,
          600,
          700
        ],
        "licensingNote": "Auto-detected web font; provenance unconfirmed. Reference only — never rehost without a license."
      },
      "calibre": {
        "family": "Calibre",
        "source": "custom",
        "stack": "Calibre, sans-serif",
        "weights": [
          400,
          700
        ],
        "licensingNote": "Auto-detected web font; provenance unconfirmed. Reference only — never rehost without a license."
      }
    },
    "roles": {
      "heading": {
        "familyRef": "axiforma-for-affirm",
        "stack": "\"Axiforma for Affirm\", Axiforma, 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,
              0,
              0.38
            ],
            "hex": "#000061"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.659,
              0.663,
              0.988
            ],
            "hex": "#a8a9fc"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(135deg in oklab, #000061 0%, #a8a9fc 100%)",
          "interpolation": "oklab",
          "angle": 135,
          "name": "brand",
          "contrast": {
            "white": {
              "ratio": 2.155,
              "at": 1,
              "passesAA": false,
              "passesAALarge": false
            },
            "black": {
              "ratio": 1.173,
              "at": 0,
              "passesAA": false,
              "passesAALarge": false
            },
            "suggestedInk": "#ffffff"
          }
        }
      },
      "$description": "The canonical brand gradient (--brand-gradient)."
    },
    "hero": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0,
              0,
              0.027
            ],
            "hex": "#000007"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.447,
              0.455,
              0.569
            ],
            "hex": "#727491"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(135deg in oklab, #000007 0%, #727491 100%)",
          "interpolation": "oklab",
          "angle": 135,
          "name": "hero",
          "ink": "#ffffff",
          "contrast": {
            "white": {
              "ratio": 4.543,
              "at": 1,
              "passesAA": true,
              "passesAALarge": true
            },
            "black": {
              "ratio": 1.003,
              "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,
              0.071,
              0.427
            ],
            "hex": "#00126d"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.004,
              0,
              0.322
            ],
            "hex": "#010052"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(180deg in oklch shorter hue, #00126d 0%, #010052 100%)",
          "interpolation": "oklch",
          "hue": "shorter",
          "angle": 180,
          "name": "button",
          "ink": "#ffffff",
          "states": {
            "hover": "linear-gradient(180deg in oklch shorter hue, #021d77 0%, #00005e 100%)",
            "active": "linear-gradient(180deg in oklch shorter hue, #000464 0%, #010040 100%)"
          },
          "contrast": {
            "white": {
              "ratio": 16.063,
              "at": 0,
              "passesAA": true,
              "passesAALarge": true
            },
            "black": {
              "ratio": 1.123,
              "at": 0.9841,
              "passesAA": false,
              "passesAALarge": false
            },
            "suggestedInk": "#ffffff"
          }
        }
      },
      "$description": "Button / CTA surface with hover and active states (--brand-gradient-button)."
    }
  }
}