Color Palette

7 colors extracted via getComputedStyle(). Click any swatch to copy its hex value.

Background & Surface

Primary #ffffff Page bg Copied!
Secondary #ffffff Elevated Copied!
Tertiary #ffffff Card bg Copied!

Text & Content

Primary #000000 Body text Copied!
Secondary #000000 Secondary Copied!
Muted #000000 Muted / Placeholder Copied!

Border & Divider

Border #e5e7eb Dividers / Lines Copied!

Typography

All values extracted via getComputedStyle() — no estimation.

RoleFont FamilySize / Weight Line HeightLetter SpacingPreview
Body Times New Roman 16px / w400 normal normal Body

Live Components

Rendered in real HTML using your extracted tokens — no screenshots.

Buttons

accent: #0070f3 · border-radius: 9999px · weight: 400

Form Inputs

border: rgb(229,231,235) · focus: #0070f3 · radius: 8px

Card

Card Component
Card Title
Supporting description text with muted color for secondary information.
bg: rgb(255,255,255) · radius: 14px · shadow from tokens

Badges & Labels

New Feature Beta Draft

Spacing Scale

xxs 2px
xs 8px
sm 16px
md 24px
base 32px
lg 40px
xl 48px
2xl 56px
3xl 64px

Border Radius

none
0px
xs
4px
sm
8px
md
14px
lg
20px
xl
32px
full
9999px

Component Specs

Extracted CSS values per component and variant state.

Visual Reference

Playwright screenshots captured during extraction — source of truth for all tokens.

Desktop (1440px)
Desktop (1440px) screenshot
Mobile (390px)
Mobile (390px) screenshot

Breakpoints

Mobile 640px
Tablet 768px
Desktop 1024px
Large Desktop 1280px

Motion & Transitions

1 motion tokens — easing curves and durations.

transition-1all

Export tokens

Copy these design tokens to any framework. Generated from ramp.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: ramp.com
description: "Light product system built on #ffffff. Type anchored in Times New Roman at 48px / weight 600. Extracted automatically from https://ramp.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
narrative: |
  ramp.com is built on a pure-white canvas (rgb(255,255,255)).
  Times New Roman as the primary typeface.
  Depth comes from borders and surface contrast rather than shadows — a flat, structural elevation model.
  Motion is minimal — a few targeted transitions, no decorative animation.

colors:
  background: "#ffffff"
  surface-1: "#ffffff"
  surface-2: "#ffffff"
  hairline: "#e5e7eb"

typography:
  body:
    fontFamily: "Times New Roman, Georgia, 'Times New Roman', serif"
    fontSize: 16px
    fontWeight: 400
    lineHeight: normal
    letterSpacing: 0

rounded:
  none: 0px
  xs: 4px
  sm: 8px
  md: 14px
  lg: 20px
  xl: 32px
  pill: 9999px

spacing:
  xxs: 2px
  xs: 8px
  sm: 16px
  md: 24px
  lg: 40px
  xl: 48px
  xxl: 64px

components:


extracted_at: "2026-06-13T01:38:34.748Z"
agent_gated: true
completeness: 9
scoreVersion: "v2"

---

> ⚠️ **Agent-gated source.** `ramp.com` served a non-HTML "machine version" (content-type: text/markdown) to the extractor instead of its real website. Everything below describes that fallback document — browser default styles — **not** the brand's actual design system. Do not use these values as ramp.com branding.

# Design System — ramp.com
> Extracted automatically by Prism from https://ramp.com
> Date: 2026-06-13
> 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**: moderate  |  **Motion**: still  |  **Weight**: light  |  **Aesthetic**: editorial-minimal

| Dimension | Value | Signal |
|---|---|---|
| Canvas | neutral | `#ffffff` |
| Type posture | serif-led (display serif) | display type |
| Color assertion | single-accent | N/A |
| Whitespace | moderate | section rhythm 56px |
| Interaction | still | 0 keyframes, 1 transitions |
| Radius language | 8px-rounded | from token scale |

**Prism fingerprint**: `neutral-canvas · serif-display · single-accent · 8px-rounded · still-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**: `N/A` for primary CTAs ONLY. Never decorative.
> - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
> - **Section rhythm**: 56px between major bands. Card padding: 40px.
> - **Default radius**: 8px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
> - **Forbidden**: Do NOT introduce heavy box-shadows — this system relies on borders for separation
>
> **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

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

Typography is anchored in **Times New Roman**. 

Body text reads in Pure Black (`#000000`) (contrast ratio 21.0:1, well above WCAG AA). Shadow is absent by design — depth is conveyed through borders, spacing, and color differentiation rather than light simulation. 


**Key Characteristics:**
- Background: Pure White (`#ffffff`)
- Primary typeface: Times New Roman
- Accent: Slate Grey (`#808080`)

## 2. Color Palette & Roles

### Background & Surface
- **Pure White** (`#ffffff`): Page background (primary)

### Text & Content
- **Pure Black** (`#000000`): Primary body text

## 3. Typography Rules

### Font Families
- **Primary**: `Times New Roman`
- **Secondary**: `monospace`

### Typography Hierarchy

| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|------|------|------|--------|-------------|----------------|-------|
| Body | Times New Roman | 16px | 400 | normal | normal | Standard reading text |

### Full Font Size Scale

Sizes detected in the design (descending): `16px`, `13px`

> 1 size(s) detected outside the sampled hierarchy (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

## 5. Layout Principles

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

### Grid
Single column, centered content

### Max Width
1200px

### Spacing System
Generous spacing — editorial breathing room

| Token | Value |
|-------|-------|
| xxs | 2px |
| xs | 8px |
| sm | 16px |
| md | 24px |
| base | 32px |
| lg | 40px |
| xl | 48px |
| 2xl | 56px |
| 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 | 14px | Cards, containers |
| Lg | 20px | Large rounded elements, pill segments |
| Xl | 32px | Category strips, featured containers |
| Full | 9999px | Pills, avatars, circular elements |

### Shape Language

| Component | Border Radius |
|-----------|---------------|
| Page Body | `0px` |

**Shape Personality**: Sharp & Angular — No rounding. Precise, editorial, enterprise feel.


## 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** | `48px` | Between major bands (color change, content shift) |
| **subsection** | `40px` | Within a section, between content groups |
| **card** | `24px` | Card padding, list-item spacing |
| **compact** | `16px` | 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.).

## 6. Depth & Elevation

| Level | Treatment | Use |
|-------|-----------|-----|
| Flat (Level 0) | No shadow | Page background, content blocks |

**Shadow Philosophy**: Flat design — no shadows used. Borders and spacing define structure.

## 8. Do's and Don'ts

### Do
- The system uses a single text weight (400) — hierarchy comes from size and color, not weight

### Don't
- Don't introduce bolder or lighter weights — 400 is the only weight in this system


## 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-depth-001
    type: dont
    rule: "Do NOT introduce drop shadows on cards or sections"
    why: "Containment is achieved via borders, not elevation — adding shadows breaks the depth contract"
    test: "getComputedStyle(card).boxShadow === 'none'"
```

## 9. Responsive Behavior

### Breakpoints
| Name | Width | Key Changes |
|------|-------|-------------|
| Mobile | 640px | Single column layout |
| Tablet | 768px | 2-column grids |
| Desktop | 1024px | Full layout |
| Large Desktop | 1280px | Maximum width |

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

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

### Collapsing Narrative

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

*No major structural differences detected between desktop and mobile widgets. The same blueprints scale rather than collapse — verify by inspecting actual mobile render.*

## 9b. Visual Tone & Photography

**Tone:** No imagery

No detectable photographic content. The site composes entirely with typography, color blocks, and minimal vector graphics. Clone strategy: lean on type hierarchy + layout rhythm rather than visual media.

**Media Format Mix:**
- *No detectable images.*

**Imagery Guidance for clones:**
- Don't add stock imagery just to "fill space" — this site's clarity comes from typographic restraint.
- Use generous whitespace, strong type hierarchy, and color blocks for visual rhythm.

## 10. Agent Prompt Guide

### Quick Reference
- Background: Pure White (`#ffffff`)
- Primary text: Pure Black (`#000000`)
- Accent: Ring Blue (`#3b82f6`)
- Border: Whitesmoke (`#e5e7eb`)
- Font: Times New Roman
- Body: 16px weight 400

### Example Component Prompts
- "Build navigation: sticky on `#ffffff`. Times New Roman 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 Times New Roman, weight range 400–400. Never exceed 400 — heavier weights break the brand's tonal restraint.
3. **Spacing**: Use the `--ca-space-*` token scale (8px–48px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
4. **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-2: #ffffff;
  --ca-hairline: #e5e7eb;
}

/* Typography */
:root {
  --ca-font-primary: "Times New Roman", system-ui, sans-serif;
  --ca-text-body: 16px;
}

/* Spacing & Radius */
:root {
  --ca-space-xxs: 2px;
  --ca-space-xs: 8px;
  --ca-space-sm: 16px;
  --ca-space-md: 24px;
  --ca-space-base: 32px;
  --ca-space-lg: 40px;
  --ca-space-xl: 48px;
  --ca-space-2xl: 56px;
  --ca-space-3xl: 64px;
  --ca-radius-none: 0px;
  --ca-radius-xs: 4px;
  --ca-radius-sm: 8px;
  --ca-radius-md: 14px;
  --ca-radius-lg: 20px;
  --ca-radius-xl: 32px;
  --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: content-section
    tag: pre
    height: 4380px
    width: 1424px
    layout: block
    children: 0
```

**Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).


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

| Category | Score | Max | Detail |
|----------|-------|-----|--------|
| Colors & Palette | 3 | 25 | 2 named colors |
| Typography | 3 | 20 | 1 roles defined |
| Components | 0 | 20 | 0 specs extracted |
| Motion & Interaction | 0 | 15 | No keyframes |
| CSS Custom Properties | 0 | 10 | 0 vars |
| Responsive Breakpoints | 4 | 5 | 4 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:*

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

| Category | What's missing | Fallback strategy |
|----------|----------------|-------------------|
| **Photography** | No photographic content detected on this page | Don't add stock imagery; clarity comes from type + color blocks |
| **Keyframe animations** | No @keyframes declarations found (transitions only) | Use CSS transitions for state changes; avoid complex scroll-based animations |
| **Component states** | Hover / focus / active states not captured | Darken background ~10% on hover, add 2px focus ring matching accent token, +50% opacity for disabled |
| **Dark mode** | No dark-mode CSS variables or media queries detected | Light mode is canonical; do not generate dark-mode variants unless explicitly requested |
| **Form inputs** | No text input fields detected on this page | Use the documented border-radius + accent border on focus; 12-16px padding inside |
| **Design tokens** | Only 0 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 | Low | 0 CSS vars (semantic naming requires ≥20 for high) |
| §3 Typography | Low | 1 typography roles inferred |
| §4 Components | Low | 0 component variants captured |
| §7 Motion | Medium | Transitions only |
| §8 Do's/Don'ts | Medium | 2 rules generated; design-decisions.json has evidence per rule |
| §9 Responsive | High | 4 breakpoints detected |
| §9b Photography | Low | 0 images, hero not detected |

## 11.2 Measured Reality (CDP Engine)

Captured directly from Chrome's engine across **all 5 rendered nodes** — not a sample. These are the values the page *actually paints*, weighted by how often they appear.

### Measured Design Scale
**Type scale by usage** (× = paint count): `16px`×2 · `13px`×2

**Weights** (× = paint count): `400`×4

---
*Generated by Prism — automated Playwright extraction + design analysis.*
*Source: https://ramp.com | 2026-06-13T01:38:34.752Z*
*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.*

Re-extract: clone-architect update ramp.com