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.25) · 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: 32px · 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
32px
lg
40px
xl
48px
full
9999px

Component Specs

Extracted CSS values per component and variant state.

### Buttons

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`

Cards & Containers

Standard Card
  • Background: `transparent`
  • Padding: 20px 10px 20px 6px
  • Radius: 0px
  • Use: Content containers, listing 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

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

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

    Dossier complet
    Charte graphique — spacex.com
    Palette, typographie, composants, lois & interdits — chaque valeur badgée mesuré / dérivé / déduit. Le dossier data-honnête, pas une approximation.
    Télécharger la charte (PDF)

    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-Bold at 60px / weight 400. Extracted automatically from https://spacex.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
    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-Bold as the primary typeface.
      D-DIN-Bold is paired with Roboto Mono for secondary roles.
      Depth comes from borders and surface contrast rather than shadows — a flat, structural elevation model.
      Motion is a first-class concern — 7 keyframe animations plus transition-driven interactions.
    
    colors:
      ink: "#f0f0fa"
      ink-muted: "#808080"
      ink-subtle: "#ffffff"
      hairline: "rgba(255, 255, 255, 0.25)"
      primary-focus: "#101010"
    
    typography:
      display-xl:
        fontFamily: "D-DIN-Bold, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
        fontSize: 80px
        fontWeight: 400
        lineHeight: 0.95
        letterSpacing: 1.6px
      display-lg:
        fontFamily: "D-DIN-Bold, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
        fontSize: 60px
        fontWeight: 400
        lineHeight: 0.9
        letterSpacing: -1px
      body:
        fontFamily: "D-DIN, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
        fontSize: 13.3333px
        fontWeight: 400
        lineHeight: normal
        letterSpacing: 0
      body-sm:
        fontFamily: "D-DIN, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
        fontSize: 13.008px
        fontWeight: 700
        lineHeight: 0.94
        letterSpacing: 1.17072px
      button:
        fontFamily: "D-DIN, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
        fontSize: 13.3333px
        fontWeight: 400
        lineHeight: normal
        letterSpacing: 0
    
    rounded:
      none: 0px
      xs: 4px
      sm: 8px
      md: 32px
      lg: 40px
      xl: 48px
      pill: 9999px
    
    spacing:
      xxs: 2px
      xs: 3px
      sm: 6px
      md: 10px
      lg: 24px
      xl: 30px
      xxl: 64px
    
    components:
      button-subtle:
        backgroundColor: "#000000"
        textColor: "{colors.ink}"
        typography: "{typography.button}"
        rounded: "{rounded.xs}"
        padding: 0px 20px
      card-standard-card:
        backgroundColor: "transparent"
        typography: "{typography.button}"
        rounded: "{rounded.none}"
        padding: 20px 10px 20px 6px
    
    extracted_at: "2026-06-11T05:02:28.157Z"
    completeness: 44
    scoreVersion: "v2"
    
    ---
    
    # Design System — spacex.com
    > Extracted automatically by Prism from https://spacex.com
    > Date: 2026-06-11
    > 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**: subtle  |  **Weight**: heavy  |  **Aesthetic**: engineering-minimal
    
    | Dimension | Value | Signal |
    |---|---|---|
    | Canvas | dark | `#000000` |
    | Type posture | sans-led (D-DIN) | "Starship's Twelfth Flight Test" |
    | Color assertion | single-accent | N/A |
    | Whitespace | moderate | section rhythm 40px |
    | Interaction | subtle | 7 keyframes, 8 transitions |
    | Radius language | 4px-rounded | from token scale |
    
    **Prism fingerprint**: `dark-canvas · sans-display · single-accent · 4px-rounded · subtle-motion`
    
    > **🤖 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. 
    
    Headlines are set in **D-DIN-Bold**, a sans-serif display face (the dominant type signature, e.g. "Starship's Twelfth Flight Test" at 60px). Body text is set in **D-DIN**. 
    
    Body text reads in Off-White (`#f0f0fa`) (contrast ratio 19.9: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: Off-White (`#f0f0fa`)
    - Accent: Slate Grey (`#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
    - **Off-White** (`#f0f0fa`): Primary body text
    - **Slate Grey** (`#808080`): Secondary text
    
    ### Full Extracted Palette
    **6 colors rendered on the page** + **1** more declared in design tokens (CSS custom properties — not necessarily painted). (4 categorized above + 3 additional below.)
    Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
    
    - `rgba(255, 255, 255, 0.25)` — Translucent Pure White (25%)
    - `#d9d9d9` — Light Grey
    - `rgba(37, 38, 40, 0.8)` — Translucent Warm Brown (80%) *(token)*
    
    ## 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
    
    **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`
    
    ### Cards & Containers
    
    **Standard Card**
    - Background: `transparent`
    - Padding: 20px 10px 20px 6px
    - Radius: 0px
    - Use: Content containers, listing 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: "inherit"
      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
    - **1 shape(s)** in this system: `Subtle`
    - **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
    
    ## 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 | 32px | Cards, containers |
    | Lg | 40px | Large rounded elements, pill segments |
    | Xl | 48px | Category strips, featured containers |
    | Full | 9999px | Pills, avatars, circular elements |
    
    ### Shape Language
    
    | Component | Border Radius |
    |-----------|---------------|
    | Buttons | `4px` |
    | Cards & Containers | `0px` |
    | Page Body | `0px` |
    | Navigation | `0px` |
    
    **Shape Personality**: Subtly Rounded — Minimal corner rounding (1–4px). Professional restraint.
    
    **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:** left-aligned — 
    - **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 **left-aligned** layout. Use the heading font-size token at the documented size. Pair the centered text with the hero’s decorative visual (gradient / SVG / hero image — see §9b), not bare text.
    
    ### 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
    - The system uses a single text weight (400) — hierarchy comes from size and color, not weight
    - 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
    - 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 introduce bolder or lighter weights — 400 is the only weight in this system
    - Don't over-round buttons with pill or large radius — the system uses restrained, sharp-ish corners
    - 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).
    
    
    ## 7c. Visual Effects & Dynamic Behavior
    
    *The live/dynamic layer beyond static CSS — reproduce these, not flat substitutes. This is often what separates a faithful clone from a wireframe.*
    
    - **Glassmorphism** — 1 frosted/blur layer(s) (e.g. `blur(6px)`).
    
    > **Motion fingerprint**: glassmorphism (1 layers)
    
    ## 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: Off-White (`#f0f0fa`)
    - Accent: Ring Blue (`#3b82f6`)
    - Border: Translucent Pure White (25%) (`rgba(255, 255, 255, 0.25)`)
    - 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: 13.3333px;
      --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: 32px;
      --ca-radius-lg: 40px;
      --ca-radius-xl: 48px;
      --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: hero
        tag: app-root
        height: 5680px
        width: full-bleed
        layout: block
        children: 1
      - section: hero
        tag: div
        classes: ["featured-missions"]
        height: 900px
        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: feature-section
        tag: div
        classes: ["page-wrapper"]
        height: 5680px
        width: full-bleed
        layout: flex-column justify=normal
        children: 1
      - section: feature-section
        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: feature-section
        tag: spx-section
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: feature-section
        tag: div
        classes: ["sections"]
        height: 4705px
        width: full-bleed
        layout: block
        children: 5
      - section: feature-section
        tag: div
        classes: ["section"]
        height: 941px
        width: full-bleed
        layout: block
        children: 2
      - section: feature-section
        tag: div
        classes: ["section-inner"]
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: feature-section
        tag: div
        classes: ["hero", "inner-left-middle"]
        height: 295px
        width: 650px
        layout: block
        children: 3
      - section: feature-section
        tag: spx-section
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: feature-section
        tag: div
        classes: ["section"]
        height: 941px
        width: full-bleed
        layout: block
        children: 3
      - section: feature-section
        tag: div
        classes: ["section-inner"]
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: feature-section
        tag: spx-section
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: feature-section
        tag: div
        classes: ["section"]
        height: 941px
        width: full-bleed
        layout: block
        children: 3
      - section: feature-section
        tag: div
        classes: ["section-inner"]
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: feature-section
        tag: spx-section
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: feature-section
        tag: div
        classes: ["section"]
        height: 941px
        width: full-bleed
        layout: block
        children: 3
      - section: feature-section
        tag: div
        classes: ["section-inner"]
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: feature-section
        tag: spx-section
        height: 941px
        width: full-bleed
        layout: block
        children: 1
      - section: feature-section
        tag: div
        classes: ["section"]
        height: 941px
        width: full-bleed
        layout: block
        children: 3
      - section: feature-section
        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.
    
    
    ## 17. Content Architecture & Resources (Links by Purpose)
    
    *The page's links classified by purpose — the information architecture to reproduce. Categories, featured images, devices and projects are extracted from the rendered DOM, not guessed.*
    
    **By purpose:** **nav** 4 · **social** 25 · **footer** 1 · **download** 1
    
    **Signals:** 8/31 links carry a featured image · dominant link roles: social-link (17), content-card (6), footer-link (4).
    
    
    ---
    ## Extraction Completeness: 44/100 (D)
    
    | Category | Score | Max | Detail |
    |----------|-------|-----|--------|
    | Colors & Palette | 6 | 25 | 4 named colors |
    | Typography | 13 | 20 | 5 roles defined |
    | Components | 8 | 20 | 2 specs extracted |
    | Motion & Interaction | 12 | 15 | Keyframes |
    | 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.
    
    *Auto-detected extraction limitations — understand before building:*
    
    - **Licensed web fonts (D-DIN, D-DIN-Bold, Roboto Mono)** — detected but not downloaded. Substitute with your licensed copy or a close fallback (see Typography section for metrics).
    - **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 |
    |----------|----------------|-------------------|
    | **Dark mode** | Dark surface is the canonical medium; no separate light-mode variables detected | The dark canvas IS the design — reproduce it as the default. Do not generate a light-mode variant 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 | Low | 2 component variants captured |
    | §7 Motion | High | Keyframes + transitions |
    | §8 Do's/Don'ts | High | 15 rules generated; design-decisions.json has evidence per rule |
    | §9 Responsive | High | 5 breakpoints detected |
    | §9b Photography | High | 4 images, hero present |
    
    ## 11.1 CSS Implementation Guide (CSS Interception Engine v2.15+)
    
    *Ready-to-use CSS from Prism's CSS Interception Engine — intercepted directly from the site's CSS files (bypasses CORS). Copy-paste into your `<style>` block.*
    
    ### Font Loading
    
    3 font file(s) captured (127KB total). When running `prism add`, fonts are saved to `extractions/spacex.com/fonts/` and embedded as base64 in the output HTML.
    
    **@font-face declarations to use:**
    ```css
    @font-face {
      font-family: 'D-DIN';
      /* src: url('/fonts/D-DIN.woff2') format('woff2'); */
      font-weight: 400;
      font-style: normal;
      font-display: block;
    }
    @font-face {
      font-family: 'D-DIN-Bold';
      /* src: url('/fonts/D-DIN-Bold.woff2') format('woff2'); */
      font-weight: 400;
      font-style: normal;
      font-display: block;
    }
    @font-face {
      font-family: 'Roboto Mono';
      /* src: url('/fonts/Roboto-Mono.woff2') format('truetype'); */
      font-weight: 400;
      font-style: normal;
      font-display: block;
    }
    ```
    
    ### Keyframe Animations (Intercepted from CSS)
    
    **4 @keyframes found** — these are the real animation definitions:
    
    ```
    @keyframes hide { ... }
    @keyframes reveal-header { ... }
    @keyframes reveal-subheader { ... }
    @keyframes reveal-button { ... }
    ```
    
    <details><summary>Full keyframes CSS (4 animations)</summary>
    
    ```css
    @keyframes hide{0%{opacity:1}50%{opacity:1}60%{opacity:0}
    @keyframes reveal-header{0%{opacity:0;transform:translateY(220%)}
    @keyframes reveal-subheader{0%{opacity:0;transform:translateY(80%)}
    @keyframes reveal-button{0%{opacity:0;transform:translateY(300%)}
    ```
    </details>
    
    ### Hover State CSS (Intercepted)
    
    **1 hover rule lines** captured from CSS files. Key interactive transitions from real CSS (not inferred):
    
    ```css
    .innerhtml-from-cms a:hover{color:#ccc}
    
    .metric-tile-second-description-innerhtml a:hover{color:var(--white-100)}
    ```
    
    > **Note**: All values above are extracted from the live site's CSS files. The font files are saved locally by Prism and embedded in the output HTML. Use them as-is for maximum fidelity.
    
    ## 11.2 Measured Reality (CDP Engine)
    
    Captured directly from Chrome's engine across **all 525 rendered nodes** — not a sample. These are the values the page *actually paints*, weighted by how often they appear.
    
    ### Real Responsive Breakpoints
    **6 breakpoints** read from the live `@media` rules (not guessed):
    `600px` · `960px` · `961px` · `1279px` · `1350px` · `1500px`
    
    ### Measured Design Scale
    **Type scale by usage** (× = paint count): `12px`×257 · `16px`×192 · `13.008px`×57 · `48px`×8 · `13.3333px`×4 · `10px`×2 · `60px`×2 · `80px`×2
    
    **Radius scale** (× = paint count): `4px`×7 · `8px`×2 · `32px`×1
    
    **Weights** (× = paint count): `400`×467 · `700`×57
    
    **Layout gaps** (× = paint count): `normal 4px`×8 · `12px normal`×5 · `8px`×5 · `normal 30px`×1 · `normal 18px`×1 · `16px`×1 · `normal 36px`×1
    
    ### Provenance — measured styles on key elements
    Read from the live CSSOM (includes runtime-injected CSS). This is *what actually styles the page*, by element:
    
    ```css
    body { font-weight:400; font-size:1rem; font-family:D-DIN, Arial, Verdana, sans-serif }
    body { background-color:#000; color:var(--white-100) }
    h2 { font-family:D-DIN-Bold; color:var(--white-100) }
    h2 { font-weight:400 }
    h2 { font-size:60px }
    button { font-family:D-DIN }
    button { background-color:var(--white-10); border-radius:2rem }
    card { transition:left 1s,opacity 1s,visibility 1s; gap:1rem }
    ```
    
    > Selectors normalised to their semantic element — source class names are often build-hashed (`.bgDIHX`) and not reusable. The declarations + CSS vars are the transferable part.
    
    ---
    *Generated by Prism — automated Playwright extraction + design analysis.*
    *Source: https://spacex.com | 2026-06-11T05:02:28.168Z*
    *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 spacex.com