getComputedStyle() from the live screenshots visible here.
Color Palette
14 colors extracted via getComputedStyle(). Click any swatch to copy its hex value.
Background & Surface
Text & Content
Accent & Interactive
Border & Divider
Full Extracted Palette (+5)
Typography
All values extracted via getComputedStyle() — no estimation.
| Role | Font Family | Size / Weight | Line Height | Letter Spacing | Preview |
|---|---|---|---|---|---|
| Display Hero | BMWTypeNextLatin Light | 60px / w300 | 1.3 | normal | Display Hero |
| Section Heading | BMWTypeNextLatin Light | 40px / w300 | 1.3 | normal | Section Heading |
| Sub-heading | BMWTypeNextLatin | 24px / w400 | 1.3 | normal | Sub-heading |
| Eyebrow / Overline | BMWTypeNextLatin | 20px / w400 | 1.4 | normal | Eyebrow / Overline |
| Label Heading | BMWTypeNextLatin | 16px / w400 | 1.6 | normal | Label Heading |
| Button Large | BMWTypeNextLatin | 16px / w700 | 1.2 | normal | Button Large |
Live Components
Rendered in real HTML using your extracted tokens — no screenshots.
Buttons
Form Inputs
Card
Badges & Labels
Spacing Scale
Border Radius
0px
24px
24px
24px
24px
24px
9999px
Component Specs
Extracted CSS values per component and variant state.
### Buttons
- Background: `transparent`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 1px 6px
- Radius: 0px
- Font: 16px weight 400
- Use: Subtle action, toolbar, nav button
- Background: `transparent`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 12px
- Radius: 0px
- Font: 16px weight 400
- Use: Subtle action, toolbar, nav button
- Background: `#1c69d4` `{colors.primary}`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 0px 20px
- Radius: 0px
- Font: 16px weight 700
- Use: Primary CTA / brand action
- Background: `#1c69d4` `{colors.primary}`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 16px 18px 16px 14px
- Radius: 24px
- Shadow: `rgba(0, 0, 0, 0.3) 0px 1px 5px 0px`
- Font: 16px weight 400
- Use: Status pills, tags, chips
- Background: `#3c3c3c` `{colors.hairline}`
- Text: `#bbbbbb`
- Padding: 16px 14px 16px 18px
- Radius: 24px
- Shadow: `rgba(0, 0, 0, 0.3) 0px 1px 5px 0px`
- Font: 16px weight 400
- Use: Status pills, tags, chips
- Background: `#1c69d4` `{colors.primary}`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 8px
- Radius: 0px
- Font: 16px weight 400
- Use: Primary CTA / brand action
Inputs & Forms
- Background: `#f8f8f8` `{colors.surface-2}`
- Text: `#000000`
- Padding: 0px 24px
- Radius: 0px
- Border: 0px none rgb(0, 0, 0)
- Font: 16px weight 400
- Use: Text fields, search inputs
Navigation
- Background: `transparent`
- Padding: 0px
- Radius: none
- Font: 16px weight 400
- Use: Fixed/sticky block nav — N/A items
Search Bar
- Background: `transparent`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 0px
- Radius: 0px
- Font: 16px weight 400
- Use: Inline search form
Interaction State Narrative
- **FooterLink**:
- - **hover:** text #bbbbbb → #ffffff, border changes
Buttons
- **DO NOT introduce new buttons variants** without justification
Inputs & Forms
- **DO NOT introduce new inputs & forms variants** without justification
Navigation
- **DO NOT introduce new navigation variants** without justification
Search Bar
- **DO NOT introduce new search bar 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.5) 0px 4px 25px 0px
rgba(0, 0, 0, 0.25) 0px 15px 50px 0px
rgba(0, 0, 0, 0.3) 0px 1px 5px 0px
rgba(0, 0, 0, 0.5) 0px -1px 8px 0px
Motion & Transitions
5 motion tokens — easing curves and durations.
| transition-1 | all |
| transition-2 | transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out |
| transition-3 | transform 0.3s, opacity 0.3s, -webkit-transform 0.3s |
| transition-4 | transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out |
| transition-5 | background-color 0.05s |
Motion Timeline
9 keyframe animations extracted from the live page. Preview 9 below — each block is animating right now with the actual extracted keyframes.
rotate
backdrop-fade-in
backdrop-fade-in-dark
slidein
pwri-minute
pwri-hour
pwri-scroll
dialog-fade-in
button-fade-in
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(255, 255, 255) |
| input |
default
input
bg rgb(248, 248, 248)
fg rgb(0, 0, 0) |
| link |
default
link
bg rgb(28, 105, 212)
fg rgb(255, 255, 255) |
| navLink |
default
navLink
bg rgb(28, 105, 212)
fg rgb(255, 255, 255) |
| badge |
default
badge
bg rgba(0, 0, 0, 0)
fg rgb(255, 255, 255) |
Z-Index Stacking Context
13 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 bmw-m.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: bmw-m.com
description: "Light product system built on #ffffff with #1c69d4 as the primary CTA accent. Type anchored in BMWTypeNextLatin at 20px / weight 400. Extracted automatically from https://bmw-m.com/ — every value from getComputedStyle(), no approximation."
narrative: |
bmw-m.com is built on a pure-white canvas (rgb(255,255,255)).
The system uses rgb(28, 105, 212) as the high-saturation accent for primary actions.
Sharp 0px corners on CTAs — architectural restraint, engineering precision alongside BMWTypeNextLatin as the primary typeface.
colors:
background: "#ffffff"
surface-1: "#f8f8f8"
surface-2: "#f8f8f8"
ink: "#262626"
ink-subtle: "#262626"
primary: "#1c69d4"
on-primary: "#ffffff"
primary-hover: "#3aaea9"
hairline: "#3c3c3c"
primary-focus: "#0653b6"
typography:
display-xl:
fontFamily: "BMWTypeNextLatin Light"
fontSize: 60px
fontWeight: 300
lineHeight: 1.3
letterSpacing: 0
display-lg:
fontFamily: "BMWTypeNextLatin Light"
fontSize: 40px
fontWeight: 300
lineHeight: 1.3
letterSpacing: 0
display-md:
fontFamily: "BMWTypeNextLatin"
fontSize: 24px
fontWeight: 400
lineHeight: 1.3
letterSpacing: 0
headline:
fontFamily: "BMWTypeNextLatin"
fontSize: 16px
fontWeight: 400
lineHeight: 1.6
letterSpacing: 0
button:
fontFamily: "BMWTypeNextLatin"
fontSize: 16px
fontWeight: 700
lineHeight: 1.2
letterSpacing: 0
eyebrow:
fontFamily: "BMWTypeNextLatin"
fontSize: 20px
fontWeight: 400
lineHeight: 1.4
letterSpacing: 0
rounded:
none: 0px
xs: 24px
sm: 24px
md: 24px
lg: 24px
xl: 24px
pill: 9999px
spacing:
xxs: 2px
xs: 6px
sm: 8px
md: 12px
lg: 40px
xl: 45px
xxl: 64px
section: 80px
components:
button-ghost:
backgroundColor: "transparent"
textColor: "{colors.on-primary}"
typography: "{typography.headline}"
rounded: "{rounded.none}"
padding: 1px 6px
button-ghost:
backgroundColor: "transparent"
textColor: "{colors.on-primary}"
typography: "{typography.headline}"
rounded: "{rounded.none}"
padding: 12px
button-primary-brand:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.headline}"
rounded: "{rounded.none}"
padding: 0px 20px
input-text-input:
backgroundColor: "{colors.surface-2}"
textColor: "#000000"
typography: "{typography.headline}"
rounded: "{rounded.none}"
padding: 0px 24px
navigation-main-nav:
backgroundColor: "transparent"
typography: "{typography.headline}"
rounded: "{rounded.none}"
search-bar-search-bar:
backgroundColor: "transparent"
textColor: "{colors.on-primary}"
typography: "{typography.headline}"
rounded: "{rounded.none}"
extracted_at: "2026-05-30T20:38:34.576Z"
completeness: 62
scoreVersion: "v2"
---
# Design System — bmw-m.com
> Extracted automatically by Clone Architect from https://www.bmw-m.com
> Date: 2026-05-30
> Viewport: Desktop 1440x900 + Mobile 390x844
> Every value in this file comes from real getComputedStyle() — no approximation.
> **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
>
> - **Canvas**: `rgb(255,255,255)` is the page background. Every component composits against this.
> - **Accent**: `rgb(28, 105, 212)` 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: 40px.
> - **Default radius**: 24px 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
bmw-m.com adopts the classic pure-white canvas (`#ffffff`) — a deliberate choice that recedes into transparency, letting typography, color and product imagery carry the entire visual weight.
Typography is anchored in **BMWTypeNextLatin**. Headlines run at a remarkably light weight (400) — restraint over assertion, creating an editorial calm that invites reading rather than demanding it.
Body text reads in Warm Brown (`#262626`) — softened from pure black, a small but deliberate detail that lowers reading friction. **M Tricolor Blue** (`#1c69d4`) 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 — each level combines several blurred layers at varying offsets to simulate the way light actually falls on stacked surfaces, not the simulated drop-shadow of cheap interfaces.
Motion design uses smooth easing curves for polished state transitions.
**Key Characteristics:**
- Background: Pure White (`#ffffff`)
- Primary typeface: BMWTypeNextLatin
- Primary text: Warm Brown (`#262626`)
- Accent: M Tricolor Blue (`#1c69d4`)
- Shadow system: 4 distinct elevation levels
- Custom fonts loaded: BMWTypeNextLatin, BMWTypeNextLatin Light, epaasLinkFont, epaasTextFont, Playfair Display
## 2. Color Palette & Roles
### Background & Surface
- **Pure White** (`#ffffff`): Page background (primary)
- **Off-Cream** (`#f8f8f8`): Surface / elevated background
### Text & Content
- **Warm Brown** (`#262626`): Primary body text
- **Pure Black** (`#000000`): Secondary text
- **Dark Gray** (`#3c3c3c`): Secondary text
### Accent & Interactive
- **M Tricolor Blue** (`#1c69d4`): Interactive / accent
- **#3aaea9** (`#3aaea9`): Interactive / accent
- **M Tricolor Red** (`#db1a0d`): Interactive / accent
### Border & Divider
- **Silver** (`#bbbbbb`): Borders / dividers
### Full Extracted Palette
12 distinct colors detected on the live page (9 categorized above + 3 additional below). Every value is a real `getComputedStyle()` color — no approximation.
- `#e6e6e6` — Light Gray
- `#0653b6` — Cobalt Blue
- `#757575` — Stone
### CSS Custom Properties (Design Tokens)
**Spacing Token**
- `--grid-padding-wide`: `120px`
- `--grid-padding`: `30px`
- `--grid-gap`: `16px`
- `--grid-padding-desktop`: `100px`
**Other tokens**
- `--site-context-ui-track`: `#e6e6e6`
- `--site-context-highlight-color`: `#1c69d4`
- `--site-context-theme-color`: `#fff`
- `--site-context-font-color`: `#262626`
- `--site-context-surface-hover`: `#f8f8f8`
- `--site-context-surface-muted-strong`: `#e6e6e6`
- `--site-context-focus-color`: `#0653b6`
- `--site-context-metainfo-color`: `#757575`
## 3. Typography Rules
### Font Families
- **Primary**: `BMWTypeNextLatin`
- **Secondary**: `BMWTypeNextLatin Light`
- **Font 3**: `epaasLinkFont`
- **Font 4**: `epaasTextFont`
- **Font 5**: `Playfair Display`
### Custom Fonts Loaded
- **BMWTypeNextLatin** weight 400 (normal)
- **BMWTypeNextLatin Light** weight 300 (normal)
- **epaasLinkFont** weight 700 (normal)
- **epaasTextFont** weight 400 (normal)
- **Playfair Display** weight 400 (normal)
### Typography Hierarchy
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|------|------|------|--------|-------------|----------------|-------|
| Display Hero | BMWTypeNextLatin Light | 60px | 300 | 1.3 | normal | Main headline (h2) |
| Section Heading | BMWTypeNextLatin Light | 40px | 300 | 1.3 | normal | Section titles (h2) |
| Sub-heading | BMWTypeNextLatin | 24px | 400 | 1.3 | normal | Third-level heading (h3) |
| Eyebrow / Overline | BMWTypeNextLatin | 20px | 400 | 1.4 | normal | Label above heading, uppercase tag |
| Label Heading | BMWTypeNextLatin | 16px | 400 | 1.6 | normal | Small heading (H5) |
| Button Large | BMWTypeNextLatin | 16px | 700 | 1.2 | normal | Button label (16px) |
### Full Font Size Scale
Sizes detected in the design (descending): `60px`, `40px`, `32px`, `24px`, `20px`, `18px`, `16px`
> 2 size(s) detected outside the sampled hierarchy (32px, 18px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
## 4. Component Stylings
### Buttons
**Ghost**
- Background: `transparent`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 1px 6px
- Radius: 0px
- Font: 16px weight 400
- Use: Subtle action, toolbar, nav button
**Ghost**
- Background: `transparent`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 12px
- Radius: 0px
- Font: 16px weight 400
- Use: Subtle action, toolbar, nav button
**Primary Brand**
- Background: `#1c69d4` `{colors.primary}`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 0px 20px
- Radius: 0px
- Font: 16px weight 700
- Use: Primary CTA / brand action
**Pill**
- Background: `#1c69d4` `{colors.primary}`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 16px 18px 16px 14px
- Radius: 24px
- Shadow: `rgba(0, 0, 0, 0.3) 0px 1px 5px 0px`
- Font: 16px weight 400
- Use: Status pills, tags, chips
**Pill**
- Background: `#3c3c3c` `{colors.hairline}`
- Text: `#bbbbbb`
- Padding: 16px 14px 16px 18px
- Radius: 24px
- Shadow: `rgba(0, 0, 0, 0.3) 0px 1px 5px 0px`
- Font: 16px weight 400
- Use: Status pills, tags, chips
**Primary Brand**
- Background: `#1c69d4` `{colors.primary}`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 8px
- Radius: 0px
- Font: 16px weight 400
- Use: Primary CTA / brand action
### Inputs & Forms
**Text Input**
- Background: `#f8f8f8` `{colors.surface-2}`
- Text: `#000000`
- Padding: 0px 24px
- Radius: 0px
- Border: 0px none rgb(0, 0, 0)
- Font: 16px weight 400
- Use: Text fields, search inputs
### Navigation
**Main Nav**
- Background: `transparent`
- Padding: 0px
- Radius: none
- Font: 16px weight 400
- Use: Fixed/sticky block nav — N/A items
### Search Bar
**Search Bar**
- Background: `transparent`
- Text: `#ffffff` `{colors.on-primary}`
- Padding: 0px
- Radius: 0px
- Font: 16px weight 400
- Use: Inline search form
## 4b. Component Behaviors (State Matrix)
### Interaction State Narrative
- **FooterLink**:
- **hover:** text #bbbbbb → #ffffff, 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(255, 255, 255)"
input:
default:
bg: "rgb(248, 248, 248)"
fg: "rgb(0, 0, 0)"
link:
default:
bg: "rgb(28, 105, 212)"
fg: "rgb(255, 255, 255)"
navLink:
default:
bg: "rgb(28, 105, 212)"
fg: "rgb(255, 255, 255)"
badge:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(255, 255, 255)"
footerLink:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(187, 187, 187)"
hover:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(255, 255, 255)"
```
**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
- **6 shape(s)** in this system: `Ghost`, `Ghost`, `Primary Brand`, `Pill`, `Pill`
- **DO NOT introduce new buttons variants** without justification
### Inputs & Forms
- **1 shape(s)** in this system: `Text Input`
- **DO NOT introduce new inputs & forms variants** without justification
### Navigation
- **1 shape(s)** in this system: `Main Nav`
- **DO NOT introduce new navigation variants** without justification
### Search Bar
- **1 shape(s)** in this system: `Search Bar`
- **DO NOT introduce new search bar variants** without justification
## 5. Layout Principles
### Layout Type
**top-nav + content**
### Grid
Single column, centered content
### Max Width
1600px
### Spacing System
Generous spacing — editorial breathing room
| Token | Value |
|-------|-------|
| xxs | 2px |
| xs | 6px |
| sm | 8px |
| md | 12px |
| base | 24px |
| lg | 40px |
| xl | 45px |
| 2xl | 48px |
| 3xl | 64px |
### Border Radius Scale
| Name | Value | Use |
|------|-------|-----|
| None | 0px | No rounding |
| Xs | 24px | Tiny corners (badges, micro elements) |
| Sm | 24px | Buttons, inputs, small elements |
| Md | 24px | Cards, containers |
| Lg | 24px | Large rounded elements, pill segments |
| Xl | 24px | Category strips, featured containers |
| Full | 9999px | Pills, avatars, circular elements |
### Shape Language
| Component | Border Radius |
|-----------|---------------|
| Buttons | `0px` |
| Inputs & Forms | `0px` |
| Navigation | `none` |
| Search Bar | `0px` |
| Page Body | `0px` |
| Primary Input | `0px` |
**Shape Personality**: Sharp & Angular — No rounding. Precise, editorial, enterprise feel.
**Full Radius Spectrum**: 24px (from `allBorderRadii` scan)
## 5b. Spacing Rhythm Names
*Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
| Name | Value | Use case |
|------|-------|----------|
| **hero** | `64px` | Top/bottom of full-bleed hero sections |
| **section** | `45px` | Between major bands (color change, content shift) |
| **subsection** | `40px` | Within a section, between content groups |
| **card** | `12px` | Card padding, list-item spacing |
| **compact** | `8px` | Form fields, tight clusters, badge padding |
| **micro** | `6px` | 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).
**4/8 structural patterns detected.**
### Hero Pattern
- **Composition:** centered — Centered composition — heading + subheading + CTAs stacked vertically, content centered horizontally. Common for SaaS marketing pages.
- **Viewport coverage:** 451px tall (not full-viewport)
- **Heading:** "THE ULTIMATE TOURING." — 40px left-aligned
- **CTAs:** 1 (primary: "Experience now")
- **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. No imagery needed for hero — text-driven.
### Navigation Pattern
- **Position:** static (scrolls with page)
- **Layout:** unknown — Layout not classified
- **Height:** 50px
- **Logo:** ✓ present
- **Nav links:** 7 primary items
- **CTAs in nav:** 0 (no buttons — links only)
- **Search:** ✓ search input visible in nav
- **Clone instruction:** Build a static unknown navigation. Link-only — no button styling needed.
### Card Grid Pattern
- **Card count:** 10 cards detected
- **Columns (desktop):** 1-up grid
- **Card dimensions:** 1440×695px (aspect 2.07:1)
- **Gap:** 24px between cards
- **Content:** ✓ image + CTA
- **Image position:** top
- **Clone instruction:** Build a 1-column grid (desktop) with cards at ~2.07:1 aspect ratio. Each card has an image at the top.
### Footer Pattern
- **Columns:** 1
- **Links:** 30 total
- **Height:** 715px
- **Includes:** ✗ no newsletter | ✓ social icons | ✓ language switcher ✓ copyright
- **Clone instruction:** Build a 1-column footer with ~30 links per column, social media links, and a copyright line.
## 6. Depth & Elevation
| Level | Treatment | Use |
|-------|-----------|-----|
| Flat (Level 0) | No shadow | Page background, content blocks |
| Layered (Level 1) | <br>`rgba(0, 0, 0, 0.5) 0px 4px 25px 0px` | Cards, elevated surfaces |
| Layered (Level 2) | <br>`rgba(0, 0, 0, 0.25) 0px 15px 50px 0px` | Cards, elevated surfaces |
| Layered (Level 3) | <br>`rgba(0, 0, 0, 0.3) 0px 1px 5px 0px` | Cards, elevated surfaces |
| Layered (Level 4) | <br>`rgba(0, 0, 0, 0.5) 0px -1px 8px 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
### Dominant Easing Curves
| Curve | Semantic Name |
|-------|---------------|
| `ease-in-out` | Ease In-Out — Symmetric |
| `ease-in` | Ease In — Accelerating |
| `ease` | CSS ease — Default |
### Duration Scale
| Value | Tier | Typical Use |
|-------|------|-------------|
| `50ms` | Instant | State toggles, instant feedback |
| `200ms` | Normal | Panel open/close, navigation |
| `300ms` | Normal | Panel open/close, navigation |
| `500ms` | Slow | Hero animations, page transitions |
| `12s` | Cinematic | Splash, marketing reveals |
### Copy-Paste Transition Snippets
**Transform**
```css
transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
```
**Transform**
```css
transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
```
**Transform**
```css
transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
```
**Background**
```css
transition: background-color 0.05s;
```
### Keyframe Animation Catalog
| Animation Name | Type | Animated Props | Use Hint |
|----------------|------|----------------|----------|
| `rotate` | Rotate / Spin | transform | Loading indicator |
| `backdrop-fade-in` | Fade | background-color, opacity | Element entrance |
| `backdrop-fade-in-dark` | Fade | background-color, opacity | Element entrance |
| `slidein` | Slide | transform | Panel / drawer enter |
| `pwri-minute` | Rotate / Spin | transform | UI transition |
| `pwri-hour` | Rotate / Spin | transform | UI transition |
| `pwri-scroll` | Custom | top | UI transition |
| `dialog-fade-in` | Fade + Move | opacity, transform | Element entrance |
| `button-fade-in` | Slide | transform | Element entrance |
### Motion Fingerprint
- **Speed Character**: Deliberate & Calm (median duration: `300ms`)
- **Dominant Easing**: symmetric in-out (precise)
- **Animation Library**: 9 unique animations (9 total including variants)
> This design moves with deliberate & calm timing using symmetric in-out (precise), creating a UI that feels calm and controlled.
## 8. Do's and Don'ts
### Do
- Use Warm Brown (`#262626`) for text — not pure black, it's warmer and more readable
- Use BMWTypeNextLatin as the primary typeface — it defines the brand personality
- Keep font weights between 400-400 — the system uses a narrow weight range for subtle hierarchy
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
- Use M Tricolor Blue (`#1c69d4`) as the primary accent — it's the brand's signature interactive color
- Keep the hero centered and text-driven — no decorative media, typography carries the message
- Use a single primary CTA in the hero — the design intentionally avoids choice paralysis
- Include a search input directly in the nav — discoverability is a primary UX value here
- Each card includes a top image — imagery is part of the card identity, not optional
### Don't
- Don't use pure black (`#000000`) for text — the near-black adds warmth
- Don't substitute with generic sans-serif or serif — the custom font carries the brand
- Don't use weight 700 (bold) or above — 400 is the maximum weight in this system
- 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 add hero illustrations or photos — they'll break the typographic restraint
- Don't make the nav sticky — this design lets it scroll away to maximize content focus
- Don't put a CTA button in the nav — this design uses links only at the top
## 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(28, 105, 212)` for primary CTAs and brand-mark signals only"
why: "Single chromatic assertion device — overuse dilutes meaning"
test: "querySelectorAll('[style*=\"rgb(28, 105, 212)\"]').length <= 3 per fold"
```
## 9. Responsive Behavior
### Breakpoints
| Name | Width | Key Changes |
|------|-------|-------------|
| Mobile | 375px | Single column, compact spacing |
| Mobile | 480px | Single column, compact spacing |
| Mobile Large | 640px | Expanded mobile layout |
| Mobile Large | 767px | Expanded mobile layout |
| Tablet | 1023px | Multi-column grids begin |
| Desktop | 1280px | Full feature layout |
| Large Desktop | 1440px | Maximum content width |
### Token Diff — Desktop vs Mobile
| Element | Property | Desktop | Mobile |
|---------|----------|---------|--------|
| button | width | `auto` | `48px` |
### 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
- Buttons: 1px 6px 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):
*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:** Photography-driven
The site is dominated by photography (JPG/WebP). Photos carry the brand voice as much as the typography. Use authentic, brand-appropriate imagery — generic stock will degrade quality.
**Hero Image (above-fold dominant visual):**
- Aspect: 1.78:1 (landscape (16:9-ish))
- Rendered size: 801×451px
- Alt text: "THE ULTIMATE TOURING."
- *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): 11 (48%)
- Portrait (<0.87): 12 (52%)
- Square (0.87–1.15): 0 (0%)
**Media Format Mix:**
- JPG: 22 (typically photographic content)
- PNG: 1 (logos, transparent UI elements, mockups)
**Average rendered image size:** 426×361px
**Above-fold image count:** 1 / 23
**Imagery Guidance for clones:**
- Source authentic photography (or licensed stock that matches the brand mood) — placeholders will visibly degrade the clone.
- Match the dominant aspect ratio (see above) so card grids and hero compositions hold.
## 10. Agent Prompt Guide
### Quick Reference
- Background: Pure White (`#ffffff`)
- Primary text: Warm Brown (`#262626`)
- Accent: M Tricolor Blue (`#1c69d4`)
- Border: Dark Gray (`#3c3c3c`)
- Font: BMWTypeNextLatin
- Body: 16px weight 400
### Example Component Prompts
- "Create a hero section on Pure White background (#ffffff). Headline at 20px BMWTypeNextLatin weight 400, line-height 1.4, color #262626."
- "Create the primary CTA button: `#1c69d4` background, `#ffffff` text, 9999px border-radius, 0px 20px padding, 700 weight, BMWTypeNextLatin font."
- "Build navigation: static on `#ffffff`. BMWTypeNextLatin 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 BMWTypeNextLatin, weight range 300–400. Never exceed 400 — heavier weights break the brand's tonal restraint.
3. **Accent**: M Tricolor Blue (`#1c69d4`) is the sole interactive color. On hover → #3aaea9 (`#3aaea9`). Use CSS transitions, not opacity/brightness filters.
4. **Focus**: Render focus rings in Cobalt Blue (`#0653b6`) — never hide focus outlines. The ring color is distinct from the accent to avoid ambiguity.
5. **Motion**: All transitions use `cubic-bezier(1,0,0,1)`. Never use linear for UI transitions — preserve the brand's easing personality.
6. **Shape**: CTAs at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
7. **Spacing**: Use the `--ca-space-*` token scale (6px–45px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
8. **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: #f8f8f8;
--ca-ink-subtle: #262626;
--ca-primary: #1c69d4;
--ca-primary-hover: #3aaea9;
--ca-hairline: #3c3c3c;
--ca-primary-focus: #0653b6;
}
/* Typography */
:root {
--ca-font-primary: "BMWTypeNextLatin Light", system-ui, sans-serif;
--ca-text-display: 60px;
--ca-text-heading: 40px;
--ca-text-button: 16px;
}
/* Spacing & Radius */
:root {
--ca-space-xxs: 2px;
--ca-space-xs: 6px;
--ca-space-sm: 8px;
--ca-space-md: 12px;
--ca-space-base: 24px;
--ca-space-lg: 40px;
--ca-space-xl: 45px;
--ca-space-2xl: 48px;
--ca-space-3xl: 64px;
--ca-radius-none: 0px;
--ca-radius-xs: 24px;
--ca-radius-sm: 24px;
--ca-radius-md: 24px;
--ca-radius-lg: 24px;
--ca-radius-xl: 24px;
--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: main-content
tag: main
height: 6799px
width: full-bleed
layout: block
children: 1
- section: hero
tag: div
classes: ["pw-m-stage-hero-teaser", "pwt--mine-shaft"]
height: 844px
width: full-bleed
layout: block
children: 2
bg: "rgb(38, 38, 38)"
- section: header
tag: header
classes: ["pw-m-header--m"]
height: 82px
width: 1392px
layout: block
children: 1
- section: header
tag: div
height: 82px
width: 1392px
layout: block
children: 1
bg: "rgb(38, 38, 38)"
padding: "16px 0px"
- section: hero
tag: div
classes: ["grid-container", "grid", "initialized"]
height: 572px
width: full-bleed
layout: grid: 12-col gap=normal 24px
children: 3
padding: "0px 100px"
- section: unknown
tag: div
classes: ["pw-m-swiper-carousel__scroll-wrapper", "swiper-wrapper"]
height: 572px
width: full-bleed
layout: flex-row justify=normal
children: 1
- section: hero
tag: div
classes: ["swiper-slide", "swiper-slide-visible", "swiper-slide-fully-visible", "swiper-slide-active"]
height: 572px
width: full-bleed
layout: block
children: 1
- section: hero
tag: div
classes: ["pw-m-stage-hero-teaser__primary-media"]
height: 451px
width: 801px
layout: block
children: 1
- section: hero
tag: div
height: 451px
width: 503px
layout: block
children: 3
- section: hero
tag: div
classes: ["pw-m-stage-hero-teaser__secondary-media"]
height: 325px
width: 244px
layout: block
children: 1
- section: unknown
tag: div
classes: ["grid-container", "grid", "initialized"]
height: 586px
width: full-bleed
layout: grid: 12-col gap=normal 24px
children: 1
padding: "0px 100px"
- section: unknown
tag: div
classes: ["pw-teaser__background-wrapper"]
height: 348px
width: 618px
layout: block
children: 1
- section: unknown
tag: div
classes: ["pw-teaser__background-wrapper"]
height: 348px
width: 618px
layout: block
children: 1
- section: unknown
tag: div
classes: ["grid-container", "grid", "initialized"]
height: 633px
width: full-bleed
layout: grid: 12-col gap=normal 24px
children: 2
padding: "0px 100px"
- section: unknown
tag: div
classes: ["pw-m-swiper-carousel__scroll-wrapper", "swiper-wrapper"]
height: 437px
width: 1240px
layout: flex-row justify=normal
children: 6
- section: unknown
tag: div
classes: ["grid-container", "grid", "initialized"]
height: 867px
width: full-bleed
layout: grid: 12-col gap=normal 24px
children: 2
padding: "0px 100px"
- section: unknown
tag: div
classes: ["pw-m-swiper-carousel__scroll-wrapper", "swiper-wrapper"]
height: 620px
width: 1240px
layout: flex-row justify=normal
children: 6
- section: unknown
tag: div
classes: ["grid-container", "grid", "initialized"]
height: 618px
width: full-bleed
layout: grid: 12-col gap=normal 24px
children: 1
padding: "0px 100px"
- section: unknown
tag: div
classes: ["pw-teaser__background-wrapper"]
height: 348px
width: 618px
layout: block
children: 1
- section: unknown
tag: div
classes: ["pw-teaser__background-wrapper"]
height: 348px
width: 618px
layout: block
children: 1
- section: unknown
tag: div
classes: ["grid-container", "grid", "initialized"]
height: 398px
width: full-bleed
layout: grid: 12-col gap=normal 24px
children: 3
padding: "0px 100px"
- section: unknown
tag: div
classes: ["pw-m-nsc-teaser__media-wrapper"]
height: 398px
width: 608px
layout: block
children: 1
- section: unknown
tag: div
classes: ["pw-m-nsc-teaser__copy-button-wrapper"]
height: 161px
width: 503px
layout: block
children: 2
- section: unknown
tag: div
classes: ["grid-container", "grid", "initialized"]
height: 133px
width: full-bleed
layout: grid: 12-col gap=normal 24px
children: 1
padding: "0px 100px"
- section: unknown
tag: div
classes: ["grid-container", "grid", "initialized"]
height: 648px
width: full-bleed
layout: grid: 12-col gap=normal 24px
children: 2
padding: "0px 100px"
```
**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:
- "THE ULTIMATE TOURING."
- "MORE NEW M MODELS."
- "BMW M CHATBOT"
sub-headings:
- "TEST YOURSELF, TAKE THE QUIZ."
- "LOWER CONSUMPTION, FULL PERFORMANCE."
ctas:
- "M Motorsport"
- "Experience now"
- "Shop M Lifestyle"
navigation:
- "Skip to main content"
- "Home"
- "Magazine"
- "Models"
- "M Motorsport"
- "Overview"
- "News & Stories"
- "Race Cars"
- "Works Drivers"
- "Racing Series"
footer-links:
- "Deutsch"
- "English"
```
**Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
## 15. Asset Inventory (Image Roles & Ratios)
*Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
```yaml
assets:
logo:
count: 1
avg-ratio: 2.75
common-aspect: "~16:6 banner"
sample-alts:
- "BMW M Logo"
editorial:
count: 4
avg-ratio: 0.56
common-aspect: "~9:16 portrait"
sample-alts:
- "BMW M760e and BMW i7 M70"
- "BMW XM Label"
- "BMW M2 CS"
```
**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">
M Motorsport
</button>
```
_Source pattern detected: padding `12px` · radius `0px` · weight `400`_
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
## 12. Known Extraction Gaps
*Auto-detected limitations of this extraction — 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.
---
## Extraction Completeness: 62/100 (C)
| Category | Score | Max | Detail |
|----------|-------|-----|--------|
| Colors & Palette | 13 | 25 | 9 named colors |
| Typography | 15 | 20 | 6 roles defined |
| Components | 16 | 20 | 4 specs extracted |
| Motion & Interaction | 12 | 15 | Keyframes present |
| CSS Custom Properties | 1 | 10 | 20 vars |
| Responsive Breakpoints | 5 | 5 | 7 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.
| Category | What's missing | Fallback strategy |
|----------|----------------|-------------------|
| **Dark mode** | No dark-mode CSS variables or media queries detected | Light mode is canonical; do not generate dark-mode variants unless explicitly requested |
### Per-section confidence
| Section | Confidence | Reason |
|---------|------------|--------|
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
| §2 Colors | Medium | 20 CSS vars (semantic naming requires ≥20 for high) |
| §3 Typography | High | 6 typography roles inferred |
| §4 Components | Medium | 4 component variants captured |
| §7 Motion | High | Keyframes + transitions |
| §8 Do's/Don'ts | High | 17 rules generated; design-decisions.json has evidence per rule |
| §9 Responsive | High | 7 breakpoints detected |
| §9b Photography | High | 23 images, hero present |
---
*Generated by Clone Architect — automated Playwright extraction + design analysis.*
*Source: https://www.bmw-m.com | 2026-05-30T20:38:34.582Z*
*All values verified via getComputedStyle() — no approximation, no hallucination.*
Re-extract: clone-architect update bmw-m.com