getComputedStyle() from the live screenshots visible here.
Color Palette
52 colors extracted via getComputedStyle(). Click any swatch to copy its hex value.
Background & Surface
Text & Content
Accent & Interactive
Border & Divider
Semantic States
Full Extracted Palette (+76)
Typography
All values extracted via getComputedStyle() — no estimation.
| Role | Font Family | Size / Weight | Line Height | Letter Spacing | Preview |
|---|---|---|---|---|---|
| Display Hero | mccom | 120px / w500 | 1 | -2.4px | Display Hero |
| Section Heading | mccom | 64px / w500 | 1 | -1.28px | Section Heading |
| Sub-heading | mccom | 24px / w500 | 1.2 | -0.48px | Sub-heading |
| Body | mccom | 16px / w450 | 1.3 | normal | Body |
| Button Large | mccom | 16px / w500 | 1 | normal | Button Large |
| Input Large | mccom | 16px / w400 | 1 | normal | Input Large |
| Label Heading | mccom | 14px / w700 | 1 | 0.56px | Label Heading |
Live Components
Rendered in real HTML using your extracted tokens — no screenshots.
Buttons
Form Inputs
Card
Badges & Labels
Spacing Scale
Border Radius
0px
4px
9px
9px
20px
30px
999px
Component Specs
Extracted CSS values per component and variant state.
### Buttons
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 0px
- Radius: 999px
- Font: 16px weight 500
- Use: Status pills, tags, chips
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 8px
- Radius: 0px
- Font: 16px weight 500
- Use: Subtle action, toolbar, nav button
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 19px
- Radius: 99px
- Font: 16px weight 500
- Use: Status pills, tags, chips
Inputs & Forms
- Background: `transparent`
- Text: `#262627`
- Padding: 0px 24px
- Radius: 0px
- Border: 0px none rgb(38, 38, 39)
- Font: 16px weight 400
- Use: Text fields, search inputs
Search Bar
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 0px
- Radius: 0px
- Font: 16px weight 450
- Use: Inline search form
CTA Banners
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 0px
- Radius: 0px
- Font: 16px weight 450
- Use: Full-width conversion strip with headline + button
Status Badges
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 0px
- Radius: 0px
- Font: 16px weight 450
- Use: Status indicator, label, pill
- Background: `#f37338`
- Text: `#f3f0ee` `{colors.surface-1}`
- Padding: 0px
- Radius: 50px
- Font: 0px weight 450
- Use: Status indicator, label, pill
- Background: `#141413` `{colors.ink-muted}`
- Text: `#f3f0ee` `{colors.surface-1}`
- Padding: 0px
- Radius: 50%
- Font: 0px weight 450
- Use: Status indicator, label, pill
Tabs
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 0px
- Radius: 0px
- Font: 16px weight 450
- Use: Navigation tabs, filter tabs
- Background: `#f37338`
- Text: `#f3f0ee` `{colors.surface-1}`
- Padding: 0px
- Radius: 50px
- Font: 0px weight 450
- Use: Navigation tabs, filter tabs
Interaction State Narrative
- **FooterLink**:
- - **hover:** text #ffffff → #d1cdc7, border changes
Buttons
- **DO NOT introduce new buttons variants** without justification
Inputs & Forms
- **DO NOT introduce new inputs & forms variants** without justification
Search Bar
- **DO NOT introduce new search bar variants** without justification
CTA Banners
- **DO NOT introduce new cta banners variants** without justification
Status Badges
- **DO NOT introduce new status badges variants** without justification
Tabs
- **DO NOT introduce new tabs variants** without justification
Visual Reference
Playwright screenshots captured during extraction — source of truth for all tokens.
Breakpoints
Elevation & Depth
Shadow levels rendered live — every value extracted directly from the design system.
rgba(0, 0, 0, 0.04) 0px 4px 24px 0px
rgba(0, 0, 0, 0.08) 0px 24px 48px 0px
rgba(0, 0, 0, 0.25) 0px 70px 110px 0px
rgba(20, 20, 19, 0.2) 0px 2px 10px 0px
rgb(128, 128, 128) 0px 0px 10px 0px
Motion & Transitions
5 motion tokens — easing curves and durations.
| transition-1 | all |
| transition-2 | top 0.5s ease-in-out |
| transition-3 | opacity 0.3s ease-in-out |
| transition-4 | background-color 0.3s ease-in-out, top 1s ease-in-out |
| transition-5 | width 0.5s |
Motion Timeline
19 keyframe animations extracted from the live page. Preview 12 below — each block is animating right now with the actual extracted keyframes.
cmp-search__loading-indicator-spin
ais-fadeIn
ais-chat-loader-spinner
ais-chat-loader-skeleton
ais-chat-loader-text
ais-filter-suggestions-skeleton
vjs-spinner-show
vjs-spinner-spin
vjs-spinner-fade
delay-overflow
animate-image
animate-image-pill
+7 additional animations not previewed (cap at 12 for performance).
Component States
Default → Hover → Focus → Active visual diff per component. Captured via Playwright state simulation.
| Component | States |
|---|---|
| button |
default
button
bg rgba(0, 0, 0, 0)
fg rgb(20, 20, 19) |
| input |
default
input
bg rgba(0, 0, 0, 0)
fg rgb(38, 38, 39) |
| link |
default
link
bg rgba(0, 0, 0, 0)
fg rgb(20, 20, 19) |
| tab |
default
tab
bg rgb(243, 115, 56)
fg rgb(243, 240, 238) |
| badge |
default
badge
bg rgba(0, 0, 0, 0)
fg rgb(20, 20, 19) |
Z-Index Stacking Context
35 z-index values detected. Top 20 ordered by stacking priority. ● 100+ (modals) · ● 10-99 (overlays) · ● 1-9 (UI chrome).
Export tokens
Copy these design tokens to any framework. Generated from mastercard.com live extraction.
Clicks copy to clipboard AND download the file. All values from getComputedStyle() on the live page — no estimates.
DESIGN.md
Narrative design system document — paste directly into Claude Code, Cursor, or Bolt.
---
version: alpha
name: mastercard.com
description: "Light product system built on #f3f0ee with #cf4500 as the primary CTA accent. Type anchored in mccom at 64px / weight 500. Extracted automatically from https://mastercard.com/ — every value from getComputedStyle(), no approximation."
narrative: |
mastercard.com is built on a warm, off-white canvas (rgb(243, 240, 238)).
The system uses #cf4500 as the high-saturation accent for primary actions.
Sharp 0px corners on CTAs — architectural restraint, engineering precision alongside mccom as the primary typeface.
colors:
background: "#f3f0ee"
surface-1: "#f3f0ee"
surface-2: "rgba(255, 255, 255, 0.8)"
ink: "#141413"
ink-muted: "rgba(20, 20, 19, 0.65)"
ink-subtle: "#323231"
primary: "#cf4500"
on-primary: "#ffffff"
primary-hover: "#852d01"
hairline: "#333333"
semantic-error: "#ee0000"
semantic-success: "#038a00"
semantic-warning: "#f38b00"
typography:
display-xl:
fontFamily: "mccom"
fontSize: 120px
fontWeight: 500
lineHeight: 1
letterSpacing: -2.4px
display-lg:
fontFamily: "mccom"
fontSize: 64px
fontWeight: 500
lineHeight: 1
letterSpacing: -1.28px
display-md:
fontFamily: "mccom"
fontSize: 24px
fontWeight: 500
lineHeight: 1.2
letterSpacing: -0.48px
headline:
fontFamily: "mccom"
fontSize: 14px
fontWeight: 700
lineHeight: 1
letterSpacing: 0.56px
body:
fontFamily: "mccom"
fontSize: 16px
fontWeight: 450
lineHeight: 1.3
letterSpacing: 0
button:
fontFamily: "mccom"
fontSize: 16px
fontWeight: 500
lineHeight: 1
letterSpacing: 0
mono:
fontFamily: "mccom"
fontSize: 16px
fontWeight: 400
lineHeight: 1
letterSpacing: 0
rounded:
none: 0px
xs: 4px
sm: 9px
md: 9px
lg: 20px
xl: 30px
pill: 999px
spacing:
xxs: 2px
xs: 4px
sm: 10px
md: 12px
lg: 24px
xl: 40px
xxl: 100px
section: 80px
components:
button-pill:
backgroundColor: "transparent"
textColor: "{colors.ink-muted}"
typography: "{typography.body}"
rounded: "{rounded.pill}"
button-ghost:
backgroundColor: "transparent"
textColor: "{colors.ink-muted}"
typography: "{typography.body}"
rounded: "{rounded.none}"
padding: 8px
button-pill:
backgroundColor: "transparent"
textColor: "{colors.ink-muted}"
typography: "{typography.body}"
rounded: "{rounded.xl}"
padding: 19px
input-text-input:
backgroundColor: "transparent"
textColor: "#262627"
typography: "{typography.body}"
rounded: "{rounded.none}"
padding: 0px 24px
search-bar-search-bar:
backgroundColor: "transparent"
textColor: "{colors.ink-muted}"
typography: "{typography.body}"
rounded: "{rounded.none}"
cta-banner-full-width-cta:
backgroundColor: "transparent"
textColor: "{colors.ink-muted}"
typography: "{typography.body}"
rounded: "{rounded.none}"
status-badge-neutral-dark:
backgroundColor: "transparent"
textColor: "{colors.ink-muted}"
typography: "{typography.body}"
rounded: "{rounded.none}"
status-badge-tinted:
backgroundColor: "#f37338"
textColor: "{colors.surface-1}"
typography: "{typography.headline}"
rounded: "{rounded.xl}"
status-badge-neutral-dark:
backgroundColor: "{colors.ink-muted}"
textColor: "{colors.surface-1}"
typography: "{typography.headline}"
rounded: "{rounded.none}"
tab-ghost-tab:
backgroundColor: "transparent"
textColor: "{colors.ink-muted}"
typography: "{typography.body}"
rounded: "{rounded.none}"
tab-pill-tab:
backgroundColor: "#f37338"
textColor: "{colors.surface-1}"
typography: "{typography.headline}"
rounded: "{rounded.xl}"
extracted_at: "2026-05-30T20:39:17.485Z"
completeness: 83
scoreVersion: "v2"
---
# Design System — mastercard.com
> Extracted automatically by Clone Architect from https://mastercard.com
> Date: 2026-05-30
> Viewport: Desktop 1440x900 + Mobile 390x844
> Every value in this file comes from real getComputedStyle() — no approximation.
> **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
>
> - **Canvas**: `rgb(243, 240, 238)` is the page background. Every component composits against this.
> - **Accent**: `#cf4500` for primary CTAs ONLY. Never decorative.
> - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
> - **Section rhythm**: 48px between major bands. Card padding: 24px.
> - **Default radius**: 9px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
>
> **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
## 1. Visual Theme & Atmosphere
mastercard.com's canvas is a warm, intentionally-tinted surface (`#f3f0ee`) — a refusal of the default white that immediately signals editorial intent. This isn't sterility, it's an invitation to read.
Typography is anchored in **mccom**. Negative letter-spacing at display sizes (-1.28px at 64px) compresses headlines into engineered blocks, dense and precise.
Body text reads in Jet Black (`#141413`) — softened from pure black, a small but deliberate detail that lowers reading friction (contrast ratio 12.1:1, well above WCAG AA). **#cf4500** (`#cf4500`) provides interactive distinction without visual aggression. Elevation is built from multi-layer shadow stacks — each level combines several blurred layers at varying offsets to simulate the way light actually falls on stacked surfaces, not the simulated drop-shadow of cheap interfaces.
Border radius varies from pill-shaped (fully rounded) to moderately rounded elements, creating visual rhythm. Motion design uses smooth easing curves for polished state transitions.
**Key Characteristics:**
- Background: Light Gray (`#f3f0ee`)
- Primary typeface: MarkForMCNrw
- Primary text: Jet Black (`#141413`)
- Accent: #cf4500 (`#cf4500`)
- Display: 64px weight 500, letter-spacing -1.28px
- Shadow system: 5 distinct elevation levels
- Custom fonts loaded: MarkForMCNrw, MarkForMCNrw-Medium, MarkForMCNrw-Bold, MarkOffcForMC, MarkOffcForMC-ExtraLight, MarkOffcForMC-Light, MarkOffcForMC-Medium, MarkOffcForMC-Bold, arial-unicode-base, arial-unicode-bold, arabic-font-base, arabic-font-narrow, arabic-font-extra-light, arabic-font-light, arabic-font-medium, arabic-font-bold, japanese-font-base, japanese-font-narrow, japanese-font-extra-light, japanese-font-light, japanese-font-medium, japanese-font-bold, georgian-font-base, georgian-font-narrow, georgian-font-extra-light, georgian-font-light, georgian-font-medium, georgian-font-bold, cyrillic-font-base, cyrillic-font-narrow, cyrillic-font-extra-light, cyrillic-font-light, cyrillic-font-medium, cyrillic-font-bold, greek-font-base, greek-font-narrow, greek-font-extra-light, greek-font-light, greek-font-medium, greek-font-bold, simplified-chinese-font-base, simplified-chinese-font-narrow, simplified-chinese-font-extra-light, simplified-chinese-font-light, simplified-chinese-font-medium, simplified-chinese-font-bold, traditional-chinese-font-base, traditional-chinese-font-narrow, traditional-chinese-font-extra-light, traditional-chinese-font-light, traditional-chinese-font-medium, traditional-chinese-font-bold, korean-font-base, korean-font-narrow, korean-font-extra-light, korean-font-light, korean-font-medium, korean-font-bold, thai-font-base, thai-font-narrow, thai-font-extra-light, thai-font-light, thai-font-medium, thai-font-bold, VideoJS, mccom, mccom-Narrow, SofiaSans, MarkForMC
## 2. Color Palette & Roles
### Background & Surface
- **Light Gray** (`#f3f0ee`): Page background (primary)
- **Pure White** (`#ffffff`): Surface / elevated background
- **Warm Cream** (`#fef5f1`): Surface / elevated background
- **Cream** (`#fcfbfa`): Surface / elevated background
### Text & Content
- **Jet Black** (`#141413`): Primary body text
- **Pure Black** (`#000000`): Secondary text
- **Warm Brown** (`#262627`): Secondary text
- **Charcoal** (`#333333`): Secondary text
- **Translucent Charcoal (70%)** (`rgba(43, 51, 63, 0.7)`): Secondary text
### Accent & Interactive
- **Coral** (`#f37338`): Interactive / accent
- **#3e34d3** (`#3e34d3`): Interactive / accent
- **Translucent Slate Gray (50%)** (`rgba(115, 133, 159, 0.5)`): Interactive / accent
### Border & Divider
- **Silver** (`#d1cdc7`): Borders / dividers
### Full Extracted Palette
86 distinct colors detected on the live page (13 categorized above + 73 additional below). Every value is a real `getComputedStyle()` color — no approximation.
- `#555250` — Slate
- `#ee0000` — Red
- `#fadede` — Soft Pink
- `rgba(177, 173, 166, 0.25)` — Translucent Cool Gray (25%)
- `#331505` — Near Black
- `#266555` — #266555
- `#777470` — Stone
- `#583300` — Chocolate
- `#b00606` — #b00606
- `#87a740` — #87a740
- `#038a00` — #038a00
- `#e8e5e1` — Light Gray
- `#cf4500` — #cf4500
- `#ffd863` — #ffd863
- `#323231` — Charcoal
- `#332805` — Warm Brown
- `#9a3a0a` — Chocolate
- `#dff7df` — Beige
- `#852d01` — Chocolate
- `#f7ad4c` — Tangerine
- `#ffc61e` — Amber
- `#ff9898` — #ff9898
- `#dcf5ef` — Light Gray
- `#f9d199` — #f9d199
- `#7cd87a` — #7cd87a
- `#fff4d1` — Vibrant Yellow
- `#25836d` — Teal
- `#664f0c` — Chocolate
- `#a82226` — #a82226
- `#f8ddde` — Soft Pink
- `#330505` — Jet Black
- `#f38b00` — #f38b00
- *…+41 more in `raw-css.json` (`desktop.allColors`).*
### Gradients & Decorative Fills
- `linear-gradient(rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0))` — (modal)
### CSS Custom Properties (Design Tokens)
**Font Weight Token**
- `--made-font-weight-bold`: `700`
- `--ais-font-weight-medium`: `500`
- `--aa-font-weight-bold`: `700`
- `--aa-font-weight-medium`: `500`
**Font Family Token**
- `--made-font-family-eyebrow`: `MarkOffcForMC-Bold, MarkOffcForMC, Arial, Helvetica, sans-serif`
- `--made-font-family-medium`: `MarkOffcForMC-Medium, MarkOffcForMC, Arial, Helvetica, sans-serif`
- `--made-font-family-heading`: `MarkOffcForMC-Bold, MarkOffcForMC, Arial, Helvetica, sans-serif`
- `--aa-font-family`: ``
**Font Size Token**
- `--made-font-size-03`: `0.8125rem`
- `--made-font-size-08`: `1.25rem`
- `--made-font-size-12`: `2.25rem`
- `--made-font-size-05`: `0.9375rem`
**Z-Index Token**
- `--aa-base-z-index`: `9999`
- `--made-z-index-dropdown`: `30`
- `--made-z-index-backdrop`: `40`
- `--ais-z-index-chat`: `9998`
**Spacing Token**
- `--made-font-heading-letter-spacing-eyebrow-02`: `1.8px`
- `--ais-spacing-factor`: `1`
- `--made-space-12-x`: `3rem`
- `--made-space-17-x`: `4.25rem`
**Background**
- `--made-footer-color-background`: `#141413`
- `--made-color-background-primary`: `#cf4500`
- `--made-color-background-02`: `#e8e5e1`
- `--made-connect-color-background-api`: `#ffc61e`
**Text Color**
- `--made-color-text-placeholder`: `#777470`
- `--made-color-text-default-on-light`: `#141413`
- `--made-color-text-helper`: `#555250`
- `--made-color-text-inverse`: `#ffffff`
**Border Radius Token**
- `--ais-border-radius-sm`: `4px`
- `--made-border-radius-07`: `20px`
- `--made-border-radius-02`: `4px`
- `--made-border-radius-01`: `2px`
**Error / Destructive**
- `--made-color-red-error-05`: `#b00606`
- `--made-color-red-error-02`: `#ff9898`
- `--made-color-red-01`: `#f8ddde`
- `--made-color-red-error-07`: `#330505`
**Success**
- `--made-color-green-03`: `#87a740`
- `--made-color-green-success-02`: `#7cd87a`
- `--made-color-green-01`: `#e8f1d5`
- `--made-color-green-success-05`: `#097007`
**Motion Token**
- `--ais-transition-timing-function`: `cubic-bezier(0.4,0,0.2,1)`
- `--ais-transition-duration`: `0.3s`
**Warning**
- `--made-color-yellow-03`: `#ffd863`
- `--made-color-yellow-07`: `#332805`
- `--made-color-yellow-01`: `#fff4d1`
- `--made-color-yellow-06`: `#664f0c`
**Primary Brand Color**
- `--made-color-accent-01-darker`: `#331505`
- `--made-color-brand-primary`: `#cf4500`
- `--made-color-accent-01-default`: `#cf4500`
- `--made-color-accent-01-dark`: `#852d01`
**Border**
- `--made-table-color-border-resize`: `#777470`
- `--made-color-border-default-on-dark`: `#555250`
- `--made-connect-color-border-document`: `#b1ada6`
- `--made-forms-color-border-default`: `#555250`
**Shadow Token**
- `--made-shadow-toggle`: `0 5px 10px 0 rgba(20,20,19,0.15), 0 2px 2px 0 rgba(20,20,19,0.3)`
- `--ais-shadow-color-rgb`: `23,23,23`
- `--made-shadow-default`: `0 2px 10px 0 rgba(20,20,19,0.20)`
- `--ais-shadow-md`: `0px 0px 0px 1px rgba(23,23,23,0.05),0px 4px 8px -2px rgba(23,23,23,0.25)`
**Other tokens**
- `--made-font-body-family-narrow`: `MarkForMCNrw, MarkOffcForMC, Arial, Helvetica, sans-serif`
- `--made-color-feedback-border-error`: `#ee0000`
- `--made-color-feedback-error-light`: `#fadede`
- `--made-color-action-disabled-toggle`: `rgba(177, 173, 166, 0.25)`
- `--made-color-action-text-primary-active`: `#331505`
- `--aa-panel-border-color-alpha`: `0.3`
- `--made-color-teal-05`: `#266555`
- `--made-font-heading-line-height-eyebrow-01`: `1.25`
## 3. Typography Rules
### Font Families
- **Primary**: `mccom`
- **Secondary**: `MarkForMCNrw`
- **Font 3**: `MarkForMCNrw-Medium`
- **Font 4**: `MarkForMCNrw-Bold`
- **Font 5**: `MarkOffcForMC`
### Custom Fonts Loaded
- **MarkForMCNrw** weight normal (normal)
- **MarkForMCNrw-Medium** weight normal (normal)
- **MarkForMCNrw-Bold** weight normal (normal)
- **MarkOffcForMC** weight normal (normal)
- **MarkOffcForMC-ExtraLight** weight normal (normal)
- **MarkOffcForMC-Light** weight normal (normal)
- **MarkOffcForMC-Medium** weight normal (normal)
- **MarkOffcForMC-Bold** weight normal (normal)
- **arial-unicode-base** weight normal (normal)
- **arial-unicode-bold** weight normal (normal)
- **arabic-font-base** weight normal (normal)
- **arabic-font-narrow** weight normal (normal)
- **arabic-font-extra-light** weight normal (normal)
- **arabic-font-light** weight normal (normal)
- **arabic-font-medium** weight normal (normal)
- **arabic-font-bold** weight normal (normal)
- **japanese-font-base** weight normal (normal)
- **japanese-font-narrow** weight normal (normal)
- **japanese-font-extra-light** weight normal (normal)
- **japanese-font-light** weight normal (normal)
- **japanese-font-medium** weight normal (normal)
- **japanese-font-bold** weight normal (normal)
- **georgian-font-base** weight normal (normal)
- **georgian-font-narrow** weight normal (normal)
- **georgian-font-extra-light** weight normal (normal)
- **georgian-font-light** weight normal (normal)
- **georgian-font-medium** weight normal (normal)
- **georgian-font-bold** weight normal (normal)
- **cyrillic-font-base** weight normal (normal)
- **cyrillic-font-narrow** weight normal (normal)
- **cyrillic-font-extra-light** weight normal (normal)
- **cyrillic-font-light** weight normal (normal)
- **cyrillic-font-medium** weight normal (normal)
- **cyrillic-font-bold** weight normal (normal)
- **greek-font-base** weight normal (normal)
- **greek-font-narrow** weight normal (normal)
- **greek-font-extra-light** weight normal (normal)
- **greek-font-light** weight normal (normal)
- **greek-font-medium** weight normal (normal)
- **greek-font-bold** weight normal (normal)
- **simplified-chinese-font-base** weight normal (normal)
- **simplified-chinese-font-narrow** weight normal (normal)
- **simplified-chinese-font-extra-light** weight normal (normal)
- **simplified-chinese-font-light** weight normal (normal)
- **simplified-chinese-font-medium** weight normal (normal)
- **simplified-chinese-font-bold** weight normal (normal)
- **traditional-chinese-font-base** weight normal (normal)
- **traditional-chinese-font-narrow** weight normal (normal)
- **traditional-chinese-font-extra-light** weight normal (normal)
- **traditional-chinese-font-light** weight normal (normal)
- **traditional-chinese-font-medium** weight normal (normal)
- **traditional-chinese-font-bold** weight normal (normal)
- **korean-font-base** weight normal (normal)
- **korean-font-narrow** weight normal (normal)
- **korean-font-extra-light** weight normal (normal)
- **korean-font-light** weight normal (normal)
- **korean-font-medium** weight normal (normal)
- **korean-font-bold** weight normal (normal)
- **thai-font-base** weight normal (normal)
- **thai-font-narrow** weight normal (normal)
- **thai-font-extra-light** weight normal (normal)
- **thai-font-light** weight normal (normal)
- **thai-font-medium** weight normal (normal)
- **thai-font-bold** weight normal (normal)
- **VideoJS** weight normal (normal)
- **mccom-icons** weight normal (normal)
- **mccom** weight 100 (normal)
- **mccom** weight 350 (normal)
- **mccom** weight 450 (normal)
- **mccom** weight 500 (normal)
- **mccom** weight 700 (normal)
- **mccom-Narrow** weight 400 (normal)
- **SofiaSans** weight 100 (normal)
- **SofiaSans** weight 350 (normal)
- **SofiaSans** weight 400 (normal)
- **SofiaSans** weight 500 (normal)
- **SofiaSans** weight 700 (normal)
- **SofiaSans** weight 900 (normal)
- **swiper-icons** weight 400 (normal)
- **MarkForMC** weight 100 (normal)
- **MarkForMC** weight 350 (normal)
- **MarkForMC** weight 450 (normal)
- **MarkForMC** weight 500 (normal)
- **MarkForMC** weight 700 (normal)
- **** weight normal (normal)
### Typography Hierarchy
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|------|------|------|--------|-------------|----------------|-------|
| Display Hero | mccom | 120px | 500 | 1 | -2.4px | Main headline (h3) |
| Section Heading | mccom | 64px | 500 | 1 | -1.28px | Section titles (h1) |
| Sub-heading | mccom | 24px | 500 | 1.2 | -0.48px | Third-level heading (h3) |
| Body | mccom | 16px | 450 | 1.3 | normal | Standard reading text |
| Button Large | mccom | 16px | 500 | 1 | normal | Button label (16px) |
| Input Large | mccom | 16px | 400 | 1 | normal | Form input (16px) |
| Label Heading | mccom | 14px | 700 | 1 | 0.56px | Small heading (H5) |
### Font Weight Scale
CSS custom properties define 10 explicit weight steps:
- `--made-font-weight-light`: `100` — Thin
- `--made-font-weight-default`: `400` — Regular
- `--ais-font-weight-medium`: `500` — Medium
- `--aa-font-weight-medium`: `500` — Medium
- `--made-font-weight-medium`: `500` — Medium
- `--ais-font-weight-semibold`: `600` — SemiBold
- `--aa-font-weight-semibold`: `600` — SemiBold
- `--made-font-weight-bold`: `700` — Bold
- `--aa-font-weight-bold`: `700` — Bold
- `--ais-font-weight-bold`: `700` — Bold
### Full Font Size Scale
Sizes detected in the design (descending): `120px`, `64px`, `36px`, `30px`, `24px`, `20px`, `18px`, `16px`, `14px`, `12px`, `10px`
> 6 size(s) detected outside the sampled hierarchy (36px, 30px, 20px, 18px, 12px, 10px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
### OpenType & Variable Font Features
The typography uses these OpenType features intentionally — this is a sophisticated type system, not a default fallback:
- **localized forms** (`locl`) — glyphs swapped based on script/locale
**Clone instruction:** Enable these in your CSS:
```css
body {
font-feature-settings: "locl";
}
```
## 4. Component Stylings
### Buttons
**Pill**
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 0px
- Radius: 999px
- Font: 16px weight 500
- Use: Status pills, tags, chips
**Ghost**
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 8px
- Radius: 0px
- Font: 16px weight 500
- Use: Subtle action, toolbar, nav button
**Pill**
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 19px
- Radius: 99px
- Font: 16px weight 500
- Use: Status pills, tags, chips
### Inputs & Forms
**Text Input**
- Background: `transparent`
- Text: `#262627`
- Padding: 0px 24px
- Radius: 0px
- Border: 0px none rgb(38, 38, 39)
- Font: 16px weight 400
- Use: Text fields, search inputs
### Search Bar
**Search Bar**
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 0px
- Radius: 0px
- Font: 16px weight 450
- Use: Inline search form
### CTA Banners
**Full-width CTA**
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 0px
- Radius: 0px
- Font: 16px weight 450
- Use: Full-width conversion strip with headline + button
### Status Badges
**Neutral Dark**
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 0px
- Radius: 0px
- Font: 16px weight 450
- Use: Status indicator, label, pill
**Tinted**
- Background: `#f37338`
- Text: `#f3f0ee` `{colors.surface-1}`
- Padding: 0px
- Radius: 50px
- Font: 0px weight 450
- Use: Status indicator, label, pill
**Neutral Dark**
- Background: `#141413` `{colors.ink-muted}`
- Text: `#f3f0ee` `{colors.surface-1}`
- Padding: 0px
- Radius: 50%
- Font: 0px weight 450
- Use: Status indicator, label, pill
### Tabs
**Ghost Tab**
- Background: `transparent`
- Text: `#141413` `{colors.ink-muted}`
- Padding: 0px
- Radius: 0px
- Font: 16px weight 450
- Use: Navigation tabs, filter tabs
**Pill Tab**
- Background: `#f37338`
- Text: `#f3f0ee` `{colors.surface-1}`
- Padding: 0px
- Radius: 50px
- Font: 0px weight 450
- Use: Navigation tabs, filter tabs
## 4b. Component Behaviors (State Matrix)
### Interaction State Narrative
- **FooterLink**:
- **hover:** text #ffffff → #d1cdc7, border changes
*State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
```yaml
component-behaviors:
button:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(20, 20, 19)"
input:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(38, 38, 39)"
link:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(20, 20, 19)"
tab:
default:
bg: "rgb(243, 115, 56)"
fg: "rgb(243, 240, 238)"
badge:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(20, 20, 19)"
footerLink:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(255, 255, 255)"
hover:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(209, 205, 199)"
```
**Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
## 4c. Component Vocabulary (Closed System)
*This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
### Buttons
- **3 shape(s)** in this system: `Pill`, `Ghost`, `Pill`
- **DO NOT introduce new buttons variants** without justification
### Inputs & Forms
- **1 shape(s)** in this system: `Text Input`
- **DO NOT introduce new inputs & forms variants** without justification
### Search Bar
- **1 shape(s)** in this system: `Search Bar`
- **DO NOT introduce new search bar variants** without justification
### CTA Banners
- **1 shape(s)** in this system: `Full-width CTA`
- **DO NOT introduce new cta banners variants** without justification
### Status Badges
- **3 shape(s)** in this system: `Neutral Dark`, `Tinted`, `Neutral Dark`
- **DO NOT introduce new status badges variants** without justification
### Tabs
- **2 shape(s)** in this system: `Ghost Tab`, `Pill Tab`
- **DO NOT introduce new tabs variants** without justification
## 5. Layout Principles
### Layout Type
**top-nav + content**
### Grid
Single column, centered content
### Max Width
680px
### Spacing System
Compact spacing — information density prioritized
| Token | Value |
|-------|-------|
| xxs | 2px |
| xs | 4px |
| sm | 10px |
| md | 12px |
| base | 16px |
| lg | 24px |
| xl | 40px |
| 2xl | 48px |
| 3xl | 100px |
### Border Radius Scale
| Name | Value | Use |
|------|-------|-----|
| None | 0px | No rounding |
| Xs | 4px | Tiny corners (badges, micro elements) |
| Sm | 9px | Buttons, inputs, small elements |
| Md | 9px | Cards, containers |
| Lg | 20px | Large rounded elements, pill segments |
| Xl | 30px | Category strips, featured containers |
| Full | 999px | Pills, avatars, circular elements |
### Shape Language
| Component | Border Radius |
|-----------|---------------|
| Buttons | `999px` |
| Inputs & Forms | `0px` |
| Search Bar | `0px` |
| CTA Banners | `0px` |
| Status Badges | `0px` |
| Tabs | `0px` |
| Page Body | `0px` |
| Primary Input | `0px` |
**Shape Personality**: Sharp + Pill Contrast — Angular precision with pill-shaped accents (status badges, tags). Creates strong visual hierarchy.
**Full Radius Spectrum**: 0px, 4px, 5px, 6px, 9px, 20px, 30px, 40px (from `allBorderRadii` scan)
## 5b. Spacing Rhythm Names
*Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
| Name | Value | Use case |
|------|-------|----------|
| **hero** | `100px` | Top/bottom of full-bleed hero sections |
| **section** | `40px` | Between major bands (color change, content shift) |
| **subsection** | `24px` | Within a section, between content groups |
| **card** | `12px` | Card padding, list-item spacing |
| **compact** | `10px` | Form fields, tight clusters, badge padding |
| **micro** | `4px` | Icon-text gap, tag inner padding |
**Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
## 5c. Widget & Structure Library
Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
**3/8 structural patterns detected.**
### Hero Pattern
- **Composition:** centered — Centered composition — heading + subheading + CTAs stacked vertically, content centered horizontally. Common for SaaS marketing pages.
- **Viewport coverage:** full-viewport hero (≥70% screen height)
- **Heading:** "Dynamiser les économies et autonomiser les personnes" — 64px left-aligned
- **Subheading:** "Libérer le potentiel des personnes, des entreprises et des gouvernements du monde entier."
- **Media:** present, positioned top
- **CTAs:** 6 (primary: "Précédent")
- **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. Place media top of text.
### Card Grid Pattern
- **Card count:** 3 cards detected
- **Columns (desktop):** 1-up grid
- **Card dimensions:** 1240×623px (aspect 1.99:1)
- **Gap:** 0px between cards
- **Content:** ✗ no image + CTA
- **Clone instruction:** Build a 1-column grid (desktop) with cards at ~1.99:1 aspect ratio. Text/icon-only cards (no photography).
### Footer Pattern
- **Columns:** 4
- **Links:** 27 total
- **Height:** 716px
- **Includes:** ✗ no newsletter | ✓ social icons | ✓ copyright
- **Clone instruction:** Build a 4-column footer with ~7 links per column, social media links, and a copyright line.
## 6. Depth & Elevation
| Level | Treatment | Use |
|-------|-----------|-----|
| Flat (Level 0) | No shadow | Page background, content blocks |
| Layered (Level 1) | <br>`rgba(0, 0, 0, 0.04) 0px 4px 24px 0px` | Cards, elevated surfaces |
| Layered (Level 2) | <br>`rgba(0, 0, 0, 0.08) 0px 24px 48px 0px` | Cards, elevated surfaces |
| Layered (Level 3) | <br>`rgba(0, 0, 0, 0.25) 0px 70px 110px 0px` | Cards, elevated surfaces |
| Layered (Level 4) | <br>`rgba(20, 20, 19, 0.2) 0px 2px 10px 0px` | Cards, elevated surfaces |
**Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
## 7. Motion & Interaction
### Easing System
| CSS Variable | Curve | Semantic Name |
|--------------|-------|---------------|
| `--ais-transition-timing-function` | `cubic-bezier(0.4,0,0.2,1)` | Material Standard — Balanced |
### Duration Scale
| CSS Variable | Value | Tier |
|--------------|-------|------|
| `--ais-transition-duration` | `0.3s` | Normal |
### Copy-Paste Transition Snippets
**All Props**
```css
transition: top 0.5s ease-in-out;
```
**Opacity**
```css
transition: opacity 0.3s ease-in-out;
```
**Background**
```css
transition: background-color 0.3s ease-in-out, top 1s ease-in-out;
```
**All Props**
```css
transition: 0.5s ease-in-out;
```
### Keyframe Animation Catalog
| Animation Name | Type | Animated Props | Use Hint |
|----------------|------|----------------|----------|
| `cmp-search__loading-indicator-spin` | Rotate / Spin | transform | Loading indicator |
| `ais-fadeIn` | Fade | opacity | Element entrance |
| `ais-chat-loader-spinner` | Rotate / Spin | stroke-dasharray, stroke-dashoffset, transform | Loading indicator |
| `ais-chat-loader-skeleton` | Fade | opacity | Loading indicator |
| `ais-chat-loader-text` | Custom | background-position-x, background-position-y | Loading indicator |
| `ais-filter-suggestions-skeleton` | Fade | opacity | Loading placeholder |
| `vjs-spinner-show` | Custom | visibility | Loading indicator |
| `vjs-spinner-spin` | Rotate / Spin | transform | Loading indicator |
| `vjs-spinner-fade` | Custom | border-top-color | Loading indicator |
| `delay-overflow` | Custom | overflow-y | UI transition |
| `animate-image` | Custom | margin-left | UI transition |
| `animate-image-pill` | Fade | opacity, width | UI transition |
| `swiper-preloader-spin` | Rotate / Spin | transform | Loading indicator |
| `spin` | Rotate / Spin | transform | Loading indicator |
| `bottom-navigation-slide-in` | Slide | bottom, transform, position, z-index | Panel / drawer enter |
| `fadein` | Fade | opacity | Element entrance |
| `hero-text-reveal` | Slide | background-size, transform | UI transition |
| `dissolve` | Fade | opacity | UI transition |
| `onetrust-fade-in` | Fade | opacity | Element entrance |
### Motion Fingerprint
- **Speed Character**: Cinematic & Slow (median duration: `800ms`)
- **Dominant Easing**: custom cubic-bezier curves
- **Animation Library**: 19 unique animations (19 total including variants)
> This design moves with cinematic & slow timing using custom cubic-bezier curves, creating a UI that feels slow and cinematic.
## 8. Do's and Don'ts
### Do
- Use Light Gray (`#f3f0ee`) as the page background — it's intentionally not pure white
- Use Jet Black (`#141413`) for text — not pure black, it's warmer and more readable
- Use mccom as the primary typeface — it defines the brand personality
- Use negative letter-spacing (-1.28px) at display sizes for compressed, editorial headlines
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
- Use full-pill radius (9999px) only for specific elements (avatars, pills, toggles)
- Use #cf4500 (`#cf4500`) as the primary accent — it's the brand's signature interactive color
- Use 99px border-radius on primary buttons — the brand uses generously-rounded CTAs
- Respect the 4px–40px spacing range — the design uses a wide scale for visual breathing room
- Make the hero full-viewport (≥70% screen height) — this design uses an immersive hero, not a tall navbar
- Include exactly 6 CTAs in the hero (primary + secondary) — this design pattern is multi-action, not single-purpose
- Build a content-dense footer (4 columns, ~27 links) — this site treats the footer as a sitemap, not an afterthought
### Don't
- Don't use pure white (`#ffffff`) as a page background — the warm tone is part of the brand identity
- Don't use pure black (`#000000`) for text — the near-black adds warmth
- Don't substitute with generic sans-serif or serif — the custom font carries the brand
- Don't increase letter-spacing on headings — the type is designed to run tight at scale
- Don't invent new shadow values — use only the extracted shadow levels
- Don't apply pill radius on rectangular buttons or cards — it's reserved for specific interactive elements
- Don't introduce additional saturated accent colors — the palette is intentionally controlled
- Don't use sharp-cornered or pill buttons — 99px is the CTA border-radius standard
## 7b. Enforceable Brand Rules
*Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
```yaml
rules:
- id: brand-canvas-001
type: do
rule: "Always use the page background `rgb(243, 240, 238)` as the base canvas"
why: "Every component is designed to composit against this exact tone"
test: "document.body.style.backgroundColor === 'rgb(243, 240, 238)'"
- id: brand-accent-001
type: do
rule: "Reserve `#cf4500` for primary CTAs and brand-mark signals only"
why: "Single chromatic assertion device — overuse dilutes meaning"
test: "querySelectorAll('[style*=\"#cf4500\"]').length <= 3 per fold"
```
## 9. Responsive Behavior
### Breakpoints
| Name | Width | Key Changes |
|------|-------|-------------|
| Mobile | 375px | Single column, compact spacing |
| Mobile | 425px | Single column, compact spacing |
| Mobile Large | 640px | Expanded mobile layout |
| Mobile Large | 767px | Expanded mobile layout |
| Tablet | 1024px | Multi-column grids begin |
| Large Desktop | 1424px | Maximum content width |
### Token Diff — Desktop vs Mobile
| Element | Property | Desktop | Mobile |
|---------|----------|---------|--------|
| heading | font-size | `64px` | `48px` |
| heading | line-height | `64px` | `52.8px` |
| heading | letter-spacing | `-1.28px` | `-0.96px` |
| main | padding | `0px 12px` | `0px 8px` |
### Collapsing Strategy
- Headlines: 64px → 48px on mobile
- Container padding: 0px 12px → 0px 8px on mobile
- Navigation: horizontal links → hamburger menu on mobile
- Cards: multi-column → stacked vertical on mobile
- Footer: multi-column → stacked single column on mobile
### Touch Targets
- Buttons: 0px padding
- Navigation: adequate spacing between items
- Interactive elements: minimum 44px touch target recommended
### Collapsing Narrative
How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
- **Footer columns collapse:** 4 columns (desktop) → 1 column (mobile).
## 9b. Visual Tone & Photography
**Tone:** Mixed photography + illustration
A balanced mix of photographic content and vector graphics. Photos likely carry product/lifestyle context while SVG handles icons, logos, and decorative accents.
**Canonical Brand Image (OG):**
- /content/dam/mccom/shared/socialmedia/mastercard-og-image.png
*This is the image shown when the site is shared on social media — represents the brand visual essence.*
**Hero Image (above-fold dominant visual):**
- Aspect: 2.07:1 (landscape (16:9-ish))
- Rendered size: 1313×635px
- Alt text: "A shopping cart superimposed on top of a mobile phone screen with blue and orange dots being held by a person's hands ."
- *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
**Aspect Ratio Distribution:**
- Landscape (1.15–2.3): 6 (43%)
- Portrait (<0.87): 3 (21%)
- Square (0.87–1.15): 5 (36%)
**Media Format Mix:**
- JPG: 7 (typically photographic content)
- PNG: 1 (logos, transparent UI elements, mockups)
- GIF: 6 (animated content)
**Average rendered image size:** 715×556px
**Above-fold image count:** 0 / 14
**Decorative Patterns Detected:**
- 4 multi-stop linear gradients (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
- **Glassmorphism** detected (`backdrop-filter: blur`) — layered transparent surfaces with blur, modern OS-like aesthetic
**Clone instruction for decorative work:** This is a gradient-rich design — invest in multi-stop CSS gradients (3+ color stops), not solid backgrounds.
**Imagery Guidance for clones:**
- Mix photography and illustration intentionally: photos for product/context, vectors for icons + decorative accents.
- Respect the format split — replacing JPGs with illustrations (or vice versa) will shift the brand tone.
## 10. Agent Prompt Guide
### Quick Reference
- Background: Light Gray (`#f3f0ee`)
- Primary text: Jet Black (`#141413`)
- Accent: #cf4500 (`#cf4500`)
- Border: Charcoal (`#333333`)
- Font: mccom
- Body: 16px weight 450
### Example Component Prompts
- "Create a hero section on Light Gray background (#f3f0ee). Headline at 64px mccom weight 500, line-height 1, letter-spacing -1.28px, color #141413."
- "Create the primary CTA button: `#cf4500` background, `#141413` text, 999px border-radius, 12px 24px padding, 500 weight, mccom font."
- "Build navigation: sticky on `#f3f0ee`. mccom 16px weight 400 for links."
### Iteration Guide
1. **Canvas**: Set the light canvas to Light Gray (`#f3f0ee`) — every component is composited against this exact base.
2. **Typography**: All type in mccom, weight range 100–700. Never exceed 700 — heavier weights break the brand's tonal restraint.
3. **Accent**: #cf4500 (`#cf4500`) is the sole interactive color. On hover → Chocolate (`#852d01`). Use CSS transitions, not opacity/brightness filters.
4. **Motion**: All transitions use `cubic-bezier(0.25,0.1,0.25,1)`. Timing: 300ms for micro-interactions, 300ms for layout changes. Never use linear for UI transitions — preserve the brand's easing personality.
5. **Shape**: CTAs at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
6. **Spacing**: Use the `--ca-space-*` token scale (4px–40px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
7. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
## 11. CSS Design Tokens Raw Export
*Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
```css
/* Colors */
:root {
--ca-surface-1: #f3f0ee;
--ca-on-primary: #ffffff;
--ca-ink-muted: #141413;
--ca-ink-subtle: #323231;
--ca-primary: #cf4500;
--ca-primary-hover: #852d01;
--ca-hairline: #333333;
--ca-semantic-error: #ee0000;
--ca-semantic-success: #038a00;
--ca-semantic-warning: #f38b00;
}
/* Typography */
:root {
--ca-font-primary: "mccom", system-ui, sans-serif;
--ca-text-display: 120px;
--ca-text-heading: 64px;
--ca-text-body: 16px;
--ca-text-button: 16px;
--ca-text-mono: 16px;
}
/* Spacing & Radius */
:root {
--ca-space-xxs: 2px;
--ca-space-xs: 4px;
--ca-space-sm: 10px;
--ca-space-md: 12px;
--ca-space-base: 16px;
--ca-space-lg: 24px;
--ca-space-xl: 40px;
--ca-space-2xl: 48px;
--ca-space-3xl: 100px;
--ca-radius-none: 0px;
--ca-radius-xs: 4px;
--ca-radius-sm: 9px;
--ca-radius-md: 9px;
--ca-radius-lg: 20px;
--ca-radius-xl: 30px;
--ca-radius-full: 999px;
}
```
## 13. Page Structure Skeleton
*The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
```yaml
page-skeleton:
- section: unknown
tag: div
classes: ["root", "container", "responsivegrid"]
height: 8937px
width: full-bleed
layout: block
children: 1
- section: main-content
tag: main
classes: ["container", "responsivegrid", "aem-GridColumn--default--12"]
height: 8937px
width: full-bleed
layout: block
children: 1
padding: "0px 12px"
- section: unknown
tag: div
height: 8937px
width: full-bleed
layout: block
children: 1
- section: unknown
tag: div
height: 8937px
width: 1416px
layout: block
children: 1
- section: unknown
tag: div
classes: ["container", "responsivegrid", "aem-GridColumn--default--12"]
height: 8937px
width: 1416px
layout: block
children: 1
- section: unknown
tag: div
height: 8937px
width: 1416px
layout: block
children: 1
- section: unknown
tag: div
classes: ["container", "responsivegrid", "mccom-full-width", "aem-GridColumn--default--12"]
height: 807px
width: full-bleed
layout: block
children: 1
- section: unknown
tag: div
height: 783px
width: full-bleed
layout: block
children: 1
- section: hero
tag: div
classes: ["mccom-video-hero-container"]
height: 783px
width: 1392px
layout: block
children: 1
- section: hero
tag: div
classes: ["video-hero"]
height: 783px
width: full-bleed
layout: block
children: 1
padding: "0px 24px"
- section: hero
tag: div
classes: ["video-js", "mccom-video-hero", "mccom-video-hero-skin", "vjs-fill"]
height: 783px
width: 1392px
layout: block
children: 8
bg: "rgb(0, 0, 0)"
- section: navigation
tag: div
classes: ["panelcontainer"]
height: 320px
width: 1073px
layout: grid: 2-col gap=normal
children: 2
- section: navigation
tag: div
classes: ["panelcontainer"]
height: 192px
width: 1073px
layout: grid: 2-col gap=normal
children: 2
- section: navigation
tag: div
classes: ["panelcontainer"]
height: 320px
width: 1073px
layout: grid: 2-col gap=normal
children: 2
- section: navigation
tag: div
classes: ["panelcontainer"]
height: 256px
width: 1073px
layout: grid: 2-col gap=normal
children: 2
- section: navigation
tag: div
classes: ["panelcontainer"]
height: 320px
width: 1073px
layout: grid: 2-col gap=normal
children: 2
- section: unknown
tag: div
height: 714px
width: 211px
layout: block
children: 1
- section: unknown
tag: div
classes: ["teaser", "mccom-section-intro-default"]
height: 266px
width: 1240px
layout: block
children: 1
- section: unknown
tag: div
classes: ["container", "responsivegrid", "mccom-max-width-lg", "mccom-margin-top-lg"]
height: 1099px
width: full-bleed
layout: block
children: 1
- section: unknown
tag: div
height: 1099px
width: 1240px
layout: block
children: 2
- section: unknown
tag: div
classes: ["container", "responsivegrid", "mccom-margin-bottom-lg"]
height: 266px
width: 1240px
layout: block
children: 1
- section: unknown
tag: div
height: 266px
width: 1240px
layout: block
children: 1
- section: unknown
tag: div
classes: ["carousel", "panelcontainer", "mccom-branded-intro"]
height: 763px
width: 1240px
layout: block
children: 1
- section: unknown
tag: div
classes: ["swiper-wrapper"]
height: 599px
width: 1240px
layout: flex-row justify=normal
children: 5
- section: header
tag: div
classes: ["teaser", "mccom-section-intro-display-header", "mccom-scroll-trigger"]
height: 477px
width: 1240px
layout: block
children: 1
```
**Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
## 14. Copy Library (Real Content from Source)
*Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
```yaml
copy:
section-headings:
- "Commerce agentique 101"
sub-headings:
- "Ensemble, les possibilités sont priceless"
- "Aperçus et Intelligence"
- "Des avantages et des services qui soutiennent vos ambitions"
- "Trouvez une carte qui vous convient"
- "Des expériences qui éveillent vos passions"
ctas:
- "Pour vous"
navigation:
- "Découvrir toutes les cartes"
- "Cartes de crédit Mastercard"
- "Cartes de débit Mastercard"
- "Cartes Mastercard Prepaid"
- "Des cartes pour vos passions"
- "Avantages de la carte"
- "Payez comme vous le souhaitez"
- "Sans contact"
- "Click to Pay"
- "Clés d’accès de paiement"
footer-links:
- "Obtenir de l'aide"
- "À propos"
- "Carrières
s’ouvre dans un nouvel onglet"
- "Confidentialité et responsabilité des données"
- "Confidentialité"
- "LinkedIn"
```
**Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
## 15. Asset Inventory (Image Roles & Ratios)
*Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
```yaml
assets:
logo:
count: 1
avg-ratio: 1.63
common-aspect: "~16:9 landscape"
sample-alts:
- "Mastercard brand symbol - a global technology company in the"
hero:
count: 3
avg-ratio: 2.07
common-aspect: "~16:9 landscape"
sample-alts:
- "A young woman holds a smartphone and looks at a digital mess"
- "Des collègues réunis autour d'une table."
- "A shopping cart superimposed on top of a mobile phone screen"
product:
count: 5
avg-ratio: 1.00
common-aspect: "~1:1 square"
sample-alts:
- "Personne effectuant un paiement avec une montre."
- "Tapotement de la main sur l’écran."
- "Propriétaire d'entreprise tapant sur une tablette."
editorial:
count: 3
avg-ratio: 0.61
common-aspect: "~9:16 portrait"
sample-alts:
- "Femme tapant sur un appareil mobile."
- "Personne portant une ceinture de sécurité dans un véhicule s"
- "Une femme ajuste la ceinture d'une cliente essayant une robe"
```
**Agent rule**: when generating placeholder images, match these counts and aspect ratios. Use neutral placeholder backgrounds for `product` (e.g. `#f5f5f5`), full-color photography hints for `hero` and `editorial`.
## 16. Component HTML Templates
*Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
### Button (primary action)
```html
<button class="btn btn-primary">
Pour vous
</button>
```
_Source pattern detected: padding `8px` · radius `0px` · weight `500`_
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
---
## Extraction Completeness: 83/100 (B)
| Category | Score | Max | Detail |
|----------|-------|-----|--------|
| Colors & Palette | 18 | 25 | 13 named colors |
| Typography | 18 | 20 | 7 roles defined |
| Components | 20 | 20 | 6 specs extracted |
| Motion & Interaction | 12 | 15 | Keyframes present |
| CSS Custom Properties | 10 | 10 | 517 vars |
| Responsive Breakpoints | 5 | 5 | 6 breakpoints |
| Variable Fonts | 0 | 5 | None detected |
## 12. Known Gaps & Confidence
Explicit list of what this extraction could NOT capture. Agents should not invent values for these — either skip the feature or use the documented baseline + heuristic fallback.
*✅ No critical extraction gaps detected — high-confidence reproduction expected.*
### Per-section confidence
| Section | Confidence | Reason |
|---------|------------|--------|
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
| §2 Colors | High | 517 CSS vars (semantic naming requires ≥20 for high) |
| §3 Typography | High | 7 typography roles inferred |
| §4 Components | High | 6 component variants captured |
| §7 Motion | High | Keyframes + transitions |
| §8 Do's/Don'ts | High | 20 rules generated; design-decisions.json has evidence per rule |
| §9 Responsive | High | 6 breakpoints detected |
| §9b Photography | High | 14 images, hero present |
---
*Generated by Clone Architect — automated Playwright extraction + design analysis.*
*Source: https://mastercard.com | 2026-05-30T20:39:17.564Z*
*All values verified via getComputedStyle() — no approximation, no hallucination.*
Re-extract: clone-architect update mastercard.com