Color Palette

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

Background & Surface

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

Text & Content

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

Accent & Interactive

Primary #f9f9fb Primary CTA Copied!
Secondary #ff5900 Secondary CTA Copied!

Border & Divider

Border #60646c Dividers / Lines Copied!

Full Extracted Palette (+100)

#6f737b #6f737b Copied!
#42578a #42578a Copied!
#000710 #000710 Copied!
#b9bbc6 #b9bbc6 Copied!
#8b8d98 #8b8d98 Copied!
#b7b7b7 #b7b7b7 Copied!
#000001 #000001 Copied!
#a6a6a6 #a6a6a6 Copied!
#bfbfbf #bfbfbf Copied!
#ffb258 #ffb258 Copied!
#101828 #101828 Copied!
#b2efb5 #b2efb5 Copied!
#f2d0f4 #f2d0f4 Copied!
#e6e2ff #e6e2ff Copied!
#ecf4fd #ecf4fd Copied!
#006ef5 #006ef5 Copied!
#ee2929 #ee2929 Copied!
#a40404 #a40404 Copied!
#f7e9d9 #f7e9d9 Copied!
#36b08b #36b08b Copied!
#165020 #165020 Copied!
#5b4383 #5b4383 Copied!
#d5e8fb #d5e8fb Copied!
#343b5b #343b5b Copied!
#fdf9ec #fdf9ec Copied!
#cad63f #cad63f Copied!
#4f3700 #4f3700 Copied!
#101317 #101317 Copied!
#0d9926 #0d9926 Copied!
#2e395c #2e395c Copied!
#00326d #00326d Copied!
#3c16d5 #3c16d5 Copied!
#fff0f2 #fff0f2 Copied!
#00418c #00418c Copied!
#620c65 #620c65 Copied!
#d1c6ff #d1c6ff Copied!
#6b4b00 #6b4b00 Copied!
#957bff #957bff Copied!
#001d3e #001d3e Copied!
#ffe3e6 #ffe3e6 Copied!

Typography

All values extracted via getComputedStyle() — no estimation.

RoleFont FamilySize / Weight Line HeightLetter SpacingPreview
Display Hero inter 72px / w500 1 -1.44px Display Hero
Sub-heading inter 20px / w500 1.2 -0.4px Sub-heading
Body inter 16px / w400 normal normal Body
Label Heading inter 14px / w500 1.5 -0.28px Label Heading
Button inter 14px / w400 normal normal Button
Link inter 14px / w600 1.43 -0.14px Link

Live Components

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

Buttons

accent: rgb(249, 249, 251) · border-radius: 9999px · weight: 600

Form Inputs

border: rgb(96, 100, 108) · focus: rgb(249, 249, 251) · radius: 8px

Card

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

Badges & Labels

New Feature Beta Draft

Spacing Scale

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

Border Radius

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

Component Specs

Extracted CSS values per component and variant state.

### Buttons

Ghost
  • Background: `transparent`
  • Text: `#000000`
  • Padding: 4px 8px
  • Radius: 6px
  • Border: 1px solid rgba(0, 0, 0, 0)
  • Font: 16px weight 400
  • Use: Subtle action, toolbar, nav button
  • Hover: border: `1px solid rgb(208, 210, 221)`, borderColor: `#d0d2dd`
  • Focus: border: `1px solid rgb(208, 210, 221)`, borderColor: `rgb(208, 210, 221)`
Primary Brand
  • Background: `#ff5900` `{colors.primary-hover}`
  • Text: `#ffffff` `{colors.background}`
  • Padding: 0px 16px
  • Radius: 8px
  • Border: 1px solid rgba(66, 87, 138, 0.15)
  • Font: 14px weight 400
  • Use: Primary CTA / brand action
  • Hover: border: `1px solid rgb(208, 210, 221)`, borderColor: `#d0d2dd`
  • Focus: border: `1px solid rgb(208, 210, 221)`, borderColor: `rgb(208, 210, 221)`
Light / Invert
  • Background: `#f9f9fb` `{colors.primary}`
  • Text: `#15191e` `{colors.ink-subtle}`
  • Padding: 1px 6px
  • Radius: 50%
  • Font: 16px weight 400
  • Use: Bright CTA on dark sections
  • Hover: border: `1px solid rgb(208, 210, 221)`, borderColor: `#d0d2dd`
  • Focus: border: `1px solid rgb(208, 210, 221)`, borderColor: `rgb(208, 210, 221)`
Light / Invert
  • Background: `#f3f3f7` `{colors.surface-2}`
  • Text: `#15191e` `{colors.ink-subtle}`
  • Padding: 1px 6px
  • Radius: 50%
  • Font: 16px weight 400
  • Use: Bright CTA on dark sections
  • Hover: border: `1px solid rgb(208, 210, 221)`, borderColor: `#d0d2dd`
  • Focus: border: `1px solid rgb(208, 210, 221)`, borderColor: `rgb(208, 210, 221)`

Interaction State Narrative

  • **Button**:
  • - **hover:** border changes
  • - **focus:** border changes
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`, `Primary Brand`, `Light / Invert`
    • **DO NOT introduce new buttons 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 640px
    Mobile Large 766px
    Tablet 830px
    Tablet 900px
    Tablet 960px
    Tablet 1023px

    Elevation & Depth

    Shadow levels rendered live — every value extracted directly from the design system.

    Level 1
    rgba(66, 87, 138, 0.15) 0px 1px 0px 0px
    Level 2
    rgba(0, 0, 0, 0.04) 0px 1px 1px 0px

    Motion & Transitions

    5 motion tokens — easing curves and durations.

    transition-1all
    transition-20.5s
    transition-3border-color, undefined
    transition-4box-shadow 0.5s ease-in-out, border 0.5s ease-in-out
    transition-50.125s linear

    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)
    fg rgb(0, 0, 0)
    hover
    button
    bg transparent
    fg inherit
    focus
    button
    bg transparent
    fg inherit
    link
    default
    link
    bg rgba(0, 0, 0, 0)
    fg rgb(21, 25, 30)
    hover
    link
    bg transparent
    fg inherit
    navLink
    default
    navLink
    bg rgba(0, 0, 0, 0)
    fg rgb(21, 25, 30)
    footerLink
    default
    footerLink
    bg rgba(0, 0, 0, 0)
    fg rgb(0, 0, 0)

    Z-Index Stacking Context

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

    z:2147483647
    #transcend-consent-manager
    z:10
    div.css-1rd5kn8
    z:10
    header.css-15luvwl
    z:5
    div.css-236d0v
    z:2
    div.css-1gv2mrp
    z:2
    div.css-1i3ghr
    z:1
    div.css-18wn8dk
    z:1
    div.css-18wn8dk
    z:1
    div.css-18wn8dk
    z:1
    div.css-18wn8dk
    z:1
    div.css-18wn8dk
    z:1
    div

    Export tokens

    Copy these design tokens to any framework. Generated from brex.com live extraction.

    Dossier complet
    Charte graphique — brex.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: brex.com
    description: "Light product system built on #ffffff with #f9f9fb as the primary CTA accent. Type anchored in inter at 72px / weight 500. Extracted automatically from https://brex.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
    narrative: |
      brex.com is built on a pure-white canvas (rgb(255,255,255)).
      The system uses rgb(249, 249, 251) as a near-neutral accent (low saturation).
      Inter as the primary typeface.
      Inter is paired with inter Fallback for secondary roles.
      A restrained elevation system (2 distinct shadows) — shadows reserved for the few elements that must lift off the page.
      Interactions are smoothed by transitions across many elements, with little or no keyframe animation.
    
    colors:
      background: "#ffffff"
      surface-1: "#fcfcfd"
      surface-2: "#f3f3f7"
      ink-subtle: "#15191e"
      primary: "#f9f9fb"
      on-primary: "#111111"
      primary-hover: "#ff5900"
      hairline: "#60646c"
    
    typography:
      display-xl:
        fontFamily: "inter, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
        fontSize: 72px
        fontWeight: 500
        lineHeight: 1
        letterSpacing: -1.44px
      display-md:
        fontFamily: "inter, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
        fontSize: 20px
        fontWeight: 500
        lineHeight: 1.2
        letterSpacing: -0.4px
      headline:
        fontFamily: "inter, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
        fontSize: 14px
        fontWeight: 500
        lineHeight: 1.5
        letterSpacing: -0.28px
      body:
        fontFamily: "inter, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
        fontSize: 16px
        fontWeight: 400
        lineHeight: normal
        letterSpacing: 0
      body-sm:
        fontFamily: "inter, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
        fontSize: 14px
        fontWeight: 600
        lineHeight: 1.43
        letterSpacing: -0.14px
      button:
        fontFamily: "inter, 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif"
        fontSize: 14px
        fontWeight: 400
        lineHeight: normal
        letterSpacing: 0
    
    rounded:
      none: 0px
      xs: 4px
      sm: 8px
      md: 12px
      lg: 20px
      xl: 32px
      pill: 9999px
    
    spacing:
      xxs: 2px
      xs: 4px
      sm: 8px
      md: 16px
      lg: 32px
      xl: 36px
      xxl: 64px
    
    components:
      button-ghost:
        backgroundColor: "transparent"
        textColor: "#000000"
        typography: "{typography.body}"
        rounded: "{rounded.xs}"
        padding: 4px 8px
      button-primary-brand:
        backgroundColor: "{colors.primary-hover}"
        textColor: "{colors.background}"
        typography: "{typography.headline}"
        rounded: "{rounded.sm}"
        padding: 0px 16px
      button-light--invert:
        backgroundColor: "{colors.primary}"
        textColor: "{colors.ink-subtle}"
        typography: "{typography.body}"
        rounded: "{rounded.none}"
        padding: 1px 6px
    
    extracted_at: "2026-06-11T06:03:29.755Z"
    completeness: 70
    scoreVersion: "v2"
    
    ---
    
    # Design System — brex.com
    > Extracted automatically by Prism from https://brex.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**: light  |  **Aesthetic**: soft-rounded
    
    | Dimension | Value | Signal |
    |---|---|---|
    | Canvas | neutral | `#ffffff` |
    | Type posture | sans-led (inter) | "Finance built for speed and co" |
    | Color assertion | dual-accent | #f9f9fb |
    | Whitespace | moderate | section rhythm 48px |
    | Interaction | subtle | 0 keyframes, 5 transitions |
    | Radius language | soft-pill | from token scale |
    
    **Prism fingerprint**: `neutral-canvas · sans-display · dual-accent · soft-pill · subtle-motion`
    
    > **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
    >
    > - **Canvas**: `rgb(255,255,255)` is the page background. Every component composits against this.
    > - **Accent**: `rgb(249, 249, 251)` for primary CTAs ONLY. Never decorative.
    > - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
    > - **Section rhythm**: 48px between major bands. Card padding: 32px.
    > - **Default radius**: 8px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
    >
    > **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
    
    ## 1. Visual Theme & Atmosphere
    
    brex.com uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight. 
    
    Typography is anchored in **inter**, deployed with OpenType features enabled globally (`"calt" 0, "cv01", "cv05" 0, "cv10", "liga" 0, "ss01" 0, "ss03", "zero" 0`). These aren't decorative — they're load-bearing: without them, the typeface reverts to its generic state and the design loses its specific texture. Negative letter-spacing at display sizes (-1.44px at 72px) compresses headlines into engineered blocks, dense and precise. 
    
    Body text reads in Pure Black (`#000000`) (contrast ratio 21.0:1, well above WCAG AA). **Off-White** (`#f9f9fb`) provides interactive distinction without visual aggression. Elevation comes from a small, deliberate set of shadows (2 distinct), each a multi-layer stack — several blurred layers at varying offsets — used sparingly rather than across the whole UI. 
    Motion design uses smooth easing curves for polished state transitions. The site uses a variable font with WGHT axes, enabling precise weight/width control across the type hierarchy. 
    
    **Key Characteristics:**
    - Background: Pure White (`#ffffff`)
    - Primary typeface: inter
    - Accent: Off-White (`#f9f9fb`)
    - Display: 72px weight 500, letter-spacing -1.44px
    - Shadow system: 2 distinct elevation levels
    - Custom fonts loaded: inter, inter Fallback, flecha, flecha Fallback, bronzea, bronzea Fallback, Space Mono, Space Mono Fallback
    
    ## 2. Color Palette & Roles
    
    ### Background & Surface
    - **Pure White** (`#ffffff`): Page background (primary)
    - **Pure White** (`#fcfcfd`): Surface / elevated background
    - **Off-White** (`#f3f3f7`): Surface / elevated background
    - **Off-White** (`#f9f9fb`): Surface / elevated background
    
    ### Text & Content
    - **Pure Black** (`#000000`): Primary body text
    - **Near-Black** (`#15191e`): Secondary text
    - **Pure Black** (`#000710`): Secondary text
    - **Pure Black** (`#000001`): Secondary text
    
    ### Accent & Interactive
    - **Bright Orange** (`#ff5900`): Interactive / accent
    - **Translucent Slate (15%)** (`rgba(66, 87, 138, 0.15)`): Interactive / accent
    - **Tangerine** (`#ffb258`): Interactive / accent
    
    ### Border & Divider
    - **Silver** (`#b9bbc6`): Borders / dividers
    - **Grey** (`#b7b7b7`): Borders / dividers
    - **Light Grey** (`#bfbfbf`): Borders / dividers
    
    ### Full Extracted Palette
    **18 colors rendered on the page** + **90** more declared in design tokens (CSS custom properties — not necessarily painted). (14 categorized above + 94 additional below.)
    Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
    
    - `#60646c` — Dim Gray
    - `#6f737b` — Stone
    - `#8b8d98` — Medium Gray
    - `#a6a6a6` — Grey
    - `rgba(16, 24, 40, 0.05)` — Translucent Deep Navy (5%) *(token)*
    - `#b2efb5` — #b2efb5 *(token)*
    - `#f2d0f4` — Soft Pink *(token)*
    - `#e6e2ff` — Light Gray *(token)*
    - `#ecf4fd` — Light Gray *(token)*
    - `rgba(0, 110, 245, 0.35)` — Translucent #006ef5 (35%) *(token)*
    - `#ee2929` — M Tricolor Red *(token)*
    - `#a40404` — #a40404 *(token)*
    - `#f7e9d9` — Beige *(token)*
    - `#36b08b` — #36b08b *(token)*
    - `#165020` — #165020 *(token)*
    - `#5b4383` — #5b4383 *(token)*
    - `#d5e8fb` — Light Gray *(token)*
    - `rgba(52, 59, 91, 0.35)` — Translucent Dark Gray (35%) *(token)*
    - `#fdf9ec` — Warm Cream *(token)*
    - `#cad63f` — #cad63f *(token)*
    - `#4f3700` — #4f3700 *(token)*
    - `#101317` — Near-Black *(token)*
    - `#0d9926` — Forest Green *(token)*
    - `rgba(46, 57, 92, 0.1)` — Translucent Dark Gray (10%) *(token)*
    - `#00326d` — #00326d *(token)*
    - `#3c16d5` — #3c16d5 *(token)*
    - `#fff0f2` — Warm Cream *(token)*
    - `#00418c` — Cobalt Blue *(token)*
    - `#620c65` — #620c65 *(token)*
    - `#d1c6ff` — Lavender *(token)*
    - `#6b4b00` — Chocolate *(token)*
    - `#957bff` — #957bff *(token)*
    - *…+62 more in `raw-css.json` (`desktop.allColors`).*
    
    ### CSS Custom Properties (Design Tokens)
    
    **Spacing Token**
    - `--brex-base-scroll-padding`: `calc(60px + 24px)`
    - `--font-space-mono`: `'Space Mono', 'Space Mono Fallback'`
    - `--brex-sticky-padding`: `24px`
    - `--brex-scroll-padding`: `calc(60px + 24px)`
    
    **Other tokens**
    - `--_1k5xs26bg`: `12px`
    - `--font-flecha`: `'flecha', 'flecha Fallback'`
    - `--font-bronzea`: `'bronzea', 'bronzea Fallback'`
    - `--font-inter`: `'inter', 'inter Fallback'`
    
    ## 3. Typography Rules
    
    ### Font Families
    - **Primary**: `inter`
    - **Secondary**: `inter Fallback`
    - **Font 3**: `flecha`
    - **Font 4**: `flecha Fallback`
    - **Font 5**: `bronzea`
    
    ### Custom Fonts Loaded
    - **inter** weight 400 700 (normal)
    - **inter Fallback** weight normal (normal)
    - **flecha** weight 400 (normal)
    - **flecha Fallback** weight normal (normal)
    - **bronzea** weight 700 (normal)
    - **bronzea Fallback** weight normal (normal)
    - **Space Mono** weight 400 (italic)
    - **Space Mono** weight 700 (italic)
    - **Space Mono Fallback** weight normal (normal)
    
    ### Typography Hierarchy
    
    | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
    |------|------|------|--------|-------------|----------------|-------|
    | Display Hero | inter | 72px | 500 | 1 | -1.44px | Main headline (h1) |
    | Sub-heading | inter | 20px | 500 | 1.2 | -0.4px | Third-level heading (h3) |
    | Body | inter | 16px | 400 | normal | normal | Standard reading text |
    | Label Heading | inter | 14px | 500 | 1.5 | -0.28px | Small heading (H4) |
    | Button | inter | 14px | 400 | normal | normal | Button label (14px) |
    | Link | inter | 14px | 600 | 1.43 | -0.14px | Link (14px) — Decoration: none |
    
    ### Full Font Size Scale
    
    Sizes detected in the design (descending): `72px`, `48px`, `36px`, `24px`, `20px`, `18.72px`, `16px`, `14px`, `13px`, `12px`, `10px`
    
    > 7 size(s) detected outside the sampled hierarchy (48px, 36px, 24px, 18.72px, 13px, 12px, 10px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
    
    ### OpenType & Variable Font Features
    
    The typography uses these OpenType features intentionally — this is a sophisticated type system, not a default fallback:
    
    - **stylistic sets** (`ss0X`) — alternate letterforms enabled (often for brand-specific glyph variants)
    - **contextual alternates** (`calt`) — connections between letters refined contextually
    - **ligatures** — common letter pairs replaced with refined glyphs (fi, fl, etc.)
    - **slashed zero** (`zero`) — distinguishes 0 from O, useful for code/data
    
    **Clone instruction:** Enable these in your CSS:
    ```css
    body {
      font-feature-settings: "calt", "cv01", "cv05", "cv10", "liga", "ss01", "ss03", "zero";
    }
    ```
    
    **Variable font axes:**
    - WGHT axis
    
    ## 4. Component Stylings
    
    ### Buttons
    
    **Ghost**
    - Background: `transparent`
    - Text: `#000000`
    - Padding: 4px 8px
    - Radius: 6px
    - Border: 1px solid rgba(0, 0, 0, 0)
    - Font: 16px weight 400
    - Use: Subtle action, toolbar, nav button
    - Hover: border: `1px solid rgb(208, 210, 221)`, borderColor: `#d0d2dd`
    - Focus: border: `1px solid rgb(208, 210, 221)`, borderColor: `rgb(208, 210, 221)`
    
    **Primary Brand**
    - Background: `#ff5900` `{colors.primary-hover}`
    - Text: `#ffffff` `{colors.background}`
    - Padding: 0px 16px
    - Radius: 8px
    - Border: 1px solid rgba(66, 87, 138, 0.15)
    - Font: 14px weight 400
    - Use: Primary CTA / brand action
    - Hover: border: `1px solid rgb(208, 210, 221)`, borderColor: `#d0d2dd`
    - Focus: border: `1px solid rgb(208, 210, 221)`, borderColor: `rgb(208, 210, 221)`
    
    **Light / Invert**
    - Background: `#f9f9fb` `{colors.primary}`
    - Text: `#15191e` `{colors.ink-subtle}`
    - Padding: 1px 6px
    - Radius: 50%
    - Font: 16px weight 400
    - Use: Bright CTA on dark sections
    - Hover: border: `1px solid rgb(208, 210, 221)`, borderColor: `#d0d2dd`
    - Focus: border: `1px solid rgb(208, 210, 221)`, borderColor: `rgb(208, 210, 221)`
    
    **Light / Invert**
    - Background: `#f3f3f7` `{colors.surface-2}`
    - Text: `#15191e` `{colors.ink-subtle}`
    - Padding: 1px 6px
    - Radius: 50%
    - Font: 16px weight 400
    - Use: Bright CTA on dark sections
    - Hover: border: `1px solid rgb(208, 210, 221)`, borderColor: `#d0d2dd`
    - Focus: border: `1px solid rgb(208, 210, 221)`, borderColor: `rgb(208, 210, 221)`
    
    
    ## 4b. Component Behaviors (State Matrix)
    
    ### Interaction State Narrative
    
    - **Button**:
      - **hover:** border changes
      - **focus:** border changes
    
    *State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
    
    ```yaml
    component-behaviors:
      button:
        default:
          bg: "rgba(0, 0, 0, 0)"
          fg: "rgb(0, 0, 0)"
          border: "1px solid rgba(0, 0, 0, 0)"
        hover:
          bg: "transparent"
          fg: "inherit"
          border: "1px solid rgb(208, 210, 221)"
        focus:
          bg: "transparent"
          fg: "inherit"
          border: "1px solid rgb(208, 210, 221)"
      link:
        default:
          bg: "rgba(0, 0, 0, 0)"
          fg: "rgb(21, 25, 30)"
        hover:
          bg: "transparent"
          fg: "inherit"
      navLink:
        default:
          bg: "rgba(0, 0, 0, 0)"
          fg: "rgb(21, 25, 30)"
      footerLink:
        default:
          bg: "rgba(0, 0, 0, 0)"
          fg: "rgb(0, 0, 0)"
    ```
    
    **Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
    
    
    ## 4c. Component Vocabulary (Closed System)
    
    *This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
    
    ### Buttons
    - **3 shape(s)** in this system: `Ghost`, `Primary Brand`, `Light / Invert`
    - **DO NOT introduce new buttons 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 | 4px |
    | sm | 8px |
    | md | 16px |
    | base | 24px |
    | lg | 32px |
    | xl | 36px |
    | 2xl | 48px |
    | 3xl | 64px |
    
    ### Border Radius Scale
    | Name | Value | Use |
    |------|-------|-----|
    | None | 0px | No rounding |
    | Xs | 4px | Tiny corners (badges, micro elements) |
    | Sm | 8px | Buttons, inputs, small elements |
    | Md | 12px | Cards, containers |
    | Lg | 20px | Large rounded elements, pill segments |
    | Xl | 32px | Category strips, featured containers |
    | Full | 9999px | Pills, avatars, circular elements |
    
    ### Shape Language
    
    | Component | Border Radius |
    |-----------|---------------|
    | Buttons | `6px` |
    | Page Body | `0px` |
    | Navigation | `0px` |
    
    **Shape Personality**: Moderate Rounding — Medium corners (4–12px). Modern SaaS standard, neither sharp nor pill.
    
    **Full Radius Spectrum**: 0px, 3px, 4px, 6px, 7px, 8px, 10px, 12px (from `allBorderRadii` scan)
    
    
    ## 5b. Spacing Rhythm Names
    
    **Measured section padding**: bands use ~64px internal vertical padding (up to 160px) — **generous**. (Distinct from the gap *between* sections above.) Reproduce this generous vertical breathing room; cramped spacing is the #1 tell of a cheap clone.
    
    *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** | `36px` | Between major bands (color change, content shift) |
    | **subsection** | `32px` | Within a section, between content groups |
    | **card** | `16px` | Card padding, list-item spacing |
    | **compact** | `8px` | Form fields, tight clusters, badge padding |
    | **micro** | `4px` | 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).
    
    **5/8 structural patterns detected.**
    
    ### Hero Pattern
    
    - **Composition:** centered — Centered composition — heading + subheading + CTAs stacked vertically, content centered horizontally. Common for SaaS marketing pages.
    - **Viewport coverage:** full-viewport hero (≥70% screen height)
    - **Heading:** "Finance built for speed and control." — 72px left-aligned
    - **Subheading:** "Modern cards, banking, expenses, accounting, and more — in 120+ countries."
    - **Media:** present, positioned top
    - **CTAs:** 1 (primary: "Get started")
    - **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. Place media top of text.
    
    ### Navigation Pattern
    
    - **Position:** static (scrolls with page)
    - **Layout:** unknown — Layout not classified
    - **Height:** 60px
    - **Logo:** ✓ present
    - **Nav links:** 0 primary items
    - **CTAs in nav:** 5
    - **Clone instruction:** Build a static unknown navigation. Reserve 5 slots for primary CTAs.
    
    ### Card Grid Pattern
    
    - **Card count:** 9 cards detected
    - **Columns (desktop):** 4-up grid
    - **Card dimensions:** 396×413px (aspect 0.96:1)
    - **Gap:** 0px between cards
    - **Content:** ✓ image
    - **Image position:** top
    - **Clone instruction:** Build a 4-column grid (desktop) with cards at ~0.96:1 aspect ratio. Each card has an image at the top.
    
    ### CTA Banner Pattern
    
    - **Banner count:** 2
    - **Position:** multiple
    - **Visual treatment:** ✓ contrasting background
    - **Primary CTA text:** "Get started"
    - **Clone instruction:** Place multiple CTA banners across page sections. Use contrasting solid background.
    
    ### Footer Pattern
    
    - **Columns:** 1
    - **Links:** 47 total
    - **Height:** 1393px
    - **Includes:** ✗ no newsletter | ✓ social icons |  
    - **Clone instruction:** Build a 1-column footer with ~47 links per column, social media links.
    
    ## 6. Depth & Elevation
    
    | Level | Treatment | Use |
    |-------|-----------|-----|
    | Flat (Level 0) | No shadow | Page background, content blocks |
    | Layered (Level 1) | <br>`rgba(66, 87, 138, 0.15) 0px 1px 0px 0px` | Cards, elevated surfaces |
    | Layered (Level 2) | <br>`rgba(0, 0, 0, 0.04) 0px 1px 1px 0px` | Cards, elevated surfaces |
    
    **Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
    
    ## 7. Motion & Interaction
    
    ### Dominant Easing Curves
    
    | Curve | Semantic Name |
    |-------|---------------|
    | `ease-in-out` | Ease In-Out — Symmetric |
    | `ease-in` | Ease In — Accelerating |
    | `ease` | CSS ease — Default |
    
    ### Duration Scale
    
    | Value | Tier | Typical Use |
    |-------|------|-------------|
    | `125ms` | Fast | Hover states, micro-interactions |
    | `500ms` | Slow | Hero animations, page transitions |
    
    ### Copy-Paste Transition Snippets
    
    **Shadow**
    ```css
    transition: box-shadow 0.5s ease-in-out, border 0.5s ease-in-out;
    ```
    
    **All Props**
    ```css
    transition: 0.125s linear;
    ```
    
    ### Keyframe Animation Catalog
    
    | Animation Name | Type | Animated Props | Use Hint |
    |----------------|------|----------------|----------|
    | `fadeIn` | Custom |  | Element entrance |
    
    ### Motion Fingerprint
    
    - **Speed Character**: Deliberate & Calm (median duration: `500ms`)
    - **Dominant Easing**: symmetric in-out (precise)
    - **Animation Library**: 1 unique animation (0 total including variants)
    
    > This design moves with deliberate & calm timing using symmetric in-out (precise), creating a UI that feels calm and controlled.
    
    ## 8. Do's and Don'ts
    
    ### Do
    - Use inter as the primary typeface — it defines the brand personality
    - Keep font weights between 400-500 — the system uses a narrow weight range for subtle hierarchy
    - Use negative letter-spacing (-1.44px) at display sizes for compressed, editorial headlines
    - Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
    - Use Off-White (`#f9f9fb`) as the primary accent — it's the brand's signature interactive color
    - Use 8px border-radius on buttons — the standard corner rounding for interactive elements
    - Maintain nav height at 60px — consistent vertical space for the navigation bar
    - Respect the 4px–36px spacing range — the design uses a wide scale for visual breathing room
    - Make the hero full-viewport (≥70% screen height) — this design uses an immersive hero, not a tall navbar
    - 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
    - Use a 4-column grid on desktop — density matters for this content type
    - Repeat the primary CTA across 2 banner sections — conversion paths are layered, not single
    
    ### Don't
    - Don't substitute with generic sans-serif or serif — the custom font carries the brand
    - Don't use weight 700 (bold) or above — 500 is the maximum weight in this system
    - Don't increase letter-spacing on headings — the type is designed to run tight at scale
    - Don't invent new shadow values — use only the extracted shadow levels
    - Don't introduce additional saturated accent colors — the palette is intentionally controlled
    - Don't collapse or hide the nav on scroll without an explicit scroll-triggered animation — the design uses fixed nav presence
    - Don't make the nav sticky — this design lets it scroll away to maximize content focus
    
    
    ## 7b. Enforceable Brand Rules
    
    *Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
    
    ```yaml
    rules:
      - id: brand-canvas-001
        type: do
        rule: "Always use the page background `rgb(255,255,255)` as the base canvas"
        why: "Every component is designed to composit against this exact tone"
        test: "document.body.style.backgroundColor === 'rgb(255,255,255)'"
      - id: brand-accent-001
        type: do
        rule: "Reserve `rgb(249, 249, 251)` for primary CTAs and brand-mark signals only"
        why: "Single chromatic assertion device — overuse dilutes meaning"
        test: "querySelectorAll('[style*=\"rgb(249, 249, 251)\"]').length <= 3 per fold"
    ```
    
    ## 9. Responsive Behavior
    
    ### Breakpoints
    | Name | Width | Key Changes |
    |------|-------|-------------|
    | Mobile Large | 640px | Expanded mobile layout |
    | Mobile Large | 766px | Expanded mobile layout |
    | Tablet | 830px | Multi-column grids begin |
    | Tablet | 900px | Multi-column grids begin |
    | Tablet | 960px | Multi-column grids begin |
    | Tablet | 1023px | Multi-column grids begin |
    
    ### Token Diff — Desktop vs Mobile
    
    | Element | Property | Desktop | Mobile |
    |---------|----------|---------|--------|
    | heading | font-size | `72px` | `36px` |
    | heading | line-height | `72px` | `36px` |
    | heading | letter-spacing | `-1.44px` | `-0.72px` |
    | button | width | `98.7656px` | `auto` |
    
    ### Collapsing Strategy
    - Headlines: 72px → 36px on mobile
    - Navigation: horizontal links → hamburger menu on mobile
    - Cards: multi-column → stacked vertical on mobile
    - Footer: multi-column → stacked single column on mobile
    
    ### Touch Targets
    - Buttons: 4px 8px padding
    - Navigation: adequate spacing between items
    - Interactive elements: minimum 44px touch target recommended
    
    ### Collapsing Narrative
    
    How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
    
    - **Card grid: 4-up → 1-up** — cards stack as viewport narrows, becoming a vertical list on mobile.
    
    ## 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.brex.com/api/proxy-image?url=https%3A%2F%2Fbrand.brex.com%2Ftransform%2F7b10bdf8-ed31-4a40-8429-c9fe54f83aa5%2FHomepage-preview%3Fio%3Dtransform%3Afit%2Cwidth%3A1200
      *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.71:1 (landscape (16:9-ish))
    - Rendered size: 1440×840px
    - Alt text: "HP Hero Desktop"
    - *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): 24 (77%)
    - Portrait (<0.87): 5 (16%)
    - Square (0.87–1.15): 0 (0%)
    - Ultra-wide (>2.3): 2 (6%)
    
    **Media Format Mix:**
    
    **Average rendered image size:** 409×273px
    **Above-fold image count:** 1 / 31
    
    **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 White (`#ffffff`)
    - Primary text: Pure Black (`#000000`)
    - Accent: Off-White (`#f9f9fb`)
    - Border: Dim Gray (`#60646c`)
    - Font: inter
    - Body: 16px weight 400
    
    ### Example Component Prompts
    - "Create a hero section on Pure White background (#ffffff). Headline at 72px inter weight 500, line-height 1, letter-spacing -1.44px, color #000000."
    - "Create the primary CTA button: `#f9f9fb` background, `#ffffff` text, 8px border-radius, 0px 16px padding, 600 weight, inter font."
    - "Build navigation: static on `#ffffff`. inter 16px weight 400 for links."
    
    ### Iteration Guide
    1. **Canvas**: Set the light canvas to Pure White (`#ffffff`) — every component is composited against this exact base.
    2. **Typography**: All type in inter, weight range 400–500. Never exceed 500 — heavier weights break the brand's tonal restraint.
    3. **Accent**: Off-White (`#f9f9fb`) is the sole interactive color. On hover → Bright Orange (`#ff5900`). Use CSS transitions, not opacity/brightness filters.
    4. **Shape**: CTAs at `6px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
    5. **Spacing**: Use the `--ca-space-*` token scale (4px–36px). 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-background: #ffffff;
      --ca-surface-1: #fcfcfd;
      --ca-surface-2: #f3f3f7;
      --ca-ink-subtle: #15191e;
      --ca-primary: #f9f9fb;
      --ca-on-primary: #111111;
      --ca-primary-hover: #ff5900;
      --ca-hairline: #60646c;
    }
    
    /* Typography */
    :root {
      --ca-font-primary: "inter", system-ui, sans-serif;
      --ca-text-display: 72px;
      --ca-text-body: 16px;
      --ca-text-small: 14px;
      --ca-text-button: 14px;
    }
    
    /* Spacing & Radius */
    :root {
      --ca-space-xxs: 2px;
      --ca-space-xs: 4px;
      --ca-space-sm: 8px;
      --ca-space-md: 16px;
      --ca-space-base: 24px;
      --ca-space-lg: 32px;
      --ca-space-xl: 36px;
      --ca-space-2xl: 48px;
      --ca-space-3xl: 64px;
      --ca-radius-none: 0px;
      --ca-radius-xs: 4px;
      --ca-radius-sm: 8px;
      --ca-radius-md: 12px;
      --ca-radius-lg: 20px;
      --ca-radius-xl: 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: hero
        tag: div
        height: 8851px
        width: full-bleed
        layout: block
        children: 1
      - section: hero
        tag: div
        height: 840px
        width: full-bleed
        layout: block
        children: 1
      - section: feature-section
        tag: main
        height: 7398px
        width: full-bleed
        layout: block
        children: 1
      - section: feature-section
        tag: section
        height: 7398px
        width: full-bleed
        layout: block
        children: 24
        vertical-padding: ~80px (generous)
      - section: feature-section
        tag: section
        height: 840px
        width: full-bleed
        layout: block
        children: 3
      - section: feature-section
        tag: section
        height: 840px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(255, 255, 255)"
      - section: section
        tag: section
        height: 128px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(243, 243, 247)"
        vertical-padding: ~32px
        padding: "48px 0px 16px"
      - section: logo-strip
        tag: section
        height: 208px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(243, 243, 247)"
        vertical-padding: ~56px (generous)
        padding: "32px 0px 80px"
      - section: logo-strip
        tag: section
        height: 96px
        width: 1080px
        layout: grid: 6-col gap=16px
        children: 12
      - section: feature-section
        tag: section
        height: 176px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(255, 255, 255)"
        vertical-padding: ~32px
        padding: "48px 0px 16px"
      - section: feature-section
        tag: section
        height: 452px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(255, 255, 255)"
        vertical-padding: ~64px (generous)
        padding: "48px 0px 80px"
      - section: section
        tag: section
        height: 128px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(243, 243, 247)"
        vertical-padding: ~32px
        padding: "48px 0px 16px"
      - section: feature-section
        tag: div
        height: 540px
        width: full-bleed
        layout: block
        children: 1
        vertical-padding: ~64px (generous)
      - section: feature-section
        tag: section
        height: 540px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(243, 243, 247)"
        vertical-padding: ~64px (generous)
        padding: "48px 0px 80px"
      - section: feature-section
        tag: section
        height: 152px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(255, 255, 255)"
        vertical-padding: ~24px
        padding: "48px 0px 0px"
      - section: feature-section
        tag: div
        height: 486px
        width: full-bleed
        layout: block
        children: 1
        vertical-padding: ~64px (generous)
      - section: feature-section
        tag: section
        height: 486px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(255, 255, 255)"
        vertical-padding: ~64px (generous)
        padding: "80px 0px 48px"
      - section: feature-section
        tag: div
        height: 486px
        width: full-bleed
        layout: block
        children: 1
        vertical-padding: ~64px (generous)
      - section: feature-section
        tag: section
        height: 486px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(255, 255, 255)"
        vertical-padding: ~64px (generous)
        padding: "80px 0px 48px"
      - section: feature-section
        tag: div
        height: 430px
        width: full-bleed
        layout: block
        children: 1
        vertical-padding: ~36px
      - section: feature-section
        tag: section
        height: 430px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(255, 255, 255)"
        vertical-padding: ~36px
        padding: "24px 0px 48px"
      - section: feature-section
        tag: div
        height: 470px
        width: full-bleed
        layout: block
        children: 1
        vertical-padding: ~48px
      - section: feature-section
        tag: section
        height: 470px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(255, 255, 255)"
        vertical-padding: ~48px
        padding: "48px 0px"
      - section: feature-section
        tag: div
        height: 422px
        width: full-bleed
        layout: block
        children: 1
        vertical-padding: ~32px
      - section: feature-section
        tag: section
        height: 422px
        width: full-bleed
        layout: block
        children: 1
        bg: "rgb(255, 255, 255)"
        vertical-padding: ~32px
        padding: "32px 0px"
    ```
    
    **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:
        - "Modern cards, banking, expenses, accounting, and more — in 120+ countries."
        - "Trusted by 35,000+ top companies."
        - "Product"
      sub-headings:
        - "Everything you need to boost spending power and control — and eliminate manual work."
        - "Corporate cards"
        - "Expense management"
        - "Control spend before it happens."
        - "Pay vendors faster and easier."
        - "4,250 hours"
      ctas:
        - "Products"
        - "Get started"
        - "See Brex in action"
        - "DoorDash"
        - "SeatGeek"
        - "<-"
        - "->"
        - "Your Privacy Choices"
      navigation:
        - "Customers"
        - "Pricing"
        - "Sign in"
        - "See a demo"
        - "Get started"
        - "Corporate card"
        - "Business banking"
        - "Expense management"
        - "Accounting automation"
        - "Bill pay"
      footer-links:
        - "Corporate card"
        - "BNY Dreyfus Government Cash Management (DGVXX)"
    ```
    
    **Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
    
    
    ## 15. Asset Inventory (Image Roles & Ratios)
    
    *Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
    
    ```yaml
    assets:
      logo:
        count: 8
        avg-ratio: 3.73
        common-aspect: "~16:6 banner"
        sample-alts:
          - "HP-Tiktok"
          - "Trustpilot_grey"
          - "OpenAI"
      hero:
        count: 1
        avg-ratio: 3.00
        common-aspect: "~16:6 banner"
        sample-alts:
          - "Fall release_pre-footer"
    ```
    
    **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">
      Products
    </button>
    ```
    _Source pattern detected: padding `4px 8px` · radius `6px` · weight `400`_
    
    **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:** **social** 58 · **footer** 2
    
    **Projects / case studies detected** (clustered by URL + featured image):
    
    *Product* — medium confidence, 10 items:
    
    | Title | Featured image | Link |
    |---|---|---|
    | Corporate cards Spend smart globally with po | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.54) | https://www.brex.com/product/credit-card |
    | Expense management Use AI to automate approv | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.54) | https://www.brex.com/product/spend-management |
    | Travel Simplify global travel with in-app bo | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.54) | https://www.brex.com/product/travel-expense-management |
    | Bill pay Save time with AI-powered invoice e | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.54) | https://www.brex.com/product/bill-pay |
    | Banking and treasury Save, spend, and grow y | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.54) | https://www.brex.com/product/business-account |
    | Expense management | — | https://www.brex.com/product/expense-management |
    | Global ready | — | https://www.brex.com/product/global |
    | Native integrations | — | https://www.brex.com/product/integrations |
    
    *Journal* — medium confidence, 10 items:
    
    | Title | Featured image | Link |
    |---|---|---|
    | Read the case study | — | https://www.brex.com/journal/expense-management-for-global-businesses |
    | What is intelligent finance? 8 reasons to sw | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.79) | https://www.brex.com/journal/articles/intelligent-finance |
    | Reimagining global cards and travel manageme | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.91) | https://www.brex.com/journal/brex-navan-partnership |
    | Why finance leaders are embracing AI-powered | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.91) | https://www.brex.com/journal/embracing-ai-powered-spend-management |
    | AI, automation, and the future of accounting | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.91) | https://www.brex.com/journal/ai-automation-and-the-future-of-accounting |
    | Brex Benchmark: Spring 2026’s top 25 fastest | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.9) | https://www.brex.com/journal/brex-benchmark-may-2026 |
    | How we built an AI oncall engineer at Brex W | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.5) | https://www.brex.com/journal/how-we-built-an-ai-oncall-engineer |
    | When your infrastructure tool's best interfa | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.77) | https://www.brex.com/journal/terminal-ui-became-an-agent-interface |
    
    *Solutions* — medium confidence, 3 items:
    
    | Title | Featured image | Link |
    |---|---|---|
    | Startups | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.6) | https://www.brex.com/solutions/startups |
    | Mid-size | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.6) | https://www.brex.com/solutions/mid-size-companies |
    | Enterprise | `image?url=https%3A%2F%2Fbrand.brex.c` (ar 1.6) | https://www.brex.com/solutions/enterprise |
    
    **Signals:** 34/60 links carry a featured image · device mockups detected: laptop ×12 · dominant link roles: content-card (27), footer-link (27), social-link (6).
    
    
    ---
    ## Extraction Completeness: 70/100 (C)
    
    | Category | Score | Max | Detail |
    |----------|-------|-----|--------|
    | Colors & Palette | 19 | 25 | 14 named colors |
    | Typography | 15 | 20 | 6 roles defined |
    | Components | 4 | 20 | 1 specs extracted |
    | Motion & Interaction | 12 | 15 | Keyframes (intercepted CSS) |
    | CSS Custom Properties | 10 | 10 | 750 vars |
    | Responsive Breakpoints | 5 | 5 | 6 breakpoints |
    | Variable Fonts | 5 | 5 | WGHT axes |
    
    ## 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 (inter, flecha, bronzea)** — 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.
    - **1 parasitic shadow(s) detected** — colored box-shadows (not near-black) found in allShadows. These likely originate from browser extensions or third-party injected widgets (e.g. Grammarly, chat overlays), not from the site's own design system. Discard them when building.
    
    | Category | What's missing | Fallback strategy |
    |----------|----------------|-------------------|
    | **Keyframe animations** | No @keyframes declarations found (transitions only) | Use CSS transitions for state changes; avoid complex scroll-based animations |
    | **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 |
    
    ### Per-section confidence
    
    | Section | Confidence | Reason |
    |---------|------------|--------|
    | §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
    | §2 Colors | High | 750 CSS vars (semantic naming requires ≥20 for high) |
    | §3 Typography | High | 6 typography roles inferred |
    | §4 Components | Low | 1 component variants captured |
    | §7 Motion | Medium | Transitions only |
    | §8 Do's/Don'ts | High | 20 rules generated; design-decisions.json has evidence per rule |
    | §9 Responsive | High | 6 breakpoints detected |
    | §9b Photography | High | 31 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
    
    8 font file(s) captured (221KB total). When running `prism add`, fonts are saved to `extractions/brex.com/fonts/` and embedded as base64 in the output HTML.
    
    **@font-face declarations to use:**
    ```css
    @font-face {
      font-family: 'inter';
      /* src: url('/fonts/inter.woff2') format('woff2'); */
      font-weight: 400 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'inter';
      /* src: url('/fonts/inter.woff2') format('woff2'); */
      font-weight: 400 700;
      font-style: italic;
      font-display: swap;
    }
    @font-face {
      font-family: 'inter Fallback';
      /* src: url('/fonts/inter-Fallback.woff2') format('woff'); */
      font-weight: normal;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'flecha';
      /* src: url('/fonts/flecha.woff2') format('woff2'); */
      font-weight: 400;
      font-style: normal;
      font-display: optional;
    }
    @font-face {
      font-family: 'flecha Fallback';
      /* src: url('/fonts/flecha-Fallback.woff2') format('woff'); */
      font-weight: normal;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'bronzea';
      /* src: url('/fonts/bronzea.woff2') format('woff2'); */
      font-weight: 700;
      font-style: normal;
      font-display: optional;
    }
    @font-face {
      font-family: 'bronzea Fallback';
      /* src: url('/fonts/bronzea-Fallback.woff2') format('woff'); */
      font-weight: normal;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Space Mono';
      /* src: url('/fonts/Space-Mono.woff2') format('woff2'); */
      font-weight: 400;
      font-style: italic;
      font-display: swap;
    }
    @font-face {
      font-family: 'Space Mono';
      /* src: url('/fonts/Space-Mono.woff2') format('woff2'); */
      font-weight: 700;
      font-style: italic;
      font-display: swap;
    }
    @font-face {
      font-family: 'Space Mono';
      /* src: url('/fonts/Space-Mono.woff2') format('woff2'); */
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Space Mono';
      /* src: url('/fonts/Space-Mono.woff2') format('woff2'); */
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Space Mono Fallback';
      /* src: url('/fonts/Space-Mono-Fallback.woff2') format('woff'); */
      font-weight: normal;
      font-style: normal;
      font-display: swap;
    }
    ```
    
    ### Keyframe Animations (Intercepted from CSS)
    
    **1 @keyframes found** — these are the real animation definitions:
    
    ```
    @keyframes fadeIn { ... }
    ```
    
    <details><summary>Full keyframes CSS (1 animations)</summary>
    
    ```css
    @keyframes fadeIn {
      0% {
      opacity: 0;
      }
      100% {
      opacity: 1;
      }
    }
    ```
    </details>
    
    ### Hover State CSS (Intercepted)
    
    **37 hover rule lines** captured from CSS files. Key interactive transitions from real CSS (not inferred):
    
    ```css
    ._15370535:hover{cursor:pointer}
    
    .do-not-sell-explainer-close:hover,
    .accept-all-reject-all-toggle-close:hover,
    .privacy-policy-notice-with-close-button-close:hover,
    .complete-options-toggle-close:hover,
    .button:hover {
      background-color: #fafafa;}
    
    .toggle-input:hover + span {
      filter: brightness(0.9);}
    
    .toggle-input:hover:enabled + span,
    .toggle-input:hover + span {
      filter: none;
      border-color: transparent;}
    
    .language-button svg:hover {
      fill: var(--primary-color);}
    
    .bottom-menu-item:hover {
      cursor: pointer;
      text-decoration: underline;
      text-decoration-color: rgba(1, 1, 1, 1);
      text-decoration-thickness: 1px;
      text-underline-offset: 2px;}
    
    .collapsed-container:hover {
      width: 132px;
      transition-delay: 0ms;}
    
    .collapsed-container:hover path {
      fill: var(--primary-color);}
    
    .collapsed-container:hover p {
      opacity: 1;
      transition-delay: 0ms;}
    ```
    
    > **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 1167 rendered nodes** — not a sample. These are the values the page *actually paints*, weighted by how often they appear.
    
    ### Real Responsive Breakpoints
    **9 breakpoints** read from the live `@media` rules (not guessed):
    `640px` · `766px` · `767px` · `830px` · `900px` · `960px` · `1023px` · `1024px` · `1680px`
    
    ### Measured Design Scale
    **Type scale by usage** (× = paint count): `16px`×917 · `14px`×78 · `24px`×51 · `12px`×50 · `48px`×31 · `36px`×18 · `20px`×12 · `10px`×4
    
    **Radius scale** (× = paint count): `12px`×19 · `10px`×15 · `6px`×12 · `50%`×2 · `8px`×1 · `4px`×1
    
    **Weights** (× = paint count): `400`×1005 · `500`×152 · `600`×8
    
    **Layout gaps** (× = paint count): `8px`×40 · `24px`×13 · `16px`×11 · `4px`×4 · `48px`×4 · `20px`×2 · `normal 12px`×1
    
    **Elevation (real shadows)**:
    ```css
    rgba(66, 87, 138, 0.15) 0px 1px 0px 0px
    rgba(0, 0, 0, 0.04) 0px 1px 1px 0px
    ```
    
    ### 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-family:var(--font-inter),-apple-system,Helvetica,Arial,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" }
    nav { background:#FFFFFF; color:#15191E; background-color:rgb(255, 255, 255) }
    h1 { font-family:var(--font-inter),sans-serif; color:#15191E; transition:opacity .25s ease-in -out; font-size:72px }
    @media (min-width: 1024px) h1 { font-size:72px }
    h2 { font-family:var(--font-inter),sans-serif; color:#60646C; transition:opacity .25s ease-in -out; font-size:20px }
    @media (min-width: 1024px) h2 { font-size:20px }
    button { gap:8px; background:none; border-radius:6px; background-color:initial }
    input { font-size:14px; font-weight:400; color:#15191E; background-color:unset }
    ```
    
    > 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://brex.com | 2026-06-11T06:03:30.011Z*
    *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 brex.com