---
version: alpha
name: lifesum.com
description: "Light product system built on #ffffff with #21ba3a as the primary CTA accent. Type anchored in TTNormsPro at 64px / weight 700. Extracted automatically from https://lifesum.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
narrative: |
  lifesum.com is built on a pure-white canvas (rgb(255,255,255)).
  The system uses rgb(33, 186, 58) as the high-saturation accent for primary actions.
  Sharp 0px corners on CTAs — architectural restraint, engineering precision alongside TTNormsPro as the primary typeface.
  TTNormsPro is paired with Roboto for secondary roles.
  A restrained elevation system (2 distinct shadows) — shadows reserved for the few elements that must lift off the page.
  Motion is a first-class concern — 27 keyframe animations plus transition-driven interactions.

colors:
  background: "#ffffff"
  surface-1: "#ffffff"
  surface-2: "rgba(255, 255, 255, 0)"
  ink: "#0e0e0e"
  ink-muted: "rgba(14, 14, 14, 0.65)"
  ink-subtle: "#5c5c5c"
  primary: "#21ba3a"
  on-primary: "#111111"
  primary-hover: "#3caae6"
  hairline: "#363636"
  primary-focus: "#fdfdfd"
  semantic-warning: "#f24e41"

typography:
  display-xl:
    fontFamily: "TTNormsPro"
    fontSize: 64px
    fontWeight: 700
    lineHeight: 1.18
    letterSpacing: -0.4px
  display-md:
    fontFamily: "TTNormsPro"
    fontSize: 17px
    fontWeight: 600
    lineHeight: 1.58
    letterSpacing: 1.36px
  headline:
    fontFamily: "TTNormsPro"
    fontSize: 24px
    fontWeight: 600
    lineHeight: 1.35
    letterSpacing: 0
  body:
    fontFamily: "TTNormsPro"
    fontSize: 20px
    fontWeight: 400
    lineHeight: 1.35
    letterSpacing: 0
  button:
    fontFamily: "TTNormsPro"
    fontSize: 15px
    fontWeight: 400
    lineHeight: 1.5
    letterSpacing: 0.1px

rounded:
  none: 0px
  xs: 8px
  sm: 8px
  md: 8px
  lg: 8px
  xl: 40px
  pill: 9999px

spacing:
  xxs: 2px
  xs: 12px
  sm: 20px
  md: 28px
  lg: 24px
  xl: 32px
  xxl: 64px
  section: 80px

components:
  button-primary-brand:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.surface-1}"
    typography: "{typography.button}"
    rounded: "{rounded.xs}"
    padding: 16px 32px
  navigation-main-nav:
    backgroundColor: "{colors.surface-2}"
    typography: "{typography.body}"
    rounded: "{rounded.none}"
    padding: 0px 12px

extracted_at: "2026-05-30T23:50:08.091Z"
completeness: 59
scoreVersion: "v2"

---

# Design System — lifesum.com
> Extracted automatically by Clone Architect from https://lifesum.com
> Date: 2026-05-30
> 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).

> **🤖 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(33, 186, 58)` for primary CTAs ONLY. Never decorative.
> - **Body type**: 20px (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

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

Typography is anchored in **TTNormsPro**. Headlines use weight 700 for confident, assertive presence — the brand wants to be heard. Negative letter-spacing at display sizes (-0.4px at 64px) compresses headlines into engineered blocks, dense and precise. 

Body text reads in Jet Black (`#0e0e0e`) — softened from pure black, a small but deliberate detail that lowers reading friction. **Success Green** (`#21ba3a`) 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 how light falls on stacked surfaces. 
Motion design uses smooth easing curves for polished state transitions. 

**Key Characteristics:**
- Background: Pure White (`#ffffff`)
- Primary typeface: TTNormsPro
- Primary text: Jet Black (`#0e0e0e`)
- Accent: Success Green (`#21ba3a`)
- Display: 64px weight 700, letter-spacing -0.4px
- Shadow system: 2 distinct elevation levels
- Custom fonts loaded: TTNormsPro, QuincyCF-Regular

## 2. Color Palette & Roles

### Background & Surface
- **Pure White** (`#ffffff`): Page background (primary)
- **Beige** (`#f5ebe1`): Surface / elevated background
- **Transparent** (`transparent`): Surface / elevated background
- **Warm Cream** (`#faf5f0`): Surface / elevated background
- **#d9d9d9** (`#d9d9d9`): Surface / elevated background

### Text & Content
- **Jet Black** (`#0e0e0e`): Primary body text
- **Pure Black** (`#000000`): Secondary text
- **Charcoal** (`#363636`): Secondary text
- **#0000ee** (`#0000ee`): Secondary text
- **Jet Black** (`#141414`): Secondary text

### Accent & Interactive
- **Success Green** (`#21ba3a`): Interactive / accent

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

- `#5c5c5c` — Dim Gray
- `#767676` — Stone
- `#ebf2ff` — Light Gray *(token)*
- `#3caae6` — #3caae6 *(token)*
- `#f0f0f0` — Light Gray *(token)*
- `#d84a8a` — #d84a8a *(token)*
- `#37b97d` — Emerald *(token)*
- `#f59132` — Coral *(token)*
- `#ef4235` — Vermillion *(token)*
- `#e9e2db` — Light Gray *(token)*
- `#fafaf5` — Off-Cream *(token)*
- `#dbdbdb` — #dbdbdb *(token)*
- `#8278c8` — Amethyst *(token)*
- `#f24e41` — Vermillion *(token)*
- `#e1f7ed` — Light Gray *(token)*
- `#b1b1b1` — Cool Gray *(token)*

### CSS Custom Properties (Design Tokens)

**Shadow Token**
- `--tw-ring-offset-shadow`: `0 0 #0000`
- `--tw-ring-shadow`: `0 0 #0000`
- `--tw-drop-shadow`: ``
- `--tw-shadow`: `0 0 #0000`

**Spacing Token**
- `--tw-numeric-spacing`: ``
- `--tw-border-spacing-x`: `0`
- `--tw-border-spacing-y`: `0`

**Other tokens**
- `--color--BgInfo`: `#ebf2ff`
- `--color--AccentBlue`: `#3caae6`
- `--color--BorderSub`: `#f0f0f0`
- `--color--AccentMagenta`: `#d84a8a`
- `--tw-ring-color`: `#3b82f680`
- `--color--Type`: `#0e0e0e`
- `--color--BrandDark`: `#37b97d`
- `--tw-ring-offset-color`: `#fff`

## 3. Typography Rules

### Font Families
- **Primary**: `TTNormsPro`
- **Secondary**: `QuincyCF-Regular`

### Custom Fonts Loaded
- **TTNormsPro** weight 400 (normal)
- **TTNormsPro** weight 600 (normal)
- **TTNormsPro** weight 700 (normal)
- **QuincyCF-Regular** weight 400 (normal)

### Typography Hierarchy

| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|------|------|------|--------|-------------|----------------|-------|
| Display Hero | TTNormsPro | 64px | 700 | 1.18 | -0.4px | Main headline (h1) |
| Label Heading | TTNormsPro | 24px | 600 | 1.35 | normal | Small heading (H4) |
| Body | TTNormsPro | 20px | 400 | 1.35 | normal | Standard reading text |
| Sub-heading | TTNormsPro | 17px | 600 | 1.58 | 1.36px | Third-level heading (h3) |
| Button | TTNormsPro | 15px | 400 | 1.5 | 0.1px | Button label (15px) |
| Button | TTNormsPro | 14px | 600 | 1.35 | normal | Button label (14px) |

### Full Font Size Scale

Sizes detected in the design (descending): `64px`, `56px`, `32px`, `24px`, `20px`, `17px`, `15px`, `14px`

> 2 size(s) detected outside the sampled hierarchy (56px, 32px). 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

**Primary Brand**
- Background: `#21ba3a` `{colors.primary}`
- Text: `#ffffff` `{colors.surface-1}`
- Padding: 16px 32px
- Radius: 8px
- Shadow: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(159, 13...`
- Font: 14px weight 600
- Use: Primary CTA / brand action
- Hover: borderColor: `transparent`
- Focus: color: `rgb(253, 253, 253)`, borderColor: `rgba(230, 230, 230, 0.07)`, outline: `rgb(253, 253, 253) none 3px`

### Navigation

**Main Nav**
- Background: `transparent` `{colors.surface-2}`
- Padding: 0px 12px
- Radius: none
- Font: 20px weight 400
- Use: Static block nav — N/A items
- Hover: color: `#ffffff`, borderColor: `transparent`, outline: `rgb(255, 255, 255) none 3px`


## 4b. Component Behaviors (State Matrix)

### Interaction State Narrative

- **Button**:
  - **focus:** text #ffffff → #fdfdfd
- **NavLink**:
  - **hover:** text #fdfdfd → #ffffff

*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)"
    hover:
      bg: "rgba(0, 0, 0, 0)"
      fg: "rgb(255, 255, 255)"
    focus:
      bg: "rgba(0, 0, 0, 0)"
      fg: "rgb(253, 253, 253)"
  link:
    default:
      bg: "rgba(0, 0, 0, 0)"
      fg: "rgb(255, 255, 255)"
    hover:
      bg: "rgba(0, 0, 0, 0)"
      fg: "rgb(255, 255, 255)"
  navLink:
    default:
      bg: "rgba(0, 0, 0, 0)"
      fg: "rgb(253, 253, 253)"
    hover:
      bg: "rgba(0, 0, 0, 0)"
      fg: "rgb(255, 255, 255)"
  footerLink:
    default:
      bg: "rgba(0, 0, 0, 0)"
      fg: "rgb(0, 0, 238)"
    hover:
      bg: "rgba(0, 0, 0, 0)"
      fg: "rgb(0, 0, 238)"
```

**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
- **1 shape(s)** in this system: `Primary Brand`
- **DO NOT introduce new buttons variants** without justification

### Navigation
- **1 shape(s)** in this system: `Main Nav`
- **DO NOT introduce new navigation variants** without justification

## 5. Layout Principles

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

### Grid
Single column, centered content

### Max Width
1200px

### Spacing System
Compact spacing — information density prioritized

| Token | Value |
|-------|-------|
| xxs | 2px |
| xs | 12px |
| sm | 20px |
| md | 28px |
| base | 16px |
| lg | 24px |
| xl | 32px |
| 2xl | 48px |
| 3xl | 64px |

### Border Radius Scale
| Name | Value | Use |
|------|-------|-----|
| None | 0px | No rounding |
| Xs | 8px | Tiny corners (badges, micro elements) |
| Sm | 8px | Buttons, inputs, small elements |
| Md | 8px | Cards, containers |
| Lg | 8px | Large rounded elements, pill segments |
| Xl | 40px | Category strips, featured containers |
| Full | 9999px | Pills, avatars, circular elements |

### Shape Language

| Component | Border Radius |
|-----------|---------------|
| Buttons | `8px` |
| Navigation | `none` |
| Page Body | `0px` |

**Shape Personality**: Moderate Rounding — Medium corners (4–12px). Modern SaaS standard, neither sharp nor pill.

**Full Radius Spectrum**: 8px, 40px (from `allBorderRadii` scan)


## 5b. Spacing Rhythm Names

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

| Name | Value | Use case |
|------|-------|----------|
| **hero** | `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** | `28px` | Card padding, list-item spacing |
| **compact** | `20px` | Form fields, tight clusters, badge padding |
| **micro** | `12px` | 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).

**5/8 structural patterns detected.**

### Hero Pattern

- **Composition:** background-pattern — Background pattern/gradient — decorative background fills the section, content overlaid on top.
- **Viewport coverage:** full-viewport hero (≥70% screen height)
- **Heading:** "Une alimentation saine. En toute simplicité." — 64px left-aligned
- **Subheading:** "La nutrition est la clé d’un poids santé, d’une meilleure humeur, d’un sommeil réparateur et d'une espérance de vie plus longue."
- **CTAs:** 2 (primary: "Télécharger")
- **Clone instruction:** Reproduce the **background-pattern** 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:** 46px
- **Logo:** ✗ absent
- **Nav links:** 2 primary items
- **CTAs in nav:** 1
- **Clone instruction:** Build a static unknown navigation. Reserve 1 slot for primary CTA.

### Card Grid Pattern

- **Card count:** 5 cards detected
- **Columns (desktop):** 1-up grid
- **Card dimensions:** 1280×778px (aspect 1.64:1)
- **Gap:** 188px between cards
- **Content:** ✓ image
- **Image position:** top
- **Clone instruction:** Build a 1-column grid (desktop) with cards at ~1.64:1 aspect ratio. Each card has an image at the top.

### Testimonial Pattern

- **Count:** 3 testimonial blocks
- **Layout:** list
- **Avg quote length:** 331 chars (long-form story)
- **Includes:** ✗ no avatars | ✗ no logos | ✗ no ratings
- **Clone instruction:** Build a list of 3 testimonials.   

### Footer Pattern

- **Columns:** 3
- **Links:** 16 total
- **Height:** 619px
- **Includes:** ✗ no newsletter | ✓ social icons |  
- **Clone instruction:** Build a 3-column footer with ~5 links per column, social media links.

## 6. Depth & Elevation

| Level | Treatment | Use |
|-------|-----------|-----|
| Flat (Level 0) | No shadow | Page background, content blocks |
| Layered (Level 1) | <br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(159, 138, 119, 0.2) 0px 0px 8px 0px` | Cards, elevated surfaces |
| Layered (Level 2) | <br>`rgba(0, 0, 0, 0.15) 0px 4px 16px 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` | Ease In — Accelerating |
| `ease` | CSS ease — Default |

### Duration Scale

| Value | Tier | Typical Use |
|-------|------|-------------|
| `200ms` | Normal | Panel open/close, navigation |
| `300ms` | Normal | Panel open/close, navigation |

### Copy-Paste Transition Snippets

**Opacity**
```css
transition: opacity 0.3s ease-in, border-radius 0.2s ease-in;
```

**Opacity**
```css
transition: opacity 0.3s, transform 0.3s;
```

**All Props**
```css
transition: 0.2s ease-in;
```

### Keyframe Animation Catalog

| Animation Name | Type | Animated Props | Use Hint |
|----------------|------|----------------|----------|
| `fade-in` | Fade + Move | opacity, transform | Element entrance |
| `pulse-check` | Scale | transform, box-shadow | Attention / status |
| `confetti-slow` | Rotate / Spin | transform | UI transition |
| `confetti-medium` | Rotate / Spin | transform | UI transition |
| `confetti-fast` | Rotate / Spin | transform | UI transition |
| `confetti-fade` | Fade | opacity | UI transition |
| `move-pay-label-small` | Fade + Move | margin-top, opacity, transform | UI transition |
| `move-pay-label` | Fade + Move | margin-top, opacity, transform | UI transition |
| `pulse-radio` | Scale | transform, box-shadow | Attention / status |
| `fade-out` | Fade | opacity | Element exit |
| `draw-line` | Custom | width | UI transition |
| `move-label` | Fade + Move | margin-top, opacity, transform | UI transition |
| `levitate` | Slide | transform | UI transition |
| `levitate-shadow` | Fade + Move | opacity, transform | UI transition |
| `slideshow-from-left-to-top` | Scale | transform, z-index | UI transition |
| `slideshow-from-right-to-top` | Scale | transform, z-index | UI transition |
| `slideshow-from-top-to-left` | Scale | transform, z-index | UI transition |
| `slideshow-from-top-to-right` | Scale | transform, z-index | UI transition |
| `slideshow-left-to-right` | Scale | transform | UI transition |
| `slideshow-right-to-left` | Scale | transform | UI transition |

> *7 additional animations omitted (repetitive variants). See raw keyframes in `raw-css.json`.*

### Motion Fingerprint

- **Speed Character**: Deliberate & Calm (median duration: `300ms`)
- **Dominant Easing**: custom cubic-bezier curves
- **Animation Library**: 27 unique animations (27 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 Jet Black (`#0e0e0e`) for text — not pure black, it's warmer and more readable
- Use TTNormsPro as the primary typeface — it defines the brand personality
- Use negative letter-spacing (-0.4px) at display sizes for compressed, editorial headlines
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
- Use Success Green (`#21ba3a`) as the primary accent — it's the brand's signature interactive color
- Use 8px border-radius on buttons — the standard corner rounding for interactive elements
- Maintain nav height at 46.3438px — consistent vertical space for the navigation bar
- Make the hero full-viewport (≥70% screen height) — this design uses an immersive hero, not a tall navbar
- Include exactly 2 CTAs in the hero (primary + secondary) — this design pattern is multi-action, not single-purpose
- 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 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 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(33, 186, 58)` for primary CTAs and brand-mark signals only"
    why: "Single chromatic assertion device — overuse dilutes meaning"
    test: "querySelectorAll('[style*=\"rgb(33, 186, 58)\"]').length <= 3 per fold"
```

## 9. Responsive Behavior

### Breakpoints
| Name | Width | Key Changes |
|------|-------|-------------|
| Mobile | 350px | Single column, compact spacing |
| Mobile | 451px | Single column, compact spacing |
| Mobile Large | 599px | Expanded mobile layout |
| Tablet | 999px | Multi-column grids begin |
| Desktop | 1280px | Full feature layout |
| Large Desktop | 1399px | Maximum content width |

### Token Diff — Desktop vs Mobile

| Element | Property | Desktop | Mobile |
|---------|----------|---------|--------|
| heading | font-size | `64px` | `48px` |
| heading | line-height | `75.2px` | `56.4px` |
| body | font-size | `20px` | `17px` |
| body | line-height | `27px` | `22.95px` |
| nav | padding | `0px 12px` | `0px` |
| nav | height | `46.3438px` | `27.9688px` |
| button | font-size | `20px` | `17px` |
| button | width | `40px` | `35px` |

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

### Touch Targets
- Buttons: 0px padding
- Navigation: adequate spacing between items
- Interactive elements: minimum 44px touch target recommended

### Collapsing Narrative

How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):

- **Hero CTAs:** 2 on desktop → 1 on mobile (secondary CTAs dropped on small screens).
- **Navigation collapses to hamburger** — 2 links visible on desktop, 0 on mobile (the rest hide behind a menu toggle).
- **Nav CTAs reduced** on mobile (1 → 0) — the design prioritizes content over conversion buttons at small sizes.
- **Footer columns collapse:** 3 columns (desktop) → 2 columns (mobile).

## 9b. Visual Tone & Photography

**Tone:** Mixed photography + illustration

A balanced mix of photographic content and vector graphics. Photos likely carry product/lifestyle context while SVG handles icons, logos, and decorative accents.

**Hero Image (above-fold dominant visual):**
- Aspect: 0.83:1 (portrait / vertical)
- Rendered size: 610×735px
- *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): 3 (19%)
- Portrait (<0.87): 7 (44%)
- Square (0.87–1.15): 2 (13%)
- Ultra-wide (>2.3): 4 (25%)

**Media Format Mix:**
- JPG: 1 (typically photographic content)
- PNG: 13 (logos, transparent UI elements, mockups)
- SVG: 4 (icons, illustrations, decorative geometry)

**Average rendered image size:** 508×457px
**Above-fold image count:** 1 / 16

**Decorative Patterns Detected:**
- 2 large decorative SVG shapes (≥200×200px, non-icon) — likely blob/illustration accents

**Clone instruction for decorative work:** Decorative details are subtle — don't over-style; the design relies on restraint.

**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: Jet Black (`#0e0e0e`)
- Accent: Success Green (`#21ba3a`)
- Border: Charcoal (`#363636`)
- Font: TTNormsPro
- Body: 20px weight 400

### Example Component Prompts
- "Create a hero section on Pure White background (#ffffff). Headline at 64px TTNormsPro weight 700, line-height 1.18, letter-spacing -0.4px, color #0e0e0e."
- "Create the primary CTA button: `#21ba3a` background, `#ffffff` text, 8px border-radius, 16px 32px padding, 600 weight, TTNormsPro font."
- "Build navigation: static on `#ffffff`. TTNormsPro 20px 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 TTNormsPro, weight range 400–700. Never exceed 700 — heavier weights break the brand's tonal restraint.
3. **Accent**: Success Green (`#21ba3a`) is the sole interactive color. On hover → #3caae6 (`#3caae6`). Use CSS transitions, not opacity/brightness filters.
4. **Shape**: CTAs at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
5. **Spacing**: Use the `--ca-space-*` token scale (12px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
6. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.

## 11. CSS Design Tokens Raw Export

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

```css
/* Colors */
:root {
  --ca-surface-1: #ffffff;
  --ca-surface-2: transparent;
  --ca-ink-muted: #0e0e0e;
  --ca-ink-subtle: #5c5c5c;
  --ca-primary: #21ba3a;
  --ca-on-primary: #111111;
  --ca-primary-hover: #3caae6;
  --ca-hairline: #363636;
  --ca-primary-focus: #fdfdfd;
  --ca-semantic-warning: #f24e41;
}

/* Typography */
:root {
  --ca-font-primary: "TTNormsPro", system-ui, sans-serif;
  --ca-text-display: 64px;
  --ca-text-body: 20px;
  --ca-text-button: 15px;
}

/* Spacing & Radius */
:root {
  --ca-space-xxs: 2px;
  --ca-space-xs: 12px;
  --ca-space-sm: 20px;
  --ca-space-md: 28px;
  --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: 8px;
  --ca-radius-sm: 8px;
  --ca-radius-md: 8px;
  --ca-radius-lg: 8px;
  --ca-radius-xl: 40px;
  --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: hero
    tag: div
    height: 12428px
    width: full-bleed
    layout: block
    children: 1
    tone: dark
  - section: feature-section
    tag: div
    classes: ["page-home-hero-background", "min-h-[92vh]", "bg-cover", "pt-24"]
    height: 720px
    width: full-bleed
    layout: block
    children: 2
    bg-treatment: image
    tone: dark
    padding: "36px 0px 0px"
  - section: logo-strip
    tag: section
    classes: ["text-center"]
    height: 109px
    width: 1280px
    layout: block
    children: 2
    tone: dark
  - section: footer
    tag: footer
    classes: ["relative", "text-grey-darkest"]
    height: 619px
    width: full-bleed
    layout: block
    children: 1
    tone: dark
```

**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:
  sub-headings:
    - "TRAVAILLER CHEZ LIFESUM"
    - "SE CONNECTER"
  ctas:
    - "Language:
FR"
    - "OBTENEZ L'APPLI LIFESUM GRATUITE"
  navigation:
    - "Articles"
    - "For Work"
    - "TÉLÉCHARGER"
  footer-links:
    - "Lifesum.com start page"
    - "Carrière"
    - "Faites un don"
```

**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: 3.17
    common-aspect: "~16:6 banner"
    sample-alts:
      - "Download on the App Store"
  product:
    count: 2
    avg-ratio: 1.07
    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">
  Language:
FR
</button>
```
_Source pattern detected: padding `0px` · 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.
- **1 parasitic shadow(s) detected** — colored box-shadows (not near-black) found in allShadows. These likely originate from browser extensions or third-party injected widgets (e.g. Grammarly, chat overlays), not from the site's own design system. Discard them when building.


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

| Category | Score | Max | Detail |
|----------|-------|-----|--------|
| Colors & Palette | 15 | 25 | 11 named colors |
| Typography | 15 | 20 | 6 roles defined |
| Components | 8 | 20 | 2 specs extracted |
| Motion & Interaction | 12 | 15 | Keyframes present |
| CSS Custom Properties | 3 | 10 | 68 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.

| Category | What's missing | Fallback strategy |
|----------|----------------|-------------------|
| **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 | 68 CSS vars (semantic naming requires ≥20 for high) |
| §3 Typography | High | 6 typography roles inferred |
| §4 Components | Low | 2 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 | 6 breakpoints detected |
| §9b Photography | High | 16 images, hero present |

---
*Generated by Clone Architect — automated Playwright extraction + design analysis.*
*Source: https://lifesum.com | 2026-05-30T23:50:08.105Z*
*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.*
