getComputedStyle() from the live screenshots visible here.
Color Palette
45 colors extracted via getComputedStyle(). Click any swatch to copy its hex value.
Background & Surface
Text & Content
Accent & Interactive
Border & Divider
Full Extracted Palette (+36)
Typography
All values extracted via getComputedStyle() — no estimation.
| Role | Font Family | Size / Weight | Line Height | Letter Spacing | Preview |
|---|---|---|---|---|---|
| Caption / Badge | Open Sans | 17px / w700 | 1.5 | normal | Caption / Badge |
| Card Title | DM Sans | 16px / w400 | 1.5 | normal | Card Title |
| Caption / Badge | DM Sans | 15px / w400 | 1.5 | normal | Caption / Badge |
| Input | DM Sans | 14px / w400 | 1.43 | normal | Input |
| Display Hero | Open Sans | 12px / w700 | 2.17 | normal | Display Hero |
| Button Small | Open Sans | 12px / w400 | 1.5 | normal | Button Small |
Live Components
Rendered in real HTML using your extracted tokens — no screenshots.
Buttons
Form Inputs
Card
Badges & Labels
Spacing Scale
Border Radius
0px
4px
9px
14px
20px
30px
999px
Component Specs
Extracted CSS values per component and variant state.
### Buttons
- Background: `transparent`
- Text: `#202228` `{colors.ink-subtle}`
- Padding: 1px 6px
- Radius: 0px
- Font: 16px weight 400
- Use: Subtle action, toolbar, nav button
- Background: `transparent`
- Text: `#000000`
- Padding: 0px
- Radius: 0px
- Font: 12px weight 400
- Use: Subtle action, toolbar, nav button
- Background: `#ff891c`
- Text: `#202228` `{colors.ink-subtle}`
- Padding: 10px 22px
- Radius: 30px
- Font: 16px weight 400
- Use: Status pills, tags, chips
- Background: `#f6f5f1` `{colors.surface-2}`
- Text: `#ffffff` `{colors.background}`
- Padding: 6px 12px
- Radius: 20px
- Border: 1px solid rgb(229, 228, 224)
- Font: 40px weight 400
- Use: Status pills, tags, chips
- Background: `#ffffff` `{colors.background}`
- Text: `#202228` `{colors.ink-subtle}`
- Padding: 8px
- Radius: 10px
- Border: 1px solid rgb(235, 239, 247)
- Shadow: `rgba(61, 71, 83, 0.05) 0px 0px 0px 0px, rgba(61, 71, 83, 0.05) 0px 1px 0px 0px, ...`
- Font: 16px weight 400
- Use: Bright CTA on dark sections
Cards & Containers
- Background: `transparent`
- Padding: 0px
- Radius: 0px
- Use: Content containers, listing items
Inputs & Forms
- Background: `transparent`
- Text: `#333333`
- Padding: 8px 12px
- Radius: 20px
- Border: 0px none rgb(0, 0, 0)
- Font: 14px weight 400
- Use: Text fields, search inputs
- Focus: border: `0px none rgb(56, 152, 236)`, borderColor: `rgb(56, 152, 236)`, outline: `rgb(51, 51, 51) none 0px`
Navigation
- Background: `transparent`
- Padding: 20px 95.0312px
- Radius: none
- Font: 16px weight 400
- Use: Fixed/sticky flex nav — N/A items
CTA Banners
- Background: `transparent`
- Text: `#000000`
- Padding: 0px
- Radius: 0px
- Font: 15px weight 400
- Use: Full-width conversion strip with headline + button
Testimonials
- Background: `transparent`
- Text: `#202228` `{colors.ink-subtle}`
- Padding: 0px
- Radius: 0px
- Font: 16px weight 400
- Use: Customer quote with avatar + company attribution
- Background: `#ffffff` `{colors.background}`
- Text: `#202228` `{colors.ink-subtle}`
- Padding: 20px
- Radius: 14px 14px 14px 0px
- Border: 1px solid rgb(235, 239, 247)
- Shadow: `rgba(61, 71, 83, 0.05) 0px 0px 0px 0px, rgba(61, 71, 83, 0.05) 0px 1px 0px 0px, ...`
- Font: 16px weight 400
- Use: Customer quote with avatar + company attribution
Interaction State Narrative
- **Input**:
- - **focus:** border changes
Buttons
- **DO NOT introduce new buttons variants** without justification
Cards & Containers
- **DO NOT introduce new cards & containers variants** without justification
Inputs & Forms
- **DO NOT introduce new inputs & forms variants** without justification
Navigation
- **DO NOT introduce new navigation variants** without justification
CTA Banners
- **DO NOT introduce new cta banners variants** without justification
Testimonials
- **DO NOT introduce new testimonials 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.3) 0px 0px 8px 0px
rgba(61, 71, 83, 0.05) 0px 0px 0px 0px, rgba(61, 71, 83, 0.05) 0px 1px 0px 0px, …
rgba(44, 48, 52, 0.05) 0px 3px 10px 0px
Motion & Transitions
2 motion tokens — easing curves and durations.
| transition-1 | all |
| transition-2 | background-color 0.2s |
Motion Timeline
10 keyframe animations extracted from the live page. Preview 10 below — each block is animating right now with the actual extracted keyframes.
spin
go2264125279
go3020080000
go463499852
go1268368563
go1310225428
go651618207
go901347462
termly-styles-module-rotate-f68cf1
termly-styles-module-dash-e05a10
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(32, 34, 40) | |
| input |
default
input
bg rgba(255, 255, 255, 0)
fg rgb(51, 51, 51) |
focus
input
bg rgba(255, 255, 255, 0)
fg rgb(51, 51, 51) |
| link |
default
link
bg rgba(0, 0, 0, 0)
fg rgb(51, 51, 51) | |
| card |
default
card
bg rgba(0, 0, 0, 0)
fg rgb(32, 34, 40) | |
| navLink |
default
navLink
bg rgba(0, 0, 0, 0)
fg rgb(32, 34, 40) |
Z-Index Stacking Context
23 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 sunsama.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: sunsama.com
description: "Light product system built on #ffffff with #4672ff as the primary CTA accent. Type anchored in DM Sans at 48px / weight 600. Extracted automatically from https://sunsama.com/ — every value from getComputedStyle(), no approximation."
narrative: |
sunsama.com is built on a pure-white canvas (rgb(255, 255, 255)).
The system uses rgb(70, 114, 255) as the high-saturation accent for primary actions.
Sharp 0px corners on CTAs — architectural restraint, engineering precision alongside DM Sans as the primary typeface.
colors:
background: "#ffffff"
surface-1: "#e6e6e6"
surface-2: "#f6f5f1"
ink: "#202228"
ink-subtle: "#202228"
primary: "#4672ff"
on-primary: "#111111"
primary-hover: "rgba(114, 31, 24, 0.1)"
hairline: "#303030"
typography:
display-xl:
fontFamily: "Open Sans"
fontSize: 12px
fontWeight: 700
lineHeight: 2.17
letterSpacing: 0
body:
fontFamily: "DM Sans"
fontSize: 16px
fontWeight: 400
lineHeight: 1.5
letterSpacing: 0
caption:
fontFamily: "Open Sans"
fontSize: 17px
fontWeight: 700
lineHeight: 1.5
letterSpacing: 0
button:
fontFamily: "Open Sans"
fontSize: 12px
fontWeight: 400
lineHeight: 1.5
letterSpacing: 0
mono:
fontFamily: "DM Sans"
fontSize: 14px
fontWeight: 400
lineHeight: 1.43
letterSpacing: 0
rounded:
none: 0px
xs: 4px
sm: 9px
md: 14px
lg: 20px
xl: 30px
pill: 999px
spacing:
xxs: 2px
xs: 6px
sm: 8px
md: 12px
lg: 24px
xl: 43.1875px
xxl: 95.0312px
section: 80px
components:
button-ghost:
backgroundColor: "transparent"
textColor: "{colors.ink-subtle}"
typography: "{typography.body}"
rounded: "{rounded.none}"
padding: 1px 6px
button-ghost:
backgroundColor: "transparent"
textColor: "#000000"
typography: "{typography.display-xl}"
rounded: "{rounded.none}"
button-pill:
backgroundColor: "#ff891c"
textColor: "{colors.ink-subtle}"
typography: "{typography.body}"
rounded: "{rounded.xl}"
padding: 10px 22px
card-standard-card:
backgroundColor: "transparent"
typography: "{typography.body}"
rounded: "{rounded.none}"
input-text-input:
backgroundColor: "transparent"
textColor: "#333333"
typography: "{typography.mono}"
rounded: "{rounded.lg}"
padding: 8px 12px
navigation-main-nav:
backgroundColor: "transparent"
typography: "{typography.body}"
rounded: "{rounded.none}"
padding: 20px 95.0312px
cta-banner-full-width-cta:
backgroundColor: "transparent"
textColor: "#000000"
typography: "{typography.body}"
rounded: "{rounded.none}"
testimonial-quote-card:
backgroundColor: "transparent"
textColor: "{colors.ink-subtle}"
typography: "{typography.body}"
rounded: "{rounded.none}"
testimonial-quote-card:
backgroundColor: "{colors.background}"
textColor: "{colors.ink-subtle}"
typography: "{typography.body}"
rounded: "{rounded.md}"
padding: 20px
extracted_at: "2026-05-30T20:40:00.736Z"
completeness: 76
scoreVersion: "v2"
---
# Design System — sunsama.com
> Extracted automatically by Clone Architect from https://sunsama.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(70, 114, 255)` for primary CTAs ONLY. Never decorative.
> - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
> - **Section rhythm**: 44px between major bands. Card padding: 24px.
> - **Default radius**: 9px 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
sunsama.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 **DM Sans**. Headlines run at a remarkably light weight (0) — restraint over assertion, creating an editorial calm that invites reading rather than demanding it.
Body text reads in Warm Brown (`#202228`) — softened from pure black, a small but deliberate detail that lowers reading friction. **Ring Blue** (`#4672ff`) 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.
Border radius varies from pill-shaped (fully rounded) to moderately rounded elements, creating visual rhythm.
**Key Characteristics:**
- Background: Pure White (`#ffffff`)
- Primary typeface: Avenir
- Primary text: Warm Brown (`#202228`)
- Accent: Ring Blue (`#4672ff`)
- Shadow system: 3 distinct elevation levels
- Custom fonts loaded: Avenir, DM Sans, Inconsolata, Inter, Outfit
## 2. Color Palette & Roles
### Background & Surface
- **Pure White** (`#ffffff`): Page background (primary)
- **Bg Light Grey New** (`#fafafa`): Surface / elevated background (CSS var)
- **Bg Secondary New** (`#f6f5f1`): Surface / elevated background (CSS var)
- **Light Gray** (`#e1e3e6`): Surface / elevated background
- **Light Gray** (`#e6e6e6`): Surface / elevated background
### Text & Content
- **Warm Brown** (`#202228`): Primary body text
- **Pure Black** (`#000000`): Secondary text
- **Charcoal** (`#303030`): Secondary text
- **Charcoal** (`#333333`): Secondary text
- **Translucent #721f18 (10%)** (`rgba(114, 31, 24, 0.1)`): Secondary text
### Accent & Interactive
- **Ring Blue** (`#4672ff`): Interactive / accent
- **#ff891c** (`#ff891c`): Interactive / accent
- **Tangerine** (`#f59549`): Interactive / accent
- **Warm Terracotta** (`#f06351`): Interactive / accent
- **Cornflower Blue** (`#519bf0`): Interactive / accent
- **#4ddb59** (`#4ddb59`): Interactive / accent
- **Soft Pink** (`#fed5ff`): Interactive / accent
### Border & Divider
- **Border 2 New** (`rgba(238, 236, 230, 0.8901960784313725)`): Border (CSS var)
- **Border New** (`#f2f2f2`): Border (CSS var)
- **Border Dark** (`#e5e4e0`): Border (CSS var)
- **Transparent** (`transparent`): Borders / dividers
- **Light Gray** (`#dddddd`): Borders / dividers
- **Light Gray** (`#f2e4e3`): Borders / dividers
### Full Extracted Palette
46 distinct colors detected on the live page (23 categorized above + 23 additional below). Every value is a real `getComputedStyle()` color — no approximation.
- `#4c4f56` — Slate
- `#ebeff7` — Light Gray
- `#fff7f1` — Off-Cream
- `#413f39` — Dark Gray
- `#787878` — Stone
- `#111111` — Jet Black
- `#dfdfdf` — Light Gray
- `#e8f9ff` — Ghost White
- `#ecfff2` — Off-Cream
- `#f8f8f8` — Off-Cream
- `#f7f7ff` — Ghost White
- `#e3e8f3` — Light Gray
- `rgba(135, 93, 29, 0.1)` — Translucent #875d1d (10%)
- `rgba(55, 143, 233, 0.2)` — Translucent Ring Blue (20%)
- `rgba(170, 170, 170, 0.2)` — Translucent Cool Gray (20%)
- `#f4f4f4` — Warm Cream
- `#a7a7a7` — Cool Gray
- `#cbcaca` — Silver
- `#ffdede` — Soft Pink
- `#2da8ff` — Sky Bright
- `#2c3034` — Charcoal
- `#e9e9ea` — Light Gray
- `#ffe8e4` — Warm Cream
### CSS Custom Properties (Design Tokens)
- `--bg-light-grey-new`: `#fafafa`
- `--gradient-bg-grey`: `#f4f4f4`
- `--bg-secondary-new`: `#f6f5f1`
- `--card-bg-white-50-new`: `#ffffff80`
## 3. Typography Rules
### Font Families
- **Primary**: `DM Sans`
- **Secondary**: `webflow-icons`
- **Font 3**: `Avenir`
- **Font 4**: `Inconsolata`
- **Font 5**: `Inter`
### Custom Fonts Loaded
- **webflow-icons** weight 400 (normal)
- **Avenir** weight 300 (normal)
- **Avenir** weight 400 (normal)
- **Avenir** weight 500 (normal)
- **Avenir** weight 600 (normal)
- **DM Sans** weight 300 (normal)
- **DM Sans** weight 400 (normal)
- **DM Sans** weight 500 (normal)
- **DM Sans** weight 600 (normal)
- **DM Sans** weight 700 (normal)
- **Inconsolata** weight 400 (normal)
- **Inconsolata** weight 700 (normal)
- **Inter** weight 300 (normal)
- **Inter** weight 400 (normal)
- **Inter** weight 500 (normal)
- **Inter** weight 600 (normal)
- **Inter** weight 700 (normal)
- **Outfit** weight 300 (normal)
- **Outfit** weight 400 (normal)
- **Outfit** weight 500 (normal)
- **Outfit** weight 600 (normal)
- **Outfit** weight 700 (normal)
### Typography Hierarchy
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|------|------|------|--------|-------------|----------------|-------|
| Caption / Badge | Open Sans | 17px | 700 | 1.5 | normal | small text (17px) |
| Card Title | DM Sans | 16px | 400 | 1.5 | normal | Card headings |
| Caption / Badge | DM Sans | 15px | 400 | 1.5 | normal | small text (15px) |
| Input | DM Sans | 14px | 400 | 1.43 | normal | Form input (14px) |
| Display Hero | Open Sans | 12px | 700 | 2.17 | normal | Main headline (h2) |
| Button Small | Open Sans | 12px | 400 | 1.5 | normal | Button label (12px) |
### Full Font Size Scale
Sizes detected in the design (descending): `56px`, `51.20px`, `48px`, `44px`, `40px`, `27px`, `24px`, `20px`, `18px`, `17.60px`, `17px`, `16px`, `15px`, `14px`, `13px`, `12px`
> 11 size(s) detected outside the sampled hierarchy (56px, 51.2px, 48px, 44px, 40px, 27px, 24px, 20px, 18px, 17.6px, 13px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
## 4. Component Stylings
### Buttons
**Ghost**
- Background: `transparent`
- Text: `#202228` `{colors.ink-subtle}`
- Padding: 1px 6px
- Radius: 0px
- Font: 16px weight 400
- Use: Subtle action, toolbar, nav button
**Ghost**
- Background: `transparent`
- Text: `#000000`
- Padding: 0px
- Radius: 0px
- Font: 12px weight 400
- Use: Subtle action, toolbar, nav button
**Pill**
- Background: `#ff891c`
- Text: `#202228` `{colors.ink-subtle}`
- Padding: 10px 22px
- Radius: 30px
- Font: 16px weight 400
- Use: Status pills, tags, chips
**Pill**
- Background: `#f6f5f1` `{colors.surface-2}`
- Text: `#ffffff` `{colors.background}`
- Padding: 6px 12px
- Radius: 20px
- Border: 1px solid rgb(229, 228, 224)
- Font: 40px weight 400
- Use: Status pills, tags, chips
**Light / Invert**
- Background: `#ffffff` `{colors.background}`
- Text: `#202228` `{colors.ink-subtle}`
- Padding: 8px
- Radius: 10px
- Border: 1px solid rgb(235, 239, 247)
- Shadow: `rgba(61, 71, 83, 0.05) 0px 0px 0px 0px, rgba(61, 71, 83, 0.05) 0px 1px 0px 0px, ...`
- Font: 16px weight 400
- Use: Bright CTA on dark sections
### Cards & Containers
**Standard Card**
- Background: `transparent`
- Padding: 0px
- Radius: 0px
- Use: Content containers, listing items
### Inputs & Forms
**Text Input**
- Background: `transparent`
- Text: `#333333`
- Padding: 8px 12px
- Radius: 20px
- Border: 0px none rgb(0, 0, 0)
- Font: 14px weight 400
- Use: Text fields, search inputs
- Focus: border: `0px none rgb(56, 152, 236)`, borderColor: `rgb(56, 152, 236)`, outline: `rgb(51, 51, 51) none 0px`
### Navigation
**Main Nav**
- Background: `transparent`
- Padding: 20px 95.0312px
- Radius: none
- Font: 16px weight 400
- Use: Fixed/sticky flex nav — N/A items
### CTA Banners
**Full-width CTA**
- Background: `transparent`
- Text: `#000000`
- Padding: 0px
- Radius: 0px
- Font: 15px weight 400
- Use: Full-width conversion strip with headline + button
### Testimonials
**Quote Card**
- Background: `transparent`
- Text: `#202228` `{colors.ink-subtle}`
- Padding: 0px
- Radius: 0px
- Font: 16px weight 400
- Use: Customer quote with avatar + company attribution
**Quote Card**
- Background: `#ffffff` `{colors.background}`
- Text: `#202228` `{colors.ink-subtle}`
- Padding: 20px
- Radius: 14px 14px 14px 0px
- Border: 1px solid rgb(235, 239, 247)
- Shadow: `rgba(61, 71, 83, 0.05) 0px 0px 0px 0px, rgba(61, 71, 83, 0.05) 0px 1px 0px 0px, ...`
- Font: 16px weight 400
- Use: Customer quote with avatar + company attribution
## 4b. Component Behaviors (State Matrix)
### Interaction State Narrative
- **Input**:
- **focus:** 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(32, 34, 40)"
input:
default:
bg: "rgba(255, 255, 255, 0)"
fg: "rgb(51, 51, 51)"
focus:
bg: "rgba(255, 255, 255, 0)"
fg: "rgb(51, 51, 51)"
link:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(51, 51, 51)"
card:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(32, 34, 40)"
navLink:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(32, 34, 40)"
badge:
default:
bg: "rgb(246, 245, 241)"
fg: "rgb(32, 34, 40)"
```
**Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
## 4c. Component Vocabulary (Closed System)
*This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
### Buttons
- **5 shape(s)** in this system: `Ghost`, `Ghost`, `Pill`, `Pill`, `Light / Invert`
- **DO NOT introduce new buttons variants** without justification
### Cards & Containers
- **1 shape(s)** in this system: `Standard Card`
- **DO NOT introduce new cards & containers 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
### CTA Banners
- **1 shape(s)** in this system: `Full-width CTA`
- **DO NOT introduce new cta banners variants** without justification
### Testimonials
- **2 shape(s)** in this system: `Quote Card`, `Quote Card`
- **DO NOT introduce new testimonials variants** without justification
## 5. Layout Principles
### Layout Type
**hero + sections**
### Grid
Single column, centered content
### Max Width
1200px
### Spacing System
Generous spacing — editorial breathing room
| Token | Value |
|-------|-------|
| xxs | 2px |
| xs | 6px |
| sm | 8px |
| md | 12px |
| base | 15px |
| lg | 24px |
| xl | 43.1875px |
| 2xl | 44px |
| 3xl | 95.0312px |
### Border Radius Scale
| Name | Value | Use |
|------|-------|-----|
| None | 0px | No rounding |
| Xs | 4px | Tiny corners (badges, micro elements) |
| Sm | 9px | Buttons, inputs, small elements |
| Md | 14px | Cards, containers |
| Lg | 20px | Large rounded elements, pill segments |
| Xl | 30px | Category strips, featured containers |
| Full | 999px | Pills, avatars, circular elements |
### Shape Language
| Component | Border Radius |
|-----------|---------------|
| Buttons | `0px` |
| Cards & Containers | `0px` |
| Inputs & Forms | `20px` |
| Navigation | `none` |
| CTA Banners | `0px` |
| Testimonials | `0px` |
| Page Body | `0px` |
| Primary Input | `20px` |
**Shape Personality**: Generously Rounded — Soft, friendly corners (8px+). Approachable, consumer-facing feel.
**Full Radius Spectrum**: 0px, 3px, 4px, 5px, 9px, 10px, 11px, 14px (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** | `95.0312px` | Top/bottom of full-bleed hero sections |
| **section** | `43.1875px` | Between major bands (color change, content shift) |
| **subsection** | `24px` | Within a section, between content groups |
| **card** | `12px` | Card padding, list-item spacing |
| **compact** | `8px` | Form fields, tight clusters, badge padding |
| **micro** | `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).
**5/8 structural patterns detected.**
### Navigation Pattern
- **Position:** static (scrolls with page)
- **Layout:** logo-left-links-left — Logo and links both on the left (CTAs typically right)
- **Height:** 84px
- **Logo:** ✓ present
- **Nav links:** 7 primary items
- **CTAs in nav:** 1
- **Clone instruction:** Build a static logo left links left navigation. Reserve 1 slot for primary CTA.
### Card Grid Pattern
- **Card count:** 4 cards detected
- **Columns (desktop):** 1-up grid
- **Card dimensions:** 1248×328px (aspect 3.8:1)
- **Gap:** 40px between cards
- **Content:** ✓ image
- **Image position:** top
- **Clone instruction:** Build a 1-column grid (desktop) with cards at ~3.8:1 aspect ratio. Each card has an image at the top.
### Pricing Table Pattern
- **Tier count:** 2 pricing tiers
- **Layout:** vertical stacked
- **Columns (desktop):** 2-up
- **Clone instruction:** Build a 2-column vertical-stack pricing comparison.
### Testimonial Pattern
- **Count:** 6 testimonial blocks
- **Layout:** grid
- **Avg quote length:** 115 chars (medium quote)
- **Includes:** ✓ avatars | ✗ no logos | ✗ no ratings
- **Clone instruction:** Build a grid of 6 testimonials. Each includes an avatar.
### Footer Pattern
- **Columns:** 2
- **Links:** 7 total
- **Height:** 94px
- **Includes:** ✗ no newsletter | ✓ social icons | ✓ copyright
- **Clone instruction:** Build a 2-column footer with ~4 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.3) 0px 0px 8px 0px` | Cards, elevated surfaces |
| Layered (Level 2) | <br>`rgba(61, 71, 83, 0.05) 0px 0px 0px 0px`,<br>`rgba(61, 71, 83, 0.05) 0px 1px 0px 0px`,<br>`rgba(61, 71, 83, 0.08) 0px 2px 4px 0px` | Cards, elevated surfaces |
| Layered (Level 3) | <br>`rgba(44, 48, 52, 0.05) 0px 3px 10px 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
### Duration Scale
| Value | Tier | Typical Use |
|-------|------|-------------|
| `200ms` | Normal | Panel open/close, navigation |
### Copy-Paste Transition Snippets
**Background**
```css
transition: background-color 0.2s;
```
### Keyframe Animation Catalog
| Animation Name | Type | Animated Props | Use Hint |
|----------------|------|----------------|----------|
| `spin` | Rotate / Spin | transform | Loading indicator |
| `go2264125279` | Fade + Move | transform, opacity | UI transition |
| `go3020080000` | Fade + Move | transform, opacity | UI transition |
| `go463499852` | Fade + Move | transform, opacity | UI transition |
| `go1268368563` | Rotate / Spin | transform | UI transition |
| `go1310225428` | Fade + Move | transform, opacity | UI transition |
| `go651618207` | Fade | height, width, opacity | UI transition |
| `go901347462` | Fade + Move | transform, opacity | UI transition |
| `termly-styles-module-rotate-f68cf1` | Rotate / Spin | transform | Loading indicator |
| `termly-styles-module-dash-e05a10` | Custom | stroke-dasharray, stroke-dashoffset | UI transition |
### Motion Fingerprint
- **Speed Character**: Balanced Pacing (median duration: `200ms`)
- **Dominant Easing**: standard CSS easings
- **Animation Library**: 10 unique animations (10 total including variants)
> This design moves with balanced pacing timing using standard CSS easings, creating a UI that feels natural and fluid.
## 8. Do's and Don'ts
### Do
- Use Warm Brown (`#202228`) for text — not pure black, it's warmer and more readable
- Use DM Sans as the primary typeface — it defines the brand personality
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
- Use full-pill radius (9999px) only for specific elements (avatars, pills, toggles)
- Use Ring Blue (`#4672ff`) as the primary accent — it's the brand's signature interactive color
- Use 30px border-radius on primary buttons — the brand uses generously-rounded CTAs
- Each card includes a top image — imagery is part of the card identity, not optional
- Show person avatars with testimonials — social proof is human-centric here
- Lay out testimonials in a grid (6+ items) — quantity signals scale and trust
### 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 invent new shadow values — use only the extracted shadow levels
- Don't apply pill radius on rectangular buttons or cards — it's reserved for specific interactive elements
- Don't introduce additional saturated accent colors — the palette is intentionally controlled
- Don't use sharp-cornered or pill buttons — 30px is the CTA border-radius standard
- Don't make the nav sticky — this design lets it scroll away to maximize content focus
- Don't over-build the footer — this design keeps it minimal (2 cols, 7 links)
## 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(70, 114, 255)` for primary CTAs and brand-mark signals only"
why: "Single chromatic assertion device — overuse dilutes meaning"
test: "querySelectorAll('[style*=\"rgb(70, 114, 255)\"]').length <= 3 per fold"
```
## 9. Responsive Behavior
### Breakpoints
| Name | Width | Key Changes |
|------|-------|-------------|
| Mobile | 479px | Single column, compact spacing |
| Mobile Large | 736px | Expanded mobile layout |
| Mobile Large | 767px | Expanded mobile layout |
| Desktop | 1120px | Full feature layout |
| Desktop | 1280px | Full feature layout |
| Large Desktop | 1440px | Maximum content width |
### Token Diff — Desktop vs Mobile
| Element | Property | Desktop | Mobile |
|---------|----------|---------|--------|
| nav | display | `flex` | `none` |
| nav | flex-direction | `row` | `column` |
| nav | height | `30.5px` | `auto` |
| hero | height | `155.375px` | `137.156px` |
| card | width | `592px` | `327.312px` |
### Collapsing Strategy
- Navigation: flex → none 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):
- **Navigation collapses to hamburger** — 7 links visible on desktop, 0 on mobile (the rest hide behind a menu toggle).
## 9b. Visual Tone & Photography
**Tone:** Illustration-driven
The site relies primarily on illustrations, vector art, and decorative SVG elements rather than photography. Use commissioned illustrations, icon sets, or generated graphics for clones — stock photos will feel off-brand.
**Canonical Brand Image (OG):**
- https://cdn.prod.website-files.com/62d1ff8aa73d90740883d447/632d75c435342c54efe7c40d_OG%20IMage.jpg
*This is the image shown when the site is shared on social media — represents the brand visual essence.*
**Hero Image (above-fold dominant visual):**
- Aspect: 1.24:1 (landscape)
- Rendered size: 1162×936px
- *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): 16 (94%)
- Portrait (<0.87): 0 (0%)
- Square (0.87–1.15): 1 (6%)
**Media Format Mix:**
- PNG: 2 (logos, transparent UI elements, mockups)
- SVG: 5 (icons, illustrations, decorative geometry)
**Average rendered image size:** 431×288px
**Above-fold image count:** 2 / 17
**Decorative Patterns Detected:**
- 18 multi-stop linear gradients (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
- 3 radial gradients — circular color blooms used for spotlight/glow effects
- 1 large decorative SVG shape (≥200×200px, non-icon) — likely blob/illustration accents
- 1 background pattern (non-photo url() backgrounds) — textures/illustrations as backdrops
**Clone instruction for decorative work:** This is a gradient-rich design — invest in multi-stop CSS gradients (3+ color stops), not solid backgrounds.
**Imagery Guidance for clones:**
- Use vector illustration as the primary visual language — photos will read as off-brand.
- Maintain consistent illustration style (line weight, color palette) across the site.
## 10. Agent Prompt Guide
### Quick Reference
- Background: Pure White (`#ffffff`)
- Primary text: Warm Brown (`#202228`)
- Accent: Ring Blue (`#4672ff`)
- Border: Charcoal (`#303030`)
- Font: DM Sans
- Body: 16px weight 400
### Example Component Prompts
- "Create the primary CTA button: `#4672ff` background, `#202228` text, 30px border-radius, 10px 22px padding, 700 weight, DM Sans font."
- "Design a card on `transparent` background. Border: none. Radius: 0px. Shadow: none. Padding: 0px."
- "Build navigation: relative on `#ffffff`. DM Sans 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 DM Sans, weight range 400–700. Never exceed 700 — heavier weights break the brand's tonal restraint.
3. **Accent**: Ring Blue (`#4672ff`) is the sole interactive color. On hover → Translucent #721f18 (10%) (`rgba(114, 31, 24, 0.1)`). Use CSS transitions, not opacity/brightness filters.
4. **Shape**: CTAs at `0px`, cards at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
5. **Spacing**: Use the `--ca-space-*` token scale (6px–43px). 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-background: #ffffff;
--ca-surface-1: #e6e6e6;
--ca-surface-2: #f6f5f1;
--ca-ink-subtle: #202228;
--ca-primary: #4672ff;
--ca-on-primary: #111111;
--ca-primary-hover: #721f18;
--ca-hairline: #303030;
}
/* Typography */
:root {
--ca-font-primary: "Open Sans", system-ui, sans-serif;
--ca-text-display: 12px;
--ca-text-body: 16px;
--ca-text-caption: 17px;
--ca-text-button: 12px;
--ca-text-mono: 14px;
}
/* Spacing & Radius */
:root {
--ca-space-xxs: 2px;
--ca-space-xs: 6px;
--ca-space-sm: 8px;
--ca-space-md: 12px;
--ca-space-base: 15px;
--ca-space-lg: 24px;
--ca-space-xl: 43.1875px;
--ca-space-2xl: 44px;
--ca-space-3xl: 95.0312px;
--ca-radius-none: 0px;
--ca-radius-xs: 4px;
--ca-radius-sm: 9px;
--ca-radius-md: 14px;
--ca-radius-lg: 20px;
--ca-radius-xl: 30px;
--ca-radius-full: 999px;
}
```
## 13. Page Structure Skeleton
*The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
```yaml
page-skeleton:
- section: unknown
tag: div
classes: ["newfixedbg"]
height: 900px
width: full-bleed
layout: block
children: 1
- section: unknown
tag: div
classes: ["pagewrapper"]
height: 12000px
width: full-bleed
layout: flex-column justify=flex-start
children: 10
- section: header
tag: div
classes: ["newnav", "w-nav"]
height: 84px
width: full-bleed
layout: flex-row justify=center
children: 2
bg: "rgba(221, 221, 221, 0)"
padding: "20px 95.0312px"
- section: hero
tag: div
classes: ["hero"]
height: 805px
width: full-bleed
layout: flex-column justify=flex-start
children: 2
padding: "40px 44px 40px 96px"
- section: hero
tag: div
classes: ["hero-objects"]
height: 576px
width: 1300px
layout: flex-row justify=space-between
children: 2
- section: hero
tag: div
classes: ["herovisual"]
height: 576px
width: 790px
layout: block
children: 1
- section: unknown
tag: div
classes: ["content-container"]
height: 347px
width: 478px
layout: flex-column justify=flex-start
children: 2
- section: hero
tag: div
classes: ["herocopy"]
height: 423px
width: 478px
layout: flex-column justify=flex-start
children: 2
- section: unknown
tag: div
classes: ["headline-container"]
height: 290px
width: 478px
layout: flex-column justify=flex-start
children: 2
- section: unknown
tag: div
classes: ["comparecontainer"]
height: 657px
width: 1248px
layout: flex-row justify=space-between
children: 2
- section: unknown
tag: div
classes: ["container-6"]
height: 97px
width: 378px
layout: flex-column justify=flex-start
children: 1
- section: unknown
tag: div
classes: ["listwrapper"]
height: 136px
width: 378px
layout: flex-column justify=flex-start
children: 3
- section: unknown
tag: div
classes: ["listwrapper"]
height: 136px
width: 448px
layout: flex-column justify=flex-start
children: 3
- section: unknown
tag: div
classes: ["content-container-2"]
height: 210px
width: 869px
layout: flex-column justify=flex-start
children: 2
- section: hero
tag: div
classes: ["hero-section"]
height: 155px
width: 414px
layout: flex-column justify=flex-start
children: 2
- section: hero
tag: div
classes: ["hero-section"]
height: 155px
width: 414px
layout: flex-column justify=flex-start
children: 2
- section: hero
tag: div
classes: ["hero-section"]
height: 179px
width: 414px
layout: flex-column justify=flex-start
children: 2
- section: unknown
tag: div
classes: ["sectionwrapper"]
height: 1152px
width: 1120px
layout: flex-column justify=flex-start
children: 2
- section: header
tag: div
classes: ["section-header"]
height: 186px
width: 720px
layout: flex-column justify=flex-start
children: 2
- section: unknown
tag: div
classes: ["sectiontitlewraper"]
height: 98px
width: 720px
layout: flex-column justify=flex-start
children: 2
- section: unknown
tag: div
classes: ["intcontentwrapper"]
height: 181px
width: 430px
layout: flex-column justify=flex-start
children: 2
padding: "40px"
- section: unknown
tag: div
classes: ["intcontentwrapper"]
height: 181px
width: 430px
layout: flex-column justify=flex-start
children: 2
padding: "40px"
- section: unknown
tag: div
classes: ["intcontentwrapper"]
height: 181px
width: 430px
layout: flex-column justify=flex-start
children: 2
padding: "40px"
- section: unknown
tag: div
classes: ["intcontentwrapper"]
height: 201px
width: 430px
layout: flex-column justify=flex-start
children: 2
padding: "40px"
- section: unknown
tag: div
classes: ["sectionwrapper"]
height: 1684px
width: 1248px
layout: flex-column justify=flex-start
children: 2
```
**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:
- "Preferences"
ctas:
- "Cookie Policy"
- "Details"
- "Decline All"
- "Start for Free"
- "View integration"
- "Read the review"
navigation:
- "Features"
- "Integrations"
- "Pricing"
- "Love"
- "About"
- "Blog"
- "Login"
- "Start for Free"
- "Asana"
- "ClickUp"
```
**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: 9
avg-ratio: 3.81
common-aspect: "~16:6 banner"
sample-alts:
- "Zapier logo displayed in lowercase"
- "MiT logo displayed in gray"
thumbnail:
count: 20
avg-ratio: 1.01
common-aspect: "~1:1 square"
sample-alts:
- "Smiling man with short black hair, glasses, and a white shir"
- "Portrait of a young woman with long red hair and a neutral e"
- "Smiling young woman with curly hair wearing a white shirt an"
```
**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">
Action
</button>
```
_Source pattern detected: padding `1px 6px` · radius `0px` · weight `400`_
### Generic Card
```html
<div class="card">
<!-- content -->
</div>
```
_Source pattern detected: padding `0px` · radius `0px` · shadow `none`_
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
---
## Extraction Completeness: 76/100 (B)
| Category | Score | Max | Detail |
|----------|-------|-----|--------|
| Colors & Palette | 25 | 25 | 23 named colors |
| Typography | 15 | 20 | 6 roles defined |
| Components | 20 | 20 | 6 specs extracted |
| Motion & Interaction | 10 | 15 | Keyframes present |
| CSS Custom Properties | 1 | 10 | 15 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 |
|----------|----------------|-------------------|
| **Design tokens** | Only 15 CSS custom properties (low signal for semantic naming) | Color names are nearest-neighbor approximations; verify against brand guidelines if available |
### Per-section confidence
| Section | Confidence | Reason |
|---------|------------|--------|
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
| §2 Colors | Medium | 15 CSS vars (semantic naming requires ≥20 for high) |
| §3 Typography | High | 6 typography roles inferred |
| §4 Components | High | 6 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 | 17 images, hero present |
---
*Generated by Clone Architect — automated Playwright extraction + design analysis.*
*Source: https://sunsama.com | 2026-05-30T20:40:00.746Z*
*All values verified via getComputedStyle() — no approximation, no hallucination.*
Re-extract: clone-architect update sunsama.com