getComputedStyle() from the live screenshots visible here.
Color Palette
51 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 (+242)
Typography
All values extracted via getComputedStyle() — no estimation.
| Role | Font Family | Size / Weight | Line Height | Letter Spacing | Preview |
|---|---|---|---|---|---|
| Display Hero | sohne-var | 56px / w300 | 1.03 | -1.4px | Display Hero |
| Section Heading | sohne-var | 40px / w300 | 1.15 | -0.8px | Section Heading |
| Sub-heading | sohne-var | 26px / w300 | 1.12 | -0.26px | Sub-heading |
| Label Heading | sohne-var | 16px / w400 | 1.4 | normal | Label Heading |
| Button | sohne-var | 14px / w400 | 1 | normal | Button |
| Tiny / Micro | sohne-var | 10px / w300 | 1.5 | 0.1px | Tiny / Micro |
| Tiny / Micro | sohne-var | 10px / w400 | 1.15 | 0.1px | Tiny / Micro |
Live Components
Rendered in real HTML using your extracted tokens — no screenshots.
Buttons
Form Inputs
Card
Badges & Labels
Spacing Scale
Border Radius
0px
4px
8px
16px
28px
36px
9999px
Component Specs
Extracted CSS values per component and variant state.
### Buttons
- Background: `transparent`
- Text: `#061b31`
- Padding: 12px 0px
- Radius: 4px
- Font: 14px weight 400
- Use: Subtle action, toolbar, nav button
- Focus: outline: `rgb(83, 58, 253) solid 2px`
- Background: `transparent`
- Text: `#533afd` `{colors.primary-focus}`
- Padding: 11.5px 20px 12.5px
- Radius: 4px
- Border: 1px solid rgb(255, 255, 255)
- Font: 14px weight 400
- Use: Secondary action with border
- Focus: outline: `rgb(83, 58, 253) solid 2px`
- Background: `#533afd` `{colors.primary-focus}`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 15.5px 20px 16.5px
- Radius: 4px
- Font: 14px weight 400
- Use: Primary CTA / brand action
- Focus: outline: `rgb(83, 58, 253) solid 2px`
- Background: `#533afd` `{colors.primary-focus}`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 15.5px 24px 16.5px
- Radius: 4px
- Font: 16px weight 400
- Use: Primary CTA / brand action
- Focus: outline: `rgb(83, 58, 253) solid 2px`
- Background: `rgba(255, 255, 255, 0.65)` `{colors.on-primary}`
- Text: `#533afd` `{colors.primary-focus}`
- Padding: 14.5px 24px 15.5px
- Radius: 4px
- Border: 1px solid rgb(185, 185, 249)
- Font: 16px weight 400
- Use: Quiet action against page bg
- Focus: outline: `rgb(83, 58, 253) solid 2px`
- Background: `#ffffff` `{colors.on-primary}`
- Text: `#533afd` `{colors.primary-focus}`
- Padding: 15.5px 24px 16.5px
- Radius: 4px
- Font: 16px weight 400
- Use: Bright CTA on dark sections
- Focus: outline: `rgb(83, 58, 253) solid 2px`
Pricing Cards
- Background: `transparent`
- Text: `#000000`
- Padding: 0px 0px 4px
- Radius: 0px
- Font: 16px weight 400
- Use: Subscription tier card
CTA Banners
- Background: `transparent`
- Text: `#533afd` `{colors.primary-focus}`
- Padding: 11.5px 20px 12.5px
- Radius: 4px
- Font: 14px weight 400
- Use: Full-width conversion strip with headline + button
- Focus: outline: `rgb(83, 58, 253) solid 2px`
Testimonials
- Background: `transparent`
- Text: `#533afd` `{colors.primary-focus}`
- Padding: 0px
- Radius: 4px
- Border: 1px solid rgb(214, 217, 252)
- Font: 16px weight 400
- Use: Customer quote with avatar + company attribution
Status Badges
- Background: `#ffffff` `{colors.on-primary}`
- Text: `#000000`
- Padding: 0px 6px
- Radius: 4px
- Font: 11px weight 400
- Use: Status indicator, label, pill
Code Blocks
- Background: `transparent`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 16px
- Radius: 0px
- Font: 12px weight 500 — monospace
- Use: Code samples, CLI commands, syntax highlighting blocks
Interaction State Narrative
- **Button**:
- - **disabled:** bg transparent → transparent, text #061b31 → rgba(16, 16, 16, 0.3), border changes
- **Link**:
- - **hover:** text #533afd → #2e2b8c, border changes, opacity 0.993949
- **NavLink**:
- - **hover:** text #533afd → #2e2b8c, border changes
Buttons
- **DO NOT introduce new buttons variants** without justification
Pricing Cards
- **DO NOT introduce new pricing cards variants** without justification
CTA Banners
- **DO NOT introduce new cta banners variants** without justification
Testimonials
- **DO NOT introduce new testimonials variants** without justification
Status Badges
- **DO NOT introduce new status badges variants** without justification
Code Blocks
- **DO NOT introduce new code blocks 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.1) 0px 30px 60px -50px, rgba(50, 50, 93, 0.25) 0px 30px 60px -10…
rgba(23, 23, 23, 0.08) 0px 15px 35px 0px
rgba(23, 23, 23, 0.06) 0px 3px 6px 0px
rgba(50, 50, 93, 0.12) 0px 16px 32px 0px
rgba(0, 0, 0, 0.1) 0px 20.187px 40.374px -20.187px
Motion & Transitions
5 motion tokens — easing curves and durations.
| transition-1 | opacity 0.24s cubic-bezier(0.45, 0.05, 0.55, 0.95) |
| transition-2 | fill 0.24s cubic-bezier(0.45, 0.05, 0.55, 0.95) |
| transition-3 | opacity cubic-bezier(0.4, 0, 0.2, 1), transform cubic-bezier(0.4, 0, 0… |
| transition-4 | color 0.24s cubic-bezier(0.45, 0.05, 0.55, 0.95), background-color 0.2… |
| transition-5 | transform 0.25s cubic-bezier(0.6, 0, 0.2, 0.5) |
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(6, 27, 49) |
focus
button
bg transparent
fg inherit |
disabled
button
bg rgba(255, 255, 255, 0)
fg rgba(16, 16, 16, 0.3) |
| link |
default
link
bg rgba(0, 0, 0, 0)
fg rgb(83, 58, 253) |
hover
link
bg transparent
fg rgb(46, 43, 140) | |
| card |
default
card
bg rgba(0, 0, 0, 0)
fg rgb(0, 0, 0) | ||
| navLink |
default
navLink
bg rgba(0, 0, 0, 0)
fg rgb(83, 58, 253) |
hover
navLink
bg transparent
fg rgb(46, 43, 140) | |
| footerLink |
default
footerLink
bg rgba(0, 0, 0, 0)
fg rgb(80, 97, 122) |
Z-Index Stacking Context
100 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 stripe.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: stripe.com
description: "Light product system built on #ffffff with #533afd as the primary CTA accent. Type anchored in sohne-var at 40px / weight 300. Extracted automatically from https://stripe.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
narrative: |
stripe.com is built on a pure-white canvas (rgb(255, 255, 255)).
The system uses rgb(83, 58, 253) as the high-saturation accent for primary actions.
Crisp CTAs (4px radius) reinforce a precise, technical aesthetic alongside sohne-var as the primary typeface.
A layered elevation system (13 distinct shadows) building a clear front-to-back hierarchy.
Interactions are smoothed by transitions across many elements, with little or no keyframe animation.
colors:
background: "#ffffff"
surface-1: "rgba(255, 255, 255, 0.65)"
surface-2: "#e5edf5"
ink-muted: "#26251e"
ink-subtle: "rgba(38, 37, 30, 0.62)"
primary: "#533afd"
on-primary: "#ffffff"
primary-hover: "#2e2b8c"
hairline: "#8f98a9"
primary-focus: "#533afd"
semantic-error: "#d8351e"
semantic-success: "#00b261"
typography:
display-xl:
fontFamily: "sohne-var, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
fontSize: 56px
fontWeight: 300
lineHeight: 1.03
letterSpacing: -1.4px
display-lg:
fontFamily: "sohne-var, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
fontSize: 40px
fontWeight: 300
lineHeight: 1.15
letterSpacing: -0.8px
display-md:
fontFamily: "sohne-var, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
fontSize: 26px
fontWeight: 300
lineHeight: 1.12
letterSpacing: -0.26px
headline:
fontFamily: "sohne-var, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
fontSize: 16px
fontWeight: 400
lineHeight: 1.4
letterSpacing: 0
body:
fontFamily: "sohne-var, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
fontSize: 10px
fontWeight: 300
lineHeight: 1.5
letterSpacing: 0.1px
caption-sm:
fontFamily: "sohne-var, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
fontSize: 10px
fontWeight: 300
lineHeight: 1.5
letterSpacing: 0.1px
button:
fontFamily: "sohne-var, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
fontSize: 14px
fontWeight: 400
lineHeight: 1
letterSpacing: 0
rounded:
none: 0px
xs: 4px
sm: 8px
md: 16px
lg: 28px
xl: 36px
pill: 9999px
spacing:
xxs: 2px
xs: 4px
sm: 8px
md: 12px
lg: 24px
xl: 32px
xxl: 64px
components:
button-ghost:
backgroundColor: "transparent"
textColor: "#061b31"
typography: "{typography.button}"
rounded: "{rounded.xs}"
padding: 12px 0px
button-outline:
backgroundColor: "transparent"
textColor: "{colors.primary-focus}"
typography: "{typography.button}"
rounded: "{rounded.xs}"
padding: 11.5px 20px 12.5px
button-primary-brand:
backgroundColor: "{colors.primary-focus}"
textColor: "{colors.on-primary}"
typography: "{typography.button}"
rounded: "{rounded.xs}"
padding: 15.5px 20px 16.5px
pricing-card-default-tier:
backgroundColor: "transparent"
textColor: "#000000"
typography: "{typography.headline}"
rounded: "{rounded.none}"
padding: 0px 0px 4px
cta-banner-full-width-cta:
backgroundColor: "transparent"
textColor: "{colors.primary-focus}"
typography: "{typography.button}"
rounded: "{rounded.xs}"
padding: 11.5px 20px 12.5px
testimonial-quote-card:
backgroundColor: "transparent"
textColor: "{colors.primary-focus}"
typography: "{typography.headline}"
rounded: "{rounded.xs}"
status-badge-neutral-light:
backgroundColor: "{colors.on-primary}"
textColor: "#000000"
typography: "{typography.caption-sm}"
rounded: "{rounded.xs}"
padding: 0px 6px
code-block-inline-code--pre:
backgroundColor: "transparent"
textColor: "{colors.on-primary}"
typography: "{typography.button}"
rounded: "{rounded.none}"
padding: 16px
extracted_at: "2026-06-17T22:17:09.826Z"
completeness: 93
scoreVersion: "v2"
---
# Design System — stripe.com
> Extracted automatically by Prism from https://stripe.com
> Date: 2026-06-17
> Viewport: Desktop 1440x900 + Mobile 390x844
> Values are extracted, not hand-written: rendered styles via getComputedStyle() + colors declared in CSS custom properties (token-only values are marked `(token)` and may not be painted).
## 0. Design DNA
**Density**: moderate | **Motion**: animated | **Weight**: medium | **Aesthetic**: product-neutral
| Dimension | Value | Signal |
|---|---|---|
| Canvas | neutral | `#ffffff` |
| Type posture | sans-led (sohne-var) | "Une infrastructure financière " |
| Color assertion | dual-accent | #533afd |
| Whitespace | moderate | section rhythm 48px |
| Interaction | animated | 0 keyframes, 23 transitions |
| Radius language | 4px-rounded | from token scale |
**Prism fingerprint**: `neutral-canvas · sans-display · dual-accent · 4px-rounded · animated-motion`
> **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
>
> - **Canvas**: `rgb(255, 255, 255)` is the page background. Every component composits against this.
> - **Accent**: `rgb(83, 58, 253)` 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**: 8px 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
**Signature:** a multi-stop brand gradient (a hero mesh/ribbon — usually an SVG or image, not a CSS background) — colours: #f96bee, #b51145, #f98bf9, #fd6252, #ffd552. This is the brand's most recognizable visual — reproduce it, don't replace it with a generic card or flat panel.
stripe.com uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight.
Typography is anchored in **sohne-var**, deployed with OpenType features enabled globally (`"ss01"`). These aren't decorative — they're load-bearing: without them, the typeface reverts to its generic state and the design loses its specific texture. Headlines run at a remarkably light weight (300) — restraint over assertion, creating an editorial calm that invites reading rather than demanding it. Negative letter-spacing at display sizes (-0.8px at 40px) compresses headlines into engineered blocks, dense and precise.
Body text reads in Pure Black (`#000000`) (contrast ratio 21.0:1, well above WCAG AA). **Deep Purple** (`#533afd`) is the single high-saturation color in the system — it earns its presence only on interactive elements, making CTAs and links the unmistakable focal points against the otherwise neutral palette. Elevation is built from multi-layer shadow stacks (13 distinct) — each combines several blurred layers at varying offsets to build a clear front-to-back hierarchy.
Motion design uses smooth easing curves for polished state transitions.
**Key Characteristics:**
- Background: Pure White (`#ffffff`)
- Primary typeface: sohne-var
- Accent: Deep Purple (`#533afd`)
- Display: 40px weight 300, letter-spacing -0.8px
- Shadow system: 13 distinct elevation levels
- Custom fonts loaded: sohne-var, SourceCodePro
## 2. Color Palette & Roles
### Background & Surface
- **Action** (`#ffffff`): Page background (primary)
- **Surface** (`#e5edf5`): Surface / elevated background
- **Surface** (`#f8fafd`): Surface / elevated background
- **Off-White** (`#f5f5ff`): Surface / elevated background
- **Soft Pink** (`#ffe0d1`): Surface / elevated background
### Text & Content
- **Pure Black** (`#000000`): Primary body text
- **Deep Navy** (`#031323`): Secondary text
- **Text** (`#061b31`): Secondary text
- **Translucent #000eff (50%)** (`rgba(0, 14, 255, 0.5)`): Secondary text
- **#2d2564** (`#2d2564`): Secondary text
### Accent & Interactive
- **Accent Gradient Color Stop 1** (`#bdb4ff`): Accent / interactive (CSS var)
- **Accent Gradient Color Stop 2** (`#643afd`): Accent / interactive (CSS var)
- **Accent Gradient Color Stop 3** (`#533afd`): Accent / interactive (CSS var)
- **Text** (`#64748d`): Interactive / accent
- **#81b81a** (`#81b81a`): Interactive / accent
- **Action** (`#b9b9f9`): Interactive / accent
- **Ring Blue** (`#4285f4`): Interactive / accent
### Border & Divider
- **Light Grey** (`#d6d5d2`): Borders / dividers
- **Action** (`#d4dee9`): Borders / dividers
- **Light Grey** (`#d4d4d4`): Borders / dividers
- **Accent** (`#e2e4ff`): Borders / dividers
- **Light Gray** (`#d8dee4`): Borders / dividers
- **Light Gray** (`#e3ecf7`): Borders / dividers
### Full Extracted Palette
**184 colors rendered on the page** + **61** more declared in design tokens (CSS custom properties — not necessarily painted). (23 categorized above + 222 additional below.)
Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
- `#ff3f52` — Warm Rose
- `#171d27` — Near Black
- `#ff6201` — Bright Orange
- `#ffd700` — Gold
- `#ffaf00` — Amber
- `#ff8205` — #ff8205
- `#fa500f` — Bright Orange
- `#e10500` — Red
- `#8f98a9` — Cool Gray
- `#1a171b` — Near-Black
- `#fa5022` — Bright Orange
- `#0052ff` — #0052ff
- `#aacccc` — Light Blue
- `#181818` — Near-Black
- `#0e0e0e` — Near-Black
- `#010202` — Pure Black
- `#72716d` — Slate Grey
- `#55544f` — Charcoal
- `#43413c` — Charcoal
- `#26251e` — Near-Black
- `#1a2c44` — Navy Blue
- `#273951` — Dark Gray
- `#50617a` — Text
- `#ff6118` — Bright Orange
- `#667691` — Slate Gray
- `#00d66f` — #00d66f
- `#f6f9fc` — Off-White
- `#047ab1` — #047ab1
- `#d42d06` — M Tricolor Red
- `#67b637` — #67b637
- `#3c4f69` — Slate
- `#ffa8cd` — Pink
- *…+190 more in `raw-css.json` (`desktop.allColors`).*
### CSS Custom Properties (Design Tokens)
**Primary Brand Color**
- `--hds-color-accent-border-solid`: `#533afd`
- `--hds-color-accentColorMode-ruby-icon-solid`: `#ea2261`
- `--hds-color-accentColorMode-magenta-surface-subduedAlt`: `#ffe6f5`
- `--hds-color-accentColorMode-lemon-surface-subdued`: `#fff2d8`
**Shadow Token**
- `--hds-shadow-sm-top-offset-y`: `5px`
- `--hds-shadow-sm-bottom-offset-y`: `2px`
- `--hds-color-shadow-sm-top`: `#00377014`
- `--hds-shadow-xs-top-blur`: `10px`
**Spacing Token**
- `--hds-space-core-1900`: `152px`
- `--hds-space-core-300`: `24px`
- `--hds-space-core-250`: `20px`
- `--hds-space-core-2000`: `160px`
**Font Family Token**
- `--hds-font-family`: `"sohne-var","SF Pro Display",sans-serif`
- `--hds-font-family-code`: `"SourceCodePro","SFMono-Regular",monospace`
**Motion Token**
- `--navigation-duration-slow`: `300ms`
- `--navigation-duration`: `240ms`
- `--navigation-easing`: `cubic-bezier(0.45,0.05,0.55,0.95)`
**Background**
- `--hds-color-surface-border-quietAdaptive`: `#a8c3de4d`
- `--hds-color-surface-border-quiet`: `#e5edf5`
- `--hds-color-surface-bg-subduedAdaptive`: `#1658bc08`
- `--hds-color-surface-bg-subdued`: `#f8fafd`
**Text Color**
- `--hds-color-text-quiet`: `#7d8ba4`
- `--hds-color-text-soft`: `#50617a`
- `--hds-color-text-solid`: `#061b31`
- `--hds-color-text-subdued`: `#64748d`
**Font Weight Token**
- `--hds-font-weight-bold`: `400`
- `--hds-font-weight-normal`: `300`
**Border**
- `--hds-canary-color-border-focus`: `#635bff`
**Border Radius Token**
- `--navigation-border-radius`: `6px`
**Other tokens**
- `--hds-color-core-neutral-975`: `#0d253d`
- `--hds-font-input-text-md-lineHeight`: `1.3`
- `--hds-color-util-brand-900`: `#1c1e54`
- `--hds-color-action-bg-subduedHover`: `#b9b9f9`
- `--hds-color-input-text-label`: `#273951`
- `--hds-color-input-text-selected`: `#273951`
- `--hds-color-input-text-popover`: `#273951`
- `--hds-color-button-ui-iconHover`: `#2e2b8c`
## 3. Typography Rules
### Font Families
- **Primary**: `sohne-var`
- **Secondary**: `SourceCodePro`
### Custom Fonts Loaded
- **sohne-var** weight 1 1000
- **SourceCodePro** weight 500
### Typography Hierarchy
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|------|------|------|--------|-------------|----------------|-------|
| Display Hero | sohne-var | 56px | 300 | 1.03 | -1.4px | Main headline (h2) |
| Section Heading | sohne-var | 40px | 300 | 1.15 | -0.8px | Section titles (h1) |
| Sub-heading | sohne-var | 26px | 300 | 1.12 | -0.26px | Third-level heading (h3) |
| Label Heading | sohne-var | 16px | 400 | 1.4 | normal | Small heading (H4) |
| Button | sohne-var | 14px | 400 | 1 | normal | Button label (14px) |
| Tiny / Micro | sohne-var | 10px | 300 | 1.5 | 0.1px | small text (10px) |
| Tiny / Micro | sohne-var | 10px | 400 | 1.15 | 0.1px | small text (10px) |
### Font Weight Scale
CSS custom properties define 2 explicit weight steps:
- `--hds-font-weight-normal`: `300` — Light
- `--hds-font-weight-bold`: `400` — Regular
### Full Font Size Scale
Sizes detected in the design (descending): `56px`, `48px`, `40px`, `34px`, `32px`, `26px`, `24px`, `22px`, `18px`, `16px`, `15px`, `14px`, `13px`, `12px`, `11px`, `10.50px`, `10px`, `9px`, `8px`
> 13 size(s) detected outside the sampled hierarchy (48px, 34px, 32px, 24px, 22px, 18px, 15px, 13px, 12px, 11px, 10.5px, 9px, 8px). 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:
- **tabular figures** (`tnum`) — numbers align vertically, essential for pricing tables and dashboards
- **stylistic sets** (`ss0X`) — alternate letterforms enabled (often for brand-specific glyph variants)
**Clone instruction:** Enable these in your CSS:
```css
body {
font-feature-settings: "ss01", "tnum";
}
```
## 4. Component Stylings
### Buttons
**Ghost**
- Background: `transparent`
- Text: `#061b31`
- Padding: 12px 0px
- Radius: 4px
- Font: 14px weight 400
- Use: Subtle action, toolbar, nav button
- Focus: outline: `rgb(83, 58, 253) solid 2px`
**Outline**
- Background: `transparent`
- Text: `#533afd` `{colors.primary-focus}`
- Padding: 11.5px 20px 12.5px
- Radius: 4px
- Border: 1px solid rgb(255, 255, 255)
- Font: 14px weight 400
- Use: Secondary action with border
- Focus: outline: `rgb(83, 58, 253) solid 2px`
**Primary Brand**
- Background: `#533afd` `{colors.primary-focus}`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 15.5px 20px 16.5px
- Radius: 4px
- Font: 14px weight 400
- Use: Primary CTA / brand action
- Focus: outline: `rgb(83, 58, 253) solid 2px`
**Primary Brand**
- Background: `#533afd` `{colors.primary-focus}`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 15.5px 24px 16.5px
- Radius: 4px
- Font: 16px weight 400
- Use: Primary CTA / brand action
- Focus: outline: `rgb(83, 58, 253) solid 2px`
**Subtle**
- Background: `rgba(255, 255, 255, 0.65)` `{colors.on-primary}`
- Text: `#533afd` `{colors.primary-focus}`
- Padding: 14.5px 24px 15.5px
- Radius: 4px
- Border: 1px solid rgb(185, 185, 249)
- Font: 16px weight 400
- Use: Quiet action against page bg
- Focus: outline: `rgb(83, 58, 253) solid 2px`
**Light / Invert**
- Background: `#ffffff` `{colors.on-primary}`
- Text: `#533afd` `{colors.primary-focus}`
- Padding: 15.5px 24px 16.5px
- Radius: 4px
- Font: 16px weight 400
- Use: Bright CTA on dark sections
- Focus: outline: `rgb(83, 58, 253) solid 2px`
### Pricing Cards
**Default Tier**
- Background: `transparent`
- Text: `#000000`
- Padding: 0px 0px 4px
- Radius: 0px
- Font: 16px weight 400
- Use: Subscription tier card
### CTA Banners
**Full-width CTA**
- Background: `transparent`
- Text: `#533afd` `{colors.primary-focus}`
- Padding: 11.5px 20px 12.5px
- Radius: 4px
- Font: 14px weight 400
- Use: Full-width conversion strip with headline + button
- Focus: outline: `rgb(83, 58, 253) solid 2px`
### Testimonials
**Quote Card**
- Background: `transparent`
- Text: `#533afd` `{colors.primary-focus}`
- Padding: 0px
- Radius: 4px
- Border: 1px solid rgb(214, 217, 252)
- Font: 16px weight 400
- Use: Customer quote with avatar + company attribution
### Status Badges
**Neutral Light**
- Background: `#ffffff` `{colors.on-primary}`
- Text: `#000000`
- Padding: 0px 6px
- Radius: 4px
- Font: 11px weight 400
- Use: Status indicator, label, pill
### Code Blocks
**Inline Code / Pre**
- Background: `transparent`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 16px
- Radius: 0px
- Font: 12px weight 500 — monospace
- Use: Code samples, CLI commands, syntax highlighting blocks
## 4b. Component Behaviors (State Matrix)
### Interaction State Narrative
- **Button**:
- **disabled:** bg transparent → transparent, text #061b31 → rgba(16, 16, 16, 0.3), border changes
- **Link**:
- **hover:** text #533afd → #2e2b8c, border changes, opacity 0.993949
- **NavLink**:
- **hover:** text #533afd → #2e2b8c, 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(6, 27, 49)"
focus:
bg: "transparent"
fg: "inherit"
disabled:
bg: "rgba(255, 255, 255, 0)"
fg: "rgba(16, 16, 16, 0.3)"
link:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(83, 58, 253)"
hover:
bg: "transparent"
fg: "rgb(46, 43, 140)"
card:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(0, 0, 0)"
navLink:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(83, 58, 253)"
hover:
bg: "transparent"
fg: "rgb(46, 43, 140)"
footerLink:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(80, 97, 122)"
```
**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
- **5 shape(s)** in this system: `Ghost`, `Outline`, `Primary Brand`, `Subtle`, `Light / Invert`
- **DO NOT introduce new buttons variants** without justification
### Pricing Cards
- **1 shape(s)** in this system: `Default Tier`
- **DO NOT introduce new pricing cards variants** without justification
### CTA Banners
- **1 shape(s)** in this system: `Full-width CTA`
- **DO NOT introduce new cta banners variants** without justification
### Testimonials
- **1 shape(s)** in this system: `Quote Card`
- **DO NOT introduce new testimonials variants** without justification
### Status Badges
- **1 shape(s)** in this system: `Neutral Light`
- **DO NOT introduce new status badges variants** without justification
### Code Blocks
- **1 shape(s)** in this system: `Inline Code / Pre`
- **DO NOT introduce new code blocks variants** without justification
## 5. Layout Principles
### Layout Type
**hero + sections**
### Grid
Single column, centered content
### Max Width
1266px
### Spacing System
Compact spacing — information density prioritized
| Token | Value |
|-------|-------|
| xxs | 2px |
| xs | 4px |
| sm | 8px |
| md | 12px |
| base | 16px |
| lg | 24px |
| xl | 32px |
| 2xl | 48px |
| 3xl | 64px |
### Border Radius Scale
| Name | Value | Use |
|------|-------|-----|
| None | 0px | No rounding |
| Xs | 4px | Tiny corners (badges, micro elements) |
| Sm | 8px | Buttons, inputs, small elements |
| Md | 16px | Cards, containers |
| Lg | 28px | Large rounded elements, pill segments |
| Xl | 36px | Category strips, featured containers |
| Full | 9999px | Pills, avatars, circular elements |
### Shape Language
| Component | Border Radius |
|-----------|---------------|
| Buttons | `4px` |
| Pricing Cards | `0px` |
| CTA Banners | `4px` |
| Testimonials | `4px` |
| Status Badges | `4px` |
| Code Blocks | `0px` |
| Page Body | `0px` |
| Navigation | `6px` |
**Shape Personality**: Moderate Rounding — Medium corners (4–12px). Modern SaaS standard, neither sharp nor pill.
**Full Radius Spectrum**: 0px, 1px, 3px, 4px, 4.51px, 5px, 6px, 8px (from `allBorderRadii` scan)
## 5b. Spacing Rhythm Names
**Measured section padding**: bands use ~72px internal vertical padding (up to 96px) — **generous**. (Distinct from the gap *between* sections above.) Reproduce this generous vertical breathing room; cramped spacing is the #1 tell of a cheap clone.
*Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
| Name | Value | Use case |
|------|-------|----------|
| **hero** | `64px` | Top/bottom of full-bleed hero sections |
| **section** | `32px` | Between major bands (color change, content shift) |
| **subsection** | `24px` | Within a section, between content groups |
| **card** | `12px` | Card padding, list-item spacing |
| **compact** | `8px` | 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).
**8/8 structural patterns detected.**
### Hero Pattern
- **Composition:** left-aligned —
- **Viewport coverage:** 184px tall (not full-viewport)
- **Heading:** "Une infrastructure financière qui booste votre croissance. Acceptez des paiements, proposez des serv" — 40px left-aligned
- **CTAs:** none detected in hero (unusual — agent should verify)
- **Clone instruction:** Reproduce the **left-aligned** layout. Use the heading font-size token at the documented size. Pair the centered text with the hero’s decorative visual (gradient / SVG / hero image — see §9b), not bare text.
### Navigation Pattern
- **Position:** static (scrolls with page)
- **Layout:** logo-left-links-left — Logo and links both on the left (CTAs typically right)
- **Height:** 64px
- **Logo:** ✓ present
- **Nav links:** 1 primary items
- **CTAs in nav:** 2
- **Clone instruction:** Build a static logo left links left navigation. Reserve 2 slots for primary CTAs.
### Card Grid Pattern
- **Card count:** 5 cards detected
- **Columns (desktop):** 1-up grid
- **Card dimensions:** 1232×1383px (aspect 0.89:1)
- **Gap:** 160px between cards
- **Content:** ✓ image + CTA
- **Image position:** top
- **Clone instruction:** Build a 1-column grid (desktop) with cards at ~0.89:1 aspect ratio. Each card has an image at the top.
### Pricing Table Pattern
- **Tier count:** 2 pricing tiers
- **Layout:** side-by-side (horizontal comparison)
- **Columns (desktop):** 2-up
- **Feature list:** ✓ (median ~80 feature points per tier)
- **Clone instruction:** Build a 2-column side-by-side pricing comparison.
### Testimonial Pattern
- **Count:** 18 testimonial blocks
- **Layout:** grid
- **Avg quote length:** 195 chars (medium quote)
- **Includes:** ✗ no avatars | ✗ no logos | ✗ no ratings
- **Clone instruction:** Build a grid of 18 testimonials.
### FAQ Pattern
- **Item count:** 10 questions
- **Format:** accordion (expand/collapse)
- **Layout:** two-column
- **Avg question length:** 121 chars
- **Clone instruction:** Build 10 expandable accordion items in a two-column layout.
### CTA Banner Pattern
- **Banner count:** 5
- **Position:** multiple
- **Visual treatment:** ✓ contrasting background
- **Primary CTA text:** "Regarder la vidéo"
- **Clone instruction:** Place multiple CTA banners across page sections. Use contrasting solid background.
### Footer Pattern
- **Columns:** 4
- **Links:** 80 total
- **Height:** 1035px
- **Includes:** ✗ no newsletter | ✗ no social | ✓ copyright
- **Clone instruction:** Build a 4-column footer with ~20 links per column, 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.1) 0px 30px 60px -50px`,<br>`rgba(50, 50, 93, 0.25) 0px 30px 60px -10px` | Cards, elevated surfaces |
| Layered (Level 2) | <br>`rgba(23, 23, 23, 0.08) 0px 15px 35px 0px` | Cards, elevated surfaces |
| Layered (Level 3) | <br>`rgba(23, 23, 23, 0.06) 0px 3px 6px 0px` | Cards, elevated surfaces |
| Layered (Level 4) | <br>`rgba(50, 50, 93, 0.12) 0px 16px 32px 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 |
|--------------|-------|---------------|
| `--navigation-easing` | `cubic-bezier(0.45,0.05,0.55,0.95)` | Custom Ease — Balanced |
### Duration Scale
| CSS Variable | Value | Tier |
|--------------|-------|------|
| `--navigation-duration-slow` | `300ms` | Normal |
| `--navigation-duration` | `240ms` | Normal |
| `--navigation-hamburger-duration` | `0.25s` | Normal |
### Copy-Paste Transition Snippets
**Opacity**
```css
transition: opacity 0.24s cubic-bezier(0.45, 0.05, 0.55, 0.95);
```
**All Props**
```css
transition: fill 0.24s cubic-bezier(0.45, 0.05, 0.55, 0.95);
```
**Color / Background**
```css
transition: color 0.24s cubic-bezier(0.45, 0.05, 0.55, 0.95), background-color 0.24s cubic-bezier(0.45, 0.05, 0.55, 0.95), border...;
```
**Transform**
```css
transition: transform 0.25s cubic-bezier(0.6, 0, 0.2, 0.5);
```
### Keyframe Animation Catalog
| Animation Name | Type | Animated Props | Use Hint |
|----------------|------|----------------|----------|
| `nav-hover-arrow-in` | Custom | | UI transition |
| `nav-hover-arrow-out` | Custom | | UI transition |
| `detect-scroll` | Custom | | UI transition |
| `navigation-menu-delay-reset` | Custom | | UI transition |
| `opacityAnimation` | Custom | | UI transition |
| `bento-overlay-gradient-opacity-animation` | Custom | | UI transition |
| `bento-dialog-reveal-fade-in-up` | Custom | | Element entrance |
| `agentic-commerce-graphic-border-spin` | Custom | | Loading indicator |
| `book-of-the-week-fade-in` | Custom | | Element entrance |
### Motion Fingerprint
- **Speed Character**: Deliberate & Calm (median duration: `300ms`)
- **Dominant Easing**: custom cubic-bezier curves
- **Animation Library**: 9 unique animations (0 total including variants)
> This design moves with deliberate & calm timing using custom cubic-bezier curves, creating a UI that feels calm and controlled.
## 8. Do's and Don'ts
### Do
- Use sohne-var as the primary typeface — it defines the brand personality
- Keep font weights between 300-400 — the system uses a narrow weight range for subtle hierarchy
- Use negative letter-spacing (-0.8px) at display sizes for compressed, editorial headlines
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
- Use Accent (`#533afd`) as the primary accent — it's the brand's signature interactive color
- Use small 4px radius for buttons — this design system uses subtle rounding, not pill shapes
- Maintain nav height at 64px — consistent vertical space for the navigation bar
- Respect the 4px–32px spacing range — the design uses a wide scale for visual breathing room
- Each card includes a top image — imagery is part of the card identity, not optional
- Place 2 pricing tiers side-by-side on desktop — direct comparison is the value prop
- Lay out testimonials in a grid (18+ items) — quantity signals scale and trust
- Use expandable accordion for the FAQ — saves vertical space and lets users self-navigate
- Repeat the primary CTA across 5 banner sections — conversion paths are layered, not single
- Build a content-dense footer (4 columns, ~80 links) — this site treats the footer as a sitemap, not an afterthought
### Don't
- Don't substitute with generic sans-serif or serif — the custom font carries the brand
- Don't reach for weight 700 (bold) or above — 400 is the heaviest weight this design paints
- 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 introduce additional saturated accent colors — the palette is intentionally controlled
- Don't over-round buttons with pill or large radius — the system uses restrained, sharp-ish corners
- Don't collapse or hide the nav on scroll without an explicit scroll-triggered animation — the design uses fixed nav presence
- Don't make the nav sticky — this design lets it scroll away to maximize content focus
## 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(255, 255, 255)` as the base canvas"
why: "Every component is designed to composit against this exact tone"
test: "document.body.style.backgroundColor === 'rgb(255, 255, 255)'"
- id: brand-accent-001
type: do
rule: "Reserve `rgb(83, 58, 253)` for primary CTAs and brand-mark signals only"
why: "Single chromatic assertion device — overuse dilutes meaning"
test: "querySelectorAll('[style*=\"rgb(83, 58, 253)\"]').length <= 3 per fold"
```
## 9. Responsive Behavior
### Breakpoints
| Name | Width | Key Changes |
|------|-------|-------------|
| Mobile | 400px | Single column, compact spacing |
| Mobile | 480px | Single column, compact spacing |
| Mobile Large | 639px | Expanded mobile layout |
| Desktop | 1051px | Full feature layout |
| Desktop | 1115px | Full feature layout |
| Desktop | 1264px | Full feature layout |
### Token Diff — Desktop vs Mobile
| Element | Property | Desktop | Mobile |
|---------|----------|---------|--------|
| heading | font-size | `40px` | `34px` |
| heading | line-height | `46px` | `35.02px` |
| heading | letter-spacing | `-0.8px` | `-0.34px` |
| nav | padding | `10px 32px` | `12px 16px 14px` |
| nav | height | `64px` | `66px` |
| hero | padding | `0px 16px` | `0px` |
| hero | height | `685px` | `519.047px` |
| button | padding | `12px 0px` | `16px 0px` |
| button | font-size | `14px` | `18px` |
| button | width | `79px` | `fit-content` |
| card | width | `816px` | `358px` |
### Collapsing Strategy
- Headlines: 40px → 34px 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: 12px 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):
- **Navigation collapses to hamburger** — 1 links visible on desktop, 0 on mobile (the rest hide behind a menu toggle).
- **Nav CTAs reduced** on mobile (2 → 0) — the design prioritizes content over conversion buttons at small sizes.
- **Footer columns collapse:** 4 columns (desktop) → 1 column (mobile).
## 7c. Visual Effects & Dynamic Behavior
*The live/dynamic layer beyond static CSS — reproduce these, not flat substitutes. This is often what separates a faithful clone from a wireframe.*
- **Canvas / 2D rendering** — animated/interactive canvas (charts, graphs, particle fields). Reproduce as live data-viz (e.g. an animated SVG/Canvas line chart), NOT a static image.
- **Glassmorphism** — 3 frosted/blur layer(s) (e.g. `blur(12px)`).
- **Mesh gradients** — 5 multi-stop organic color field(s) as background atmosphere.
- **Clip-path shapes** — 8 non-rectangular cut(s).
- **Blend modes** — 5 mix-blend layer(s).
> **Motion fingerprint**: Canvas 2D, glassmorphism (3 layers), mesh gradients, non-rectangular shapes (10), blend modes
## 7d. Motion Choreography (measured)
*Real timing extracted from `getComputedStyle` at load — not guessed. Match these curves and durations to reproduce the brand's motion feel; flat clones miss this entirely.*
**Keyframe animations** — the named, looping/entrance motions actually applied:
| Animation | Duration | Easing | Delay | Iteration | Used by | Keyframes captured |
|---|---|---|---|---|---|---|
| `book-of-the-week-fade-in` | 0.5s | `cubic-bezier(0.33, 1, 0.68, 1)` | — | 1 | 2× | ✅ |
| `detect-scroll` | auto | `linear` | — | 1 | 1× | ✅ |
**Transition profiles** — the interactive easing fingerprint (hover/focus/state changes):
| Property | Duration | Easing | Delay | Count |
|---|---|---|---|---|
| color | 0.3s | `cubic-bezier(0.25, 1, 0.5, 1)` | — | 185× |
| fill | 0.3s | `cubic-bezier(0.25, 1, 0.5, 1)` | — | 140× |
| opacity | 0.3s | `cubic-bezier(0.25, 1, 0.5, 1)` | — | 58× |
| stroke | 0.3s | `cubic-bezier(0.25, 1, 0.5, 1)` | — | 57× |
| transform | 0.3s | `cubic-bezier(0.25, 1, 0.5, 1)` | — | 57× |
| background-color | 0.3s | `cubic-bezier(0.25, 1, 0.5, 1)` | — | 45× |
| transform | 0.8s | `cubic-bezier(0.165, 0.84, 0.44, 1)` | — | 40× |
| border | 0.3s | `cubic-bezier(0.25, 1, 0.5, 1)` | — | 39× |
| opacity | 0.15s | `linear` | — | 36× |
| opacity | 0.12s | `ease` | — | 16× |
| transform | 0.6s | `cubic-bezier(0.16, 1, 0.3, 1)` | — | 12× |
| clip-path | 0.8s | `cubic-bezier(0.165, 0.84, 0.44, 1)` | — | 12× |
**Scroll-reveal** *(heuristic — initial hidden state, not runtime-observed)* — 95 candidate element(s) start hidden and animate in on scroll (opacity0+transition).
- e.g. `path.[object.SVGAnimatedString]` → initial opacity 0, transform `none`, transition `opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1)`. Build a fade/translate reveal-on-scroll for below-fold bands.
> **Motion coverage** (measured on 3728 sampled elements; scroll-reveal is heuristic): 2 animation signatures, 24 transition profiles, 95 scroll-reveal candidates.
## 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):**
- https://images.stripeassets.com/fzn2n1nzq965/XtX984S1GJVsVOXFC7kMu/01988281e867728dfb09aa7793a6e3b9/Stripe.jpg?q=80
*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: 1.43:1 (landscape)
- Rendered size: 1392×975px
- *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): 2 (7%)
- Portrait (<0.87): 11 (37%)
- Square (0.87–1.15): 7 (23%)
- Ultra-wide (>2.3): 10 (33%)
**Media Format Mix:**
- JPG: 6 (typically photographic content)
- PNG: 24 (logos, transparent UI elements, mockups)
- SVG: 6 (icons, illustrations, decorative geometry)
**Average rendered image size:** 616×424px
**Above-fold image count:** 1 / 30
**Decorative Patterns Detected:**
- 1 multi-stop linear gradient (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
- 10 radial gradients — circular color blooms used for spotlight/glow effects
- 6 large decorative SVG shapes (≥200×200px, non-icon) — likely blob/illustration accents
- **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: Pure White (`#ffffff`)
- Primary text: Pure Black (`#000000`)
- Accent: Deep Purple (`#533afd`)
- Border: Cool Gray (`#8f98a9`)
- Font: sohne-var
- Body: 16px weight 400
### Example Component Prompts
- "Create a hero section on Pure White background (#ffffff). Headline at 40px sohne-var weight 300, line-height 1.15, letter-spacing -0.8px, color #000000."
- "Create the primary CTA button: `#533afd` background, `#ffffff` text, 4px border-radius, 15.5px 20px 16.5px padding, 500 weight, sohne-var font."
- "Design a card on `transparent` background. Border: none. Radius: 0px. Shadow: none. Padding: 0px."
- "Build navigation: relative on `#ffffff`. sohne-var 16px weight 400 for links."
### Iteration Guide
1. **Canvas**: Set the light canvas to Pure White (`#ffffff`) — every component is composited against this exact base.
2. **Typography**: All type in sohne-var, weight range 300–400. Never exceed 400 — heavier weights break the brand's tonal restraint.
3. **Accent**: Deep Purple (`#533afd`) — one accent, applied consistently to CTAs, active states, and links. Never introduce a second saturated color.
4. **Motion**: All transitions use `cubic-bezier(0.45,0.05,0.55,0.95)`. Timing: 240ms for micro-interactions, 250ms for layout changes. Never use linear for UI transitions — preserve the brand's easing personality.
5. **Shape**: CTAs at `4px`, cards at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
6. **Spacing**: Use the `--ca-space-*` token scale (4px–32px). 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-on-primary: #ffffff;
--ca-surface-2: #e5edf5;
--ca-ink-subtle: #26251e;
--ca-primary-focus: #533afd;
--ca-primary-hover: #2e2b8c;
--ca-hairline: #8f98a9;
--ca-semantic-error: #d8351e;
--ca-semantic-success: #00b261;
}
/* Typography */
:root {
--ca-font-primary: "sohne-var", system-ui, sans-serif;
--ca-text-display: 56px;
--ca-text-heading: 40px;
--ca-text-body: 10px;
--ca-text-button: 14px;
}
/* Spacing & Radius */
:root {
--ca-space-xxs: 2px;
--ca-space-xs: 4px;
--ca-space-sm: 8px;
--ca-space-md: 12px;
--ca-space-base: 16px;
--ca-space-lg: 24px;
--ca-space-xl: 32px;
--ca-space-2xl: 48px;
--ca-space-3xl: 64px;
--ca-radius-none: 0px;
--ca-radius-xs: 4px;
--ca-radius-sm: 8px;
--ca-radius-md: 16px;
--ca-radius-lg: 28px;
--ca-radius-xl: 36px;
--ca-radius-full: 9999px;
}
```
## 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
height: 975px
width: 1392px
layout: block
children: 1
- section: hero
tag: div
height: 15055px
width: full-bleed
layout: block
children: 2
contains: chart/canvas (reproduce as live data-viz, not a flat image)
- section: unknown
tag: div
classes: ["section-background"]
height: 761px
width: full-bleed
layout: block
children: 3
- section: unknown
tag: div
classes: ["hero-wave-animation"]
height: 761px
width: full-bleed
layout: flex-row justify=center
children: 1
- section: unknown
tag: div
height: 761px
width: 1266px
layout: block
children: 1
- section: unknown
tag: div
height: 761px
width: 1393px
layout: block
children: 1
- section: feature-section
tag: section
classes: ["hds-color-mode", "hero-section-container", "section", "section--white"]
height: 685px
width: full-bleed
layout: block
children: 3
bg: "rgb(255, 255, 255)"
vertical-padding: ~36px
padding: "0px 16px"
- section: feature-section
tag: main
height: 13945px
width: full-bleed
layout: block
children: 9
contains: chart/canvas (reproduce as live data-viz, not a flat image)
- section: feature-section
tag: div
classes: ["section-container"]
height: 612px
width: 1266px
layout: grid: 1-col gap=normal
children: 1
vertical-padding: ~36px
padding: "36px 16px"
- section: feature-section
tag: div
classes: ["hero-section__layout-grid"]
height: 333px
width: 1232px
layout: grid: 12-col gap=40px 16px
children: 4
- section: content-section
tag: div
height: 186px
width: full-bleed
layout: block
children: 1
padding: "0px 16px 16px 0px"
- section: feature-section
tag: section
classes: ["hds-color-mode", "section", "section--white", "hds-mode--light"]
height: 2231px
width: full-bleed
layout: block
children: 2
bg: "rgb(255, 255, 255)"
vertical-padding: ~96px (airy)
contains: chart/canvas (reproduce as live data-viz, not a flat image)
padding: "0px 16px"
- section: feature-section
tag: div
classes: ["section-container", "section-row", "modular-solutions-section", "section-row-gap"]
height: 2231px
width: 1266px
layout: flex-column justify=normal
children: 2
vertical-padding: ~96px (airy)
contains: chart/canvas (reproduce as live data-viz, not a flat image)
padding: "96px 16px"
- section: feature-section
tag: div
classes: ["section-title", "section-title--span-8"]
height: 141px
width: 856px
layout: block
children: 3
padding: "0px 40px 0px 0px"
- section: pricing
tag: div
height: 648px
width: 407px
layout: flex-row justify=center
children: 2
vertical-padding: ~24px
contains: chart/canvas (reproduce as live data-viz, not a flat image)
- section: content-section
tag: div
height: 628px
width: 407px
layout: flex-row justify=center
children: 1
- section: content-section
tag: div
classes: ["connect-platform-dom-graphic-wrapper"]
height: 457px
width: 1083px
layout: flex-row justify=flex-end
children: 1
padding: "0px 40px 0px 0px"
- section: section
tag: section
classes: ["hds-color-mode", "section", "section--white", "hds-mode--light"]
height: 560px
width: full-bleed
layout: block
children: 1
bg: "rgb(255, 255, 255)"
vertical-padding: ~80px (generous)
padding: "0px 16px"
- section: unknown
tag: div
classes: ["section-container", "sessions-section"]
height: 560px
width: 1266px
layout: block
children: 1
vertical-padding: ~80px (generous)
padding: "80px 16px"
- section: unknown
tag: div
height: 400px
width: 1232px
layout: grid: 1-col gap=normal
children: 3
- section: feature-section
tag: section
classes: ["hds-color-mode", "stats-section", "stats-section--time-dusk", "section"]
height: 963px
width: full-bleed
layout: block
children: 4
bg: "rgb(255, 255, 255)"
vertical-padding: ~40px
padding: "0px 16px"
- section: feature-section
tag: div
classes: ["section-container"]
height: 963px
width: 1266px
layout: block
children: 3
vertical-padding: ~40px
padding: "80px 16px 0px"
- section: unknown
tag: div
classes: ["section-background"]
height: 963px
width: full-bleed
layout: block
children: 1
- section: feature-section
tag: div
classes: ["section-row", "section-row-gap"]
height: 364px
width: 1234px
layout: flex-column justify=normal
children: 3
- section: pricing
tag: div
classes: ["stats-section__stats-menu"]
height: 169px
width: 1264px
layout: grid: 12-col gap=16px
children: 4
```
**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:
- "Des solutions flexibles pour chaque business model."
- "Le pilier du commerce mondial"
- "Une infrastructure fiable et évolutive, compatible avec tous vos outils existants."
- "Nouveautés"
sub-headings:
- "Acceptez et optimisez les paiements en ligne ou en personne dans le monde entier"
- "Boostez vos revenus grâce au commerce agentique"
- "Faites circuler vos fonds au-delà des frontières grâce aux stablecoins et à la crypto"
- "Hertz unifie ses activités commerciales avec Stripe"
- "Intégrez Stripe à vos systèmes existants."
- "Les entreprises utilisant Stripe ont généré 1,9 Bn $US en 2025."
ctas:
- "Produits"
- "Tarifs"
- "Se connecter Se connecter"
- "Contacter notre équipe"
- "Démarrer maintenant"
- "S'inscrire avec Google"
- "Regarder la vidéo"
- "Plus de 135"
navigation:
- "Se connecter Se connecter"
- "Contacter notre équipe"
- "Stripe pour les grandes entreprises"
- "Stripe pour les startups"
- "Stripe pour les plateformes"
- "Tarifs"
footer-links:
- "Tarifs"
- "Automatisation des opérations financières"
```
**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:
hero:
count: 9
avg-ratio: 2.50
common-aspect: "~16:9 landscape"
editorial:
count: 4
avg-ratio: 0.62
common-aspect: "~9:16 portrait"
thumbnail:
count: 8
avg-ratio: 0.97
common-aspect: "~1:1 square"
```
**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">
Produits
</button>
```
_Source pattern detected: padding `12px 0px` · radius `4px` · weight `400`_
### Generic Card
```html
<div class="card">
<!-- content -->
</div>
```
_Source pattern detected: padding `0px` · radius `0px` · shadow `none`_
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
## 17. Content Architecture & Resources (Links by Purpose)
*The page's links classified by purpose — the information architecture to reproduce. Categories, featured images, devices and projects are extracted from the rendered DOM, not guessed.*
**By purpose:** **nav** 2 · **cta** 1 · **auth** 2 · **product** 2 · **pricing** 2 · **docs** 3 · **blog** 5 · **project** 22 · **social** 1 · **footer** 12 · **other** 8
**Primary actions (conversion path):**
- Account access — "Se connecter Se connecter" (login/signup) → `https://dashboard.stripe.com/login`
- Primary call-to-action — "Démarrer maintenant" (the conversion path) → `https://dashboard.stripe.com/register`
- Account access — "S'inscrire avec Google" (login/signup) → `https://dashboard.stripe.com/login/oauth/google/init`
**Projects / case studies detected** (clustered by URL + featured image):
*Customers* — high confidence, 12 items:
| Title | Featured image | Link |
|---|---|---|
| LaRedoute | — | https://stripe.com/fr/customers/la-redoute |
| Amazon | — | https://stripe.com/fr/customers/amazon |
| LeMonde | — | https://stripe.com/fr/customers/le-monde |
| Figma | — | https://stripe.com/fr/customers/figma |
| Alma | — | https://stripe.com/fr/customers/alma |
| TF1 | — | https://stripe.com/fr/customers/tf1 |
| Shopify | — | https://stripe.com/fr/customers/shopify |
| Planity | — | https://stripe.com/fr/customers/planity |
*Newsroom* — medium confidence, 5 items:
| Title | Featured image | Link |
|---|---|---|
| OpenAI | — | https://stripe.com/fr/newsroom/news/stripe-openai-instant-checkout |
| Nvidia | — | https://stripe.com/fr/newsroom/news/nvidia-collaboration-with-stripe |
| Accor | — | https://stripe.com/fr/newsroom/news/accor-and-stripe |
| Google | — | https://stripe.com/fr/newsroom/news/google-and-stripe |
| Uber | — | https://stripe.com/fr/newsroom/news/stripe-and-uber |
*Guides* — medium confidence, 3 items:
| Title | Featured image | Link |
|---|---|---|
| Lire le guide | — | https://stripe.com/fr/guides/best-practices-for-launching-and-scaling-platform-payments |
| Lire le guide | — | https://stripe.com/fr/guides/introduction-to-monetizing-payments |
| Lire le guide | — | https://stripe.com/fr/guides/introduction-to-risk-management |
**Signals:** 44/60 links carry a featured image · dominant link roles: content-card (41), footer-link (13), inline-link (2).
---
## Coverage: 93% of dimensions extracted
> Coverage measures how much of the design we could read, **not** how pixel-faithful a clone is. For fidelity, see the SSIM/structure score.
| Category | Score | Max | Detail |
|----------|-------|-----|--------|
| Colors & Palette | 25 | 25 | 23 named colors |
| Typography | 18 | 20 | 7 roles defined |
| Components | 20 | 20 | 6 specs extracted |
| Motion & Interaction | 15 | 15 | Keyframes (intercepted CSS), easing vars |
| CSS Custom Properties | 10 | 10 | 707 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.
*Auto-detected extraction limitations — understand before building:*
- **Licensed web fonts (sohne-var, SourceCodePro)** — detected but not downloaded. Substitute with your licensed copy or a close fallback (see Typography section for metrics).
| Category | What's missing | Fallback strategy |
|----------|----------------|-------------------|
| **Keyframe animations** | No @keyframes declarations found (transitions only) | Use CSS transitions for state changes; avoid complex scroll-based animations |
| **Form inputs** | No text input fields detected on this page | Use the documented border-radius + accent border on focus; 12-16px padding inside |
### Per-section confidence
| Section | Confidence | Reason |
|---------|------------|--------|
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
| §2 Colors | High | 707 CSS vars (semantic naming requires ≥20 for high) |
| §3 Typography | High | 7 typography roles inferred |
| §4 Components | High | 6 component variants captured |
| §7 Motion | Medium | Transitions only |
| §8 Do's/Don'ts | High | 22 rules generated; design-decisions.json has evidence per rule |
| §9 Responsive | High | 6 breakpoints detected |
| §9b Photography | High | 30 images, hero present |
## 11.1 CSS Implementation Guide (CSS Interception Engine v2.15+)
*Ready-to-use CSS from Prism's CSS Interception Engine — intercepted directly from the site's CSS files (bypasses CORS). Copy-paste into your `<style>` block.*
### Font Loading
3 font file(s) captured (126KB total). When running `prism add`, fonts are saved to `extractions/stripe.com/fonts/` and embedded as base64 in the output HTML.
**@font-face declarations to use:**
```css
@font-face {
font-family: 'sohne-var';
/* src: url('/fonts/sohne-var.woff2') format('woff2-variations'); */
font-weight: 1 1000;
font-style: normal;
font-display: block;
}
@font-face {
font-family: 'SourceCodePro';
/* src: url('/fonts/SourceCodePro.woff2') format('woff2'); */
font-weight: 500;
font-style: normal;
font-display: swap;
}
```
### Keyframe Animations (Intercepted from CSS)
**9 @keyframes found** — these are the real animation definitions:
```
@keyframes nav-hover-arrow-in { ... }
@keyframes nav-hover-arrow-out { ... }
@keyframes detect-scroll { ... }
@keyframes navigation-menu-delay-reset { ... }
@keyframes opacityAnimation { ... }
@keyframes bento-overlay-gradient-opacity-animation { ... }
@keyframes bento-dialog-reveal-fade-in-up { ... }
@keyframes agentic-commerce-graphic-border-spin { ... }
@keyframes book-of-the-week-fade-in { ... }
```
<details><summary>Full keyframes CSS (9 animations)</summary>
```css
@keyframes nav-hover-arrow-in{0%{opacity:0;transform:translateX(-3px)}
@keyframes nav-hover-arrow-out{0%{opacity:1}
@keyframes detect-scroll{0%,to{--can-scroll: }}
@keyframes navigation-menu-delay-reset{0%,to{--navigation-menu-transition-delay:0s}}
@keyframes opacityAnimation{0%{background-color:rgba(229,237,245,0)}
@keyframes bento-overlay-gradient-opacity-animation{0%{opacity:0}
@keyframes bento-dialog-reveal-fade-in-up{0%{opacity:0;transform:translate3d(0,30px,0)}
@keyframes agentic-commerce-graphic-border-spin{0%{transform:translate(-50%,-50%) rotate(0deg)}
@keyframes book-of-the-week-fade-in{0%{opacity:0}
```
</details>
### Brand Gradient Palette
**20 complex gradients captured** from the site's CSS. The first few are the most prominent visual decorations:
```css
/* Gradient 1 */
background: linear-gradient(90deg,var(--gradient-color) 0,var(--gradient-color) 20%,var(--stop-color) 40%,var(--suite-color) 60%,var(--suite-color) 100%);
/* Gradient 2 */
background: radial-gradient(66.35% 66.35% at 50% 50%,hsla(0,0%,100%,.9) 0,hsla(0,0%,100%,0) 100%);
/* Gradient 3 */
background: linear-gradient(180deg,#fff 25.78%,hsla(0,0%,100%,.7) 60.75%,hsla(0,0%,100%,0) 98.22%);
/* Gradient 4 */
background: linear-gradient(180deg,#000,#fff 20%,#fff 80%,#000);
/* Gradient 5 */
background: radial-gradient(50% 50% at 50% 50%,var(--bento-left-blob) 23.56%,transparent 100%);
```
### Hover State CSS (Intercepted)
**28 hover rule lines** captured from CSS files. Key interactive transitions from real CSS (not inferred):
```css
@media (hover:hover){:not([disabled]):where(:hover)>.navigation-hover-arrow svg{animation-name:nav-hover-arrow-in;animation-duration:.3s;visibility:visible;transition-delay:0ms}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.navigation__content--products .suite-title:after{background-size:0 100%,100% 100%;background-position:var(--mouse-in-dir,right),0;background-repeat:no-repeat,no-repeat;transition:background-size .3s ease-out}
.navigation__content--products section:hover .suite-title:after{background-position:var(--mouse-out-dir,left),0;background-size:100% 100%,100% 100%}
.navigation-menu--homepage.navigation-menu--console-mvp-nav-cta:not(:hover):not(.hds-navigation-menu--open) .navigation-hamburger-button{background-color:#fff}
@media (hover:hover){.navigation-menu-home-link:hover{opacity:.6}
:is(.navigation__content .hds-link):hover .hds-text{color:var(--hds-color-text-solid)}
.navigation-item__sign-in,.navigation-item__sign-in:hover{background-color:var(--hds-color-core-neutral-0)}
.navigation-menu:not(:hover):not(.hds-navigation-menu--open) .navigation-item__sign-in{background-color:transparent}
:is(:where(.hds-mode--light) :is(.navigation-menu:not(:hover):not(.hds-navigation-menu--open) .navigation-item__sign-in)):not(:hover){border:1px solid var(--hds-color-core-neutral-0);overflow:visible}
:is(:where(.hds-mode--light) :is(.navigation-menu:not(:hover):not(.hds-navigation-menu--open) .navigation-item__sign-in)) .navigation-button-measure{opacity:0}
:is(:where(.hds-mode--light) :is(.navigation-menu:not(:hover):not(.hds-navigation-menu--open) .navigation-item__sign-in)) .navigation-item__sign-in__mask{opacity:1}
.navigation-hamburger-button.navigation-hamburger-button--homepage:not([aria-expanded=true]):hover .navigation-hamburger__background{fill:var(--hds-color-button-ui-bg)}
@media (min-width:940px){.hds-navigation-menu:hover~.navigation-menu__background{opacity:1}
.hds-navigation-menu:not(.hds-navigation-menu--open):hover{--navigation-menu-transition-delay:0.1s;animation:detect-scroll linear,navigation-menu-delay-reset 0s linear .1s forwards;animation-timeline:scroll(inline self),auto}
@media (min-width:940px){.hds-navigation-menu:not(.hds-navigation-menu--open):hover~.navigation-menu__background{transition-delay:.1s}
.navigation-menu:hover{background-color:transparent}
.navigation-item:has(~.navigation-item .hds-button:not([aria-expanded]):hover) .hds-button[aria-expanded]{color:var(--hds-color-text-subdued)}
.navigation-menu-list:has(.hds-button:not([aria-expanded]):hover) .hds-button:not([aria-expanded]):not(:hover){color:var(--hds-color-text-subdued)}
.hds-button:hover{background-color:var(--hds-color-button-primary-bgHover)}
.hds-button--secondary:hover{color:var(--hds-color-button-secondary-textHover);background-color:var(--hds-color-button-secondary-bgHover)}
```
> **Note**: All values above are extracted from the live site's CSS files. The font files are saved locally by Prism and embedded in the output HTML. Use them as-is for maximum fidelity.
## 11.2 Measured Reality (CDP Engine)
Captured directly from Chrome's engine across **all 4003 rendered nodes** — not a sample. These are the values the page *actually paints*, weighted by how often they appear.
### Real Responsive Breakpoints
**20 breakpoints** read from the live `@media` rules (not guessed) — 14 most relevant:
`400px` · `480px` · `599px` · `600px` · `639px` · `640px` · `706px` · `840px` · `900px` · `939px` · `940px` · `970px` · `1051px` · `1115px` … (+6 more)
### Measured Design Scale
**Type scale by usage** (× = paint count): `16px`×2484 · `10px`×524 · `11px`×247 · `14px`×174 · `9px`×133 · `12px`×123 · `26px`×90 · `8px`×58
**Radius scale** (× = paint count): `4px`×180 · `6px`×103 · `1px`×31 · `5px`×19 · `8px`×5 · `4.51px`×4 · `16px`×3 · `100%`×3
**Weights** (× = paint count): `400`×2774 · `300`×1109 · `500`×115 · `700`×2
**Layout gaps** (× = paint count): `8px`×73 · `16px`×28 · `normal 6px`×21 · `4px`×20 · `32px`×17 · `64px`×14 · `normal 8px`×12 · `16px normal`×11
**Elevation (real shadows)**:
```css
rgba(3, 3, 39, 0.25) 0px 14.088px 21.132px -14.088px, rgba(0, 0, 0, 0.1) 0px 8.453px 16.906px -8.453px
rgba(0, 0, 0, 0.1) 0px 20.187px 40.374px -20.187px
rgba(50, 50, 93, 0.25) 0px 30px 45px -30px, rgba(0, 0, 0, 0.1) 0px 18px 36px -18px
rgba(23, 23, 23, 0.08) 0px 15px 35px 0px
```
### Provenance — measured styles on key elements
Read from the live CSSOM (includes runtime-injected CSS). This is *what actually styles the page*, by element:
```css
header { background-color:var(--hds-color-surface-bg-subdued) }
header { background-color:var(--hds-color-surface-bg-quiet) }
nav { gap:var(--hds-space-core-350); background-color:transparent; border-radius:var(--navigation-border-radius) }
h1 { font-family:var(--hds-font-family); color:var(--hds-color-heading-solid) }
h1 { font-weight:300; font-size:var(--hds-font-heading-xl-size) }
h1 { font-family:var(--hds-font-family); font-size:max(min(var(--lang-font-flex),var(--lang-font-max)),var(--lang-font-min)); color:#81b81a }
h2 { font-family:var(--hds-font-family); color:var(--hds-color-heading-solid) }
h2 { font-weight:300; font-size:var(--hds-font-heading-lg-size) }
button { font-family:var(--hds-font-family); font-weight:var(--hds-font-weight-bold); font-size:1rem; gap:var(--hds-space-core-100); color:var(--hds-color-button-primary-text); background-color:var(--hds-color-button-primary-bg); border-radius:var(--hds-space-core-radius-sm) }
@media (prefers-reduced-motion: no-preference) button { transition:background-color .3s cubic-bezier(.25,1,.5,1),color .3s cubic-bezier(.25,1,.5,1),border .3s cubic-bezier(.25,1,.5,1) }
button { background-color:transparent; color:var(--hds-color-action-text-onTransparent) }
button { font-size:.875rem; gap:var(--hds-space-core-50) }
```
> Selectors normalised to their semantic element — source class names are often build-hashed (`.bgDIHX`) and not reusable. The declarations + CSS vars are the transferable part.
---
*Generated by Prism — automated Playwright extraction + design analysis.*
*Source: https://stripe.com | 2026-06-17T22:17:10.452Z*
*Values extracted via getComputedStyle() (rendered) + CSS custom properties (tokens, marked `(token)`). Token-only values may not be painted — verify against the live site before shipping.*
Re-extract: clone-architect update stripe.com