Color Palette

7 colors extracted via getComputedStyle(). Click any swatch to copy its hex value.

Background & Surface

Primary #ffffff Page bg Copied!
Secondary #ffffff Elevated Copied!
Tertiary #ffffff Card bg Copied!

Text & Content

Primary #000000 Body text Copied!
Secondary #000000 Secondary Copied!
Muted #808080 Muted / Placeholder Copied!

Border & Divider

Border #808080 Dividers / Lines Copied!

Typography

All values extracted via getComputedStyle() — no estimation.

RoleFont FamilySize / Weight Line HeightLetter SpacingPreview
Display Hero Times New Roman 32px / w700 normal normal Display Hero
Body Times New Roman 16px / w400 normal normal Body

Live Components

Rendered in real HTML using your extracted tokens — no screenshots.

Buttons

accent: #0070f3 · border-radius: 9999px · weight: 700

Form Inputs

border: rgb(128, 128, 128) · focus: #0070f3 · radius: 8px

Card

Card Component
Card Title
Supporting description text with muted color for secondary information.
bg: rgb(255,255,255) · radius: 14px · shadow from tokens

Badges & Labels

New Feature Beta Draft

Spacing Scale

xxs 2px
xs 8px
sm 20px
md 21px
base 29px
lg 37px
xl 45px
2xl 48px
3xl 64px

Border Radius

none
0px
xs
4px
sm
8px
md
14px
lg
20px
xl
32px
full
9999px

Component Specs

Extracted CSS values per component and variant state.

Visual Reference

Playwright screenshots captured during extraction — source of truth for all tokens.

Desktop (1440px)
Desktop (1440px) screenshot
Mobile (390px)
Mobile (390px) screenshot

Breakpoints

Mobile 640px
Tablet 768px
Desktop 1024px
Large Desktop 1280px

Motion & Transitions

1 motion tokens — easing curves and durations.

transition-1all

Export tokens

Copy these design tokens to any framework. Generated from ferrari.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: ferrari.com
description: "Light product system built on #ffffff. Type anchored in Times New Roman at 32px / weight 700. Extracted automatically from https://ferrari.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
narrative: |
  ferrari.com is built on a pure-white canvas (rgb(255,255,255)).
  Times New Roman as the primary typeface.
  Depth comes from borders and surface contrast rather than shadows — a flat, structural elevation model.
  Motion is minimal — a few targeted transitions, no decorative animation.

colors:
  background: "#ffffff"
  surface-1: "#ffffff"
  surface-2: "#ffffff"
  ink-subtle: "#808080"
  hairline: "#808080"

typography:
  display-xl:
    fontFamily: "Times New Roman, Georgia, 'Times New Roman', serif"
    fontSize: 32px
    fontWeight: 700
    lineHeight: normal
    letterSpacing: 0
  body:
    fontFamily: "Times New Roman, Georgia, 'Times New Roman', serif"
    fontSize: 16px
    fontWeight: 400
    lineHeight: normal
    letterSpacing: 0

rounded:
  none: 0px
  xs: 4px
  sm: 8px
  md: 14px
  lg: 20px
  xl: 32px
  pill: 9999px

spacing:
  xxs: 2px
  xs: 8px
  sm: 20px
  md: 21px
  lg: 37px
  xl: 45px
  xxl: 64px

components:


extracted_at: "2026-06-11T05:00:38.715Z"
completeness: 12
scoreVersion: "v2"

---

# Design System — ferrari.com
> Extracted automatically by Prism from https://ferrari.com
> Date: 2026-06-11
> 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**: still  |  **Weight**: heavy  |  **Aesthetic**: editorial-minimal

| Dimension | Value | Signal |
|---|---|---|
| Canvas | neutral | `#ffffff` |
| Type posture | serif-led (Times New Roman) | "403 ERROR" |
| Color assertion | single-accent | N/A |
| Whitespace | moderate | section rhythm 48px |
| Interaction | still | 0 keyframes, 1 transitions |
| Radius language | 8px-rounded | from token scale |

**Prism fingerprint**: `neutral-canvas · serif-display · single-accent · 8px-rounded · still-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**: `N/A` 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: 37px.
> - **Default radius**: 8px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
> - **Forbidden**: Do NOT introduce heavy box-shadows — this system relies on borders for separation
>
> **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

ferrari.com uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight. 

Typography is anchored in **Times New Roman**. Headlines use weight 700 for confident, assertive presence — the brand wants to be heard. 

Body text reads in Pure Black (`#000000`) (contrast ratio 21.0:1, well above WCAG AA). Shadow is absent by design — depth is conveyed through borders, spacing, and color differentiation rather than light simulation. 


**Key Characteristics:**
- Background: Pure White (`#ffffff`)
- Primary typeface: Times New Roman
- Accent: Slate Grey (`#808080`)

## 2. Color Palette & Roles

### Background & Surface
- **Pure White** (`#ffffff`): Page background (primary)

### Text & Content
- **Pure Black** (`#000000`): Primary body text

### Full Extracted Palette
**2 colors rendered on the page** + **1** more declared in design tokens (CSS custom properties — not necessarily painted). (2 categorized above + 1 additional below.)
Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.

- `#808080` — Slate Grey

## 3. Typography Rules

### Font Families
- **Primary**: `Times New Roman`
- **Secondary**: `monospace`

### Typography Hierarchy

| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|------|------|------|--------|-------------|----------------|-------|
| Display Hero | Times New Roman | 32px | 700 | normal | normal | Main headline (h1) |
| Body | Times New Roman | 16px | 400 | normal | normal | Standard reading text |

### Full Font Size Scale

Sizes detected in the design (descending): `32px`, `24px`, `16px`, `13px`

> 2 size(s) detected outside the sampled hierarchy (24px, 13px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.

## 4. Component Stylings

## 5. Layout Principles

### Layout Type
**top-nav + content**

### Grid
Single column, centered content

### Max Width
1200px

### Spacing System
Generous spacing — editorial breathing room

| Token | Value |
|-------|-------|
| xxs | 2px |
| xs | 8px |
| sm | 20px |
| md | 21px |
| base | 29px |
| lg | 37px |
| xl | 45px |
| 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 | 14px | Cards, containers |
| Lg | 20px | Large rounded elements, pill segments |
| Xl | 32px | Category strips, featured containers |
| Full | 9999px | Pills, avatars, circular elements |

### Shape Language

| Component | Border Radius |
|-----------|---------------|
| Page Body | `0px` |

**Shape Personality**: Sharp & Angular — No rounding. Precise, editorial, enterprise feel.


## 5b. Spacing Rhythm Names

*Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*

| Name | Value | Use case |
|------|-------|----------|
| **hero** | `64px` | Top/bottom of full-bleed hero sections |
| **section** | `45px` | Between major bands (color change, content shift) |
| **subsection** | `37px` | Within a section, between content groups |
| **card** | `21px` | Card padding, list-item spacing |
| **compact** | `20px` | Form fields, tight clusters, badge padding |
| **micro** | `8px` | 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).

**1/8 structural patterns detected.**

### Hero Pattern

- **Composition:** left-aligned — 
- **Viewport coverage:** 202px tall (not full-viewport)
- **Heading:** "403 ERROR" — 32px left-aligned
- **Subheading:** "The request could not be satisfied."
- **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. No imagery needed for hero — text-driven.

## 6. Depth & Elevation

| Level | Treatment | Use |
|-------|-----------|-----|
| Flat (Level 0) | No shadow | Page background, content blocks |

**Shadow Philosophy**: Flat design — no shadows used. Borders and spacing define structure.

## 8. Do's and Don'ts

### Do

### Don't


## 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-depth-001
    type: dont
    rule: "Do NOT introduce drop shadows on cards or sections"
    why: "Containment is achieved via borders, not elevation — adding shadows breaks the depth contract"
    test: "getComputedStyle(card).boxShadow === 'none'"
```

## 9. Responsive Behavior

### Breakpoints
| Name | Width | Key Changes |
|------|-------|-------------|
| Mobile | 640px | Single column layout |
| Tablet | 768px | 2-column grids |
| Desktop | 1024px | Full layout |
| Large Desktop | 1280px | Maximum width |

### Collapsing Strategy
- Navigation: horizontal links → hamburger menu on mobile
- Cards: multi-column → stacked vertical on mobile
- Footer: multi-column → stacked single column on mobile

### Touch Targets
- 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):

*No major structural differences detected between desktop and mobile widgets. The same blueprints scale rather than collapse — verify by inspecting actual mobile render.*

## 9b. Visual Tone & Photography

**Tone:** No imagery

No detectable photographic content. The site composes entirely with typography, color blocks, and minimal vector graphics. Clone strategy: lean on type hierarchy + layout rhythm rather than visual media.

**Media Format Mix:**
- *No detectable images.*

**Imagery Guidance for clones:**
- Don't add stock imagery just to "fill space" — this site's clarity comes from typographic restraint.
- Use generous whitespace, strong type hierarchy, and color blocks for visual rhythm.

## 10. Agent Prompt Guide

### Quick Reference
- Background: Pure White (`#ffffff`)
- Primary text: Pure Black (`#000000`)
- Accent: Ring Blue (`#3b82f6`)
- Border: Slate Grey (`#808080`)
- Font: Times New Roman
- Body: 16px weight 400

### Example Component Prompts
- "Create a hero section on Pure White background (#ffffff). Headline at 32px Times New Roman weight 700, line-height normal, color #000000."
- "Build navigation: sticky on `#ffffff`. Times New Roman 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 Times New Roman, weight range 400–700. Never exceed 700 — heavier weights break the brand's tonal restraint.
3. **Spacing**: Use the `--ca-space-*` token scale (8px–45px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
4. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.

## 11. CSS Design Tokens Raw Export

*Copy-paste ready `:root {}` block — all values extracted directly from the live site.*

```css
/* Colors */
:root {
  --ca-surface-2: #ffffff;
  --ca-hairline: #808080;
}

/* Typography */
:root {
  --ca-font-primary: "Times New Roman", system-ui, sans-serif;
  --ca-text-display: 32px;
  --ca-text-body: 16px;
}

/* Spacing & Radius */
:root {
  --ca-space-xxs: 2px;
  --ca-space-xs: 8px;
  --ca-space-sm: 20px;
  --ca-space-md: 21px;
  --ca-space-base: 29px;
  --ca-space-lg: 37px;
  --ca-space-xl: 45px;
  --ca-space-2xl: 48px;
  --ca-space-3xl: 64px;
  --ca-radius-none: 0px;
  --ca-radius-xs: 4px;
  --ca-radius-sm: 8px;
  --ca-radius-md: 14px;
  --ca-radius-lg: 20px;
  --ca-radius-xl: 32px;
  --ca-radius-full: 9999px;
}
```


## 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:
    - "The request could not be satisfied."
```

**Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.


---
## Extraction Completeness: 12/100 (D)

| Category | Score | Max | Detail |
|----------|-------|-----|--------|
| Colors & Palette | 3 | 25 | 2 named colors |
| Typography | 5 | 20 | 2 roles defined |
| Components | 0 | 20 | 0 specs extracted |
| Motion & Interaction | 0 | 15 | No keyframes |
| CSS Custom Properties | 0 | 10 | 0 vars |
| Responsive Breakpoints | 4 | 5 | 4 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:*

- **Sparse component extraction** — fewer than 5 component types detected. Highly dynamic sections (modals, datepickers, carousels) require interaction to render and are not captured in a static pass.

| Category | What's missing | Fallback strategy |
|----------|----------------|-------------------|
| **Photography** | No photographic content detected on this page | Don't add stock imagery; clarity comes from type + color blocks |
| **Keyframe animations** | No @keyframes declarations found (transitions only) | Use CSS transitions for state changes; avoid complex scroll-based animations |
| **Component states** | Hover / focus / active states not captured | Darken background ~10% on hover, add 2px focus ring matching accent token, +50% opacity for disabled |
| **Dark mode** | No dark-mode CSS variables or media queries detected | Light mode is canonical; do not generate dark-mode variants unless explicitly requested |
| **Form inputs** | No text input fields detected on this page | Use the documented border-radius + accent border on focus; 12-16px padding inside |
| **Design tokens** | Only 0 CSS custom properties (low signal for semantic naming) | Color names are nearest-neighbor approximations; verify against brand guidelines if available |

### Per-section confidence

| Section | Confidence | Reason |
|---------|------------|--------|
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
| §2 Colors | Low | 0 CSS vars (semantic naming requires ≥20 for high) |
| §3 Typography | Low | 2 typography roles inferred |
| §4 Components | Low | 0 component variants captured |
| §7 Motion | Medium | Transitions only |
| §8 Do's/Don'ts | Medium | 0 rules generated; design-decisions.json has evidence per rule |
| §9 Responsive | High | 4 breakpoints detected |
| §9b Photography | Low | 0 images, hero not detected |

## 11.2 Measured Reality (CDP Engine)

Captured directly from Chrome's engine across **all 16 rendered nodes** — not a sample. These are the values the page *actually paints*, weighted by how often they appear.

### Measured Design Scale
**Type scale by usage** (× = paint count): `16px`×9 · `32px`×2 · `24px`×2 · `13px`×2

**Weights** (× = paint count): `400`×11 · `700`×4

---
*Generated by Prism — automated Playwright extraction + design analysis.*
*Source: https://ferrari.com | 2026-06-11T05:00:38.719Z*
*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 ferrari.com