chore: design.md inspired by vercel

Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
This commit is contained in:
2026-04-21 15:13:19 -04:00
parent 036278bab4
commit 5d0a043626

441
DESIGN.md
View File

@@ -1,313 +1,310 @@
# Design System Inspired by Apple # Design System Inspired by Vercel
## 1. Visual Theme & Atmosphere ## 1. Visual Theme & Atmosphere
Apple's website is a masterclass in controlled drama — vast expanses of pure black and near-white serve as cinematic backdrops for products that are photographed as if they were sculptures in a gallery. The design philosophy is reductive to its core: every pixel exists in service of the product, and the interface itself retreats until it becomes invisible. This is not minimalism as aesthetic preference; it is minimalism as reverence for the object. Vercel's website is the visual thesis of developer infrastructure made invisible — a design system so restrained it borders on philosophical. The page is overwhelmingly white (`#ffffff`) with near-black (`#171717`) text, creating a gallery-like emptiness where every element earns its pixel. This isn't minimalism as decoration; it's minimalism as engineering principle. The Geist design system treats the interface like a compiler treats code — every unnecessary token is stripped away until only structure remains.
The typography anchors everything. San Francisco (SF Pro Display for large sizes, SF Pro Text for body) is Apple's proprietary typeface, engineered with optical sizing that automatically adjusts letterforms depending on point size. At display sizes (56px), weight 600 with a tight line-height of 1.07 and subtle negative letter-spacing (-0.28px) creates headlines that feel machined rather than typeset — precise, confident, and unapologetically direct. At body sizes (17px), the tracking loosens slightly (-0.374px) and line-height opens to 1.47, creating a reading rhythm that is comfortable without ever feeling slack. The custom Geist font family is the crown jewel. Geist Sans uses aggressive negative letter-spacing (-2.4px to -2.88px at display sizes), creating headlines that feel compressed, urgent, and engineered — like code that's been minified for production. At body sizes, the tracking relaxes but the geometric precision persists. Geist Mono completes the system as the monospace companion for code, terminal output, and technical labels. Both fonts enable OpenType `"liga"` (ligatures) globally, adding a layer of typographic sophistication that rewards close reading.
The color story is starkly binary. Product sections alternate between pure black (`#000000`) backgrounds with white text and light gray (`#f5f5f7`) backgrounds with near-black text (`#1d1d1f`). This creates a cinematic pacing — dark sections feel immersive and premium, light sections feel open and informational. The only chromatic accent is Apple Blue (`#0071e3`), reserved exclusively for interactive elements: links, buttons, and focus states. This singular accent color in a sea of neutrals gives every clickable element unmistakable visibility. What distinguishes Vercel from other monochrome design systems is its shadow-as-border philosophy. Instead of traditional CSS borders, Vercel uses `box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.08)` — a zero-offset, zero-blur, 1px-spread shadow that creates a border-like line without the box model implications. This technique allows borders to exist in the shadow layer, enabling smoother transitions, rounded corners without clipping, and a subtler visual weight than traditional borders. The entire depth system is built on layered, multi-value shadow stacks where each layer serves a specific purpose: one for the border, one for soft elevation, one for ambient depth.
**Key Characteristics:** **Key Characteristics:**
- SF Pro Display/Text with optical sizing — letterforms adapt automatically to size context - Geist Sans with extreme negative letter-spacing (-2.4px to -2.88px at display) — text as compressed infrastructure
- Binary light/dark section rhythm: black (`#000000`) alternating with light gray (`#f5f5f7`) - Geist Mono for code and technical labels with OpenType `"liga"` globally
- Single accent color: Apple Blue (`#0071e3`) reserved exclusively for interactive elements - Shadow-as-border technique: `box-shadow 0px 0px 0px 1px` replaces traditional borders throughout
- Product-as-hero photography on solid color fields — no gradients, no textures, no distractions - Multi-layer shadow stacks for nuanced depth (border + elevation + ambient in single declarations)
- Extremely tight headline line-heights (1.07-1.14) creating compressed, billboard-like impact - Near-pure white canvas with `#171717` text — not quite black, creating micro-contrast softness
- Full-width section layout with centered content — the viewport IS the canvas - Workflow-specific accent colors: Ship Red (`#ff5b4f`), Preview Pink (`#de1d8d`), Develop Blue (`#0a72ef`)
- Pill-shaped CTAs (980px radius) creating soft, approachable action buttons - Focus ring system using `hsla(212, 100%, 48%, 1)` — a saturated blue for accessibility
- Generous whitespace between sections allowing each product moment to breathe - Pill badges (9999px) with tinted backgrounds for status indicators
## 2. Color Palette & Roles ## 2. Color Palette & Roles
### Primary ### Primary
- **Pure Black** (`#000000`): Hero section backgrounds, immersive product showcases. The darkest canvas for the brightest products. - **Vercel Black** (`#171717`): Primary text, headings, dark surface backgrounds. Not pure black — the slight warmth prevents harshness.
- **Light Gray** (`#f5f5f7`): Alternate section backgrounds, informational areas. Not white — the slight blue-gray tint prevents sterility. - **Pure White** (`#ffffff`): Page background, card surfaces, button text on dark.
- **Near Black** (`#1d1d1f`): Primary text on light backgrounds, dark button fills. Slightly warmer than pure black for comfortable reading. - **True Black** (`#000000`): Secondary use, `--geist-console-text-color-default`, used in specific console/code contexts.
### Workflow Accent Colors
- **Ship Red** (`#ff5b4f`): `--ship-text`, the "ship to production" workflow step — warm, urgent coral-red.
- **Preview Pink** (`#de1d8d`): `--preview-text`, the preview deployment workflow — vivid magenta-pink.
- **Develop Blue** (`#0a72ef`): `--develop-text`, the development workflow — bright, focused blue.
### Console / Code Colors
- **Console Blue** (`#0070f3`): `--geist-console-text-color-blue`, syntax highlighting blue.
- **Console Purple** (`#7928ca`): `--geist-console-text-color-purple`, syntax highlighting purple.
- **Console Pink** (`#eb367f`): `--geist-console-text-color-pink`, syntax highlighting pink.
### Interactive ### Interactive
- **Apple Blue** (`#0071e3`): `--sk-focus-color`, primary CTA backgrounds, focus rings. The ONLY chromatic color in the interface. - **Link Blue** (`#0072f5`): Primary link color with underline decoration.
- **Link Blue** (`#0066cc`): `--sk-body-link-color`, inline text links. Slightly darker than Apple Blue for text-level readability. - **Focus Blue** (`hsla(212, 100%, 48%, 1)`): `--ds-focus-color`, focus ring on interactive elements.
- **Bright Blue** (`#2997ff`): Links on dark backgrounds. Higher luminance for contrast on black sections. - **Ring Blue** (`rgba(147, 197, 253, 0.5)`): `--tw-ring-color`, Tailwind ring utility.
### Text ### Neutral Scale
- **White** (`#ffffff`): Text on dark backgrounds, button text on blue/dark CTAs. - **Gray 900** (`#171717`): Primary text, headings, nav text.
- **Near Black** (`#1d1d1f`): Primary body text on light backgrounds. - **Gray 600** (`#4d4d4d`): Secondary text, description copy.
- **Black 80%** (`rgba(0, 0, 0, 0.8)`): Secondary text, nav items on light backgrounds. Slightly softened. - **Gray 500** (`#666666`): Tertiary text, muted links.
- **Black 48%** (`rgba(0, 0, 0, 0.48)`): Tertiary text, disabled states, carousel controls. - **Gray 400** (`#808080`): Placeholder text, disabled states.
- **Gray 100** (`#ebebeb`): Borders, card outlines, dividers.
- **Gray 50** (`#fafafa`): Subtle surface tint, inner shadow highlight.
### Surface & Dark Variants ### Surface & Overlay
- **Dark Surface 1** (`#272729`): Card backgrounds in dark sections. - **Overlay Backdrop** (`hsla(0, 0%, 98%, 1)`): `--ds-overlay-backdrop-color`, modal/dialog backdrop.
- **Dark Surface 2** (`#262628`): Subtle surface variation in dark contexts. - **Selection Text** (`hsla(0, 0%, 95%, 1)`): `--geist-selection-text-color`, text selection highlight.
- **Dark Surface 3** (`#28282a`): Elevated cards on dark backgrounds. - **Badge Blue Bg** (`#ebf5ff`): Pill badge background, tinted blue surface.
- **Dark Surface 4** (`#2a2a2d`): Highest dark surface elevation. - **Badge Blue Text** (`#0068d6`): Pill badge text, darker blue for readability.
- **Dark Surface 5** (`#242426`): Deepest dark surface tone.
### Button States ### Shadows & Depth
- **Button Active** (`#ededf2`): Active/pressed state for light buttons. - **Border Shadow** (`rgba(0, 0, 0, 0.08) 0px 0px 0px 1px`): The signature — replaces traditional borders.
- **Button Default Light** (`#fafafc`): Search/filter button backgrounds. - **Subtle Elevation** (`rgba(0, 0, 0, 0.04) 0px 2px 2px`): Minimal lift for cards.
- **Overlay** (`rgba(210, 210, 215, 0.64)`): Media control scrims, overlays. - **Card Stack** (`rgba(0,0,0,0.08) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 2px, rgba(0,0,0,0.04) 0px 8px 8px -8px, #fafafa 0px 0px 0px 1px`): Full multi-layer card shadow.
- **White 32%** (`rgba(255, 255, 255, 0.32)`): Hover state on dark modal close buttons. - **Ring Border** (`rgb(235, 235, 235) 0px 0px 0px 1px`): Light gray ring-border for tabs and images.
### Shadows
- **Card Shadow** (`rgba(0, 0, 0, 0.22) 3px 5px 30px 0px`): Soft, diffused elevation for product cards. Offset and wide blur create a natural, photographic shadow.
## 3. Typography Rules ## 3. Typography Rules
### Font Family ### Font Family
- **Display**: `SF Pro Display`, with fallbacks: `SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif` - **Primary**: `Geist`, with fallbacks: `Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol`
- **Body**: `SF Pro Text`, with fallbacks: `SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif` - **Monospace**: `Geist Mono`, with fallbacks: `ui-monospace, SFMono-Regular, Roboto Mono, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Courier New`
- SF Pro Display is used at 20px and above; SF Pro Text is optimized for 19px and below. - **OpenType Features**: `"liga"` enabled globally on all Geist text; `"tnum"` for tabular numbers on specific captions.
### Hierarchy ### Hierarchy
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes | | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|------|------|------|--------|-------------|----------------|-------| |------|------|------|--------|-------------|----------------|-------|
| Display Hero | SF Pro Display | 56px (3.50rem) | 600 | 1.07 (tight) | -0.28px | Product launch headlines, maximum impact | | Display Hero | Geist | 48px (3.00rem) | 600 | 1.001.17 (tight) | -2.4px to -2.88px | Maximum compression, billboard impact |
| Section Heading | SF Pro Display | 40px (2.50rem) | 600 | 1.10 (tight) | normal | Feature section titles | | Section Heading | Geist | 40px (2.50rem) | 600 | 1.20 (tight) | -2.4px | Feature section titles |
| Tile Heading | SF Pro Display | 28px (1.75rem) | 400 | 1.14 (tight) | 0.196px | Product tile headlines | | Sub-heading Large | Geist | 32px (2.00rem) | 600 | 1.25 (tight) | -1.28px | Card headings, sub-sections |
| Card Title | SF Pro Display | 21px (1.31rem) | 700 | 1.19 (tight) | 0.231px | Bold card headings | | Sub-heading | Geist | 32px (2.00rem) | 400 | 1.50 | -1.28px | Lighter sub-headings |
| Sub-heading | SF Pro Display | 21px (1.31rem) | 400 | 1.19 (tight) | 0.231px | Regular card headings | | Card Title | Geist | 24px (1.50rem) | 600 | 1.33 | -0.96px | Feature cards |
| Nav Heading | SF Pro Text | 34px (2.13rem) | 600 | 1.47 | -0.374px | Large navigation headings | | Card Title Light | Geist | 24px (1.50rem) | 500 | 1.33 | -0.96px | Secondary card headings |
| Sub-nav | SF Pro Text | 24px (1.50rem) | 300 | 1.50 | normal | Light sub-navigation text | | Body Large | Geist | 20px (1.25rem) | 400 | 1.80 (relaxed) | normal | Introductions, feature descriptions |
| Body | SF Pro Text | 17px (1.06rem) | 400 | 1.47 | -0.374px | Standard reading text | | Body | Geist | 18px (1.13rem) | 400 | 1.56 | normal | Standard reading text |
| Body Emphasis | SF Pro Text | 17px (1.06rem) | 600 | 1.24 (tight) | -0.374px | Emphasized body text, labels | | Body Small | Geist | 16px (1.00rem) | 400 | 1.50 | normal | Standard UI text |
| Button Large | SF Pro Text | 18px (1.13rem) | 300 | 1.00 (tight) | normal | Large button text, light weight | | Body Medium | Geist | 16px (1.00rem) | 500 | 1.50 | normal | Navigation, emphasized text |
| Button | SF Pro Text | 17px (1.06rem) | 400 | 2.41 (relaxed) | normal | Standard button text | | Body Semibold | Geist | 16px (1.00rem) | 600 | 1.50 | -0.32px | Strong labels, active states |
| Link | SF Pro Text | 14px (0.88rem) | 400 | 1.43 | -0.224px | Body links, "Learn more" | | Button / Link | Geist | 14px (0.88rem) | 500 | 1.43 | normal | Buttons, links, captions |
| Caption | SF Pro Text | 14px (0.88rem) | 400 | 1.29 (tight) | -0.224px | Secondary text, descriptions | | Button Small | Geist | 14px (0.88rem) | 400 | 1.00 (tight) | normal | Compact buttons |
| Caption Bold | SF Pro Text | 14px (0.88rem) | 600 | 1.29 (tight) | -0.224px | Emphasized captions | | Caption | Geist | 12px (0.75rem) | 400500 | 1.33 | normal | Metadata, tags |
| Micro | SF Pro Text | 12px (0.75rem) | 400 | 1.33 | -0.12px | Fine print, footnotes | | Mono Body | Geist Mono | 16px (1.00rem) | 400 | 1.50 | normal | Code blocks |
| Micro Bold | SF Pro Text | 12px (0.75rem) | 600 | 1.33 | -0.12px | Bold fine print | | Mono Caption | Geist Mono | 13px (0.81rem) | 500 | 1.54 | normal | Code labels |
| Nano | SF Pro Text | 10px (0.63rem) | 400 | 1.47 | -0.08px | Legal text, smallest size | | Mono Small | Geist Mono | 12px (0.75rem) | 500 | 1.00 (tight) | normal | `text-transform: uppercase`, technical labels |
| Micro Badge | Geist | 7px (0.44rem) | 700 | 1.00 (tight) | normal | `text-transform: uppercase`, tiny badges |
### Principles ### Principles
- **Optical sizing as philosophy**: SF Pro automatically switches between Display and Text optical sizes. Display versions have wider letter spacing and thinner strokes optimized for large sizes; Text versions are tighter and sturdier for small sizes. This means the font literally changes its DNA based on context. - **Compression as identity**: Geist Sans at display sizes uses -2.4px to -2.88px letter-spacing — the most aggressive negative tracking of any major design system. This creates text that feels _minified_, like code optimized for production. The tracking progressively relaxes as size decreases: -1.28px at 32px, -0.96px at 24px, -0.32px at 16px, and normal at 14px.
- **Weight restraint**: The scale spans 300 (light) to 700 (bold) but most text lives at 400 (regular) and 600 (semibold). Weight 300 appears only on large decorative text. Weight 700 is rare, used only for bold card titles. - **Ligatures everywhere**: Every Geist text element enables OpenType `"liga"`. Ligatures aren't decorative — they're structural, creating tighter, more efficient glyph combinations.
- **Negative tracking at all sizes**: Unlike most systems that only track headlines, Apple applies subtle negative letter-spacing even at body sizes (-0.374px at 17px, -0.224px at 14px, -0.12px at 12px). This creates universally tight, efficient text. - **Three weights, strict roles**: 400 (body/reading), 500 (UI/interactive), 600 (headings/emphasis). No bold (700) except for tiny micro-badges. This narrow weight range creates hierarchy through size and tracking, not weight.
- **Extreme line-height range**: Headlines compress to 1.07 while body text opens to 1.47, and some button contexts stretch to 2.41. This dramatic range creates clear visual hierarchy through rhythm alone. - **Mono for identity**: Geist Mono in uppercase with `"tnum"` or `"liga"` serves as the "developer console" voice — compact technical labels that connect the marketing site to the product.
## 4. Component Stylings ## 4. Component Stylings
### Buttons ### Buttons
**Primary Blue (CTA)** **Primary White (Shadow-bordered)**
- Background: `#0071e3` (Apple Blue) - Background: `#ffffff`
- Text: `#171717`
- Padding: 0px 6px (minimal — content-driven width)
- Radius: 6px (subtly rounded)
- Shadow: `rgb(235, 235, 235) 0px 0px 0px 1px` (ring-border)
- Hover: background shifts to `var(--ds-gray-1000)` (dark)
- Focus: `2px solid var(--ds-focus-color)` outline + `var(--ds-focus-ring)` shadow
- Use: Standard secondary button
**Primary Dark (Inferred from Geist system)**
- Background: `#171717`
- Text: `#ffffff` - Text: `#ffffff`
- Padding: 8px 15px - Padding: 8px 16px
- Radius: 8px - Radius: 6px
- Border: 1px solid transparent - Use: Primary CTA ("Start Deploying", "Get Started")
- Font: SF Pro Text, 17px, weight 400
- Hover: background brightens slightly
- Active: `#ededf2` background shift
- Focus: `2px solid var(--sk-focus-color, #0071E3)` outline
- Use: Primary call-to-action ("Buy", "Shop iPhone")
**Primary Dark** **Pill Button / Badge**
- Background: `#1d1d1f` - Background: `#ebf5ff` (tinted blue)
- Text: `#ffffff` - Text: `#0068d6`
- Padding: 8px 15px - Padding: 0px 10px
- Radius: 8px - Radius: 9999px (full pill)
- Font: SF Pro Text, 17px, weight 400 - Font: 12px weight 500
- Use: Secondary CTA, dark variant - Use: Status badges, tags, feature labels
**Pill Link (Learn More / Shop)** **Large Pill (Navigation)**
- Background: transparent - Background: transparent or `#171717`
- Text: `#0066cc` (light bg) or `#2997ff` (dark bg) - Radius: 64px100px
- Radius: 980px (full pill) - Use: Tab navigation, section selectors
- Border: 1px solid `#0066cc`
- Font: SF Pro Text, 14px-17px
- Hover: underline decoration
- Use: "Learn more" and "Shop" links — the signature Apple inline CTA
**Filter / Search Button**
- Background: `#fafafc`
- Text: `rgba(0, 0, 0, 0.8)`
- Padding: 0px 14px
- Radius: 11px
- Border: 3px solid `rgba(0, 0, 0, 0.04)`
- Focus: `2px solid var(--sk-focus-color, #0071E3)` outline
- Use: Search bars, filter controls
**Media Control**
- Background: `rgba(210, 210, 215, 0.64)`
- Text: `rgba(0, 0, 0, 0.48)`
- Radius: 50% (circular)
- Active: scale(0.9), background shifts
- Focus: `2px solid var(--sk-focus-color, #0071e3)` outline, white bg, black text
- Use: Play/pause, carousel arrows
### Cards & Containers ### Cards & Containers
- Background: `#f5f5f7` (light) or `#272729`-`#2a2a2d` (dark) - Background: `#ffffff`
- Border: none (borders are rare in Apple's system) - Border: via shadow — `rgba(0, 0, 0, 0.08) 0px 0px 0px 1px`
- Radius: 5px-8px - Radius: 8px (standard), 12px (featured/image cards)
- Shadow: `rgba(0, 0, 0, 0.22) 3px 5px 30px 0px` for elevated product cards - Shadow stack: `rgba(0,0,0,0.08) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 2px, #fafafa 0px 0px 0px 1px`
- Content: centered, generous padding - Image cards: `1px solid #ebebeb` with 12px top radius
- Hover: no standard hover state — cards are static, links within them are interactive - Hover: subtle shadow intensification
### Inputs & Forms
- Radio: standard styling with focus `var(--ds-gray-200)` background
- Focus shadow: `1px 0 0 0 var(--ds-gray-alpha-600)`
- Focus outline: `2px solid var(--ds-focus-color)` — consistent blue focus ring
- Border: via shadow technique, not traditional border
### Navigation ### Navigation
- Background: `rgba(0, 0, 0, 0.8)` (translucent dark) with `backdrop-filter: saturate(180%) blur(20px)` - Clean horizontal nav on white, sticky
- Height: 48px (compact) - Vercel logotype left-aligned, 262x52px
- Text: `#ffffff` at 12px, weight 400 - Links: Geist 14px weight 500, `#171717` text
- Active: underline on hover - Active: weight 600 or underline
- Logo: Apple logomark (SVG) centered or left-aligned, 17x48px viewport - CTA: dark pill buttons ("Start Deploying", "Contact Sales")
- Mobile: collapses to hamburger with full-screen overlay menu - Mobile: hamburger menu collapse
- The nav floats above content, maintaining its dark translucent glass regardless of section background - Product dropdowns with multi-level menus
### Image Treatment ### Image Treatment
- Products on solid-color fields (black or white) — no backgrounds, no context, just the object - Product screenshots with `1px solid #ebebeb` border
- Full-bleed section images that span the entire viewport width - Top-rounded images: `12px 12px 0px 0px` radius
- Product photography at extremely high resolution with subtle shadows - Dashboard/code preview screenshots dominate feature sections
- Lifestyle images confined to rounded-corner containers (12px+ radius) - Soft gradient backgrounds behind hero images (pastel multi-color)
### Distinctive Components ### Distinctive Components
**Product Hero Module** **Workflow Pipeline**
- Full-viewport-width section with solid background (black or `#f5f5f7`) - Three-step horizontal pipeline: Develop → Preview → Ship
- Product name as the primary headline (SF Pro Display, 56px, weight 600) - Each step has its own accent color: Blue → Pink → Red
- One-line descriptor below in lighter weight - Connected with lines/arrows
- Two pill CTAs side by side: "Learn more" (outline) and "Buy" / "Shop" (filled) - The visual metaphor for Vercel's core value proposition
**Product Grid Tile** **Trust Bar / Logo Grid**
- Square or near-square card on contrasting background - Company logos (Perplexity, ChatGPT, Cursor, etc.) in grayscale
- Product image dominating 60-70% of the tile - Horizontal scroll or grid layout
- Product name + one-line description below - Subtle `#ebebeb` border separation
- "Learn more" and "Shop" link pair at bottom
**Feature Comparison Strip** **Metric Cards**
- Horizontal scroll of product variants - Large number display (e.g., "10x faster")
- Each variant as a vertical card with image, name, and key specs - Geist 48px weight 600 for the metric
- Minimal chrome — the products speak for themselves - Description below in gray body text
- Shadow-bordered card container
## 5. Layout Principles ## 5. Layout Principles
### Spacing System ### Spacing System
- Base unit: 8px - Base unit: 8px
- Scale: 2px, 4px, 5px, 6px, 7px, 8px, 9px, 10px, 11px, 14px, 15px, 17px, 20px, 24px - Scale: 1px, 2px, 3px, 4px, 5px, 6px, 8px, 10px, 12px, 14px, 16px, 32px, 36px, 40px
- Notable characteristic: the scale is dense at small sizes (2-11px) with granular 1px increments, then jumps in larger steps. This allows precise micro-adjustments for typography and icon alignment. - Notable gap: jumps from 16px to 32px — no 20px or 24px in primary scale
### Grid & Container ### Grid & Container
- Max content width: approximately 980px (the recurring "980px radius" in pill buttons echoes this width) - Max content width: approximately 1200px
- Hero: full-viewport-width sections with centered content block - Hero: centered single-column with generous top padding
- Product grids: 2-3 column layouts within centered container - Feature sections: 23 column grids for cards
- Single-column for hero moments — one product, one message, full attention - Full-width dividers using `border-bottom: 1px solid #171717`
- No visible grid lines or gutters — spacing creates implied structure - Code/dashboard screenshots as full-width or contained with border
### Whitespace Philosophy ### Whitespace Philosophy
- **Cinematic breathing room**: Each product section occupies a full viewport height (or close to it). The whitespace between products is not empty — it is the pause between scenes in a film. - **Gallery emptiness**: Massive vertical padding between sections (80px120px+). The white space IS the design — it communicates that Vercel has nothing to prove and nothing to hide.
- **Vertical rhythm through color blocks**: Rather than using spacing alone to separate sections, Apple uses alternating background colors (black, `#f5f5f7`, white). Each color change signals a new "scene." - **Compressed text, expanded space**: The aggressive negative letter-spacing on headlines is counterbalanced by generous surrounding whitespace. The text is dense; the space around it is vast.
- **Compression within, expansion between**: Text blocks are tightly set (negative letter-spacing, tight line-heights) while the space surrounding them is vast. This creates a tension between density and openness. - **Section rhythm**: White sections alternate with white sections — there's no color variation between sections. Separation comes from borders (shadow-borders) and spacing alone.
### Border Radius Scale ### Border Radius Scale
- Micro (5px): Small containers, link tags - Micro (2px): Inline code snippets, small spans
- Standard (8px): Buttons, product cards, image containers - Subtle (4px): Small containers
- Comfortable (11px): Search inputs, filter buttons - Standard (6px): Buttons, links, functional elements
- Large (12px): Feature panels, lifestyle image containers - Comfortable (8px): Cards, list items
- Full Pill (980px): CTA links ("Learn more", "Shop"), navigation pills - Image (12px): Featured cards, image containers (top-rounded)
- Circle (50%): Media controls (play/pause, arrows) - Large (64px): Tab navigation pills
- XL (100px): Large navigation links
- Full Pill (9999px): Badges, status pills, tags
- Circle (50%): Menu toggle, avatar containers
## 6. Depth & Elevation ## 6. Depth & Elevation
| Level | Treatment | Use | | Level | Treatment | Use |
|-------|-----------|-----| |-------|-----------|-----|
| Flat (Level 0) | No shadow, solid background | Standard content sections, text blocks | | Flat (Level 0) | No shadow | Page background, text blocks |
| Navigation Glass | `backdrop-filter: saturate(180%) blur(20px)` on `rgba(0,0,0,0.8)` | Sticky navigation bar — the glass effect | | Ring (Level 1) | `rgba(0,0,0,0.08) 0px 0px 0px 1px` | Shadow-as-border for most elements |
| Subtle Lift (Level 1) | `rgba(0, 0, 0, 0.22) 3px 5px 30px 0px` | Product cards, floating elements | | Light Ring (Level 1b) | `rgb(235,235,235) 0px 0px 0px 1px` | Lighter ring for tabs, images |
| Media Control | `rgba(210, 210, 215, 0.64)` background with scale transforms | Play/pause buttons, carousel controls | | Subtle Card (Level 2) | Ring + `rgba(0,0,0,0.04) 0px 2px 2px` | Standard cards with minimal lift |
| Focus (Accessibility) | `2px solid #0071e3` outline | Keyboard focus on all interactive elements | | Full Card (Level 3) | Ring + Subtle + `rgba(0,0,0,0.04) 0px 8px 8px -8px` + inner `#fafafa` ring | Featured cards, highlighted panels |
| Focus (Accessibility) | `2px solid hsla(212, 100%, 48%, 1)` outline | Keyboard focus on all interactive elements |
**Shadow Philosophy**: Apple uses shadow extremely sparingly. The primary shadow (`3px 5px 30px` with 0.22 opacity) is soft, wide, and offset — mimicking a diffused studio light casting a natural shadow beneath a physical object. This reinforces the "product as physical sculpture" metaphor. Most elements have NO shadow at all; elevation comes from background color contrast (dark card on darker background, or light card on slightly different gray). **Shadow Philosophy**: Vercel has arguably the most sophisticated shadow system in modern web design. Rather than using shadows for elevation in the traditional Material Design sense, Vercel uses multi-value shadow stacks where each layer has a distinct architectural purpose: one creates the "border" (0px spread, 1px), another adds ambient softness (2px blur), another handles depth at distance (8px blur with negative spread), and an inner ring (`#fafafa`) creates the subtle highlight that makes the card "glow" from within. This layered approach means cards feel built, not floating.
### Decorative Depth ### Decorative Depth
- Navigation glass: the translucent, blurred navigation bar is the most recognizable depth element, creating a sense of floating UI above scrolling content - Hero gradient: soft, pastel multi-color gradient wash behind hero content (barely visible, atmospheric)
- Section color transitions: depth is implied by the alternation between black and light gray sections rather than by shadows - Section borders: `1px solid #171717` (full dark line) between major sections
- Product photography shadows: the products themselves cast shadows in their photography, so the UI doesn't need to add synthetic ones - No background color variation — depth comes entirely from shadow layering and border contrast
## 7. Do's and Don'ts ## 7. Do's and Don'ts
### Do ### Do
- Use SF Pro Display at 20px+ and SF Pro Text below 20px — respect the optical sizing boundary - Use Geist Sans with aggressive negative letter-spacing at display sizes (-2.4px to -2.88px at 48px)
- Apply negative letter-spacing at all text sizes (not just headlines) — Apple tracks tight universally - Use shadow-as-border (`0px 0px 0px 1px rgba(0,0,0,0.08)`) instead of traditional CSS borders
- Use Apple Blue (`#0071e3`) ONLY for interactive elements — it must be the singular accent - Enable `"liga"` on all Geist text — ligatures are structural, not optional
- Alternate between black and light gray (`#f5f5f7`) section backgrounds for cinematic rhythm - Use the three-weight system: 400 (body), 500 (UI), 600 (headings)
- Use 980px pill radius for CTA links — the signature Apple link shape - Apply workflow accent colors (Red/Pink/Blue) only in their workflow context
- Keep product imagery on solid-color fields with no competing visual elements - Use multi-layer shadow stacks for cards (border + elevation + ambient + inner highlight)
- Use the translucent dark glass (`rgba(0,0,0,0.8)` + blur) for sticky navigation - Keep the color palette achromatic — grays from `#171717` to `#ffffff` are the system
- Compress headline line-heights to 1.07-1.14 — Apple headlines are famously tight - Use `#171717` instead of `#000000` for primary text — the micro-warmth matters
### Don't ### Don't
- Don't introduce additional accent colors — the entire chromatic budget is spent on blue - Don't use positive letter-spacing on Geist Sans — it's always negative or zero
- Don't use heavy shadows or multiple shadow layers — Apple's shadow system is one soft diffused shadow or nothing - Don't use weight 700 (bold) on body text — 600 is the maximum, used only for headings
- Don't use borders on cards or containers — Apple almost never uses visible borders (except on specific buttons) - Don't use traditional CSS `border` on cards — use the shadow-border technique
- Don't apply wide letter-spacing to SF Pro — it is designed to run tight at every size - Don't introduce warm colors (oranges, yellows, greens) into the UI chrome
- Don't use weight 800 or 900 — the maximum is 700 (bold), and even that is rare - Don't apply the workflow accent colors (Ship Red, Preview Pink, Develop Blue) decoratively
- Don't add textures, patterns, or gradients to backgrounds — solid colors only - Don't use heavy shadows (> 0.1 opacity) — the shadow system is whisper-level
- Don't make the navigation opaque — the glass blur effect is essential to the Apple UI identity - Don't increase body text letter-spacing — Geist is designed to run tight
- Don't center-align body text — Apple body copy is left-aligned; only headlines center - Don't use pill radius (9999px) on primary action buttons — pills are for badges/tags only
- Don't use rounded corners larger than 12px on rectangular elements (980px is for pills only) - Don't skip the inner `#fafafa` ring in card shadows — it's the glow that makes the system work
## 8. Responsive Behavior ## 8. Responsive Behavior
### Breakpoints ### Breakpoints
| Name | Width | Key Changes | | Name | Width | Key Changes |
|------|-------|-------------| |------|-------|-------------|
| Small Mobile | <360px | Minimum supported, single column | | Mobile Small | <400px | Tight single column, minimal padding |
| Mobile | 360-480px | Standard mobile layout | | Mobile | 400600px | Standard mobile, stacked layout |
| Mobile Large | 480-640px | Wider single column, larger images | | Tablet Small | 600768px | 2-column grids begin |
| Tablet Small | 640-834px | 2-column product grids begin | | Tablet | 7681024px | Full card grids, expanded padding |
| Tablet | 834-1024px | Full tablet layout, expanded nav | | Desktop Small | 10241200px | Standard desktop layout |
| Desktop Small | 1024-1070px | Standard desktop layout begins | | Desktop | 12001400px | Full layout, maximum content width |
| Desktop | 1070-1440px | Full layout, max content width | | Large Desktop | >1400px | Centered, generous margins |
| Large Desktop | >1440px | Centered with generous margins |
### Touch Targets ### Touch Targets
- Primary CTAs: 8px 15px padding creating ~44px touch height - Buttons use comfortable padding (8px16px vertical)
- Navigation links: 48px height with adequate spacing - Navigation links at 14px with adequate spacing
- Media controls: 50% radius circular buttons, minimum 44x44px - Pill badges have 10px horizontal padding for tap targets
- "Learn more" pills: generous padding for comfortable tapping - Mobile menu toggle uses 50% radius circular button
### Collapsing Strategy ### Collapsing Strategy
- Hero headlines: 56px Display → 40px → 28px on mobile, maintaining tight line-height proportionally - Hero: display 48px → scales down, maintains negative tracking proportionally
- Product grids: 3-column → 2-column → single column stacked - Navigation: horizontal links + CTAs → hamburger menu
- Navigation: full horizontal nav → compact mobile menu (hamburger) - Feature cards: 3-column → 2-column → single column stacked
- Product hero modules: full-bleed maintained at all sizes, text scales down - Code screenshots: maintain aspect ratio, may horizontally scroll
- Section backgrounds: maintain full-width color blocks at all breakpoints — the cinematic rhythm never breaks - Trust bar logos: grid → horizontal scroll
- Image sizing: products scale proportionally, never crop — the product silhouette is sacred - Footer: multi-column → stacked single column
- Section spacing: 80px+ → 48px on mobile
### Image Behavior ### Image Behavior
- Product photography maintains aspect ratio at all breakpoints - Dashboard screenshots maintain border treatment at all sizes
- Hero product images scale down but stay centered - Hero gradient softens/simplifies on mobile
- Full-bleed section backgrounds persist at every size - Product screenshots use responsive images with consistent border radius
- Lifestyle images may crop on mobile but maintain their rounded corners - Full-width sections maintain edge-to-edge treatment
- Lazy loading for below-fold product images
## 9. Agent Prompt Guide ## 9. Agent Prompt Guide
### Quick Color Reference ### Quick Color Reference
- Primary CTA: Apple Blue (`#0071e3`) - Primary CTA: Vercel Black (`#171717`)
- Page background (light): `#f5f5f7` - Background: Pure White (`#ffffff`)
- Page background (dark): `#000000` - Heading text: Vercel Black (`#171717`)
- Heading text (light): `#1d1d1f` - Body text: Gray 600 (`#4d4d4d`)
- Heading text (dark): `#ffffff` - Border (shadow): `rgba(0, 0, 0, 0.08) 0px 0px 0px 1px`
- Body text: `rgba(0, 0, 0, 0.8)` on light, `#ffffff` on dark - Link: Link Blue (`#0072f5`)
- Link (light bg): `#0066cc` - Focus ring: Focus Blue (`hsla(212, 100%, 48%, 1)`)
- Link (dark bg): `#2997ff`
- Focus ring: `#0071e3`
- Card shadow: `rgba(0, 0, 0, 0.22) 3px 5px 30px 0px`
### Example Component Prompts ### Example Component Prompts
- "Create a hero section on black background. Headline at 56px SF Pro Display weight 600, line-height 1.07, letter-spacing -0.28px, color white. One-line subtitle at 21px SF Pro Display weight 400, line-height 1.19, color white. Two pill CTAs: 'Learn more' (transparent bg, white text, 1px solid white border, 980px radius) and 'Buy' (Apple Blue #0071e3 bg, white text, 8px radius, 8px 15px padding)." - "Create a hero section on white background. Headline at 48px Geist weight 600, line-height 1.00, letter-spacing -2.4px, color #171717. Subtitle at 20px Geist weight 400, line-height 1.80, color #4d4d4d. Dark CTA button (#171717, 6px radius, 8px 16px padding) and ghost button (white, shadow-border rgba(0,0,0,0.08) 0px 0px 0px 1px, 6px radius)."
- "Design a product card: #f5f5f7 background, 8px border-radius, no border, no shadow. Product image top 60% of card on solid background. Title at 28px SF Pro Display weight 400, letter-spacing 0.196px, line-height 1.14. Description at 14px SF Pro Text weight 400, color rgba(0,0,0,0.8). 'Learn more' and 'Shop' links in #0066cc at 14px." - "Design a card: white background, no CSS border. Use shadow stack: rgba(0,0,0,0.08) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 2px, #fafafa 0px 0px 0px 1px. Radius 8px. Title at 24px Geist weight 600, letter-spacing -0.96px. Body at 16px weight 400, #4d4d4d."
- "Build the Apple navigation: sticky, 48px height, background rgba(0,0,0,0.8) with backdrop-filter: saturate(180%) blur(20px). Links at 12px SF Pro Text weight 400, white text. Apple logo left, links centered, search and bag icons right." - "Build a pill badge: #ebf5ff background, #0068d6 text, 9999px radius, 0px 10px padding, 12px Geist weight 500."
- "Create an alternating section layout: first section black bg with white text and centered product image, second section #f5f5f7 bg with #1d1d1f text. Each section near full-viewport height with 56px headline and two pill CTAs below." - "Create navigation: white sticky header. Geist 14px weight 500 for links, #171717 text. Dark pill CTA 'Start Deploying' right-aligned. Shadow-border on bottom: rgba(0,0,0,0.08) 0px 0px 0px 1px."
- "Design a 'Learn more' link: text #0066cc on light bg or #2997ff on dark bg, 14px SF Pro Text, underline on hover. After the text, include a right-arrow chevron character (>). Wrap in a container with 980px border-radius for pill shape when used as a standalone CTA." - "Design a workflow section showing three steps: Develop (text color #0a72ef), Preview (#de1d8d), Ship (#ff5b4f). Each step: 14px Geist Mono uppercase label + 24px Geist weight 600 title + 16px weight 400 description in #4d4d4d."
### Iteration Guide ### Iteration Guide
1. Every interactive element gets Apple Blue (`#0071e3`) — no other accent colors 1. Always use shadow-as-border instead of CSS border — `0px 0px 0px 1px rgba(0,0,0,0.08)` is the foundation
2. Section backgrounds alternate: black for immersive moments, `#f5f5f7` for informational moments 2. Letter-spacing scales with font size: -2.4px at 48px, -1.28px at 32px, -0.96px at 24px, normal at 14px
3. Typography optical sizing: SF Pro Display at 20px+, SF Pro Text below — never mix 3. Three weights only: 400 (read), 500 (interact), 600 (announce)
4. Negative letter-spacing at all sizes: -0.28px at 56px, -0.374px at 17px, -0.224px at 14px, -0.12px at 12px 4. Color is functional, never decorative — workflow colors (Red/Pink/Blue) mark pipeline stages only
5. The navigation glass effect (translucent dark + blur) is non-negotiable — it defines the Apple web experience 5. The inner `#fafafa` ring in card shadows is what gives Vercel cards their subtle inner glow
6. Products always appear on solid color fields — never on gradients, textures, or lifestyle backgrounds in hero modules 6. Geist Mono uppercase for technical labels, Geist Sans for everything else
7. Shadow is rare and always soft: `3px 5px 30px 0.22 opacity` or nothing at all
8. Pill CTAs use 980px radius — this creates the signature Apple rounded-rectangle-that-looks-like-a-capsule shape