savant-code 0.0.22 → 0.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/README.md +5 -0
  2. package/launcher.js +192 -5
  3. package/package.json +3 -2
  4. package/savant-design-systems/SKILL.md +12 -0
  5. package/savant-design-systems/manifest.json +2541 -0
  6. package/savant-design-systems/resources/airbnb-design-analysis.json +983 -0
  7. package/savant-design-systems/resources/airtable-design-analysis.json +931 -0
  8. package/savant-design-systems/resources/apple-design-analysis.json +920 -0
  9. package/savant-design-systems/resources/binance-design-analysis.json +1068 -0
  10. package/savant-design-systems/resources/bmw-design-analysis.json +912 -0
  11. package/savant-design-systems/resources/bmw-m-design-analysis.json +824 -0
  12. package/savant-design-systems/resources/bugatti-design-analysis.json +746 -0
  13. package/savant-design-systems/resources/cal-com-design-analysis.json +913 -0
  14. package/savant-design-systems/resources/claude-design-analysis.json +1007 -0
  15. package/savant-design-systems/resources/clay-design-analysis.json +919 -0
  16. package/savant-design-systems/resources/clickhouse-design-analysis.json +926 -0
  17. package/savant-design-systems/resources/cohere-design-analysis.json +725 -0
  18. package/savant-design-systems/resources/coinbase-design-analysis.json +998 -0
  19. package/savant-design-systems/resources/composio-design-analysis.json +851 -0
  20. package/savant-design-systems/resources/cursor-design-analysis.json +934 -0
  21. package/savant-design-systems/resources/dell-1996-inspired.json +1042 -0
  22. package/savant-design-systems/resources/elevenlabs.json +551 -0
  23. package/savant-design-systems/resources/expo-design-analysis.json +879 -0
  24. package/savant-design-systems/resources/ferrari-design-analysis.json +874 -0
  25. package/savant-design-systems/resources/figma-design-analysis.json +928 -0
  26. package/savant-design-systems/resources/framer-design-analysis.json +891 -0
  27. package/savant-design-systems/resources/hashicorp-design-analysis.json +909 -0
  28. package/savant-design-systems/resources/hp-design-analysis.json +1077 -0
  29. package/savant-design-systems/resources/ibm-design-analysis.json +881 -0
  30. package/savant-design-systems/resources/intercom-design-analysis.json +876 -0
  31. package/savant-design-systems/resources/kraken.json +172 -0
  32. package/savant-design-systems/resources/lamborghini.json +335 -0
  33. package/savant-design-systems/resources/linear-design-analysis.json +890 -0
  34. package/savant-design-systems/resources/lovable.json +345 -0
  35. package/savant-design-systems/resources/mastercard.json +412 -0
  36. package/savant-design-systems/resources/meta-design-analysis.json +1121 -0
  37. package/savant-design-systems/resources/minimax-design-analysis.json +1220 -0
  38. package/savant-design-systems/resources/mintlify-design-analysis.json +1418 -0
  39. package/savant-design-systems/resources/miro-design-analysis.json +1364 -0
  40. package/savant-design-systems/resources/mistral-ai-design-analysis.json +1286 -0
  41. package/savant-design-systems/resources/mongodb-design-analysis.json +1276 -0
  42. package/savant-design-systems/resources/nike-design-analysis.json +938 -0
  43. package/savant-design-systems/resources/nintendo-com-2001-analysis.json +1082 -0
  44. package/savant-design-systems/resources/notion-design-analysis.json +1368 -0
  45. package/savant-design-systems/resources/nvidia-design-analysis.json +1023 -0
  46. package/savant-design-systems/resources/ollama-design-analysis.json +863 -0
  47. package/savant-design-systems/resources/opencode-design-analysis.json +806 -0
  48. package/savant-design-systems/resources/pinterest-design-analysis.json +953 -0
  49. package/savant-design-systems/resources/playstation-design-analysis.json +1053 -0
  50. package/savant-design-systems/resources/posthog-design-analysis.json +1146 -0
  51. package/savant-design-systems/resources/raycast.json +716 -0
  52. package/savant-design-systems/resources/renault-design-analysis.json +916 -0
  53. package/savant-design-systems/resources/replicate-design-analysis.json +986 -0
  54. package/savant-design-systems/resources/resend-design-analysis.json +942 -0
  55. package/savant-design-systems/resources/revolut-design-analysis.json +1008 -0
  56. package/savant-design-systems/resources/runwayml.json +291 -0
  57. package/savant-design-systems/resources/sanity.json +404 -0
  58. package/savant-design-systems/resources/sentri-inspired-design-analysis.json +953 -0
  59. package/savant-design-systems/resources/shopifi-inspired-design-analysis.json +921 -0
  60. package/savant-design-systems/resources/slacc-inspired-design-analysis.json +799 -0
  61. package/savant-design-systems/resources/spacex-inspired-design-analysis.json +598 -0
  62. package/savant-design-systems/resources/spotify.json +293 -0
  63. package/savant-design-systems/resources/starbucks.json +627 -0
  64. package/savant-design-systems/resources/stripi-inspired-design-analysis.json +805 -0
  65. package/savant-design-systems/resources/supabase.json +509 -0
  66. package/savant-design-systems/resources/superhumon-inspired-design-analysis.json +740 -0
  67. package/savant-design-systems/resources/tesla.json +333 -0
  68. package/savant-design-systems/resources/theverge.json +386 -0
  69. package/savant-design-systems/resources/together-ai-inspired-design-analysis.json +1099 -0
  70. package/savant-design-systems/resources/uber-inspired-design-analysis.json +1067 -0
  71. package/savant-design-systems/resources/vercel-inspired-design-analysis.json +1261 -0
  72. package/savant-design-systems/resources/vodafone-inspired-design-analysis.json +912 -0
  73. package/savant-design-systems/resources/voltagent-inspired-design-analysis.json +929 -0
  74. package/savant-design-systems/resources/warp-inspired-design-analysis.json +946 -0
  75. package/savant-design-systems/resources/webflow-inspired-design-analysis.json +1033 -0
  76. package/savant-design-systems/resources/wired-inspired-design-analysis.json +877 -0
  77. package/savant-design-systems/resources/wise-inspired-design-analysis.json +916 -0
  78. package/savant-design-systems/resources/xai-inspired-design-analysis.json +820 -0
  79. package/savant-design-systems/resources/zapier-inspired-design-analysis.json +915 -0
@@ -0,0 +1,412 @@
1
+ {
2
+ "schemaVersion": "1",
3
+ "id": "mastercard",
4
+ "displayName": "Mastercard",
5
+ "description": "Design system Mastercard",
6
+ "source": "embedded",
7
+ "status": "curated-reference",
8
+ "targets": [
9
+ "terminal",
10
+ "react"
11
+ ],
12
+ "contentPath": "packages/design-systems/library/mastercard.design.md",
13
+ "sourceContentHash": "e76ceaa187f43bd24b8338d2b2314e71e9225b36492e40f32a55782281a10437",
14
+ "normalizedContentHash": "afa9d949f987f7a581f6080f219141ab5dab40bda5de0ed9ffdaa601cc49b85b",
15
+ "provenance": {
16
+ "sourceRepository": "VoltAgent/awesome-design-md",
17
+ "sourceRevision": "working-tree-curated-snapshot",
18
+ "sourcePath": "packages/design-systems/library/mastercard.design.md",
19
+ "license": "MIT"
20
+ },
21
+ "fonts": [],
22
+ "tokens": {
23
+ "colors": {
24
+ "primary": "#F3F0EE",
25
+ "foreground": "#F3F0EE",
26
+ "background": "#141413"
27
+ },
28
+ "typography": {
29
+ "body": {
30
+ "fontFamily": "system-ui, sans-serif",
31
+ "fontSize": "16px",
32
+ "lineHeight": "1.5"
33
+ }
34
+ },
35
+ "spacing": {
36
+ "md": "16px"
37
+ },
38
+ "radius": {
39
+ "md": "8px"
40
+ },
41
+ "components": {},
42
+ "extensions": {}
43
+ }
44
+ }
45
+
46
+ ---
47
+
48
+ # Design System Inspired by Mastercard
49
+
50
+ ## 1. Visual Theme & Atmosphere
51
+
52
+ Mastercard's experience reads like a warm, editorial magazine built from soft stone and signal orange. The canvas is a muted putty-cream (`#F3F0EE`) — not white, not gray, but a color that feels like the paper of a premium annual report. On top of that canvas, everything that matters is shaped like a stadium, a pill, or a perfect circle. The dominant visual gesture is the **oversized radius**: heroes carry 40-point corners, cards go fully pill-shaped, service images are cropped into circular orbits, and buttons either complete the pill or fit snugly at 20 points. There are almost no sharp corners anywhere on the page.
53
+
54
+ The second gesture is **orbit and trajectory**. Circular image masks don't sit still — they're connected by thin, hand-drawn-feeling orange arcs that span entire viewport widths, implying a constellation of services rather than a list. Each circle has a small attached "satellite" — a white micro-CTA holding an arrow icon — docked onto its perimeter like a moon. This is the most distinctive thing about Mastercard's current design language: the circles feel like they're in motion even though the page is still.
55
+
56
+ Typography is rendered entirely in **MarkForMC**, Mastercard's proprietary geometric sans. Headlines are set at a medium weight (500) with tight negative letter-spacing (-2%), giving them confidence without shouting. Body copy runs at the same family in a slightly lighter weight (450) — a weight you rarely see on the web, chosen because it reads softer than regular 400 without feeling thin. The whole system — warm cream surfaces, pill shapes, circular portraits, traced-orange orbits, black CTAs — feels simultaneously institutional (a 60-year-old payments network) and editorial (a modern brand magazine), which is exactly the tension Mastercard wants to hold.
57
+
58
+ **Key Characteristics:**
59
+ - Warm cream canvas (`#F3F0EE`) replaces traditional white — every surface is tinted, never sterile
60
+ - Extreme border-radius as design language: 40px, 99px, 1000px dominate; anything square is a cookie-banner third-party
61
+ - Circular image portraits with attached white satellite-CTAs and traced-orange orbital paths
62
+ - Ghost "watermark" headlines (cream-on-cream text at heading scale) layered behind circle portraits
63
+ - Black primary CTAs with 20px radius in the body — the cookie-banner orange is kept to consent flows
64
+ - Floating pill-shaped navigation that docks below the viewport top with rounded shoulders
65
+ - Eyebrow labels with a tiny accent dot + uppercase bold tracking — used as the section-category signal
66
+ - Dark warm-black footer (`#141413`) with four-column link layout and large conversational headline
67
+
68
+ ## 2. Color Palette & Roles
69
+
70
+ ### Primary
71
+ - **Mastercard Red** (`#EB001B`): The left circle of the Mastercard mark — used only in the brand logo, never as a UI color.
72
+ - **Mastercard Yellow** (`#F79E1B`): The right circle of the Mastercard mark — used only in the brand logo, never as a UI color.
73
+ - **Ink Black** (`#141413`): The warm near-black used for primary CTAs, headline text on cream, and the footer surface. Slightly warm (the `13` blue value pulls toward the cream) so it never feels jet-black on the warm canvas.
74
+
75
+ ### Secondary & Accent
76
+ - **Signal Orange** (`#CF4500`): The burnt/rust CTA orange used on consent actions and eyebrow dots. Deeper than the brand yellow, brighter than ink — it's the page's single aggressive color and must be used sparingly.
77
+ - **Light Signal Orange** (`#F37338`): A lighter carroty orange used for carousel active indicators and decorative orbital arcs. Always acts as an attention cue, never as body color.
78
+ - **Clay Brown** (`#9A3A0A`): The deep rust used for secondary link-style buttons (e.g., cookie details). Sits between ink and signal orange.
79
+
80
+ ### Surface & Background
81
+ - **Canvas Cream** (`#F3F0EE`): The page canvas. Warm, putty-toned, the default body background. All editorial sections sit on this.
82
+ - **Lifted Cream** (`#FCFBFA`): One step lighter than canvas — used for nested "raised" sections that want to feel like paper laid on paper.
83
+ - **White** (`#FFFFFF`): Reserved for the floating navigation pill, modal cards, secondary button fills, and small satellite-CTA circles attached to image portraits.
84
+ - **Soft Bone** (`#F4F4F4`): A cool-gray alternative surface used inside a handful of component subregions.
85
+
86
+ ### Neutrals & Text
87
+ - **Ink Black** (`#141413`): Primary headline and body text color.
88
+ - **Charcoal** (`#262627`): A slightly softer black used for some text alternates.
89
+ - **Slate Gray** (`#696969`): Muted secondary text — eyebrow label alternative, disabled states, "Privacy Choices" bottom-row text.
90
+ - **Granite** (`#555555`) and **Graphite** (`#565656`): Deeper gray for inline body accents and link alternates.
91
+ - **Dust Taupe** (`#D1CDC7`): Very muted cream-gray used for disabled or "whisper" text (e.g., placeholder-like empty state labels). Low contrast on cream; use only for subdued content.
92
+
93
+ ### Semantic & Accent
94
+ - **Link Blue** (`#3860BE`): A deep, slightly dusty blue used for inline links and informational callouts. Saturated enough to read as a link without being neon.
95
+ - **Priceless Red + Yellow**: The full-color Mastercard logo mark is the only place the brand's red and yellow appear together; they lock the identity to the page without acting as a UI palette.
96
+
97
+ ### Gradient System
98
+ Mastercard uses no programmatic gradients in the core UI. The visual impression of "gradient" comes from two places:
99
+ - **Circular image portraits** where a warm-orange photo subject (a card, a sunflower, a beverage) fades to the cream canvas at its edge
100
+ - **Deep card shadows** on elevated content (`rgba(0,0,0,0.08) 0px 24px 48px`) that create a soft halo beneath pill-shaped media
101
+
102
+ ## 3. Typography Rules
103
+
104
+ ### Font Family
105
+ - **Primary**: `MarkForMC` — Mastercard's proprietary geometric sans. Every headline, body paragraph, button, nav link, and footer link on the page.
106
+ - **Secondary**: `MarkOffcForMC` — an "Official" cut used in a minority of contexts (legal text, some forms).
107
+ - **Fallback stack**: `SofiaSans, Arial, sans-serif` — Sofia Sans is a reasonable open-source stand-in; Arial is the final web-safe fallback.
108
+
109
+ ### Hierarchy
110
+
111
+ | Role | Size | Weight | Line Height | Letter Spacing | Notes |
112
+ |------|------|--------|-------------|----------------|-------|
113
+ | H1 (hero) | 64px | 500 | 64px | -1.28px (-2%) | Set to `1:1` line-height for very tight vertical rhythm on multi-line hero |
114
+ | H2 (section) | 36px | 500 | 44px | -0.72px (-2%) | Used in ghost-watermark headline treatments and section titles |
115
+ | H3 (card title) | 24px | 500 | 28.8px (1.2) | -0.48px (-2%) | Titles inside service/solution cards |
116
+ | H4 (subhead) | 14px | 700 | 18.2px (1.3) | normal | Rarely used in marketing surfaces |
117
+ | Eyebrow (H5) | 14px | 700 | 14px | 0.56px (+4%) | Uppercase, paired with a tiny accent dot (e.g., "• SERVICES") |
118
+ | Body paragraph | 16px | 450 | 22.4px (1.4) | normal | The half-step 450 weight is MarkForMC's signature — softer than 500, firmer than 400 |
119
+ | Nav link / Button label | 16px | 500 | 16px | -0.48px (-3%) | Tight, compact, no text-transform |
120
+ | Footer link | 14px | 450 | ~20px | normal | Lighter weight on dark footer for airier density |
121
+ | Footer column header | 12–14px | 700 | 14px | 0.56px (+4%) | Uppercase, muted gray, short tracking |
122
+
123
+ ### Principles
124
+ - **Weight 450 is load-bearing**. Most brands use 400/500/700; Mastercard uses 450 for body copy, which creates an unusually soft reading tone. Replacing it with 400 flattens the identity.
125
+ - **Tight negative tracking on headlines** (-2%) gives display text its editorial density — the words lock together rather than breathe.
126
+ - **Uppercase tracking only on the eyebrow scale** (14px / 700 / +4% tracking). Don't use uppercase anywhere else; no shouty section titles.
127
+ - **One-font system**. Resist the urge to add a second typeface for contrast. The contrast comes from scale, weight, and letter-spacing, not from a serif or display accent.
128
+ - **Line-height ratio drops with size**. H1 is 1:1, H3 is 1.2, body is 1.4. Tight display, comfortable reading.
129
+
130
+ ### Note on Font Substitutes
131
+ MarkForMC is proprietary and licensed. When rebuilding a matching aesthetic without access to the original:
132
+ - **Sofia Sans** (Google Fonts) is the closest open-source match — it's already in Mastercard's declared fallback stack.
133
+ - **Inter** at weights 450/500/700 works as a generic stand-in; expect slightly taller x-height and looser letter shapes.
134
+ - **Neue Haas Grotesk** or **Geist** can approximate the geometric feel for commercial projects.
135
+ - Whichever substitute is used, preserve the **-2% letter-spacing on headlines** and the **450 body weight** (use `font-weight: 450` with variable fonts, or substitute `font-weight: 400` and tighten the letter-spacing by ~-0.5% to compensate).
136
+
137
+ ## 4. Component Stylings
138
+
139
+ ### Buttons
140
+
141
+ **Primary — Ink Pill**
142
+ - Background: Ink Black (`#141413`)
143
+ - Text: Canvas Cream (`#F3F0EE`) — not pure white
144
+ - Border: 1.5px solid Ink Black (same as bg, creates crisp edge)
145
+ - Radius: 20px
146
+ - Padding: 6px 24px
147
+ - Font: MarkForMC 16px / weight 500 / letter-spacing -0.32px
148
+ - Default: as above; solid warm-black pill on cream canvas
149
+ - Active / pressed: subtle inward-shrink or 2px offset (not a hover variant)
150
+ - Use for: all marketing CTAs in the page body ("Learn more", "Explore", "Discover")
151
+
152
+ **Secondary — Outlined Pill**
153
+ - Background: White (`#FFFFFF`)
154
+ - Text: Ink Black (`#141413`)
155
+ - Border: 1.5px solid Ink Black
156
+ - Radius: 20px
157
+ - Padding: 6px 24px
158
+ - Font: MarkForMC 16px / weight 450 / line-height 20.8px
159
+ - Default: white-on-cream pill with crisp ink outline
160
+ - Active / pressed: subtle compression
161
+ - Use for: secondary actions paired with a primary, or standalone utility CTAs
162
+
163
+ **Consent / Signal — Orange Pill**
164
+ - Background: Signal Orange (`#CF4500`)
165
+ - Text: White (`#FFFFFF`)
166
+ - Border: 0
167
+ - Radius: 24px
168
+ - Padding: 1px 30px (very tight vertical, wide horizontal)
169
+ - Font: MarkForMC 13px / weight 400 / letter-spacing 0.13px
170
+ - Default: as above; bright rust pill with white text
171
+ - Use for: cookie consent, privacy preference, and other legally-distinct confirmations. **Do not** use this orange for marketing CTAs — it reads as a compliance color.
172
+
173
+ **Satellite — Circular Micro-CTA**
174
+ - Background: White (`#FFFFFF`)
175
+ - Icon: Ink Black arrow (`→`) at ~20px
176
+ - Border: none
177
+ - Radius: 50% (perfect circle)
178
+ - Size: ~50–60px diameter
179
+ - Shadow: none or very subtle (the portrait's shadow carries the elevation)
180
+ - Default: docks onto the bottom-right edge of a circular portrait, protruding partway outside the portrait's circle
181
+ - Use for: the primary entry point into service/solution cards; always paired with a circular portrait
182
+
183
+ **Icon-Only Circle Button (carousel, play/pause)**
184
+ - Background: transparent or white
185
+ - Icon: 10–20px centered
186
+ - Border: 1px solid Ink Black (when on cream) or none (when over media)
187
+ - Radius: 50%
188
+ - Size: 40px diameter minimum for carousel controls; 80px for hero video play
189
+ - Use for: carousel pagination/play-pause, hero video play, search toggle
190
+
191
+ ### Cards & Containers
192
+
193
+ **Hero Media Frame (Stadium)**
194
+ - Background: Dark video or full-bleed imagery (typically black `#000000` or `#2B2B2B` behind video)
195
+ - Radius: 40px all corners (creates a stadium shape on wide viewports)
196
+ - Width: ~full viewport minus ~48px gutter on each side
197
+ - Height: ~60–70% of viewport
198
+ - Shadow: none (sits directly on canvas)
199
+ - Corners: the extreme 40px radius on a media element is the most iconic Mastercard gesture — do not round less
200
+
201
+ **Service / Solution Portrait Card**
202
+ - Shape: Perfect circle (radius 50%) or ellipse (radius 999px / 1000px)
203
+ - Diameter: 260–340px desktop; ~220px mobile
204
+ - Image crop: square source, cropped to circle
205
+ - Attached element: White satellite circular CTA (see above) docked bottom-right, ~40% outside the portrait
206
+ - Eyebrow below: accent dot + uppercase label (e.g., "• SERVICES", "• SOLUTIONS")
207
+ - Title below: H3 (24px / weight 500 / -2% tracking), 1–2 lines max
208
+ - Decorative orbit: thin ~1px Light Signal Orange curved line spanning from this card outward to the next, implying connection
209
+
210
+ **Pill Carousel Card**
211
+ - Radius: 1000px (full pill) or 40px corners (rounded stadium)
212
+ - Width: ~40–60% of viewport
213
+ - Height: ~380–420px (portrait-pill orientation)
214
+ - Content: full-bleed photography with small overlaid chip labels
215
+ - Chip inside: White pill (~ 999px radius), Ink Black text, padding 8px 20px, used for category tags like "Story"
216
+ - Large inline CTA inside: Ink Pill button, oversized (padding 16px 40px, radius 40px)
217
+
218
+ **Ghost Watermark Text Block**
219
+ - Font: MarkForMC 72–128px / weight 500 / tight -2% tracking
220
+ - Color: Canvas Cream slightly darkened (`#E8E2DA` or similar — cream-on-cream)
221
+ - Position: layered behind portrait circles, bleeding off the viewport edge
222
+ - Purpose: sets section theme without competing with foreground copy
223
+
224
+ ### Inputs & Forms
225
+ Minimal form surface on the marketing page. The search input in the nav header is:
226
+ - Initial state: a 48px circular button with a magnifier icon
227
+ - Expanded state: horizontal input field, border `1px solid` Ink Black at ~50% opacity, radius 999px, padding 12px 24px, white background
228
+
229
+ **Country/language selector (footer)**
230
+ - Background: Ink Black (same as footer)
231
+ - Text: White
232
+ - Border: 1px solid `rgba(255,255,255,0.4)`
233
+ - Radius: 999px (full pill)
234
+ - Icon: downward chevron on the right
235
+
236
+ ### Navigation
237
+
238
+ **Floating Nav Pill (desktop)**
239
+ - Container: white-to-translucent-white pill floating below the very top of the viewport with a ~24px top margin
240
+ - Radius: 999px / 1000px (full pill)
241
+ - Padding: ~16px 40px internal
242
+ - Shadow: very soft (`rgba(0, 0, 0, 0.04) 0px 4px 24px 0px`) — just enough to lift it off the cream canvas
243
+ - Content: Mastercard logo left, primary link group center ("For you", "For business", "For the world", "For innovators", "News and trends"), search icon right
244
+ - Link spacing: ~48–56px gap between primary links
245
+ - Link style: Ink Black, weight 500, 16px, no underline, no pill surround until active
246
+
247
+ **Mobile Nav**
248
+ - The same pill shape but collapsed to: logo + hamburger menu button + search icon only
249
+ - Menu opens into a full-screen overlay with the primary links stacked vertically
250
+
251
+ ### Image Treatment
252
+
253
+ - **Aspect ratios used**: 1:1 (all service portraits — cropped to circle), ~3:4 or ~4:5 (carousel pill cards), 16:9 or wider (hero video frame)
254
+ - **Full-bleed vs padded**: Hero is viewport-wide with gutters; service portraits are always centered in their column with generous whitespace around; footer imagery is rare
255
+ - **Masking**: Aggressive circular masking is the defining treatment — square source images are cropped to perfect circles of matching diameter. Never use rectangular service imagery.
256
+ - **Lazy loading**: Standard `loading="lazy"` with a soft blur-up transition from a cream-tinted placeholder, preserving the warm palette during load
257
+
258
+ ### Decorative Orbital Lines
259
+
260
+ A signature motif: thin (~1–1.5px) single-weight curved lines in Light Signal Orange (`#F37338`) tracing arcs between circular portraits. These lines:
261
+ - Imply connection between service cards without literal arrows
262
+ - Span widths from ~200px up to full-viewport arcs
263
+ - Feel hand-drawn (subtle irregularity) rather than perfect CSS curves
264
+ - Appear only in sections with circular portrait content — never on pill sections, never in the footer
265
+
266
+ ### Footer
267
+
268
+ - Background: Ink Black (`#141413`)
269
+ - Text: White
270
+ - Padding: 48px horizontal 100px / bottom 148px (very tall bottom space)
271
+ - Structure: large conversational H2 ("We're always here when you need us") left-aligned, then a 4-column link grid below
272
+ - Column headers: uppercase, muted, weight 700, letter-spacing +4%
273
+ - Link rows: white, weight 450, 14px; entries prefixed with a small icon (support bubble, card, map pin, question mark) for the "NEED HELP?" column
274
+ - External link marker: a small upper-right arrow (`↗`) after link text
275
+ - Bottom row (below a 1px white-at-opacity divider): copyright + privacy small-print + country-language pill dropdown + four social icons (LinkedIn, Facebook, X, YouTube)
276
+
277
+ ## 5. Layout Principles
278
+
279
+ ### Spacing System
280
+ - **Base unit**: 8px (confirmed by dembrandt extraction and computed styles)
281
+ - **Scale**: 8 / 16 / 24 / 32 / 48 / 64 / 96 / 128 (powers of 8)
282
+ - **Section vertical padding**: ~96–128px between major sections on desktop; ~48–64px on mobile
283
+ - **Card internal padding**: 32–40px on desktop, ~24px on mobile
284
+ - **Nav top margin**: ~24px from viewport top (the pill floats, doesn't touch)
285
+
286
+ ### Grid & Container
287
+ - **Max content width**: ~1200–1280px centered, with ~48–100px horizontal gutter
288
+ - **Column pattern**: 12-column implied, but practical layouts use 2-up asymmetric (large headline left, supporting text right), 1-up full-bleed (hero, video), or staggered single-portrait placement (service cards sit in varying grid positions creating the "constellation" feel)
289
+ - **Footer grid**: 4 equal columns on desktop, collapses to single column accordion on mobile
290
+
291
+ ### Whitespace Philosophy
292
+ Mastercard treats whitespace as structure, not absence. A typical service section has:
293
+ - A ghost headline occupying the top ~40% of the section (mostly empty cream)
294
+ - A single circular portrait positioned ~60% down, asymmetric to left or right
295
+ - ~300–500px of blank canvas between the portrait and the next section
296
+ This deliberate emptiness tells the eye "slow down, read one thing at a time" — the opposite of dense dashboard UIs.
297
+
298
+ ### Border Radius Scale
299
+
300
+ | Radius | Use |
301
+ |--------|-----|
302
+ | 3–6px | Tiny decorative elements, cookie banner micro-chips |
303
+ | 20px | Primary and secondary body CTAs (the signature button radius) |
304
+ | 24px | Consent/orange pill buttons, modal inner chips |
305
+ | 40px | Hero media frames, large section container corners, H2 pill labels |
306
+ | 50% | Circular portraits, icon-only buttons, satellite CTAs |
307
+ | 99px / 999px / 1000px | Full pill shapes — navigation, carousel cards, footer country selector, primary inline chips |
308
+
309
+ The scale is unusual: most systems use 4/8/12/16. Mastercard skips those and commits to **either small (≤6), medium-large (20–40), or full-pill (99+)**. The middle ground of 8–12 is absent, which is why the UI feels either "precise and utility" or "soft and editorial" with no in-between.
310
+
311
+ ## 6. Depth & Elevation
312
+
313
+ | Level | Treatment | Use |
314
+ |-------|-----------|-----|
315
+ | 0 | No shadow | The default — 95% of surfaces sit directly on cream canvas |
316
+ | 1 | `rgba(0, 0, 0, 0.04) 0px 4px 24px 0px` | Floating nav pill — barely-there lift |
317
+ | 2 | `rgba(0, 0, 0, 0.08) 0px 24px 48px 0px` | Hero media frames, elevated cards — a soft large-radius halo rather than a hard drop |
318
+ | 3 | `rgba(0, 0, 0, 0.25) 0px 70px 110px 0px` | Rare; dramatic elevation on a feature tile |
319
+
320
+ ### Shadow Philosophy
321
+ Mastercard uses shadows as **atmospheric cushioning**, not directional light. The Level 2 shadow has a 48px spread and only 8% opacity — it barely exists as dark pixels but creates a "the card is breathing above the canvas" feel. There are almost no hard-edged, tight shadows anywhere in the system. Border lines are preferred over shadows for functional delineation (form inputs, footer divider).
322
+
323
+ ### Decorative Depth
324
+ - **Orbital arcs** (Light Signal Orange, ~1px): trace connective paths across sections
325
+ - **Ghost watermark headlines**: cream-on-cream text gives sections an almost-pressed-paper quality
326
+ - **Circle-image fade**: warm-toned photography at the edge of circular portraits dissolves into the canvas, implying soft atmospheric depth
327
+
328
+ ## 7. Do's and Don'ts
329
+
330
+ ### Do
331
+ - Use Canvas Cream (`#F3F0EE`) as the default body background — never pure white
332
+ - Mask service/feature imagery as perfect circles, not rectangles or rounded rectangles
333
+ - Attach a white satellite CTA to the bottom-right of each circular portrait
334
+ - Set headlines in MarkForMC weight 500 with -2% letter-spacing
335
+ - Use weight 450 (not 400) for body paragraphs
336
+ - Keep primary CTAs as Ink Black pills (20px radius) with cream text
337
+ - Use Signal Orange only on consent, legal, or compliance actions
338
+ - Float the nav as a rounded white pill below the viewport top, not flush at y=0
339
+ - Build page rhythm from three surface tones: canvas cream → lifted cream → ink footer
340
+ - Use thin Light Signal Orange arcs between service cards to imply connection
341
+
342
+ ### Don't
343
+ - Don't use pure white as a page background — it breaks the warm editorial tone
344
+ - Don't round image frames at 8–16px — Mastercard either uses full-pill, 40px, or full-circle. In-between radii look generic
345
+ - Don't use Signal Orange for marketing CTAs — it reads as cookie-consent orange and dilutes the legal color signal
346
+ - Don't mix typefaces — no serif accent, no script, no secondary display font
347
+ - Don't crowd the nav with more than six top-level links — the pill is meant to feel airy
348
+ - Don't drop hard shadows — all elevation should use 48px+ spread and ≤10% opacity
349
+ - Don't use uppercase for anything larger than the 14px eyebrow label
350
+ - Don't omit the tiny accent dot before eyebrow labels — it's the identity
351
+ - Don't place circular portraits on a grid — their magic comes from asymmetric placement
352
+
353
+ ## 8. Responsive Behavior
354
+
355
+ ### Breakpoints
356
+
357
+ | Name | Width | Key Changes |
358
+ |------|-------|-------------|
359
+ | Mobile | ≤ 767px | Nav pill shows logo + menu + search only; primary links hide behind hamburger; service portraits stack single-column centered; hero headline drops from 64px to ~40px; footer columns collapse into a vertical accordion |
360
+ | Tablet | 768–1023px | Nav pill shows 2–3 primary links truncated; service portraits arrange 2-up; hero headline ~48px |
361
+ | Desktop | ≥ 1024px | Full nav with 5 primary links centered; service portraits asymmetrically placed with decorative orbital lines; hero headline 64px |
362
+ | Wide | ≥ 1440px | Content max-width caps at ~1280px; gutters grow symmetrically; orbital lines extend further |
363
+
364
+ ### Touch Targets
365
+ All interactive elements comfortably exceed 44×44px. The satellite CTA (circle + arrow) is ~50–60px. The nav pill buttons are ~48px tall. Mobile hamburger and search are 48×48px. No link or button drops below 40px in any breakpoint.
366
+
367
+ ### Collapsing Strategy
368
+ - **Nav**: full pill → compact pill with hamburger. Pill shape is preserved across breakpoints — always rounded, always floating.
369
+ - **Service grid**: asymmetric constellation → 2-up → 1-up stack. Orbital arcs are removed on mobile (they only work with asymmetric placement).
370
+ - **Spacing**: section vertical padding compresses from 128px to 48px on mobile.
371
+ - **Content**: two-column hero (headline left / supporting text right) becomes stacked (headline on top, supporting text below).
372
+ - **Footer**: 4 columns → 1 column accordion with chevron toggles per section.
373
+
374
+ ### Image Behavior
375
+ Circular portraits scale proportionally (maintaining the perfect circle at every size). Hero video frames maintain their 40px radius at every breakpoint, but the frame itself shrinks with the viewport. Lazy loading is standard with a cream-tinted blur-up placeholder, preserving the palette during load.
376
+
377
+ ## 9. Agent Prompt Guide
378
+
379
+ ### Quick Color Reference
380
+ - Primary CTA: "Ink Black (`#141413`) — the warm near-black used for primary pill buttons and footer"
381
+ - Background: "Canvas Cream (`#F3F0EE`) — warm putty body canvas, never pure white"
382
+ - Lifted surface: "Lifted Cream (`#FCFBFA`) — one step lighter than canvas for nested sections"
383
+ - Heading text: "Ink Black (`#141413`)"
384
+ - Body text: "Ink Black (`#141413`) at weight 450"
385
+ - Muted text: "Slate Gray (`#696969`)"
386
+ - Signal / Consent: "Signal Orange (`#CF4500`) — reserve for cookie consent and legal actions"
387
+ - Accent arc: "Light Signal Orange (`#F37338`) — orbital decorative lines only"
388
+ - Border / Outline: "Ink Black at 1.5px for pill buttons; 1px at low opacity elsewhere"
389
+ - Footer: "Ink Black (`#141413`) with White text"
390
+
391
+ ### Example Component Prompts
392
+ - "Create a circular portrait card 300px in diameter, with a square photograph cropped to a perfect circle. Attach a 56px white satellite button with a dark arrow icon at the bottom-right, so it protrudes ~40% outside the portrait. Below the portrait, add an eyebrow label with a Light Signal Orange dot and uppercase 'SERVICES' text in MarkForMC weight 700 at 14px. Below the eyebrow, set a 24px / weight 500 title in Ink Black."
393
+ - "Design a primary CTA button: Ink Black (`#141413`) background, Canvas Cream (`#F3F0EE`) text, 20px border-radius, 6px vertical and 24px horizontal padding, MarkForMC font at 16px weight 500 with -2% letter-spacing."
394
+ - "Build a floating navigation pill: white background with `rgba(0, 0, 0, 0.04) 0px 4px 24px 0px` shadow, 999px border-radius, ~16px vertical and 40px horizontal internal padding. Position it 24px below the viewport top, centered, with the Mastercard logo at the left, five primary links centered with 48px gap, and a circular 48px search button at the right."
395
+ - "Create a hero media frame: 40px border-radius on all corners, full viewport width minus 48px gutters, ~60% viewport height, dark background for video content. Place it directly on the cream canvas with no shadow."
396
+ - "Design a footer: Ink Black (`#141413`) background, white text, 4-column link grid with uppercase muted column headers at 14px weight 700 +4% tracking. Include a large conversational H2 above the grid, a 1px white-at-30%-opacity horizontal divider below, and a bottom row with copyright, legal small-print links, a pill-shaped country selector, and four social icons."
397
+
398
+ ### Iteration Guide
399
+ When refining existing screens generated with this design system:
400
+ 1. Focus on ONE component at a time — don't redesign multiple surfaces in parallel
401
+ 2. Reference specific color names AND hex codes from this document
402
+ 3. Use natural language ("warm putty cream", "stadium pill", "circular portrait with satellite CTA") alongside technical values
403
+ 4. Describe the desired "feel" (editorial, soft, institutional) alongside specific measurements
404
+ 5. When in doubt, reach for one of three radii: 20px (buttons), 40px (hero/stadium), or 999px (pill/nav)
405
+ 6. Default backgrounds to Canvas Cream (`#F3F0EE`), not white — this single change shifts the entire mood toward Mastercard
406
+
407
+ ### Known Gaps
408
+ - The live page uses MarkForMC, a proprietary licensed typeface. Sofia Sans is the closest open-source substitute and is listed in Mastercard's own fallback stack.
409
+ - Tablet breakpoint specifics (768–1023px) were inferred from desktop and mobile captures; intermediate layouts may vary per section.
410
+ - The exact "whisper" cream tone used for ghost-watermark headlines behind circular portraits reads between `#E8E2DA` and `#D1CDC7` in captures; the precise value varies per section.
411
+ - Third-party consent orange (`#CF4500`) is Mastercard's documented consent signal and should not be confused with any marketing CTA color.
412
+ - The Mastercard logo mark (red `#EB001B` + yellow `#F79E1B`) is a brand asset, not a UI palette entry.