---
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.
  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: "#faf5f0"
  ink: "#0e0e0e"
  ink-muted: "rgba(14, 14, 14, 0.65)"
  ink-subtle: "#5c5c5c"
  primary: "#21ba3a"
  on-primary: "#111111"
  primary-hover: "#3caae6"
  hairline: "rgba(255, 255, 255, 0)"
  primary-focus: "#fdfdfd"
  semantic-warning: "#f24e41"

typography:
  display-xl:
    fontFamily: "TTNormsPro, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
    fontSize: 64px
    fontWeight: 700
    lineHeight: 1.18
    letterSpacing: -0.4px
  display-md:
    fontFamily: "TTNormsPro, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
    fontSize: 17px
    fontWeight: 600
    lineHeight: 1.58
    letterSpacing: 1.36px
  headline:
    fontFamily: "TTNormsPro, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
    fontSize: 24px
    fontWeight: 600
    lineHeight: 1.35
    letterSpacing: 0
  body:
    fontFamily: "TTNormsPro, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
    fontSize: 20px
    fontWeight: 400
    lineHeight: 1.35
    letterSpacing: 0
  button:
    fontFamily: "TTNormsPro, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
    fontSize: 15px
    fontWeight: 400
    lineHeight: 1.5
    letterSpacing: 0.1px

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

spacing:
  xxs: 2px
  xs: 12px
  sm: 18px
  md: 20px
  lg: 32px
  xl: 36px
  xxl: 64px

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.hairline}"
    typography: "{typography.body}"
    rounded: "{rounded.none}"
    padding: 0px 12px

extracted_at: "2026-06-11T06:12:06.079Z"
completeness: 59
scoreVersion: "v2"

---

# Design System — lifesum.com
> Extracted automatically by Prism from https://lifesum.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**: sparse &nbsp;|&nbsp; **Motion**: expressive &nbsp;|&nbsp; **Weight**: heavy &nbsp;|&nbsp; **Aesthetic**: product-neutral

| Dimension | Value | Signal |
|---|---|---|
| Canvas | neutral | `#ffffff` |
| Type posture | sans-led (TTNormsPro) | "Healthy eating." |
| Color assertion | dual-accent | #21ba3a |
| Whitespace | sparse | section rhythm 60px |
| Interaction | expressive | 27 keyframes, 7 transitions |
| Radius language | 8px-rounded | from token scale |

**Prism fingerprint**: `neutral-canvas · sans-display · dual-accent · 8px-rounded · expressive-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(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**: 60px between major bands. Card padding: 32px.
> - **Default radius**: 40px 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 full-bleed image backdrop in the hero. This is the brand's most recognizable visual — reproduce it, don't replace it with a generic card or flat panel.

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 Near-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 comes from a small, deliberate set of shadows (2 distinct), each a multi-layer stack — several blurred layers at varying offsets — used sparingly rather than across the whole UI. 
Motion design uses smooth easing curves for polished state transitions. 

**Key Characteristics:**
- Background: Pure White (`#ffffff`)
- Primary typeface: TTNormsPro
- Primary text: Near-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
- **Off-White** (`#faf5f0`): Surface / elevated background
- **Light Grey** (`#d9d9d9`): Surface / elevated background

### Text & Content
- **Near-Black** (`#0e0e0e`): Primary body text
- **Pure Black** (`#000000`): Secondary text
- **Charcoal** (`#363636`): Secondary text
- **#0000ee** (`#0000ee`): Secondary text
- **Near-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` — Slate Grey
- `#767676` — Slate Grey
- `#ebf2ff` — Light Gray *(token)*
- `#3caae6` — #3caae6 *(token)*
- `#f0f0f0` — Off-White *(token)*
- `#d84a8a` — #d84a8a *(token)*
- `#37b97d` — Emerald *(token)*
- `#f59132` — Coral *(token)*
- `#ef4235` — Vermillion *(token)*
- `#e9e2db` — Light Gray *(token)*
- `#fafaf5` — Off-White *(token)*
- `#dbdbdb` — Whitesmoke *(token)*
- `#8278c8` — Amethyst *(token)*
- `#f24e41` — Vermillion *(token)*
- `#e1f7ed` — Light Gray *(token)*
- `#b1b1b1` — Grey *(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(159, 138, 119, 0.2) 0px 0px 8px 0px`
- 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.hairline}`
- 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
- **Link**:
  - **hover:** text #ffffff → #fdfdfd
- **NavLink**:
  - **hover:** text #f9f9f9 → #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: "transparent"
      fg: "inherit"
    focus:
      bg: "transparent"
      fg: "rgb(253, 253, 253)"
  link:
    default:
      bg: "rgba(0, 0, 0, 0)"
      fg: "rgb(255, 255, 255)"
    hover:
      bg: "transparent"
      fg: "rgb(253, 253, 253)"
  navLink:
    default:
      bg: "rgba(0, 0, 0, 0)"
      fg: "rgb(249, 249, 249)"
    hover:
      bg: "transparent"
      fg: "rgb(255, 255, 255)"
  footerLink:
    default:
      bg: "rgba(0, 0, 0, 0)"
      fg: "rgb(0, 0, 238)"
    hover:
      bg: "transparent"
      fg: "inherit"
```

**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 | 18px |
| md | 20px |
| base | 24px |
| lg | 32px |
| xl | 36px |
| 2xl | 60px |
| 3xl | 64px |

### Border Radius Scale
| Name | Value | Use |
|------|-------|-----|
| None | 0px | No rounding |
| Xs | 8px | Tiny corners (badges, micro elements) |
| Sm | 40px | Buttons, inputs, small elements |
| Md | 48px | Cards, containers |
| Lg | 56px | Large rounded elements, pill segments |
| Xl | 64px | 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

**Measured section padding**: bands use ~76px 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** | `36px` | Between major bands (color change, content shift) |
| **subsection** | `32px` | Within a section, between content groups |
| **card** | `20px` | Card padding, list-item spacing |
| **compact** | `18px` | 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:** "Healthy eating." — 64px left-aligned
- **Subheading:** "Discover the power of nutrition to enable a healthier weight, better mood, restful sleep, and longevity."
- **CTAs:** 2 (primary: "Get started")
- **Clone instruction:** Reproduce the **background-pattern** 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:** 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:** 6 cards detected
- **Columns (desktop):** 1-up grid
- **Card dimensions:** 1280×780px (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:** 316 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:** 570px
- **Includes:** ✗ no newsletter | ✓ social icons |  ✓ copyright
- **Clone instruction:** Build a 3-column footer with ~5 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(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 Near-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 | 800px | Multi-column grids begin |
| Tablet | 999px | Multi-column grids begin |
| Desktop | 1280px | Full feature layout |

### 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 | `43px` | `38px` |

### 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).


## 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.*

- **Clip-path shapes** — 1 non-rectangular cut(s).

> **Motion fingerprint**: non-rectangular shapes (1)

## 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): 4 (22%)
- Portrait (<0.87): 8 (44%)
- Square (0.87–1.15): 2 (11%)
- Ultra-wide (>2.3): 4 (22%)

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

**Average rendered image size:** 510×466px
**Above-fold image count:** 1 / 18

**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: Near-Black (`#0e0e0e`)
- Accent: Success Green (`#21ba3a`)
- Border: Transparent (`transparent`)
- 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`) — one accent, applied consistently to CTAs, active states, and links. Never introduce a second saturated color.
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–36px). 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: #faf5f0;
  --ca-ink-muted: #0e0e0e;
  --ca-ink-subtle: #5c5c5c;
  --ca-primary: #21ba3a;
  --ca-on-primary: #111111;
  --ca-primary-hover: #3caae6;
  --ca-hairline: transparent;
  --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: 18px;
  --ca-space-md: 20px;
  --ca-space-base: 24px;
  --ca-space-lg: 32px;
  --ca-space-xl: 36px;
  --ca-space-2xl: 60px;
  --ca-space-3xl: 64px;
  --ca-radius-none: 0px;
  --ca-radius-xs: 8px;
  --ca-radius-sm: 40px;
  --ca-radius-md: 48px;
  --ca-radius-lg: 56px;
  --ca-radius-xl: 64px;
  --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: 12907px
    width: full-bleed
    layout: block
    children: 1
  - section: hero
    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
    padding: "36px 0px 0px"
  - section: testimonials
    tag: div
    classes: ["px-16", "pb-24", "md:px-64", "lg:px-80"]
    height: 855px
    width: full-bleed
    layout: block
    children: 1
    vertical-padding: ~60px (generous)
    padding: "96px 80px 24px"
  - section: unknown
    tag: div
    classes: ["px-16", "pb-24", "md:px-64", "lg:px-80"]
    height: 329px
    width: full-bleed
    layout: block
    children: 1
    vertical-padding: ~96px (airy)
    padding: "128px 80px 64px"
  - section: unknown
    tag: hgroup
    height: 207px
    width: 896px
    layout: block
    children: 2
  - section: gallery-grid
    tag: li
    classes: ["relative", "mb-80", "grid", "grid-cols-8"]
    height: 817px
    width: 1280px
    layout: grid: 8-col gap=60px
    children: 3
  - section: gallery-grid
    tag: li
    classes: ["relative", "mb-80", "grid", "grid-cols-8"]
    height: 691px
    width: 1280px
    layout: grid: 8-col gap=60px
    children: 3
  - section: gallery-grid
    tag: li
    classes: ["relative", "mb-80", "grid", "grid-cols-8"]
    height: 876px
    width: 1280px
    layout: grid: 8-col gap=60px
    children: 3
  - section: gallery-grid
    tag: li
    classes: ["relative", "mb-80", "grid", "grid-cols-8"]
    height: 856px
    width: 1280px
    layout: grid: 8-col gap=60px
    children: 3
  - section: gallery-grid
    tag: li
    classes: ["relative", "mb-80", "grid", "grid-cols-8"]
    height: 892px
    width: 1280px
    layout: grid: 8-col gap=60px
    children: 3
  - section: gallery-grid
    tag: li
    classes: ["relative", "mb-80", "grid", "grid-cols-8"]
    height: 551px
    width: 1280px
    layout: grid: 8-col gap=60px
    children: 4
  - section: content-section
    tag: div
    classes: ["mx-auto", "max-w-[1280px]"]
    height: 2507px
    width: 1280px
    layout: block
    children: 2
  - section: unknown
    tag: div
    classes: ["px-16", "pb-24", "md:px-64", "lg:px-80"]
    height: 261px
    width: full-bleed
    layout: block
    children: 1
    padding: "0px 80px 24px"
  - section: logo-strip
    tag: section
    classes: ["text-center"]
    height: 109px
    width: 1280px
    layout: block
    children: 2
  - section: content-section
    tag: div
    classes: ["px-16", "pb-24", "md:px-64", "lg:px-80"]
    height: 996px
    width: full-bleed
    layout: block
    children: 1
    bg: "rgb(250, 245, 240)"
    bg-treatment: image
    vertical-padding: ~76px (generous)
    padding: "128px 80px 24px"
  - section: footer
    tag: footer
    classes: ["relative", "text-grey-darkest"]
    height: 570px
    width: full-bleed
    layout: block
    children: 1
    vertical-padding: ~32px
```

**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:
    - "WORK AT LIFESUM"
  ctas:
    - "Language: EN"
    - "GET STARTED WITH LIFESUM"
  navigation:
    - "Articles"
    - "For Work"
    - "GET STARTED"
  footer-links:
    - "Lifesum.com start page"
    - "Careers"
    - "Give a gift"
```

**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.98
    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:
EN
</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.


## 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** 1 · **cta** 2 · **project** 2 · **social** 4 · **footer** 11 · **other** 2

**Primary actions (conversion path):**
- Primary call-to-action — "GET STARTED" (the conversion path) → `https://app.adjust.com/112zb57z_116hd4yn`
- Primary call-to-action — "GET STARTED WITH LIFESUM" (the conversion path) → `https://app.adjust.com/112zb57z_116hd4yn`

**Signals:** 4/22 links carry a featured image · dominant link roles: footer-link (16), content-card (3), hero-cta (2).


---
## 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 |
| 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.

*Auto-detected extraction limitations — understand before building:*

- **Licensed web fonts (TTNormsPro, QuincyCF-Regular)** — detected but not downloaded. Substitute with your licensed copy or a close fallback (see Typography section for metrics).
- **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.

| 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 | 18 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 (208KB total). When running `prism add`, fonts are saved to `extractions/lifesum.com/fonts/` and embedded as base64 in the output HTML.

**@font-face declarations to use:**
```css
@font-face {
  font-family: 'TTNormsPro';
  /* src: url('/fonts/TTNormsPro.woff2') format('woff2'); */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TTNormsPro';
  /* src: url('/fonts/TTNormsPro.woff2') format('woff2'); */
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TTNormsPro';
  /* src: url('/fonts/TTNormsPro.woff2') format('woff2'); */
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'QuincyCF-Regular';
  /* src: url('/fonts/QuincyCF-Regular.woff2') format('woff2'); */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
```

### Keyframe Animations (Intercepted from CSS)

**26 @keyframes found** — these are the real animation definitions:

```
@keyframes fade-in { ... }
@keyframes pulse-check { ... }
@keyframes confetti-slow { ... }
@keyframes confetti-medium { ... }
@keyframes confetti-fast { ... }
@keyframes confetti-fade { ... }
@keyframes move-pay-label-small { ... }
@keyframes move-pay-label { ... }
@keyframes pulse-radio { ... }
@keyframes fade-out { ... }
@keyframes draw-line { ... }
@keyframes move-label { ... }
@keyframes levitate { ... }
@keyframes levitate-shadow { ... }
@keyframes slideshow-from-left-to-top { ... }
@keyframes slideshow-from-right-to-top { ... }
@keyframes slideshow-from-top-to-left { ... }
@keyframes slideshow-from-top-to-right { ... }
@keyframes slideshow-left-to-right { ... }
@keyframes slideshow-right-to-left { ... }
@keyframes spin-the-spinner { ... }
@keyframes rotateIn { ... }
@keyframes unit-button-fade-in { ... }
@keyframes fadeInVerifyContent { ... }
@keyframes scaleVerifiedMessage { ... }
@keyframes fade-to-black { ... }
```

<details><summary>Full keyframes CSS (26 animations)</summary>

```css
@keyframes fade-in{0%{opacity:0;transform:translateY(10px)}
@keyframes pulse-check{0%{transform:scale(1)}10%{transform:scale(.7)}20%{box-shadow:0 0 0 0 #fff,0 0 0 1px #21ba3a}40%{transform:scale(1.1)}80%{transform:scale(1)}
@keyframes confetti-slow{0%{transform:translateZ(0) rotateX(0) rotateY(0)}
@keyframes confetti-medium{0%{transform:translateZ(0) rotateX(0) rotateY(0)}
@keyframes confetti-fast{0%{transform:translateZ(0) rotateX(0) rotateY(0)}
@keyframes confetti-fade{0%{opacity:1}
@keyframes move-pay-label-small{0%{margin-top:27px;opacity:0;transform:scale(1)}10%{margin-top:27px;opacity:0;transform:scale(1)}50%{opacity:0;transform:scale(.65)}
@keyframes move-pay-label{0%{margin-top:29px;opacity:0;transform:scale(1)}10%{margin-top:29px;opacity:0;transform:scale(1)}50%{opacity:0;transform:scale(.65)}
@keyframes pulse-radio{0%{transform:scale(1)}10%{transform:scale(.7)}20%{box-shadow:0 0 0 0 #fff,0 0 0 1px #21ba3a}40%{transform:scale(1.1)}80%{transform:scale(1)}
@keyframes fade-out{0%{opacity:1}
@keyframes draw-line{0%{width:0}
@keyframes move-label{0%{margin-top:18px;opacity:1;transform:scale(1)}10%{margin-top:18px;opacity:0;transform:scale(1)}50%{opacity:0;transform:scale(.7)}
@keyframes levitate{0%{transform:translateY(-7px)}50%{transform:translateY(0)}
@keyframes levitate-shadow{0%{opacity:.3;transform:scale(1)}50%{opacity:1;transform:scale(.8)}
@keyframes slideshow-from-left-to-top{0%{transform:scale(.88) translateX(-16.66667%);z-index:0}50%{transform:scale(.94) translateX(-55%)}
@keyframes slideshow-from-right-to-top{0%{transform:scale(.88) translateX(16.66667%);z-index:0}50%{transform:scale(.94) translateX(55%)}
@keyframes slideshow-from-top-to-left{0%{transform:scale(1) translateX(0);z-index:2}50%{transform:scale(.94) translateX(-55%)}
@keyframes slideshow-from-top-to-right{0%{transform:scale(1) translateX(0);z-index:2}50%{transform:scale(.94) translateX(55%)}
@keyframes slideshow-left-to-right{0%{transform:scale(.88) translateX(-16.66667%)}
@keyframes slideshow-right-to-left{0%{transform:scale(.88) translateX(16.66667%)}
@keyframes spin-the-spinner{50%{stroke-dasharray:262.6}90%{opacity:1}
@keyframes rotateIn{0%{opacity:0;transform:rotate(120deg) scale(.5)}
@keyframes unit-button-fade-in{0%{opacity:0}
@keyframes fadeInVerifyContent{0%{opacity:0}
@keyframes scaleVerifiedMessage{0%{background:#fff0;padding:128px 0}
@keyframes fade-to-black{0%{background:#0000}
```
</details>

### Brand Gradient Palette

**5 complex gradients captured** from the site's CSS. The first few are the most prominent visual decorations:

```css
/* Gradient 1 */
background: linear-gradient(90deg,#fff0 0,#3fd6b3 33%,#3fd6b3 66%,#fff0);

/* Gradient 2 */
background: linear-gradient(90deg,#fff0 0,#48abec 33%,#48abec 66%,#fff0);

/* Gradient 3 */
background: linear-gradient(90deg,#fff0 0,#9879c3 33%,#9879c3 66%,#fff0);

/* Gradient 4 */
background: linear-gradient(180deg,#18181800 0,#18181800 75%,#181818);

/* Gradient 5 */
background: linear-gradient(180deg,#18181800 0,#18181800 15%,#181818);

```

### Hover State CSS (Intercepted)

**1 hover rule lines** captured from CSS files. Key interactive transitions from real CSS (not inferred):

```css
.keen-slider:not([data-keen-slider-disabled]){-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;align-content:flex-start;display:flex;overflow:hidden;position:relative;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-khtml-user-select:none;width:100%}.keen-slider:not([data-keen-slider-disabled]) .keen-slider__slide{min-height:100%;overflow:hidden;position:relative;width:100%}.keen-slider:not([data-keen-slider-disabled])[data-keen-slider-reverse]{flex-direction:row-reverse}.keen-slider:not([data-keen-slider-disabled])[data-keen-slider-v]{flex-wrap:wrap}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ord
```

> **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 330 rendered nodes** — not a sample. These are the values the page *actually paints*, weighted by how often they appear.

### Real Responsive Breakpoints
**15 breakpoints** read from the live `@media` rules (not guessed) — 14 most relevant:
`350px` · `351px` · `451px` · `599px` · `600px` · `601px` · `620px` · `800px` · `999px` · `1000px` · `1280px` · `1399px` · `1400px` · `1510px` … (+1 more)

### Measured Design Scale
**Type scale by usage** (× = paint count): `20px`×253 · `64px`×14 · `14px`×12 · `56px`×12 · `17px`×12 · `32px`×9 · `15px`×7 · `24px`×6

**Radius scale** (× = paint count): `8px`×2 · `40px`×1

**Weights** (× = paint count): `400`×275 · `600`×38 · `700`×14

**Layout gaps** (× = paint count): `60px`×8 · `30px`×1

**Elevation (real shadows)**:
```css
rgba(159, 138, 119, 0.2) 0px 0px 8px 0px
rgba(0, 0, 0, 0.15) 0px 4px 16px 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
nav { color:rgb(255 255 255/var(--tw-text-opacity))!important }
h1 { font-weight:700!important }
h1 { font-weight:400 }
h1 { font-size:48px }
@media (min-width: 1000px) h1 { font-size:56px; font-weight:400 }
@media (min-width: 1400px) h1 { font-size:64px; font-weight:400 }
button { font-family:inherit; font-size:100% }
button { color:rgb(255 255 255/var(--tw-text-opacity))!important }
button { transition:all .2s ease!important }
@media (min-width: 1000px) button { font-size:20px; font-weight:400 }
a { color:rgb(255 255 255/var(--tw-text-opacity))!important }
a { transition:all .2s ease!important }
```

> 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://lifesum.com | 2026-06-11T06:12:06.104Z*
*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.*
