# Cloudflare DESIGN.md

> Public preview. The complete DESIGN.md source (all 103 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

Cloudflare rebuilt its marketing system ("Kumo") around a single saturated construction-orange #FF5E1F deployed as giant inset hero cards, pill CTAs, and 5–30% alpha tints for hairlines and subtext. Everything else is paper-white with #F0F0F0 grid lines and near-black #262626 type in STK Bureau Sans — tight -0.025em tracking, 1.0–1.2 line heights — plus Apercu Mono Pro for eyebrows and code. The grid is exposed: cells meet at tiny square node markers over a faint dotted blueprint texture. Motion is a signature 200ms expo-out snap.

- Website: https://cloudflare.com
- Primary color: Orange `#FF5E1F`
- Fonts: Apercu Mono Pro, STK Bureau Sans
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/cloudflare

## Palette preview

- `danger`: `#ed1641`
- `outline`: `#f0f0f0`
- `primary`: `#ff5e1f`
- `surface`: `#ffffff`
- `on-primary`: `#ffffff`
- `on-surface`: `#262626`
- `primary-text`: `#bf4c14`
- `primary-tint`: `#ff5e1f`

## Typography preview

- `code`: Apercu Mono Pro
- `body-lg`: STK Bureau Sans

---

## Overview

Cloudflare's 2024+ marketing system ("Kumo") is a **technical blueprint aesthetic wrapped around one loud brand color**. The page is paper — white or `#FDFDFC` — ruled into cells by `#F0F0F0` hairlines, with small square node markers at grid intersections and a faint dotted texture, like an engineer's drawing. Against that restraint sits a single saturated orange `#FF5E1F` deployed confidently: as a full-bleed inset hero card, as the only filled button color, as the active tab pill, and as an alpha ramp (5–50%) for hairlines, subtext, and ambient glow.

The signature layout move is the **hero-as-card**: a giant orange rounded-rectangle (~16px radius) inset a few pixels from the viewport edges, carrying a centered white headline, sub-copy, and a white pill CTA, with a soft horizon glow at its base. Below the fold the site becomes a calm white grid — stats, logo walls, pricing cells, and solution cells — so the orange reads as an event, not a theme. The audience is engineering and infrastructure buyers: copy leads with scale claims ("powering 20% of the Internet", "45% of the Fortune 500") and the visual language is precision — mono eyebrows, icon-line product glyphs, tight tracked headlines.

A real dark mode exists in the token layer (`light-dark()` Kumo variables flip to ~`oklch(10%)` canvas), but the marketing site renders light-first.

## Colors

One brand hue, one neutral ramp, one alert red — nothing else.

- **Primary Orange (#FF5E1F):** The brand. Hero card fill, "Accept Cookies"-style primary buttons, active tab pills, accent links, icon highlights, the logo cloud.
- **Orange Hover (#FF7038):** Lighter step for hover fills and gradient mates inside the hero.
- **Deep Orange (#FF500A):** The shadow end of orange gradients and glow stops.
- **Accessible Orange Text (#BF4C14):** When orange must carry small text on white, the site swaps to this burnt variant for legibility.
- **Orange Hairline / Tint (#FF5E1F4D / #FF5E1F1A):** `oklab` alpha ramps of the primary — borders on orange surfaces, tint washes behind orange features.
- **Ink (#262626):** `oklab(0.269)` — every headline and primary text; also deployed at 70–80% alpha (`#262626B2`) for secondary copy.
- **Muted Gray (#707070):** Tertiary copy, footer links, inactive tabs.
- **Surfaces (#FFFFFF / #FDFDFC / #F0F0F0):** Page white, barely-warm canvas tint, and the hairline/fill gray that rules the grid.
- **Alert Red (#ED1641):** Reserved for the "Under attack?" emergency link — never decorative.
- **White on orange:** Headlines and inverse pills at 100%; secondary text on orange drops to `#FF5E1F`'s complement — white or ink at ~30% (`primary-muted`).

## Typography

Everything is **STK Bureau Sans** (loaded 400/500) — a geometric grotesque set with two hard rules: **constant -0.025em tracking** at display sizes and **tight 1.0–1.2 line heights** everywhere. Weight does the hierarchy work (500 headlines/labels, 400 body); there is no serif or second sans. **Apercu Mono Pro** is the texture voice: eyebrows ("Region: Earth", "Compute"), code, and technical labels at ~14px/500.

- **Display (56px/0.99, 500, -1.4px):** Page heroes — white on orange or ink on white. Note the nearly-solid leading (56→55.4px).
- **Headline-xl (48px/1.0):** Section statements — "Pay only when your code runs".
- **Headline-lg (32px/1.0):** Sub-sections and card-level statements.
- **Title-md (18px/1.2):** Cell titles, small headers — may render in primary orange for accented subheads.
- **Body (19/16/14px, 400):** Copy at `lh 1.2` — tighter than typical body text; keep blocks short.
- **Label-md (16px/500):** Buttons, tabs, nav links.
- **Code (Apercu Mono Pro ~14px/500):** Eyebrow caps, technical markers, snippets — occasionally set in orange.

## Layout

A **1200px column** (wide sections stretch to ~1480px) on a 4px spacing base — observed cadence is 4/8/10/12/16/24/32/40/64/80. The blueprint motif is structural: content sits in borderless cells separated by 1px `#F0F0F0` rules, with tiny white square "nodes" at some intersections and a dotted-paper texture at page margins.

- **Hero card:** Full-width inset (≈8–16px page margin), ~16px radius, vertically centered content at display size.
- **Cell grids:** Products/solutions render as a 3–4 column hairline matrix — icon + title-md + 1–2 lines of muted body + "See solution ↗" — no card chrome, the grid itself is the container.
- **Pricing:** Four cells in one ruled row — plan name, audience line, price, pill CTA — separated by the same hairlines.
- **Nav:** 72px bar; wordmark + dropdown links left; "Under attack?" in red, then "Login" and "Contact sales" as white outline pills, then a search icon.
- **Footer:** Compact multi-column link farm on white.

## Elevation & Depth

Nearly flat. Cards do not cast drop shadows; hierarchy comes from the hairline grid and tonal steps. Two exceptions, both engineered rather than decorative: controls carry a stacked edge treatment — an inset `white @ 20%` top highlight plus `black @ 2–3%` soft shadows for a machined-edge feel — and the orange hero casts an **ambient orange glow** (`rgba(255,80,10,0.1) 0 4px 100px`, i.e. tinted shadow, never gray) onto the white canvas. On orange surfaces, depth is a `white @ 10%` inset ring.

## Shapes

Two extremes, no middle: **pills** for every clickable control (buttons, tabs, search, badges all resolve to `full` radius — measured as the dominant non-zero radius), and **small technical radii** for surfaces — 1–3px for utility corners, 6–8px for small cards and inputs, 12–16px for the hero and plan cards. The 3.35544e+07px measurement is the engine's pill value. Icons are single-weight line drawings with square-ish terminals matching the node markers.

## Motion & Micro-interaction

A single signature curve: **`cubic-bezier(0.19, 1, 0.22, 1)`** — an expo-out snap — over **200ms** for all color/background/border transitions, 160ms `cubic-bezier(0.25, 0.46, 0.45, 0.94)` for scale/translate micro-movements, and a slower 400ms expo for larger color sweeps. Hover feedback is a fill or color swap, not a transform — buttons don't grow or lift. Keep animation on `opacity`, `color`, `background`, and `border-color`; avoid layout-shifting properties.

## Voice & Content Strategy

Confident infrastructure copy that leads with proof-of-scale and speaks fluent engineer: em-dashes, compound claims, no fluff. Sentence case, minimal punctuation, CTAs are plain imperatives.

- Scale-first headline: "Everything we learned from powering 20% of the Internet—yours by default".
- Mechanism sub-copy: "One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure."
- CTAs: "Start building for free", "Get started", "See plans", "See solution ↗" — terse, verb-led, arrows on links.
- Proof framing: "Cloudflare powers 45% of the Fortune 500", "Pay only when your code runs".
- Emergency tone stays dry: "Under attack?" — a red link, not a banner.

## Components

### Buttons

`button-primary` — the only filled control: `#FF5E1F` pill, white `label-md` text, ~38px tall. `button-primary-inverse` — the hero CTA: white pill, ink text, ~48px, lives exclusively on orange. `button-secondary` — white pill with `#F0F0F0` hairline (Login, Contact sales, Get started, See plans). All pills share `10–14px` vertical padding and expo-out color transitions. **Contrast caveat:** white text on `#FF5E1F` measures ~3.1:1 — the brand accepts this for large 16px/500 labels; never set small text on orange fills.

### Tabs

`tab-pill` — ghost pill, ink text; `tab-pill-active` — the same pill filled `#FF5E1F` with white text ("All Products", "Network & CDN"). The tab bar itself is a hairline-bordered pill container.

### Cards & Cells

`card-hero` — the giant orange inset: primary fill, white text, 16px radius, ~80px padding. `card-plan` — white pricing cell, hairline-bordered, 12px radius, 24px padding. `cell-grid` — borderless blueprint cell relying on shared grid hairlines; hover tints with `primary-tint`.

### Type Components

`eyebrow` — Apercu Mono Pro caps in muted gray (occasionally orange) above section titles. `link-accent` — orange `label-md` with an arrow glyph. `text-danger` — `#ED1641` for the emergency link only. `headline-on-primary` / `text-on-primary-muted` — display and body styles for content inside orange surfaces.

## Do's and Don'ts

- **Do** put the hero in a giant orange inset card; **don't** use orange as a page background or repeat it in every section — one orange field per view.
- **Do** rule content into cells with `#F0F0F0` hairlines and leave nodes at intersections; **don't** box content in drop-shadowed cards.
- **Do** use white text on orange at 16px/500+ (the brand's accepted ~3:1 ratio); **don't** set body-size white text on orange — use `primary-text` (#BF4C14) for small orange type on white.
- **Do** make every interactive element a pill; **don't** use squared buttons or rounded-md buttons — Cloudflare buttons are always full-radius.
- **Do** keep surfaces at 1–3px micro-radius and hero/plan cards at 12–16px; nothing in between.
- **Don't** introduce a second brand hue; blues/greens exist only in the hidden status/badge layer, never in marketing surfaces. Red is reserved for "Under attack?".
- **Do** track headlines at -0.025em and keep line-heights at 1.0–1.2; loose leading breaks the system's density.
- **Do** label sections with mono eyebrows in Apercu Mono Pro.
- **Don't** animate position or size on hover; swap color/fill over 200ms expo-out.
- **Do** write scale-proving copy ("powering 20% of the Internet") with imperative CTAs.
