Color Palette

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

Background & Surface

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

Text & Content

Primary #f0f0fa Body text Copied!
Secondary #808080 Secondary Copied!
Muted #ffffff Muted / Placeholder Copied!

Border & Divider

Border #ffffff Dividers / Lines Copied!

Full Extracted Palette (+3)

#0000ee #0000ee Copied!
#d9d9d9 #d9d9d9 Copied!
#252628 #252628 Copied!

Typography

All values extracted via getComputedStyle() — no estimation.

RoleFont FamilySize / Weight Line HeightLetter SpacingPreview
Display Hero D-DIN-Bold 80px / w400 0.95 1.6px Display Hero
Section Heading D-DIN-Bold 60px / w400 0.9 -1px Section Heading
Card Title D-DIN 16px / w400 1.7 normal Card Title
Button D-DIN 13.3333px / w400 normal normal Button
Link D-DIN 13.008px / w700 0.94 1.17072px Link

Live Components

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

Buttons

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

Form Inputs

border: rgba(255,255,255,0.08) · focus: #0070f3 · radius: 8px

Card

Card Component
Card Title
Supporting description text with muted color for secondary information.
bg: rgba(0, 0, 0, 0.5) · radius: 8px · shadow from tokens

Badges & Labels

New Feature Beta Draft

Spacing Scale

xxs 2px
xs 3px
sm 6px
md 10px
base 16px
lg 24px
xl 30px
2xl 40px
3xl 64px

Border Radius

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

Component Specs

Extracted CSS values per component and variant state.

### Buttons

Ghost
  • Background: `transparent`
  • Text: `#f0f0fa` `{colors.ink}`
  • Padding: 0px
  • Radius: 0px
  • Font: 16px weight 400
  • Use: Subtle action, toolbar, nav button
  • Focus: backgroundColor: `rgba(12, 12, 12, 0.514)`, outline: `rgb(16, 16, 16) auto 1px`
Subtle
  • Background: `rgba(0, 0, 0, 0.5)`
  • Text: `#f0f0fa` `{colors.ink}`
  • Padding: 0px 20px
  • Radius: 4px
  • Border: 1px solid rgba(240, 240, 250, 0.35)
  • Font: 16px weight 400
  • Use: Quiet action against page bg
  • Focus: backgroundColor: `rgba(12, 12, 12, 0.514)`, outline: `rgb(16, 16, 16) auto 1px`
Pill
  • Background: `rgba(240, 240, 250, 0.1)` `{colors.ink}`
  • Text: `#000000`
  • Padding: 18px
  • Radius: 32px
  • Font: 13.3333px weight 400
  • Use: Status pills, tags, chips
  • Focus: backgroundColor: `rgba(12, 12, 12, 0.514)`, outline: `rgb(16, 16, 16) auto 1px`

Cards & Containers

Standard Card
  • Background: `transparent`
  • Padding: 20px 10px 20px 6px
  • Radius: 0px
  • Use: Content containers, listing items

Navigation

Main Nav
  • Background: `transparent`
  • Padding: 0px
  • Radius: none
  • Font: 16px weight 400
  • Use: Static flex nav — N/A items

Interaction State Narrative

  • **Button**:
  • - **focus:** bg rgba(0, 0, 0, 0.5) → rgba(12, 12, 12, 0.514)
Agent usage: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.

    Buttons

    - 3 shape(s) in this system: `Ghost`, `Subtle`, `Pill`
    • **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

    Navigation

    - 1 shape(s) in this system: `Main Nav`
    • **DO NOT introduce new navigation variants** without justification

    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 Large 600px
    Tablet 960px
    Desktop 1279px
    Large Desktop 1350px
    Large Desktop 1500px

    Motion & Transitions

    5 motion tokens — easing curves and durations.

    transition-1all
    transition-2opacity 0.3s
    transition-3max-height 0.5s, padding-top 0.5s
    transition-4top 0.3s
    transition-5left 1s, opacity 1s, visibility 1s

    Motion Timeline

    7 keyframe animations extracted from the live page. Preview 7 below — each block is animating right now with the actual extracted keyframes.

    hide
    reveal-header
    reveal-subheader
    reveal-button
    spin
    slide-in
    slide-out

    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.5)
    fg rgb(240, 240, 250)
    focus
    button
    bg rgba(12, 12, 12, 0.514)
    fg rgb(240, 240, 250)
    link
    default
    link
    bg rgba(0, 0, 0, 0)
    fg rgb(0, 0, 238)
    card
    default
    card
    bg rgba(0, 0, 0, 0)
    fg rgb(240, 240, 250)
    navLink
    default
    navLink
    bg rgba(0, 0, 0, 0)
    fg rgb(0, 0, 238)
    footerLink
    default
    footerLink
    bg rgba(0, 0, 0, 0)
    fg rgb(0, 0, 238)

    Z-Index Stacking Context

    27 z-index values detected. Top 20 ordered by stacking priority. 100+ (modals) · 10-99 (overlays) · 1-9 (UI chrome).

    z:1000
    div.menu-header.sub-menu-header
    z:1000
    div.menu-header.sub-menu-header
    z:1000
    div.menu-header
    z:1000
    div.menu-header
    z:1000
    div.menu-header.sub-menu-header
    z:1000
    div.menu-header
    z:1000
    div.menu-header.sub-menu-header
    z:1000
    div.menu-header.sub-menu-header
    z:100
    #spacex-header
    z:100
    div.spacex-logo
    z:3
    div.section-inner.feature
    z:3
    div.section-inner
    z:3
    div.section-inner
    z:3
    div.section-inner
    z:3
    div.section-inner
    z:3
    div.section-inner
    z:2
    span.image-wrapper.black-background-gradient-bottom
    z:2
    span.black-background-gradient-right.image-wrapper
    z:2
    span.black-background-gradient-left.image-wrapper
    z:2
    span.black-background-gradient-right.image-wrapper

    Export tokens

    Copy these design tokens to any framework. Generated from spacex.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: spacex.com
    description: "Dark-canvas product system built on #ffffff. Type anchored in D-DIN at 48px / weight 600. Extracted automatically from https://spacex.com/ — every value from getComputedStyle(), no approximation."
    narrative: |
      spacex.com is built on a near-black canvas (rgb(0, 0, 0)).
      Crisp CTAs (4px radius) reinforce a precise, technical aesthetic alongside D-DIN as the primary typeface.
    
    colors:
      ink: "#f0f0fa"
      ink-muted: "#808080"
      ink-subtle: "rgba(255, 255, 255, 0.25)"
      hairline: "rgba(255,255,255,0.08)"
      primary-focus: "#101010"
    
    typography:
      display-xl:
        fontFamily: "D-DIN-Bold"
        fontSize: 80px
        fontWeight: 400
        lineHeight: 0.95
        letterSpacing: 1.6px
      display-lg:
        fontFamily: "D-DIN-Bold"
        fontSize: 60px
        fontWeight: 400
        lineHeight: 0.9
        letterSpacing: -1px
      body:
        fontFamily: "D-DIN"
        fontSize: 16px
        fontWeight: 400
        lineHeight: 1.7
        letterSpacing: 0
      body-sm:
        fontFamily: "D-DIN"
        fontSize: 13.008px
        fontWeight: 700
        lineHeight: 0.94
        letterSpacing: 1.17072px
      button:
        fontFamily: "D-DIN"
        fontSize: 13.3333px
        fontWeight: 400
        lineHeight: normal
        letterSpacing: 0
    
    rounded:
      none: 0px
      xs: 4px
      sm: 8px
      md: 8px
      lg: 8px
      xl: 32px
      pill: 9999px
    
    spacing:
      xxs: 2px
      xs: 3px
      sm: 6px
      md: 10px
      lg: 24px
      xl: 30px
      xxl: 64px
      section: 80px
    
    components:
      button-ghost:
        backgroundColor: "transparent"
        textColor: "{colors.ink}"
        typography: "{typography.body}"
        rounded: "{rounded.none}"
      button-subtle:
        backgroundColor: "#000000"
        textColor: "{colors.ink}"
        typography: "{typography.body}"
        rounded: "{rounded.xs}"
        padding: 0px 20px
      button-pill:
        backgroundColor: "{colors.ink}"
        textColor: "#000000"
        typography: "{typography.button}"
        rounded: "{rounded.xl}"
        padding: 18px
      card-standard-card:
        backgroundColor: "transparent"
        typography: "{typography.body}"
        rounded: "{rounded.none}"
        padding: 20px 10px 20px 6px
      navigation-main-nav:
        backgroundColor: "transparent"
        typography: "{typography.body}"
        rounded: "{rounded.none}"
    
    extracted_at: "2026-05-30T20:39:54.593Z"
    completeness: 48
    scoreVersion: "v2"
    
    ---
    
    # Design System — spacex.com
    > Extracted automatically by Clone Architect from https://spacex.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(0, 0, 0)` 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**: 40px between major bands. Card padding: 24px.
    > - **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
    
    spacex.com commits fully to dark-mode as the native medium, not as a toggled alternative. The canvas is a near-pure-black surface (`#000000`) where surfaces are layered through stepped luminance — each elevated level is slightly less dark than the one beneath it, creating depth without color shifts. 
    
    Typography is anchored in **D-DIN**. 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 Light Gray (`#f0f0fa`) (contrast ratio 94.6:1, well above WCAG AA). Shadow is absent by design — depth is conveyed through borders, spacing, and color differentiation rather than light simulation. 
    Motion design uses smooth easing curves for polished state transitions. 
    
    **Key Characteristics:**
    - Background: Pure Black (`#000000`)
    - Primary typeface: D-DIN
    - Primary text: Light Gray (`#f0f0fa`)
    - Accent: Medium Gray (`#808080`)
    - Custom fonts loaded: D-DIN, D-DIN-Bold, Roboto Mono
    
    ## 2. Color Palette & Roles
    
    ### Background & Surface
    - **Pure Black** (`#000000`): Page background (primary)
    - **#0000ee** (`#0000ee`): Surface / elevated background
    
    ### Text & Content
    - **Light Gray** (`#f0f0fa`): Primary body text
    - **Medium Gray** (`#808080`): Secondary text
    
    ### Full Extracted Palette
    7 distinct colors detected on the live page (4 categorized above + 3 additional below). Every value is a real `getComputedStyle()` color — no approximation.
    
    - `rgba(255, 255, 255, 0.25)` — Translucent Pure White (25%)
    - `#d9d9d9` — #d9d9d9
    - `rgba(37, 38, 40, 0.8)` — Translucent Warm Brown (80%)
    
    ## 3. Typography Rules
    
    ### Font Families
    - **Primary**: `D-DIN`
    - **Secondary**: `D-DIN-Bold`
    - **Font 3**: `Roboto Mono`
    
    ### Custom Fonts Loaded
    - **D-DIN** weight 400 (normal)
    - **D-DIN-Bold** weight 400 (normal)
    - **Roboto Mono** weight 400 (normal)
    
    ### Typography Hierarchy
    
    | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
    |------|------|------|--------|-------------|----------------|-------|
    | Display Hero | D-DIN-Bold | 80px | 400 | 0.95 | 1.6px | Main headline (h2) |
    | Section Heading | D-DIN-Bold | 60px | 400 | 0.9 | -1px | Section titles (h2) |
    | Card Title | D-DIN | 16px | 400 | 1.7 | normal | Card headings |
    | Button | D-DIN | 13.3333px | 400 | normal | normal | Button label (13.3333px) |
    | Link | D-DIN | 13.008px | 700 | 0.94 | 1.17072px | Link (13.008px) — Decoration: none |
    
    ### Full Font Size Scale
    
    Sizes detected in the design (descending): `80px`, `60px`, `48px`, `16px`, `13.33px`, `13.01px`, `12px`, `10px`
    
    > 3 size(s) detected outside the sampled hierarchy (48px, 12px, 10px). 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: `#f0f0fa` `{colors.ink}`
    - Padding: 0px
    - Radius: 0px
    - Font: 16px weight 400
    - Use: Subtle action, toolbar, nav button
    - Focus: backgroundColor: `rgba(12, 12, 12, 0.514)`, outline: `rgb(16, 16, 16) auto 1px`
    
    **Subtle**
    - Background: `rgba(0, 0, 0, 0.5)`
    - Text: `#f0f0fa` `{colors.ink}`
    - Padding: 0px 20px
    - Radius: 4px
    - Border: 1px solid rgba(240, 240, 250, 0.35)
    - Font: 16px weight 400
    - Use: Quiet action against page bg
    - Focus: backgroundColor: `rgba(12, 12, 12, 0.514)`, outline: `rgb(16, 16, 16) auto 1px`
    
    **Pill**
    - Background: `rgba(240, 240, 250, 0.1)` `{colors.ink}`
    - Text: `#000000`
    - Padding: 18px
    - Radius: 32px
    - Font: 13.3333px weight 400
    - Use: Status pills, tags, chips
    - Focus: backgroundColor: `rgba(12, 12, 12, 0.514)`, outline: `rgb(16, 16, 16) auto 1px`
    
    ### Cards & Containers
    
    **Standard Card**
    - Background: `transparent`
    - Padding: 20px 10px 20px 6px
    - Radius: 0px
    - Use: Content containers, listing items
    
    ### Navigation
    
    **Main Nav**
    - Background: `transparent`
    - Padding: 0px
    - Radius: none
    - Font: 16px weight 400
    - Use: Static flex nav — N/A items
    
    
    ## 4b. Component Behaviors (State Matrix)
    
    ### Interaction State Narrative
    
    - **Button**:
      - **focus:** bg rgba(0, 0, 0, 0.5) → rgba(12, 12, 12, 0.514)
    
    *State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
    
    ```yaml
    component-behaviors:
      button:
        default:
          bg: "rgba(0, 0, 0, 0.5)"
          fg: "rgb(240, 240, 250)"
          border: "1px solid rgba(240, 240, 250, 0.35)"
        focus:
          bg: "rgba(12, 12, 12, 0.514)"
          fg: "rgb(240, 240, 250)"
          border: "1px solid rgba(240, 240, 250, 0.35)"
      link:
        default:
          bg: "rgba(0, 0, 0, 0)"
          fg: "rgb(0, 0, 238)"
      card:
        default:
          bg: "rgba(0, 0, 0, 0)"
          fg: "rgb(240, 240, 250)"
      navLink:
        default:
          bg: "rgba(0, 0, 0, 0)"
          fg: "rgb(0, 0, 238)"
      footerLink:
        default:
          bg: "rgba(0, 0, 0, 0)"
          fg: "rgb(0, 0, 238)"
    ```
    
    **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
    - **3 shape(s)** in this system: `Ghost`, `Subtle`, `Pill`
    - **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
    
    ### Navigation
    - **1 shape(s)** in this system: `Main Nav`
    - **DO NOT introduce new navigation variants** without justification
    
    ## 5. Layout Principles
    
    ### Layout Type
    **top-nav + content**
    
    ### Grid
    Single column, centered content
    
    ### Max Width
    1200px
    
    ### Spacing System
    Compact spacing — information density prioritized
    
    | Token | Value |
    |-------|-------|
    | xxs | 2px |
    | xs | 3px |
    | sm | 6px |
    | md | 10px |
    | base | 16px |
    | lg | 24px |
    | xl | 30px |
    | 2xl | 40px |
    | 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 | 8px | Cards, containers |
    | Lg | 8px | Large rounded elements, pill segments |
    | Xl | 32px | Category strips, featured containers |
    | Full | 9999px | Pills, avatars, circular elements |
    
    ### Shape Language
    
    | Component | Border Radius |
    |-----------|---------------|
    | Buttons | `0px` |
    | Cards & Containers | `0px` |
    | Navigation | `none` |
    | Page Body | `0px` |
    
    **Shape Personality**: Sharp & Angular — No rounding. Precise, editorial, enterprise feel.
    
    **Full Radius Spectrum**: 4px, 8px, 32px (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** | `30px` | Between major bands (color change, content shift) |
    | **subsection** | `24px` | Within a section, between content groups |
    | **card** | `10px` | Card padding, list-item spacing |
    | **compact** | `6px` | Form fields, tight clusters, badge padding |
    | **micro** | `3px` | 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).
    
    **4/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:** 295px tall (not full-viewport)
    - **Heading:** "Making life multiplanetary" — 80px left-aligned
    - **Subheading:** "SpaceX was founded under the belief that a future where humanity is out exploring the stars is fundamentally more exciting than one where we are not."
    - **CTAs:** 1 (primary: "EXPLORE")
    - **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. No imagery needed for hero — text-driven.
    
    ### Navigation Pattern
    
    - **Position:** static (scrolls with page)
    - **Layout:** logo-left-links-left — Logo and links both on the left (CTAs typically right)
    - **Height:** 74px
    - **Logo:** ✓ present
    - **Nav links:** 21 primary items
    - **CTAs in nav:** 0 (no buttons — links only)
    - **Clone instruction:** Build a static logo left links left navigation. Link-only — no button styling needed.
    
    ### Card Grid Pattern
    
    - **Card count:** 5 cards detected
    - **Columns (desktop):** 1-up grid
    - **Card dimensions:** 1440×941px (aspect 1.53:1)
    - **Gap:** 0px between cards
    - **Content:** ✓ image + CTA
    - **Image position:** top
    - **Clone instruction:** Build a 1-column grid (desktop) with cards at ~1.53:1 aspect ratio. Each card has an image at the top.
    
    ### Footer Pattern
    
    - **Columns:** 1
    - **Links:** 5 total
    - **Height:** 75px
    - **Includes:** ✗ no newsletter | ✓ social icons |  ✓ copyright
    - **Clone instruction:** Build a 1-column footer with ~5 links per column, social media links, and a copyright line.
    
    ## 6. Depth & Elevation
    
    | Level | Treatment | Use |
    |-------|-----------|-----|
    | Flat (Level 0) | No shadow | Page background, content blocks |
    
    **Shadow Philosophy**: Flat design — no shadows used. Borders and spacing define structure.
    
    ## 7. Motion & Interaction
    
    ### Dominant Easing Curves
    
    | Curve | Semantic Name |
    |-------|---------------|
    | `cubic-bezier(0.19,1,0.22,1)` | Expo Out — Snappy Deceleration |
    
    ### Duration Scale
    
    | Value | Tier | Typical Use |
    |-------|------|-------------|
    | `200ms` | Normal | Panel open/close, navigation |
    | `300ms` | Normal | Panel open/close, navigation |
    | `500ms` | Slow | Hero animations, page transitions |
    | `1s` | Cinematic | Splash, marketing reveals |
    
    ### Copy-Paste Transition Snippets
    
    **Opacity**
    ```css
    transition: opacity 0.3s;
    ```
    
    **All Props**
    ```css
    transition: max-height 0.5s, padding-top 0.5s;
    ```
    
    **All Props**
    ```css
    transition: left 1s, opacity 1s, visibility 1s;
    ```
    
    **Background**
    ```css
    transition: background-color 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    ```
    
    ### Keyframe Animation Catalog
    
    | Animation Name | Type | Animated Props | Use Hint |
    |----------------|------|----------------|----------|
    | `hide` | Fade | opacity | UI transition |
    | `reveal-header` | Fade + Move | opacity, transform | UI transition |
    | `reveal-subheader` | Fade + Move | opacity, transform | UI transition |
    | `reveal-button` | Fade + Move | opacity, transform | UI transition |
    | `spin` | Rotate / Spin | transform | Loading indicator |
    | `slide-in` | Fade | left, opacity | Panel / drawer enter |
    | `slide-out` | Fade | left, opacity | Panel / drawer exit |
    
    ### Motion Fingerprint
    
    - **Speed Character**: Deliberate & Calm (median duration: `500ms`)
    - **Dominant Easing**: exponential ease-out (snappy)
    - **Animation Library**: 7 unique animations (7 total including variants)
    
    > This design moves with deliberate & calm timing using exponential ease-out (snappy), creating a UI that feels calm and controlled.
    
    ## 8. Do's and Don'ts
    
    ### Do
    - Use dark background (`#000000`) as the foundation — this is a dark-mode-native design
    - Use D-DIN as the primary typeface — it defines the brand personality
    - Keep font weights between 400-400 — the system uses a narrow weight range for subtle hierarchy
    - Use small 4px radius for buttons — this design system uses subtle rounding, not pill shapes
    - Apply 20px 10px 20px 6px padding inside cards — matches the design system's content breathing room
    - Respect the 3px–30px spacing range — the design uses a wide scale for visual breathing room
    - 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 use light backgrounds — the dark canvas is the native medium
    - Don't substitute with generic sans-serif or serif — the custom font carries the brand
    - Don't use weight 700 (bold) or above — 400 is the maximum weight in this system
    - Don't over-round buttons with pill or large radius — the system uses restrained, sharp-ish corners
    - Don't add hero illustrations or photos — they'll break the typographic restraint
    - Don't make the nav sticky — this design lets it scroll away to maximize content focus
    - Don't put a CTA button in the nav — this design uses links only at the top
    - Don't over-build the footer — this design keeps it minimal (1 cols, 5 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(0, 0, 0)` as the base canvas"
        why: "Every component is designed to composit against this exact tone"
        test: "document.body.style.backgroundColor === 'rgb(0, 0, 0)'"
      - 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 Large | 600px | Expanded mobile layout |
    | Tablet | 960px | Multi-column grids begin |
    | Desktop | 1279px | Full feature layout |
    | Large Desktop | 1350px | Maximum content width |
    | Large Desktop | 1500px | Maximum content width |
    
    ### Token Diff — Desktop vs Mobile
    
    | Element | Property | Desktop | Mobile |
    |---------|----------|---------|--------|
    | body | font-size | `16px` | `10px` |
    | body | line-height | `24px` | `12px` |
    | nav | flex-direction | `row` | `column` |
    | nav | padding | `24px 40px` | `24px 0px` |
    | nav | height | `26px` | `62px` |
    | button | font-size | `16px` | `10px` |
    | button | width | `auto` | `24px` |
    | card | padding | `20px 10px 20px 6px` | `8px 0px 40px` |
    | card | width | `243.656px` | `362px` |
    
    ### 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
    - 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):
    
    - **Navigation collapses to hamburger** — 21 links visible on desktop, 0 on mobile (the rest hide behind a menu toggle).
    
    ## 9b. Visual Tone & Photography
    
    **Tone:** Mixed photography + illustration
    
    A balanced mix of photographic content and vector graphics. Photos likely carry product/lifestyle context while SVG handles icons, logos, and decorative accents.
    
    **Canonical Brand Image (OG):**
    - https://www.spacex.com/assets/images/share.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:1 (square / portrait)
    - Rendered size: 64×64px
    - *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): 2 (50%)
    - Portrait (<0.87): 0 (0%)
    - Square (0.87–1.15): 2 (50%)
    
    **Media Format Mix:**
    - JPG: 4 (typically photographic content)
    
    **Average rendered image size:** 752×503px
    **Above-fold image count:** 2 / 4
    
    **Decorative Patterns Detected:**
    - 12 multi-stop linear gradients (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
    - **Glassmorphism** detected (`backdrop-filter: blur`) — layered transparent surfaces with blur, modern OS-like aesthetic
    
    **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:**
    - Mix photography and illustration intentionally: photos for product/context, vectors for icons + decorative accents.
    - Respect the format split — replacing JPGs with illustrations (or vice versa) will shift the brand tone.
    
    ## 10. Agent Prompt Guide
    
    ### Quick Reference
    - Background: Pure Black (`#000000`)
    - Primary text: Light Gray (`#f0f0fa`)
    - Accent: Ring Blue (`#3b82f6`)
    - Border: Translucent Pure White (8%) (`rgba(255, 255, 255, 0.08)`)
    - Font: D-DIN
    - Body: 16px weight 400
    
    ### Example Component Prompts
    - "Create the primary CTA button: `transparent` background, `#f0f0fa` text, 9999px border-radius, 12px 24px padding, 700 weight, D-DIN font."
    - "Design a card on `transparent` background. Border: none. Radius: 0px. Shadow: none. Padding: 20px 10px 20px 6px."
    - "Build navigation: static on `#000000`. D-DIN 16px weight 400 for links."
    
    ### Iteration Guide
    1. **Canvas**: Set the dark canvas to Pure Black (`#000000`) — every component is composited against this exact base.
    2. **Typography**: All type in D-DIN, weight range 400–400. Never exceed 400 — heavier weights break the brand's tonal restraint.
    3. **Motion**: All transitions use `cubic-bezier(0.19,1,0.22,1)`. Never use linear for UI transitions — preserve the brand's easing personality.
    4. **Shape**: CTAs at `4px`, cards at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
    5. **Spacing**: Use the `--ca-space-*` token scale (3px–30px). 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-ink: #f0f0fa;
      --ca-ink-muted: #808080;
      --ca-hairline: #ffffff;
      --ca-primary-focus: #101010;
    }
    
    /* Typography */
    :root {
      --ca-font-primary: "D-DIN-Bold", system-ui, sans-serif;
      --ca-text-display: 80px;
      --ca-text-heading: 60px;
      --ca-text-body: 16px;
      --ca-text-small: 13.008px;
      --ca-text-button: 13.3333px;
    }
    
    /* Spacing & Radius */
    :root {
      --ca-space-xxs: 2px;
      --ca-space-xs: 3px;
      --ca-space-sm: 6px;
      --ca-space-md: 10px;
      --ca-space-base: 16px;
      --ca-space-lg: 24px;
      --ca-space-xl: 30px;
      --ca-space-2xl: 40px;
      --ca-space-3xl: 64px;
      --ca-radius-none: 0px;
      --ca-radius-xs: 4px;
      --ca-radius-sm: 8px;
      --ca-radius-md: 8px;
      --ca-radius-lg: 8px;
      --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: unknown
        tag: app-root
        height: 5680px
        width: full-bleed
        layout: block
        children: 1
      - section: unknown
        tag: div
        classes: ["section"]
        height: 900px
        width: full-bleed
        layout: block
        children: 3
      - section: unknown
        tag: div
        classes: ["section-inner", "feature"]
        height: 900px
        width: full-bleed
        layout: block
        children: 1
      - section: unknown
        tag: div
        classes: ["page-wrapper"]
        height: 5680px
        width: full-bleed
        layout: flex-column justify=normal
        children: 1
      - section: unknown
        tag: div
        classes: ["homepage-wrapper"]
        height: 5605px
        width: full-bleed
        layout: block
        children: 2
      - section: unknown
        tag: div
        classes: ["card-container"]
        height: 257px
        width: 260px
        layout: flex-column justify=normal
        children: 5
        padding: "20px 10px 20px 6px"
      - section: unknown
        tag: div
        classes: ["section-left-bottom"]
        height: 230px
        width: 720px
        layout: block
        children: 3
      - section: unknown
        tag: div
        classes: ["sections"]
        height: 4705px
        width: full-bleed
        layout: block
        children: 5
      - section: unknown
        tag: div
        classes: ["section"]
        height: 941px
        width: full-bleed
        layout: block
        children: 2
      - section: unknown
        tag: div
        classes: ["section-inner"]
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: hero
        tag: div
        classes: ["hero", "inner-left-middle"]
        height: 295px
        width: 650px
        layout: block
        children: 3
      - section: unknown
        tag: div
        classes: ["section"]
        height: 941px
        width: full-bleed
        layout: block
        children: 3
      - section: unknown
        tag: div
        classes: ["section-inner"]
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: unknown
        tag: div
        classes: ["section"]
        height: 941px
        width: full-bleed
        layout: block
        children: 3
      - section: unknown
        tag: div
        classes: ["section-inner"]
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: unknown
        tag: div
        classes: ["section"]
        height: 941px
        width: full-bleed
        layout: block
        children: 3
      - section: unknown
        tag: div
        classes: ["section-inner"]
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: unknown
        tag: div
        classes: ["section"]
        height: 941px
        width: full-bleed
        layout: block
        children: 3
      - section: unknown
        tag: div
        classes: ["section-inner"]
        height: 941px
        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:
        - "STARSHIP'S TWELFTH FLIGHT TEST"
        - "MAKING LIFE MULTIPLANETARY"
        - "REVOLUTIONIZING SPACE TECHNOLOGY"
        - "WORLD’S LEADING LAUNCH SERVICE PROVIDER"
      ctas:
        - "WATCH"
      navigation:
        - "STARSHIP"
        - "DRAGON"
        - "FALCON 9"
        - "FALCON HEAVY"
        - "OVERVIEW"
        - "SPACE STATION"
        - "EARTH ORBIT"
        - "THE MOON"
        - "MARS & BEYOND"
        - "STARLINK"
      footer-links:
        - "CAREERS"
    ```
    
    **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:
      thumbnail:
        count: 2
        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">
      WATCH
    </button>
    ```
    _Source pattern detected: padding `0px 20px` · radius `4px` · weight `400`_
    
    ### Generic Card
    ```html
    <div class="card">
      <!-- content -->
    </div>
    ```
    _Source pattern detected: padding `20px 10px 20px 6px` · radius `0px` · shadow `none`_
    
    **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: 48/100 (D)
    
    | Category | Score | Max | Detail |
    |----------|-------|-----|--------|
    | Colors & Palette | 6 | 25 | 4 named colors |
    | Typography | 13 | 20 | 5 roles defined |
    | Components | 12 | 20 | 3 specs extracted |
    | Motion & Interaction | 12 | 15 | Keyframes present |
    | CSS Custom Properties | 1 | 10 | 16 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.
    
    | Category | What's missing | Fallback strategy |
    |----------|----------------|-------------------|
    | **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 16 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 | 16 CSS vars (semantic naming requires ≥20 for high) |
    | §3 Typography | High | 5 typography roles inferred |
    | §4 Components | Medium | 3 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 | 5 breakpoints detected |
    | §9b Photography | High | 4 images, hero present |
    
    ---
    *Generated by Clone Architect — automated Playwright extraction + design analysis.*
    *Source: https://spacex.com | 2026-05-30T20:39:54.598Z*
    *All values verified via getComputedStyle() — no approximation, no hallucination.*
    

    Re-extract: clone-architect update spacex.com