getComputedStyle() from the live screenshots visible here.
Color Palette
52 colors extracted via getComputedStyle(). Click any swatch to copy its hex value.
Background & Surface
Text & Content
Accent & Interactive
Border & Divider
Semantic States
Full Extracted Palette (+102)
Typography
All values extracted via getComputedStyle() — no estimation.
| Role | Font Family | Size / Weight | Line Height | Letter Spacing | Preview |
|---|---|---|---|---|---|
| Display Hero | Title | 96px / w400 | 1 | -2% | Display Hero |
| Button Large | Base-Variable | 20px / w500 | 1.4 | -0.45px | Button Large |
| Body | Base-Variable | 16px / w500 | 1.5 | -2% | Body |
| Link Small | Base-Variable | 12px / w500 | 1.33 | -2% | Link 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
8px
12px
20px
28px
9999px
Component Specs
Extracted CSS values per component and variant state.
### Buttons
- Background: `#000000`
- Text: `#f7f8fb` `{colors.primary-focus}`
- Padding: 0px
- Radius: 16px
- Font: 20px weight 500
- Use: Subtle action, toolbar, nav button
- Focus: outline: `rgb(247, 248, 251) auto 3px`
- Background: `#f7f8fb` `{colors.primary-focus}`
- Text: `#000000`
- Padding: 0px 14px
- Radius: 16px
- Border: 1px solid rgba(12, 41, 126, 0.07)
- Font: 16px weight 500
- Use: Status pills, tags, chips
- Focus: outline: `rgb(247, 248, 251) auto 3px`
- Background: `#f7f8fb` `{colors.primary-focus}`
- Text: `#000000`
- Padding: 0px 32px
- Radius: 46px
- Border: 1px solid rgb(238, 240, 246)
- Font: 20px weight 500
- Use: Bright CTA on dark sections
- Focus: outline: `rgb(247, 248, 251) auto 3px`
- Background: `#f7f8fb` `{colors.primary-focus}`
- Text: `#000000`
- Padding: 4px
- Radius: 24px
- Border: 1px solid rgba(55, 80, 155, 0.04)
- Font: 16px weight 500
- Use: Bright CTA on dark sections
- Focus: outline: `rgb(247, 248, 251) auto 3px`
- Background: `#ffffff` `{colors.on-primary}`
- Text: `#000000`
- Padding: 0px 16px
- Radius: 16px
- Border: 1px solid rgb(221, 223, 234)
- Font: 20px weight 500
- Use: Bright CTA on dark sections
- Focus: outline: `rgb(247, 248, 251) auto 3px`
Inputs & Forms
- Background: `transparent`
- Text: `#000000`
- Padding: 0px 0px 0px 8px
- Radius: 0px
- Border: 0px none rgb(0, 0, 0)
- Font: 20px weight 500
- Use: Text fields, search inputs
Interaction State Narrative
Buttons
- **DO NOT introduce new buttons variants** without justification
Inputs & Forms
- **DO NOT introduce new inputs & forms 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(12, 41, 126, 0.07) 0px 8px 16px 0px
rgba(12, 41, 126, 0.07) 0px 0px 0px 1px inset
rgba(12, 41, 126, 0.09) 0px 1px 3px 0px, rgba(12, 41, 126, 0.03) 0px 0px 1px 0.4…
rgba(7, 25, 31, 0.1) 0px 0px 2px 0px, rgba(7, 25, 31, 0.1) 0px 0px 2px 0px
rgba(12, 41, 126, 0.09) 0px 3px 8px 0px, rgba(12, 41, 126, 0.03) 0px 0px 1px 0.4…
Motion & Transitions
5 motion tokens — easing curves and durations.
| transition-1 | all |
| transition-2 | 0.2s |
| transition-3 | left 0.3s |
| transition-4 | color 0.2s |
| transition-5 | 0.3s ease-out |
Motion Timeline
98 keyframe animations extracted from the live page. Preview 12 below — each block is animating right now with the actual extracted keyframes.
move-out
move-in
QABBk
QxYqi
xilbW
EtXJv
gdJte
R96KY
Zj1RQ
g2EHP
Bamr3
RIwJf
+86 additional animations not previewed (cap at 12 for performance).
Component States
Default → Hover → Focus → Active visual diff per component. Captured via Playwright state simulation.
| Component | States | |
|---|---|---|
| button |
default
button
bg rgb(0, 0, 0)
fg rgb(247, 248, 251) |
focus
button
bg rgb(0, 0, 0)
fg rgb(247, 248, 251) |
| input |
default
input
bg rgba(0, 0, 0, 0)
fg rgb(0, 0, 0) | |
| link |
default
link
bg rgba(0, 0, 0, 0)
fg rgb(0, 0, 0) |
Z-Index Stacking Context
100 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 refero.design 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: refero.design
description: "Light product system built on #ffffff with #10b981 as the primary CTA accent. Type anchored in Base-Variable at 96px / weight 400. Extracted automatically from https://refero.design/ — every value from getComputedStyle(), no approximation."
narrative: |
refero.design is built on a pure-white canvas (rgb(255, 255, 255)).
The system uses #10b981 as the high-saturation accent for primary actions.
Generously rounded CTAs (16px) suggest approachable, content-first design alongside Base-Variable as the primary typeface.
colors:
background: "#ffffff"
surface-1: "#f7f8fb"
surface-2: "#d6f1e2"
ink-subtle: "rgba(2, 18, 73, 0.38)"
primary: "#10b981"
on-primary: "#ffffff"
primary-hover: "rgba(16,185,129,.08)"
hairline: "#777d90"
primary-focus: "#f7f8fb"
semantic-error: "#f43f5e"
semantic-success: "rgba(2,167,69,.73)"
semantic-warning: "#f59e0b"
typography:
display-xl:
fontFamily: "Title"
fontSize: 96px
fontWeight: 400
lineHeight: 1
letterSpacing: -2%
body:
fontFamily: "Base-Variable"
fontSize: 16px
fontWeight: 500
lineHeight: 1.5
letterSpacing: -2%
body-sm:
fontFamily: "Base-Variable"
fontSize: 12px
fontWeight: 500
lineHeight: 1.33
letterSpacing: -2%
button:
fontFamily: "Base-Variable"
fontSize: 20px
fontWeight: 500
lineHeight: 1.4
letterSpacing: -0.45px
rounded:
none: 0px
xs: 4px
sm: 8px
md: 12px
lg: 20px
xl: 28px
pill: 9999px
spacing:
xxs: 2px
xs: 8px
sm: 35px
md: 39px
lg: 24px
xl: 32px
xxl: 64px
section: 80px
components:
button-ghost:
backgroundColor: "#000000"
textColor: "{colors.primary-focus}"
typography: "{typography.button}"
rounded: "{rounded.md}"
button-pill:
backgroundColor: "{colors.primary-focus}"
textColor: "#000000"
typography: "{typography.body}"
rounded: "{rounded.md}"
padding: 0px 14px
button-light--invert:
backgroundColor: "{colors.primary-focus}"
textColor: "#000000"
typography: "{typography.button}"
rounded: "{rounded.xl}"
padding: 0px 32px
input-text-input:
backgroundColor: "transparent"
textColor: "#000000"
typography: "{typography.button}"
rounded: "{rounded.none}"
padding: 0px 0px 0px 8px
extracted_at: "2026-05-30T20:39:43.028Z"
completeness: 67
scoreVersion: "v2"
---
# Design System — refero.design
> Extracted automatically by Clone Architect from https://refero.design
> 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**: `#10b981` for primary CTAs ONLY. Never decorative.
> - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
> - **Section rhythm**: 48px between major bands. Card padding: 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
refero.design 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 **Base-Variable**. Headlines run at a remarkably light weight (400) — restraint over assertion, creating an editorial calm that invites reading rather than demanding it.
Body text reads in Pure Black (`#000000`) (contrast ratio 100.0:1, well above WCAG AA). **Emerald** (`#10b981`) provides interactive distinction without visual aggression. Elevation is built from multi-layer shadow stacks — each level combines several blurred layers at varying offsets to simulate the way light actually falls on stacked surfaces, not the simulated drop-shadow of cheap interfaces.
Motion design uses smooth easing curves for polished state transitions.
**Key Characteristics:**
- Background: Dialog (`#ffffff`)
- Primary typeface: Base-Variable
- Accent: Emerald (`#10b981`)
- Display: 96px weight 400, letter-spacing -2%
- Shadow system: 7 distinct elevation levels
- Custom fonts loaded: Base-Variable, Title
## 2. Color Palette & Roles
### Background & Surface
- **Dialog** (`#ffffff`): Page background (primary)
- **Ghost White** (`#f7f8fb`): Surface / elevated background
- **Light Gray** (`#d6f1e2`): Surface / elevated background
- **Light Gray** (`#eef0f6`): Surface / elevated background
- **Light Gray** (`#dddfea`): Surface / elevated background
### Text & Content
- **Accent** (`#000000`): Primary body text
- **Text Quaternary** (`rgba(12, 26, 105, 0.141)`): Text (CSS var)
- **Text Secondary** (`rgba(3, 14, 49, 0.541)`): Text (CSS var)
- **Text Tertiary** (`rgba(1, 17, 88, 0.239)`): Text (CSS var)
- **Text Primary** (`#13151b`): Text (CSS var)
### Accent & Interactive
- **Accent Solid Green** (`#10b981`): Accent / interactive (CSS var)
- **Accent Alpha Red** (`rgba(244, 63, 94, 0.07)`): Accent / interactive (CSS var)
- **Accent Alpha Yellow** (`rgba(245, 158, 11, 0.1)`): Accent / interactive (CSS var)
- **Translucent #37509b (4%)** (`rgba(55, 80, 155, 0.04)`): Interactive / accent
- **Translucent #0c297e (7%)** (`rgba(12, 41, 126, 0.07)`): Interactive / accent
- **Medium Gray** (`#777d90`): Interactive / accent
- **#4b8966** (`#4b8966`): Interactive / accent
### Border & Divider
- **Translucent Light Gray (80%)** (`rgba(223, 230, 232, 0.8)`): Borders / dividers
### Full Extracted Palette
112 distinct colors detected on the live page (18 categorized above + 94 additional below). Every value is a real `getComputedStyle()` color — no approximation.
- `rgba(2, 18, 73, 0.38)` — Translucent Navy Blue (38%)
- `#525769` — Slate
- `#0000ee` — #0000ee
- `#aeb8d6` — Sage
- `#58c035` — #58c035
- `#6aadf0` — Cornflower Blue
- `#8383ec` — #8383ec
- `#85b43f` — #85b43f
- `#a9b3bd` — Cool Gray
- `#81a0fe` — Cornflower Blue
- `#e49e58` — Tangerine
- `#fc59e4` — Magenta
- `#e88d8d` — #e88d8d
- `#0d35dd` — #0d35dd
- `#118e4d` — Teal
- `#9fa5ba` — Cool Gray
- `#ff6154` — #ff6154
- `#54b6ff` — #54b6ff
- `#4d53ec` — Royal Blue
- `#4285f4` — Ring Blue
- `#34a853` — Success Green
- `#fbbc05` — Amber
- `#eb4335` — Vermillion
- `#2d313f` — Charcoal
- `#fa2413` — M Tricolor Red
- `#1facf8` — Sky Bright
- `#475359` — Slate
- `#e67e4c` — Warm Terracotta
- `#a6c321` — #a6c321
- `#9690f4` — #9690f4
- `#00b9ba` — #00b9ba
- `#62737b` — Slate Gray
- *…+62 more in `raw-css.json` (`desktop.allColors`).*
### CSS Custom Properties (Design Tokens)
**Primary Brand Color**
- `--color-accent`: `#000`
**Error / Destructive**
- `--color-error-1`: `rgba(161,2,20,.88)`
- `--color-error-3`: `rgba(255,12,12,.07)`
- `--color-error-2`: `rgba(228,3,3,.63)`
**Background**
- `--color-background`: `#fff`
**Warning**
- `--color-warning-1`: `rgba(124,75,1,.94)`
- `--color-warning-2`: `rgba(217,144,3,.9)`
- `--color-warning-3`: `rgba(255,172,5,.12)`
**Other tokens**
- `--color-code-vivid-3`: `#fa2413`
- `--color-code-vivid-17`: `#1facf8`
- `--color-dark-shades-4`: `#475359`
- `--color-code-muted-4`: `#e67e4c`
- `--color-code-vivid-9`: `#a6c321`
- `--color-code-muted-20`: `#9690f4`
- `--color-code-muted-14`: `#00b9ba`
- `--color-dark-shades-5`: `#62737b`
## 3. Typography Rules
### Font Families
- **Primary**: `Base-Variable`
- **Secondary**: `Title`
### Custom Fonts Loaded
- **Base-Variable** weight 300 900 (normal)
- **Title** weight 400 (normal)
### Typography Hierarchy
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|------|------|------|--------|-------------|----------------|-------|
| Display Hero | Title | 96px | 400 | 1 | -2% | Main headline (h1) |
| Button Large | Base-Variable | 20px | 500 | 1.4 | -0.45px | Button label (20px) |
| Body | Base-Variable | 16px | 500 | 1.5 | -2% | Standard reading text |
| Link Small | Base-Variable | 12px | 500 | 1.33 | -2% | Link (12px) — Decoration: none |
### Full Font Size Scale
Sizes detected in the design (descending): `96px`, `40px`, `32px`, `25px`, `20px`, `17px`, `16px`, `14px`, `13.33px`, `13px`, `12px`, `10px`
> 8 size(s) detected outside the sampled hierarchy (40px, 32px, 25px, 17px, 14px, 13.3333px, 13px, 10px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
### OpenType & Variable Font Features
The typography uses these OpenType features intentionally — this is a sophisticated type system, not a default fallback:
- **tabular figures** (`tnum`) — numbers align vertically, essential for pricing tables and dashboards
**Clone instruction:** Enable these in your CSS:
```css
body {
font-feature-settings: "tnum";
}
```
## 4. Component Stylings
### Buttons
**Ghost**
- Background: `#000000`
- Text: `#f7f8fb` `{colors.primary-focus}`
- Padding: 0px
- Radius: 16px
- Font: 20px weight 500
- Use: Subtle action, toolbar, nav button
- Focus: outline: `rgb(247, 248, 251) auto 3px`
**Pill**
- Background: `#f7f8fb` `{colors.primary-focus}`
- Text: `#000000`
- Padding: 0px 14px
- Radius: 16px
- Border: 1px solid rgba(12, 41, 126, 0.07)
- Font: 16px weight 500
- Use: Status pills, tags, chips
- Focus: outline: `rgb(247, 248, 251) auto 3px`
**Light / Invert**
- Background: `#f7f8fb` `{colors.primary-focus}`
- Text: `#000000`
- Padding: 0px 32px
- Radius: 46px
- Border: 1px solid rgb(238, 240, 246)
- Font: 20px weight 500
- Use: Bright CTA on dark sections
- Focus: outline: `rgb(247, 248, 251) auto 3px`
**Light / Invert**
- Background: `#f7f8fb` `{colors.primary-focus}`
- Text: `#000000`
- Padding: 4px
- Radius: 24px
- Border: 1px solid rgba(55, 80, 155, 0.04)
- Font: 16px weight 500
- Use: Bright CTA on dark sections
- Focus: outline: `rgb(247, 248, 251) auto 3px`
**Light / Invert**
- Background: `#ffffff` `{colors.on-primary}`
- Text: `#000000`
- Padding: 0px 16px
- Radius: 16px
- Border: 1px solid rgb(221, 223, 234)
- Font: 20px weight 500
- Use: Bright CTA on dark sections
- Focus: outline: `rgb(247, 248, 251) auto 3px`
### Inputs & Forms
**Text Input**
- Background: `transparent`
- Text: `#000000`
- Padding: 0px 0px 0px 8px
- Radius: 0px
- Border: 0px none rgb(0, 0, 0)
- Font: 20px weight 500
- Use: Text fields, search inputs
## 4b. Component Behaviors (State Matrix)
### Interaction State Narrative
*State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
```yaml
component-behaviors:
button:
default:
bg: "rgb(0, 0, 0)"
fg: "rgb(247, 248, 251)"
focus:
bg: "rgb(0, 0, 0)"
fg: "rgb(247, 248, 251)"
input:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(0, 0, 0)"
link:
default:
bg: "rgba(0, 0, 0, 0)"
fg: "rgb(0, 0, 0)"
```
**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`, `Pill`, `Light / Invert`, `Light / Invert`, `Light / Invert`
- **DO NOT introduce new buttons variants** without justification
### Inputs & Forms
- **1 shape(s)** in this system: `Text Input`
- **DO NOT introduce new inputs & forms variants** without justification
## 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 | 8px |
| sm | 35px |
| md | 39px |
| base | 16px |
| lg | 24px |
| xl | 32px |
| 2xl | 48px |
| 3xl | 64px |
### Border Radius Scale
| Name | Value | Use |
|------|-------|-----|
| None | 0px | No rounding |
| Xs | 4px | Tiny corners (badges, micro elements) |
| Sm | 8px | Buttons, inputs, small elements |
| Md | 12px | Cards, containers |
| Lg | 20px | Large rounded elements, pill segments |
| Xl | 28px | Category strips, featured containers |
| Full | 9999px | Pills, avatars, circular elements |
### Shape Language
| Component | Border Radius |
|-----------|---------------|
| Buttons | `16px` |
| Inputs & Forms | `0px` |
| Page Body | `0px` |
| Primary Input | `0px` |
**Shape Personality**: Generously Rounded — Soft, friendly corners (8px+). Approachable, consumer-facing feel.
**Full Radius Spectrum**: 0px, 1px, 4px, 6px, 8px, 11px, 12px, 16px (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** | `39px` | Card padding, list-item spacing |
| **compact** | `35px` | Form fields, tight clusters, badge padding |
| **micro** | `8px` | Icon-text gap, tag inner padding |
**Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
## 5c. Widget & Structure Library
Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
**3/8 structural patterns detected.**
### Hero Pattern
- **Composition:** centered — Centered composition — heading + subheading + CTAs stacked vertically, content centered horizontally. Common for SaaS marketing pages.
- **Viewport coverage:** full-viewport hero (≥70% screen height)
- **Heading:** "Design research for humans and AI" — 96px center-aligned
- **Subheading:** "Real product screens, flows, and patterns to help teams and AI make better design decisions."
- **CTAs:** 1 (primary: "Refero MCP for AI agents")
- **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. No imagery needed for hero — text-driven.
### Card Grid Pattern
- **Card count:** 18 cards detected
- **Columns (desktop):** 2-up grid
- **Card dimensions:** 616×344px (aspect 1.79:1)
- **Gap:** 16px between cards
- **Content:** ✓ image
- **Image position:** top
- **Clone instruction:** Build a 2-column grid (desktop) with cards at ~1.79:1 aspect ratio. Each card has an image at the top.
### Footer Pattern
- **Columns:** 3
- **Links:** 9 total
- **Height:** 436px
- **Includes:** ✗ no newsletter | ✓ social icons |
- **Clone instruction:** Build a 3-column footer with ~3 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(12, 41, 126, 0.07) 0px 8px 16px 0px` | Cards, elevated surfaces |
| Inset (Level 2) | <br>`rgba(12, 41, 126, 0.07) 0px 0px 0px 1px inset` | Buttons, pressed-state elements |
| Layered (Level 3) | <br>`rgba(12, 41, 126, 0.09) 0px 1px 3px 0px`,<br>`rgba(12, 41, 126, 0.03) 0px 0px 1px 0.4px` | Cards, elevated surfaces |
| Layered (Level 4) | <br>`rgba(7, 25, 31, 0.1) 0px 0px 2px 0px`,<br>`rgba(7, 25, 31, 0.1) 0px 0px 2px 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-out` | Ease Out — Decelerating |
| `ease` | CSS ease — Default |
| `linear` | Linear — No Easing |
### Duration Scale
| Value | Tier | Typical Use |
|-------|------|-------------|
| `150ms` | Fast | Hover states, micro-interactions |
| `200ms` | Normal | Panel open/close, navigation |
| `300ms` | Normal | Panel open/close, navigation |
| `500ms` | Slow | Hero animations, page transitions |
### Copy-Paste Transition Snippets
**All Props**
```css
transition: 0.3s ease-out;
```
**All Props**
```css
transition: 0.3s linear;
```
**Shadow**
```css
transition: box-shadow 0.15s;
```
**Opacity**
```css
transition: opacity 0.5s, outline-color 0.3s;
```
### Keyframe Animation Catalog
| Animation Name | Type | Animated Props | Use Hint |
|----------------|------|----------------|----------|
| `move-out` | Slide | transform | UI transition |
| `move-in` | Slide | transform | UI transition |
| `QABBk` | Rotate / Spin | transform | UI transition |
| `QxYqi` | Fade | opacity, top | UI transition |
| `xilbW` | Rotate / Spin | transform | UI transition |
| `EtXJv` | Custom | perspective | UI transition |
| `gdJte` | Rotate / Spin | transform | UI transition |
| `R96KY` | Fade | opacity | UI transition |
| `Zj1RQ` | Fade + Move | opacity, transform | UI transition |
| `g2EHP` | Fade + Move | opacity, transform | UI transition |
| `Bamr3` | Slide | transform | UI transition |
| `RIwJf` | Slide | transform | UI transition |
| `xH8Wq` | Slide | transform | UI transition |
| `IV_VS` | Slide | transform | UI transition |
| `HNEi2` | Slide | transform | UI transition |
| `es_4s` | Custom | background-position-x, background-position-y | UI transition |
| `mCp_y` | Fade + Move | opacity, transform | UI transition |
| `FcyWD` | Custom | background-position-x, background-position-y | UI transition |
| `Y6grX` | Fade + Move | opacity, transform | UI transition |
| `Dt_7H` | Fade + Move | opacity, transform | UI transition |
> *78 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**: 98 unique animations (98 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 Base-Variable as the primary typeface — it defines the brand personality
- Keep font weights between 400-500 — the system uses a narrow weight range for subtle hierarchy
- Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
- Use Emerald (`#10b981`) as the primary accent — it's the brand's signature interactive color
- Use 16px border-radius on buttons — the standard corner rounding for interactive elements
- Make the hero full-viewport (≥70% screen height) — this design uses an immersive hero, not a tall navbar
- Keep the hero centered and text-driven — no decorative media, typography carries the message
- Use a single primary CTA in the hero — the design intentionally avoids choice paralysis
- Each card includes a top image — imagery is part of the card identity, not optional
### Don't
- Don't substitute with generic sans-serif or serif — the custom font carries the brand
- Don't use weight 700 (bold) or above — 500 is the maximum weight in this system
- Don't invent new shadow values — use only the extracted shadow levels
- Don't introduce additional saturated accent colors — the palette is intentionally controlled
- Don't add hero illustrations or photos — they'll break the typographic restraint
## 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 `#10b981` for primary CTAs and brand-mark signals only"
why: "Single chromatic assertion device — overuse dilutes meaning"
test: "querySelectorAll('[style*=\"#10b981\"]').length <= 3 per fold"
```
## 9. Responsive Behavior
### Breakpoints
| Name | Width | Key Changes |
|------|-------|-------------|
| Tablet | 768px | Multi-column grids begin |
| Tablet | 980px | Multi-column grids begin |
| Ultra-wide | 1600px | Maximum content width |
| Ultra-wide | 1692px | Maximum content width |
| Ultra-wide | 2048px | Maximum content width |
### Token Diff — Desktop vs Mobile
| Element | Property | Desktop | Mobile |
|---------|----------|---------|--------|
| heading | font-size | `96px` | `50px` |
| heading | line-height | `96px` | `50px` |
| button | width | `436px` | `310px` |
### Collapsing Strategy
- Headlines: 96px → 50px 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):
- **Card grid: 2-up → 1-up** — cards stack as viewport narrows, becoming a vertical list on mobile.
- **Footer columns collapse:** 3 columns (desktop) → 1 column (mobile).
## 9b. Visual Tone & Photography
**Tone:** Photography-driven
The site is dominated by photography (JPG/WebP). Photos carry the brand voice as much as the typography. Use authentic, brand-appropriate imagery — generic stock will degrade quality.
**Canonical Brand Image (OG):**
- https://refero.design/open-graph-4-1200x630.png
*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.81:1 (landscape (16:9-ish))
- Rendered size: 392×217px
- Alt text: "Mercury web screenshot. Wallet & Balance UI and Dashboard UI and Home Page UI"
- *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): 69 (100%)
- Portrait (<0.87): 0 (0%)
- Square (0.87–1.15): 0 (0%)
**Media Format Mix:**
- JPG: 69 (typically photographic content)
**Average rendered image size:** 562×314px
**Above-fold image count:** 4 / 69
**Decorative Patterns Detected:**
- 27 multi-stop linear gradients (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
- 1 radial gradient — circular color blooms used for spotlight/glow effects
- **Glassmorphism** detected (`backdrop-filter: blur`) — layered transparent surfaces with blur, modern OS-like aesthetic
- **Noise/grain texture** detected — adds tactile film grain to flat backgrounds
**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:**
- Source authentic photography (or licensed stock that matches the brand mood) — placeholders will visibly degrade the clone.
- Match the dominant aspect ratio (see above) so card grids and hero compositions hold.
## 10. Agent Prompt Guide
### Quick Reference
- Background: Dialog (`#ffffff`)
- Primary text: Pure Black (`#000000`)
- Accent: Emerald (`#10b981`)
- Border: Medium Gray (`#777d90`)
- Font: Base-Variable
- Body: 16px weight 500
### Example Component Prompts
- "Create a hero section on Dialog background (#ffffff). Headline at 96px Base-Variable weight 400, line-height 1, letter-spacing -2%, color #000000."
- "Create the primary CTA button: `#10b981` background, `#f7f8fb` text, 16px border-radius, 15px 30px padding, 500 weight, Base-Variable font."
- "Build navigation: sticky on `#ffffff`. Base-Variable 16px weight 400 for links."
### Iteration Guide
1. **Canvas**: Set the light canvas to Dialog (`#ffffff`) — every component is composited against this exact base.
2. **Typography**: All type in Base-Variable, weight range 400–500. Never exceed 500 — heavier weights break the brand's tonal restraint.
3. **Accent**: Emerald (`#10b981`) is the sole interactive color. On hover → Translucent Emerald (8%) (`rgba(16, 185, 129, 0.08)`). Use CSS transitions, not opacity/brightness filters.
4. **Shape**: CTAs at `16px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
5. **Spacing**: Use the `--ca-space-*` token scale (8px–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-on-primary: #ffffff;
--ca-primary-focus: #f7f8fb;
--ca-surface-2: #d6f1e2;
--ca-ink-subtle: #021249;
--ca-primary-hover: #10b981;
--ca-hairline: #777d90;
--ca-semantic-error: #f43f5e;
--ca-semantic-success: #02a745;
--ca-semantic-warning: #f59e0b;
}
/* Typography */
:root {
--ca-font-primary: "Title", system-ui, sans-serif;
--ca-text-display: 96px;
--ca-text-body: 16px;
--ca-text-small: 12px;
--ca-text-button: 20px;
}
/* Spacing & Radius */
:root {
--ca-space-xxs: 2px;
--ca-space-xs: 8px;
--ca-space-sm: 35px;
--ca-space-md: 39px;
--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: 4px;
--ca-radius-sm: 8px;
--ca-radius-md: 12px;
--ca-radius-lg: 20px;
--ca-radius-xl: 28px;
--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: unknown
tag: div
height: 900px
width: full-bleed
layout: block
children: 1
```
**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:
- "Real product screens, flows, and patterns to help teams and AI make better design decisions."
- "Page Types"
ctas:
- "Continue with Email"
```
**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: 4
avg-ratio: 1.78
common-aspect: "~16:9 landscape"
thumbnail:
count: 29
avg-ratio: 1.00
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">
Continue with Email
</button>
```
_Source pattern detected: padding `0px` · radius `16px` · weight `500`_
**Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
## 12. Known Extraction Gaps
*Auto-detected limitations of this extraction — understand before building:*
- **Sparse component extraction** — fewer than 5 component types detected. Highly dynamic sections (modals, datepickers, carousels) require interaction to render and are not captured in a static pass.
---
## Extraction Completeness: 67/100 (C)
| Category | Score | Max | Detail |
|----------|-------|-----|--------|
| Colors & Palette | 25 | 25 | 18 named colors |
| Typography | 10 | 20 | 4 roles defined |
| Components | 8 | 20 | 2 specs extracted |
| Motion & Interaction | 12 | 15 | Keyframes present |
| CSS Custom Properties | 7 | 10 | 141 vars |
| Responsive Breakpoints | 5 | 5 | 5 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.
*✅ No critical extraction gaps detected — high-confidence reproduction expected.*
### Per-section confidence
| Section | Confidence | Reason |
|---------|------------|--------|
| §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
| §2 Colors | High | 141 CSS vars (semantic naming requires ≥20 for high) |
| §3 Typography | Medium | 4 typography roles inferred |
| §4 Components | Low | 2 component variants captured |
| §7 Motion | High | Keyframes + transitions |
| §8 Do's/Don'ts | High | 14 rules generated; design-decisions.json has evidence per rule |
| §9 Responsive | High | 5 breakpoints detected |
| §9b Photography | High | 69 images, hero present |
---
*Generated by Clone Architect — automated Playwright extraction + design analysis.*
*Source: https://refero.design | 2026-05-30T20:39:43.055Z*
*All values verified via getComputedStyle() — no approximation, no hallucination.*
Re-extract: clone-architect update refero.design