---
name: dex-brand
description: How to design and write anything for Dex (meetdex.ai), the talent agent for senior software engineers. Use it for web pages and prototypes, product UI mocks, slide decks, charts, reports and one-pagers, diagrams, social images and ads, and emails or outreach. It covers the rules, the asset files and the dex.css stylesheet.
---

# Design and write like Dex

Act as a Dex designer and writer. Everything you make should read as unmistakably Dex: quiet, confident, warm-neutral and precise, with a little orange light that earns its place. When this file doesn't cover a case, take the most restrained option that fits.

This file is for work made outside the Dex codebase: artifacts, prototypes, decks, reports, images and copy. Inside the Dex monorepo, use the app's own components and the tokens in `packages/shared/styles/tokens.css`; every rule below still applies.

Everything lives at https://brand.meetdex.ai: the stylesheet, the logo and image files, and pages that show each rule.

## Dex in brief

Dex is a talent agent for senior software engineers. Engineers chat with Dex about what they actually want, and Dex only connects them with companies that fit, then prepares their applications. Hiring teams get a short list of engineers who have already said yes.

There are two audiences. Engineers dislike being sold to and spot generic copy instantly. Founders and hiring managers want proof: names, numbers and process.

The idea is **first light on work that matters**:

- **Open ground.** The desert is open ground, big enough for serious ambition, not a hardship to get through.
- **Sunrise.** The Dex mark is the sun clearing the horizon. It always reads as a sunrise, never a sunset. When it animates, it rises.
- **Light.** Dex lights up the ground so the right teams, problems and roles come into view. Dex orange is that light: use it like low sun catching the edge of rock, rarely, so it means something.
- **Imagery.** Big skies, long horizons and ancient rock at first light, printed as a halftone. The dots give a technical edge; the orange brings the sunlight in.

## Priority order

When requirements conflict, the higher one wins:

1. **Facts.** Keep supplied numbers, names, quotes, dates and caveats exactly. Keeping a number doesn't mean charting it: give every figure somewhere (a table, the text or the definitions), and chart only what makes the point. Never invent a figure, a client, a logo, a quote or a feature. Never invent or infer money (salary, revenue, fees). If something is missing, ask, or leave a visible placeholder like `[time-to-hire stat]`. Credit a source only for the figures the brief ties to it; for the rest write `[source]`.
2. **The reader's job.** Work out who reads it and what they need to decide. The headline states the finding, not the topic.
3. **Legibility and access.** Contrast, mobile widths, light and dark.
4. **The rules in this file.**
5. **Taste.** If two options both pass, pick the quieter one.

## Set up

### HTML: artifacts, prototypes, reports and decks

**Everything you make is one self-contained file.** It loads nothing from brand.meetdex.ai or any other site when someone opens it: not the stylesheet, not the fonts, not an image, not a script. Our files change, sites move, and the file has to keep working on its own, offline and years from now. The one exception is a tool that can't run commands: see "If you can't run commands" below.

Build it in three steps:

1. **The stylesheet**: download https://brand.meetdex.ai/dex.css and put the whole file, unchanged, in a `<style>` in the `<head>`. It's large because the fonts and logos are inside it, so put it in with a command, never by typing it out or reading it into your context. For example, write `<style>/* dex.css */</style>` in the page, then:

   ```sh
   curl -sO https://brand.meetdex.ai/dex.css
   python3 -c "import sys; p = sys.argv[1]; s = open(p).read().replace('/* dex.css */', open('dex.css').read(), 1); open(p, 'w').write(s)" page.html
   ```

2. **Scripts**: put the code of each script you use (the halftone kit, a chart library) in its own `<script>`, in the order you'd load them, the same way.
3. **Images**: download each one and put it in as a `data:` URI (`base64 < shot-preview.webp | tr -d '\n'` gives `data:image/webp;base64,…`), again with a command.

Then the root class sets the tone:

```html
<body class="dex">          <!-- light -->
<body class="dex dark">     <!-- dark -->
<body class="dex system">   <!-- follows the reader's setting -->
```

Before you hand it over, search the file for anything it still loads from elsewhere, and put whatever it finds inside the file (a `rel="canonical"` link is the one thing it can leave):

```sh
grep -nE '<(link|script|img|source|video|audio|track|iframe|embed|image|use)[^>]*(src|href)=.?(https?:)?//|url\(.?(https?:)?//' page.html
```

- **Never hand over a file that links to brand.meetdex.ai** or any other site for something it shows: no `<link>`, `<script src>`, `<img src>`, `url()` or `@font-face` pointing outside the file. Links people click (`<a href>`) are fine.
- **Don't read `dex.css` into your context** or copy pieces of it. This file documents its whole API (see "The dex.css API"). Never edit it.
- **The fonts come inside `dex.css`** (Easy Grotesk and Geist Mono, embedded). Never load them from anywhere else, and never substitute Inter, a system font or a lookalike.
- **Pick an image file by the width it shows at.** Every brand image and product shot has a `-preview.webp` beside it, 1200px wide: use it for anything shown 1200px wide or less, which covers web pages, artifacts, product shots on slides, and square or portrait social images. Use the full file only when the image spans more than 1200px (a full-width hero on a slide or banner) or for print and video. A page that embeds full files where previews would do is several megabytes for nothing.
- Use only the `dex-` classes and `--dex-*` tokens listed below. Never invent, alias or redeclare a `--dex-*` token. Write your own CSS only for layout (grid, flex, widths, positions, spacing), and take every colour, radius and shadow from a token.
- A few custom properties are settings for you to set, not tokens: `--dex-cols`, `--dex-stack-gap`, `--dex-logo-height`, `--dex-fade-colour`, a bar's or segment's `--value`, `--dex-segments` (how many segments), a key item's `--dex-key` (its colour), `--dex-column-max` (the tallest column's height, set on the `dex-columns`) and `--dex-bar-label` (the width of a `dex-bars` label column, set on the `dex-bars`, for longer labels). On a slide or artboard, size anything of your own in `calc(N * var(--dex-u))` so it scales with the type there; on a slide N is in slide pixels.
- Add no other dependencies (icon kits, UI frameworks, analytics) unless asked. Charts start from the `dex.css` chart classes and plain SVG; for real scales or many points use Observable Plot (see "Charts and data"), with its code in the page like any other script.

#### If you can't run commands

In a chat or artifact tool with no shell, you can't put `dex.css` in the page: it's over 300 KB, most of it the embedded fonts, far too much to type out, and you shouldn't read it. Link it instead, at the address made for linking:

```html
<link rel="stylesheet" href="https://brand.meetdex.ai/v1/dex.css">
```

- **That address never loses a class or a token** this file names, so a page that links it keeps working as the stylesheet improves. Link it, never `/dex.css`, and never copy pieces of it into the page.
- **Link images and scripts by their full URLs the same way**: images from brand.meetdex.ai (the `-preview.webp` by the same rule as above), the halftone kit with `<script src="https://brand.meetdex.ai/examples/dex-halftone.js">`, and Observable Plot from the jsDelivr URLs under "Charts and data". Link nothing else: no other stylesheet, font or kit.
- **If the preview shows a system font instead of Easy Grotesk**, the tool is blocking other sites. Say so; don't restyle the page by hand to make up for it.
- **When you hand it over, say in one line** that the page loads its styles and images from brand.meetdex.ai, so it needs a connection, and that an agent that can run commands can make it self-contained with the steps above.

### Google Slides, Docs and Sheets

Google's apps can't load Easy Grotesk, so use **Hanken Grotesk** (More fonts) at the same weights, in sentence case. Use the hex values from the colour table below. Nowhere else uses Hanken Grotesk.

For decks, start from the Dex Google Slides template (Dex staff only): https://docs.google.com/presentation/d/1SOSie4D5kEHffWN1pBUj8BpRH8MtYLoReVu2hKYIxuM/edit. Make a copy and keep its layouts; don't rebuild them.

### Image tools: Paper, Figma, Canva

Use the hex values from the colour table, Easy Grotesk from https://brand.meetdex.ai/resources/fonts/easy-grotesk-variable, and the files below. Make a light and a dark version of every asset.

## Assets

Use these files. Never redraw the logo, recolour an asset or generate stand-in imagery. Every file is listed with its URL and use in https://brand.meetdex.ai/catalog.json, and https://brand.meetdex.ai/llms.txt maps the whole site.

### Logo

All under `https://brand.meetdex.ai/resources/logo/`. SVG for anything on screen; the PNGs are transparent and 2000px wide.

| File | Use |
|---|---|
| `dex-logo.svg` | The default: orange mark, near-black letters, on paper or white |
| `dex-logo-reversed.svg` | Dark grounds and photographs: orange mark, white letters |
| `dex-logo-black.svg` | One-colour print, embossing, partners who ask for mono |
| `dex-logo-white.svg` | One colour on dark grounds |
| `dex-mark.svg` | Where "Dex" is already written nearby, or space is tight: favicons, avatars |
| `dex-mark-sunrise.svg` | The mark rising, one arc at a time (also as GIF and MP4, light and dark) |
| `dex-logo-square-1024.png`, `-4096.png` | The logo centred on paper, for profile pictures and app stores |

In HTML, `<span class="dex-logo"></span>` and `<span class="dex-mark"></span>` draw the right version for light and dark. Set the width; the height follows.

Logo rules:

- Full colour by default: orange mark, foreground letters. On slides and reports the logo is always full colour, and it doesn't count towards the orange.
- Clear space on every side equals the height of the "e". Never narrower than 52px (16px tall) on screen, where its mark matches the 16px mark on its own, or 20mm in print; below that, use the mark alone.
- Never recolour, flip, rotate, stretch, outline or add effects to the mark. It is a sun rising on the left of the word, never setting.
- Never set "Dex" in another typeface next to the mark to make a new lockup.
- Never put the logo or mark on a block of orange. As an avatar or tile, use the orange mark on paper (`#FDFBF7`) with a hairline edge, never a white mark on orange.
- Never put the logo on a busy part of a photograph. Move it to the sky.

### Brand images

Halftone landscapes, already rendered and faded, in light and dark. The index is https://brand.meetdex.ai/images/index.json: each image has its usage, its fade, its size and a `light` and `dark` file. Use the light file on light pages and the dark file on dark ones; the faded edges match that tone's page colour exactly.

Brand images are decoration and never explain anything. Use them only as a background (a header or footer), as a divider, behind product UI, or for colour beside the headline of a section slide (see "What a brand image is for").

| Group | Fade | Use |
|---|---|---|
| Heroes | Top | Full width only: the header of a page or email, the footer ground at the end of one, or a deck's title slide. The headline or logo sits on the clear sky |
| Dividers | All edges | Between sections of a page, report or email, and at the end of a report |
| Squares, portraits | All edges | The ground of a social post, story or print piece, under its headline, or behind a product shot |
| Panels | All edges, or top for a boxed one | The ground of one box, such as the top of a dialog, or colour beside the headline of a section or event slide |

The files already fade into the page; use them as plain `<img>` tags. Where an image can go is set by its fade (see "Placing an image").

### Product shots

The real app, from https://brand.meetdex.ai/resources/product/candidates and https://brand.meetdex.ai/resources/product/hiring-teams. The index is https://brand.meetdex.ai/product-shots/index.json, grouped by audience:

- **Candidates:** five app screens (sign up, chat, matches, applications, profile). **Mobile at 4:5** is the one to use for slides, docs and social. **Desktop at 16:9** is for YouTube and video, or a page edge to edge.
- **Hiring teams:** four 4:5 scenes showing how Dex works for a company: the hiring brief, matching, the warm intro (Slack to Ashby) and the calibration call. Use them for anything aimed at companies, such as decks, one-pagers and the companies page, beside the text that explains each step.

Every shot comes two ways, in light and dark, at 2×, with a 1200px `-preview.webp` beside each for web pages and artifacts:

- **On a halftone** (JPG). The landscape fades into the page on every edge, so the shot goes anywhere a divider can (see "Placing an image"). This is the default.
- **Transparent** (PNG). The app alone with its soft shadow, cropped close. Use it where the halftone would be too illustrative, such as a formal deck, a board pack or a partner's template, or when the shot sits on a background you made, as in a video or a creator's own post. Put it on clear paper or a plain ground, never on a busy photograph, and never add your own frame, tilt or device around it.

Use these whenever you need to show the product; never mock up the app yourself for marketing.

**Size them to be read:**

- **A slide:** one 4:5 shot, about 36% of the slide's width (700px of 1920), beside the headline and copy, inside the slide's margins and clear of the footer. Never two side by side, and never four as thumbnails.
- **A4:** a 16:9 shot spans the text width (170mm); a 4:5 shot sits beside its text at about half the text width (85mm). Both stay inside the 20mm margins. One shot per sheet.
- **A web page:** at most two side by side. To walk through several steps, give each step its own row with its shot beside the text.
- **Video:** the 16:9 desktop shots, full frame, or a transparent one over your own footage.

### Everything else

- **Quotes:** https://brand.meetdex.ai/quotes.json, the signed-off quotes from candidates and hiring teams, each with a name, role, company and photo, as on the website. Use a quote whole and word for word with its attribution; never edit, shorten, combine or invent one. These are the only quotes you may use, with one exception: inside a client's own report, a quote from that client's team that the brief supplies may appear word for word, attributed by role only ("Head of Engineering, Series A fintech"), with no name, photo or quote mark, as a `dex-quote--sm` between fading rules. If nothing fits, leave a `[quote]` placeholder. They're signed off for public use with their name, role, company and photo, so showing a quote doesn't count as naming a client; claiming a company as a client or placement in your own words still needs the brief's say-so. Put the photo beside the name in the citation, as the small soft square `dex-quote-cite` draws. A quote backs the point it sits beside; if no signed-off quote says what the slide or section says, leave it out.
- **Quote marks:** `https://brand.meetdex.ai/resources/quote-mark/dex-quote-mark-{small,medium,large}-{light,dark}.svg`. The outline quote mark with a rough paper edge. `-light` is for light grounds and `-dark` for dark ones. Never set quote marks in a serif.
- **Client logos:** https://brand.meetdex.ai/resources/logos, with a zip. Each client comes as `-dark` (a dark logo for light grounds), `-light` (for dark grounds) and `-colour`, for example `resources/logos/clients/linear-dark.svg`. Only show clients from this set, and only name a client as a placement or customer when the brief says you can.
- **Social banners:** https://brand.meetdex.ai/resources/social-banners, finished banners for LinkedIn, X, YouTube, Luma and Instagram, plus the profile picture.
- **Product walkthrough:** https://brand.meetdex.ai/resources/walkthrough, a 16:9 and a 9:16 video.
- **Fonts:** Easy Grotesk at https://brand.meetdex.ai/resources/fonts/easy-grotesk-variable (licensed for Dex work only) to install for design tools; in HTML it comes embedded in `dex.css`. Geist Mono is free on Google Fonts, and embedded in `dex.css` too.

## Colour

Use the token. Hex values are for tools that can't read CSS.

| Token | Light | Dark | Use |
|---|---|---|---|
| `--dex-background` | `#FDFBF7` | `#131212` | The page: warm paper in light, warm near-black in dark |
| `--dex-foreground` | `#0A0A0A` | `#FAFAFA` | Text |
| `--dex-muted-foreground` | `#6F6F6F` | `#A1A1A1` | Secondary text, labels, sources, logo walls |
| `--dex-card` | `#FFFFFF` | `#1B1A1A` | Cards, fields, dialogs |
| `--dex-border` | `#D7D7D7` | `#333333` | Hairlines |
| `--dex-primary` | `#171717` | `#E5E5E5` | Default buttons and selected controls (black, not orange) |
| `--dex-secondary`, `--dex-muted` | `#EBEBEB`, `#EEEEEE` | `#262626` | Quiet fills |
| `--dex-app-background` | `#FEF1EB` | `#0B0A0A` | The peach behind the app shell only |
| `--dex-brand` | `#FF4A00` | `#FF4A00` | Dex orange. Pantone 1655 C, CMYK 0 86 100 0 |
| `--dex-brand-strong` | `#D43B00` | `#FF4A00` | Orange text at small sizes (Dex orange is only 3.3:1 on paper) |
| `--dex-chart-context` | `#C6C6C6` | `#5C5C5C` | Every bar or line that isn't the point |
| `--dex-chart-ink` | `#4A4A4A` | `#B5B5B5` | Axis lines, diagram lines |
| `--dex-chart-wash` | orange at 12% | orange at 16% | The highlighted table row |
| `--dex-chart-area` | orange at 12% | orange at 8% | The area under the highlighted line |
| `--dex-destructive` | `#DC2E3E` | `#FF6467` | Errors only |
| `--dex-success` | `#03843A` | `#22C55E` | Success only |
| `--dex-warning` | `#FFB922` | `#FFB922` | A warning fill: a dot, a tint, a solid pill. Too light for text |
| `--dex-warning-foreground` | `#2F1E02` | `#2F1E02` | Text on a warning fill |
| `--dex-warning-strong` | `#9A5B00` | `#FEBF32` | Warning text and icons on the page or on a tint |
| `--dex-info` | `#007BB8` | `#00A6F4` | Information only |

Rules:

- **Orange is minimal.** Use it on the few small things that carry the point: the main action, the number that matters, the highlighted bar, the selected thing. If taking an orange away loses nothing, take it away. The logo, the halftone's sunlight, product shots and quote marks don't count towards it.
- **Never an orange background.** No orange pages, slides, sections, cards, panels, banners or large shapes. The only orange areas are a selection wash (orange at 10–20%) and the halftone's sunlight.
- **Never orange for** body text, borders on every card, tags, success or warnings.
- **Neutrals are pure grey.** Warmth comes only from the paper, the peach app background and the orange. The one exception is internal tools such as Rolodex, which put `theme-neutral` on `<html>`: in light mode the paper, the shell and its tint (`--dex-background`, `--dex-app-background`, `--dex-app-foreground`) become plain greys (`#FCFCFC`, `#F5F5F5`, `#D9D9D9`). Anything made for candidates or clients keeps the warm paper. No beige, brown, blue-grey or tinted greys.
- **Status colours are for status.** Red, green, amber and blue mean error, success, warning and information, with an icon or a word, never colour alone. Never use them for decoration or as chart series.
- **Small orange text** uses `--dex-brand-strong`. Body text reaches 4.5:1.
- **No gradients**, except the image fades and the fading ends of hairlines.
- **Dark mode is first-class.** Make everything work in both. Dark is warm near-black, never blue-black or pure black. Orange stays the same.

## Type

- **Easy Grotesk for everything**: headings, body, UI and big numbers.
- **Geist Mono only for small technical text**: chart ticks, axis labels, table figures, IDs, timestamps and group labels in diagrams (the `dex-label` and `dex-num` classes). Never for headings, kickers or big numbers. A short label such as "Step 1" may be mono; names, URLs ("meetdex.ai") and anything read as words, such as "Prepared for Fintrail", stay in Easy Grotesk.
- **Sentence case everywhere**: headings, buttons, nav, labels and slide titles. Never Title Case, never ALL CAPS, never letter-spaced eyebrows.
- **No full stop at the end** of a heading, button, nav item, card title, slide title or email subject line.
- **Weights**: 400 body, 500 buttons, labels and tabs, 600 headings, 700 only for the main title in an app view. Never below 400 or above 700.
- **Headings** are semibold with tight tracking, balanced across lines, and, on a web page, no more than two lines on a 390px-wide phone and up. At 320px a third line is acceptable; shorten the headline rather than shrink it.
- **Line length**: body copy 40rem at most (`dex-prose`), ledes 36rem (`dex-lede`).
- **No emphasis.** Never stress a word with italics, a heavier weight, colour or an underline, in a headline or anywhere else; let the words carry the point. Italics only for the title of a book or report in body copy.

## Lines, surfaces and depth

- **Hairlines, not borders.** One device pixel (`--dex-hairline`), drawn in `--dex-border`. Nothing thicker, except a focus or selection edge.
- **Rules fade at their ends** (`dex-rule`, `--dex-fade-x`, `--dex-fade-y`). Avoid hard full-width lines.
- **Grids divide inside, never box.** Columns, stats and logo walls get fading hairlines only between items, never around the outside, and cells get no fill (`dex-cols--divided`, `dex-stats`). A fully outlined grid reads like a spreadsheet.
- **Don't decorate dividers.** No ornaments, dots or half-suns on a rule, and no divider lines inside cards. Separate sections with space and type.
- **Radius**: `xs` 4px for checkboxes and logo tiles, `sm` 6px for small buttons and menu items, `md` 8px for buttons, fields and tooltips, `lg` 10px for cards, dialogs and choice cards, `xl` 12px for product frames, and `full` (`--dex-radius-full`) for chips, badges, avatars and switches. Nothing rounder than 12px except pills.
- **Shadows** are soft, layered and faint: `--dex-shadow-xs` is a hairline drawn inside, `sm` for cards, and `lg` for anything floating: popovers, menus, dialogs and toasts. Cards get their edge from the shadow's hairline ring, not a stroke. A bar or panel pinned to an edge of the screen takes the edge shadow that falls away from it (`--dex-shadow-edge-b` below a bar at the top; `edge-t`, `edge-r` and `edge-l` for the other sides), with a hairline on its inner side only and no ring. Never write a drop shadow by hand; a ring with no blur that draws an edge or a state is a border, with its colour from a token. Never heavy, dark or coloured shadows, glows, glass, blur or neumorphism.

## Imagery

- **Brand images are desert mesas, canyons, big skies and long horizons at first light**, printed as a halftone: mostly grey dots on the paper, with orange only where the sun falls. Use the files in "Brand images"; never generate or source others.
- **No people in brand landscapes.** People appear only as real candidates, clients and team members.
- **Images fade into the page** at an edge, never sit in a hard box. Use the exact curves in `dex-image--fade-*`; never invent a simpler linear fade.

### What a brand image is for

Brand images are decoration. They set the place and the light, and they never explain anything: not a step, a feature, a process or a point. Use one in only these ways, on a web page, email, report, slide, social image or anything else:

1. **A background, at the top or the bottom.** A header: a hero across the top of a page, an email or a deck's title slide, with the headline or logo on its sky. A footer: the ground at the end of a page, report, email or closing slide, the last thing there. On a social image or banner, the ground under the headline.
2. **A divider.** A strip between sections of a page, report or email, marking a change of subject, with clear paper above and below. One between two sections, never one between every section.
3. **Behind product UI.** The ground behind a product shot, a mocked screen, a dialog or a card from the app, so the product sits in the landscape. The UI is the subject; the halftone stays behind it and fades out around it. The product shots on a halftone are already made this way.
4. **Colour on a slide that only names something.** Beside the headline of a section slide, an event slide or a full-bleed pause, where the slide says what comes next and the image just gives it some light. If the slide explains anything, it isn't this.

**When something needs a picture to explain it, the picture isn't a brand image.** Use, in this order:

- **A product shot.** The hiring-team scenes (brief, matching, warm intro, calibration) show how Dex works for a company; the candidate screens show what an engineer sees (see "Product shots").
- **A diagram**, built with `dex.css` (see "Diagrams").
- **A component** from `dex.css`, such as a card, a toast or a table, showing the thing itself.
- **A placeholder.** If none of those shows it, leave a visible placeholder that says what the picture should show (`[image: an engineer's shortlist, three names with fit scores]`), and tell whoever asked that someone needs to make it. Never fill the gap with a brand image.

Never use one any other way:

- **Never beside text that explains,** such as steps, features, points, a process or a quote.
- **Never as a card thumbnail, a gallery, a tile or an avatar,** or repeated in a grid of items.
- **Never behind body copy,** a chart or a table; only a headline or logo sits on its sky (see "Type sits on the sky").
- **Never as a texture or pattern:** tiled, masked into a shape, cropped into a circle, set at low opacity under other content, or used to fill an icon or letters.
- **In an email,** only a hero as the header, a divider between sections or a hero as the footer ground, never an image inside a paragraph or beside a button. A short, personal email gets none.

### Placing an image

An image's hard edges must always meet another edge. There are three ways to place one, and nothing else:

1. **Full bleed.** A hero runs the full width of the window or slide, edge to edge, outside the page column. At the top of a page its sides meet the window, it fades only at the top, through the sky, and its bottom edge runs straight across where the next section starts: never fade a hero out at the bottom as well; as the last thing on a page (the footer ground, like the website's) its bottom is the bottom of the page and the footer row sits directly above it. Nothing comes after it. On a deck's title slide it fills the lower part and runs off the bottom edge (see "Slide decks").
2. **Faded in the page.** Inside the page column, between sections or behind a product, use an image that fades on all edges: a divider, square, portrait, panel or product shot. These dissolve into the paper, so they work at any size and position inside the column. On anything with edges (an A4 page, a slide, a social image) they stay inside its margins: a fade that reaches the paper's edge reads as cropped, so never let one touch it or bleed off it.
3. **Boxed.** Any image can fill a box with a hairline edge and a radius, such as a card or dialog: the image runs to the box's edges and the box's hairline bounds it (a `dex-card` with `padding: 0; overflow: hidden`). The files fade to the page colour, not white, so give a box with a faded image the page background (`--dex-background`), or the fade shows a seam.

Never put a hero, or any image with a hard edge, loose in the page: inside the column with its sides or bottom showing against the paper.
- **Show the landform whole.** Keep the summit, the lit edge and the base in frame. Never crop the top off the rock.
- **Fade through sky, never through the subject.** If the fade reaches the rock, it turns into a grey smudge.
- **Give the image room.** If copy and image don't both fit, cut the copy before you shrink or crop the image.
- **Type sits on the sky or on clear paper,** never on busy dots.
- **Not Dex:** stock photography, people at laptops, 3D blobs, isometric illustration, abstract gradients or orbs, glowing tech, emoji, AI sparkles, neon or tech-blue palettes.

### Interactive halftone

On a web page, prototype or artifact, a brand image can be the live halftone the website uses: the orange washes in once like a sunrise, from where the sun sits in the photo, and the dots under the pointer break into static. It's what makes meetdex.ai feel alive, so use it where someone will scroll and move a pointer, and nowhere else.

**When:**

- Only in interactive HTML: the hero of a landing page or prototype, a divider between sections, the ground at the foot of a web report.
- **Heroes run the full width; dividers stay inside the page column** (`dex-page`), fading on every edge. Never stretch a divider to the window's edges.
- **A hero fades at the top only** (`fade: 'top'`), through the sky; its bottom edge runs straight across where the next section starts. Never `'top-bottom'` on a hero.
- One sunrise plays on load, on the hero. Any other halftone plays its sunrise once as it scrolls into view. Three live halftones on a page at most.
- Only on big images, about 400px wide or more. Never on small images, inside cards or the product, or behind body copy.
- Never on anything that ends up still: slides, PDFs, print, social images, email, screenshots or product shots. Those use the image files.
- If the page can't run scripts or WebGL, use the image files instead.

**How:** build it into the page itself, like everything else (see "HTML" under "Set up"): the page has to keep working on its own, and these files change when the website does. With no shell, link the script and the photo's `url` instead (see "If you can't run commands").

1. Fetch https://brand.meetdex.ai/examples/dex-halftone.js and put the whole file, unchanged, in a `<script>` in your page.
2. Pick a photo from https://brand.meetdex.ai/examples/halftone-photos.json, fetch its `url` and embed it as a `data:image/jpeg;base64,…` URI. Each photo comes with the sunrise the website gives it: its `reveal` (the preset, the direction and where the sun is) and its `fitOrigin` (which part of the photo to keep when it's cropped). Use them, so the light comes from the right side.
3. Mount it on an element with a size:

```html
<section id="hero" style="position: relative; min-height: 70vh"><!-- the headline and copy --></section>
<script>
  /* the whole of dex-halftone.js */
  DexHalftone.mount(document.getElementById('hero'), {
    image: 'data:image/jpeg;base64,…',
    fade: 'top',
    reveal: { ...DexHalftone.presets.hero, origin: [0.03, 0.56] },
    fitOrigin: [0.18, 0.5],
  })
</script>
```

- **Presets:** `presets.hero` on load for the hero; `presets.divider` on scroll for everything else.
- **Fade** by where the image sits, as in "Placing an image": `top` for a hero, with content below it or not, and `edges` for a divider, which always sits inside the page column.
- **Tone** follows the page (`tone: 'auto'`), so it switches with light and dark.
- It already respects reduced motion (no sunrise, no static, fully inked) and leaves the element in the page colour where WebGL isn't available.
- Never change the colours, dot size or shader settings, add filters on top, or use your own photo.

The example page is https://brand.meetdex.ai/examples/halftone.html.

### Icons

[Lucide](https://lucide.dev) only, as outline strokes in `currentColor` or muted grey. 16px beside body text, 12–14px beside small text, with a line of about 1.25px. Never filled, multicoloured or orange. Use an icon only when it adds meaning; never put icons in circles.

**On slides**, icons may mark a set of matching items: the columns of a three- or four-column slide, the steps of a process, the parts of the ask. One icon sits above each item's title (a `dex-h2` or `dex-h3`), at the title's size, in muted grey, as a plain stroke with nothing behind it: give the `<svg>` the `dex-slide-icon` class and `dex.css` sets its size, colour, stroke and spacing.

- Every item in the set has one, or none does. Each icon must say something about its item; if Lucide has nothing that fits one of them, drop the icons and use a mono label ("Step 1") instead.
- Two or three slides in a deck at most, so they mark the key moments.
- Never on a headline, kicker, stat, chart, table, quote, the title or a section slide, and never on one item alone.
- Copy each icon's SVG from lucide.dev into the slide; never load an icon library.

```html
<div class="dex-cols dex-cols--divided" style="--dex-cols: 3">
  <div>
    <svg class="dex-slide-icon" viewBox="0 0 24 24" fill="none" stroke-linecap="round" stroke-linejoin="round"><!-- Lucide "files" paths --></svg>
    <h3 class="dex-h3">Hundreds of CVs, few worth a call</h3>
    <p class="dex-body">You screen every application, and the engineers you most want rarely apply.</p>
  </div>
  <!-- two more, each with its own icon -->
</div>
```

## Components and states

Every control moves through the same states with the same tokens. `dex.css` draws all of them; these rules are for when you build or describe one.

**Each component has a page of HTML for you** at `https://brand.meetdex.ai/components/` plus its name and `.md`: for example https://brand.meetdex.ai/components/combobox.md, https://brand.meetdex.ai/components/date-field.md or https://brand.meetdex.ai/components/slider.md. Each gives the `dex.css` markup, its states and its rules, and says plainly what `dex.css` doesn't draw. https://brand.meetdex.ai/llms.txt lists them all. Fetch the page for a component before you build one. The same addresses without `.md` show the Dex app's React components, which only work inside the Dex codebase: never import `@dex/shared` in your own work.

### States

| State | Fields, checkboxes, radios, chips, choice cards |
|---|---|
| Rest | Border at 25% of the text colour (`--dex-control-border-subtle`) |
| Hover | One step up: 50% (`--dex-control-border`) |
| Focus | 75% (`--dex-control-border-strong`), as a 1px edge inside the control. Nothing is drawn outside it, so focus never clashes with its neighbours. No glow, no outer ring. The one exception is a bare text link, which takes the same edge as a 1px outline 2px out |
| Selected | Primary: near-black in light, near-white in dark. Never orange |
| Focus while selected | The primary edge plus a 1px inner line |
| Error | Red border (`--dex-destructive`) and one sentence underneath; on focus the red doubles with a red inset |
| Disabled | The whole control at 50% with a muted fill. A selected answer keeps its primary fill so it still reads as chosen |

Borders carry state, never shadows or glows. Switches never show an error, and plain fields can't be selected.

### Buttons

One orange button per screen; everything else is black or quieter.

| Variant | Class | Use |
|---|---|---|
| Brand | `dex-button--brand` | The one main action on a screen: "Ask Dex", "Tell Dex what you're looking for". In the app itself the orange is the send button; "Start application" is primary black |
| Default | `dex-button` | Primary black. Every other main action |
| Outline | `dex-button--outline` | Secondary actions: "Cancel" |
| Secondary | `dex-button--secondary` | Quiet controls in toolbars: "Filters" |
| Ghost | `dex-button--ghost` | Tertiary, beside a primary: "Back" |
| Destructive | `dex-button--destructive` | Only to confirm a destructive step: "Delete", "Withdraw" |
| Link | `dex-button--link` | Inline, in running text |

- **Sizes**: `--sm` 32px, default 36px, `--lg` 40px, `--xl` 48px for hero calls to action only.
- **Hover**: solid buttons (brand, default, destructive) go to 85%, secondary to 80%, outline steps its edge from the hairline colour to 25%, ghost gets a faint 5% fill, and link underlines. **Focus** on a solid button is a 1px line in its text colour just inside the edge; quiet buttons take the 75% control edge.
- **Disabled** buttons fade to 50%, for actions that genuinely aren't available. Never disable a button because a field is empty: keep it active, and pressing it shows the error on the field.
- Labels say exactly what happens, in sentence case: never "Get started", "Learn more" or "Submit".

### Fields and errors

- **44px tall with 16px text** at every size, so phones never zoom in. Placeholder in muted grey, the value in the text colour.
- **Read-only** fields take a muted fill, a lock icon and helper text saying where the value came from ("From your CV"). A read-only value the person is meant to copy (a link, a code) drops the lock and gets a Copy button beside it.
- **An error turns the border red and adds one sentence underneath** that says what to do, ending in a full stop. It replaces the helper text while it shows.
- **Start error messages with one of four verbs**: Enter, Choose, Upload or Accept. Never "Please", "required", "invalid" or "This field".

| Case | Message |
|---|---|
| A typed field left empty | Enter your work email. |
| The wrong format | Enter an email address like name@company.com. |
| Nothing chosen | Choose a notice period. |
| A group with nothing chosen | Choose at least one option. |
| A file rejected | Upload a PDF or DOCX under 10 MB. |
| A server or network problem | We couldn't send your answers. Try again, or email hello@meetdex.ai. |

- **In a group, every option turns red.** Form-level errors are only for server or network problems.

### Selected

Selected always means primary, never orange. There are four forms:

- **Fill**: checkboxes, radios, switches, chips and calendar days. The background and border go primary; the mark goes primary-foreground.
- **Border**: choice cards keep their card surface so the description stays readable. The border goes primary and the control inside fills.
- **Tick**: menus and selects. The chosen item gets a tick at the end; the muted fill only follows the pointer or keyboard.
- **Raised**: a segmented control switches a view, so its active item lifts off a muted track (`dex-segmented`).
- **The shell's tabs** are the other exception: the app's Matches, Applications and Profile tabs mark the current page with a peach tint (`dex-tab` with `aria-current="page"`), because they sit on the peach shell.

### Surfaces and feedback

- **Cards** (`dex-card`): card fill, `lg` radius, the `sm` shadow.
- **Dialogs** (`dex-dialog`) sit on a `dex-scrim` backdrop: a title, one plain sentence, then the actions on the right, the safe one first ("Cancel", then "Withdraw").
- **Popovers and menus** have no border and an 8px radius; the `lg` shadow does the work.
- **Tooltips** (`dex-tooltip`) are a foreground fill with background text.
- **Show more** (`dex-show-more`) opens the rest of a list cut short: the small outline button (`dex-button dex-button--outline dex-button--sm`) between two hairlines, "Show 3 more" then "Show less", with a chevron that turns. `--plain` drops the hairlines where a card's edge already marks the end.
- **Toasts** (`dex-toast`) sit in a corner: a title, one line and at most one action ("Application sent · Synthesia will see it today · Undo").
- **Badges** (`dex-badge`) are static labels: a neutral grey pill by default, never pressed. A tone says what one means (`--info`, `--success`, `--warning`, `--danger`) and a variant how loudly: a tint by default, `--dot` for a status in a table (a neutral pill with the tone as a dot), `--solid` for the one thing that must not be missed, and `--outline` for a tag such as a skill, which has no tone. `--muted` quietens a neutral badge's text. Three sizes: `--sm` (20px), the default (24px) and `--lg` (30px). Keep tones for real status, with the status in words too, and never orange. A number on its own is a `dex-count` (`--muted` at zero, `--danger` for something waiting, `--strong`, `--sm`). Two facts that belong together, such as a source and its date, share one badge with a `<span class="dex-badge__divider"></span>` between them, once per badge.
- **Notes** (`dex-note`) are a line of information in the flow of a page, with one or two small buttons on the right when there's something to do (`dex-note-actions`: a `--ghost` one such as Ignore that sets it aside, never an X, then the action as a default `dex-button` on the outside edge). The same tones as a badge, with a hairline edge by default and `--fill` for a tint, inside a card. `--sm` for a dense pane. Never orange.

## Making each kind of thing

### Web pages and prototypes

- **Left-aligned and editorial.** Headlines and body sit on the left. Centre only small promo cards, empty states and logo walls.
- **Heading levels**: the page's hero headline is `dex-display`, each section's headline `dex-h1`, step and card titles `dex-h3`.
- **Steps** (how it works) sit in divided columns with a mono label ("Step 1"), a `dex-h3` title and a short paragraph. When each step has a product shot, give each step its own row instead, the shot beside the text, alternating sides if you like, and stacked on phones. That is not the rejected feature grid, which is generic icon-in-circle cards.
- **The page**: `dex-page` (72rem column), sections with `dex-section`, a kicker, headline and lede stacked with `dex-stack`.
- **The first screen makes the point.** A headline that says what Dex does for this reader, a short lede and at most one orange button. No hero image above the headline.
- **Controls** follow "Components and states": one `dex-button--brand` per screen, buttons never disabled while waiting for input, 44px fields, errors that say what to do, and selected means primary, never orange.
- **Mobile first.** Design at 360–390px wide and check at 320px. Text never truncates; drop icons before shrinking text. Buttons go full width on phones.
- **Show only what helps.** No tallies ("2 of 5 matched"), counts beside headings, or provenance lines under items. A heading and the items themselves are enough.

### Product UI mocks

Prefer a product shot. When you must mock the app (a prototype or a new feature), start from https://brand.meetdex.ai/examples/prototype.html: the real shell and the Chat, Matches, application and Applications screens, with their dialogs, menus and toasts, built from the app's own code. Put your new feature in its main panel, and:

- **Real, not idealised.** Same tokens, sizes and layout as the app. No invented features, wireframe boxes, grey bars for text, glass, gradients, 3D tilts or device mockups.
- **Real content.** Real company names with their real logos, UK roles, salaries as the app shows them ("Up to £140,000"), real-looking locations as the app shows them ("London · 3 days/wk"). Never lorem ipsum, "Company Name" or dollars. A company that can't be named appears as "Stealth".
- **The shell**, from left to right along the top: the Dex mark, then the Matches and Applications tabs; on the right, the person's 20px photo or initials with "Profile" (also a tab) and a settings icon. Tabs are `dex-tab`. Under it on desktop, a chat column about a third wide sits straight on the peach `--dex-app-background`, and the main panel is a paper card (`--dex-background`, `lg` radius, `sm` shadow) holding white cards. Dex's chat messages are plain text with no bubble; the person's are right-aligned bubbles in the peach tint (`--dex-app-foreground` at 50%); the composer ("Message Dex…") is a field at the bottom of the chat column. On phones the chat column hides behind a "Chat" button.
- **Matches shows one match at a time**, on a role page with the role card, "Why Dex matched you" and an action bar (Start application, Save for later, Skip), never a grid of cards.
- **Orange in one or two places**: the mark, the send button once there's a message, or one selection edge (an inset 1px ring at orange 55%). The role page's main action, "Start application", is primary black, as in the app. Never orange tags, text or backgrounds.
- **Phones**: below 1024px the chat column moves behind a Chat button at the bottom right, and below 640px the top bar drops the Dex mark and the panel runs edge to edge. Never use a real person's photo for the mock candidate; use initials.
- **Scale and crop to make it readable,** never thicken lines or bump weights.

For a clickable prototype:

- **Plain HTML, CSS and a little vanilla JavaScript**, one file, built from `dex.css`.
- **Put prototype-only controls outside the design**, on any mock, clickable or not: a slim bar labelled "Prototype" with a screen jump and a light/dark switch, so the screens themselves stay real.
- **The flow can be new; the details you guess must be marked.** Invented URLs, settings paths in other products and copy you weren't given go in brackets (`[connector URL]`) or are listed back to whoever asked. Never present a guess as fact.
- **Other products appear by name only.** Don't draw their logos from memory; use a file only if you were given one.

### Slide decks

Build HTML decks with `dex-deck` and `dex-slide`. A slide is drawn at 1920 × 1080 and scales to its width. Inside it every class is sized in slide pixels (`--dex-u` is one pixel of the 1920 slide), so `dex-h1` is 72px on a 1920 slide, and anything of your own is `calc(N * var(--dex-u))`.

**Start from the example deck.** https://brand.meetdex.ai/examples/deck.html builds every layout below, in this order, with a comment above each saying what it's for, what fits and where the orange goes. For each slide, pick the layout that fits what it has to say, copy its markup and change the words. Don't invent a layout when one of these fits, and don't make every slide the same one.

| Layout | Use it for | What fits | The orange |
|---|---|---|---|
| Title | Opening a deck | Title 2 lines; lede 2 lines | Lit rock |
| Agenda | Listing sections | 3–6 items, one line each | Kicker |
| Section · number | Starting a section | 1-line title; 2-line lede | Number |
| Section · image | Starting a section, with some colour | 2-line title; 3-line lede | Lit rock |
| Statement | One idea, said big | 2 lines, about 10 words | Kicker |
| Text | Explaining in prose | 2 paragraphs, 60 words | Kicker |
| Two columns | Before and after, us and them | 20 words a column | Kicker |
| Three columns | Three reasons or problems | 15 words a column | Kicker |
| Four columns | Four groups or options | 12 words a column | Kicker |
| Big number | One figure that proves the point | 1 figure; 15-word line | Figure |
| Stat row | Three figures together | 3 figures; 12 words each | First figure |
| Chart · bars | Comparing a few values | 3–6 bars | Dex bar |
| Chart · small multiples | Two breakdowns side by side | Up to 5 rows each | One bar |
| Chart · line | Change over time | 2 lines, 6–12 points | Dex line |
| Chart · range | Ranges and medians | Up to 5 rows | One range |
| Table | Comparing options on 3–4 traits | 4–6 rows, 6 words a cell | Highlight row |
| Steps | A process in order | 4 steps, 15 words each | Kicker |
| Timeline | Weeks or months ahead | 4 points, 12 words each | Kicker |
| Quote | One client voice | 35 words | Quote mark |
| Quotes | Several client voices | 3 quotes, 25 words each | Kicker |
| Logo wall | Who hires through Dex | 8 wordmarks | Kicker |
| Text and product shot | Explaining how Dex works, beside the app | 3 points, 12 words each | App |
| Full-bleed image | A pause or a mood | Headline only | Lit rock |
| Product | Showing the app | 3-line headline; 30 words | App |
| Team | Who you'll work with | 3–4 people, 20 words each | Kicker |
| Pricing | Plans side by side | 3 tiers, 3 lines each | Recommended tier |
| Closing · call to action | Ending with one ask | 3-line headline; 1 button | Button |
| Closing · contact | Ending with a person to call | 2-line headline; contact | Lit rock |
| Appendix | Starting the appendix | 2-line title | Kicker |
| Metrics | Monthly or quarterly update | 4 KPIs with changes | Lead KPI |
| Roadmap | Now, next and later | 3 items a column | Kicker |
| Code | Showing an API or snippet | 8 lines, 70 characters | Kicker |
| Event | Talks and meetups | Title, when, where, speaker | Lit rock |

If the words don't fit what a layout holds, cut words or split the slide; never shrink the type.

**Tone paces the deck.** Content slides are light. The title, every section slide, statement slides and the closing slide are dark (`dex dark dex-slide`, with the `-dark` image files), so the deck's shape reads at a glance. For a dark room, make every slide dark. A brief that asks for a light deck means light content slides; the title, sections, statements and close stay dark. Never light breaks between dark content slides, and don't add a theme switcher to a deck.

```html
<div class="dex-deck">
  <section class="dex dex-slide">
    <p class="dex-kicker">Speed to hire</p>
    <h2 class="dex-h1">Dex teams make offers in 29 days, against 55 through job boards</h2>
    <p class="dex-lede">Days from first introduction to signed offer, by channel</p>
    <div class="dex-slide-body"><!-- one chart, table, stats row or columns --></div>
    <p class="dex-source">Source: [where the numbers came from, and when]</p>
    <footer class="dex-slide-footer"><span class="dex-logo"></span><span>meetdex.ai&#160;&#160;&#160;12</span></footer>
  </section>
</div>
```

- **One idea per slide.** A kicker naming the topic, a headline stating the finding in at most two lines, a lede saying what's measured, one piece of evidence, the source, the footer.
- **The headline states the finding**: "Seven in ten engineers on Dex clear our quality bar", not "Candidate quality". A `dex-h1` holds about 30 characters a line; break long ones by hand so the lines balance, never with one word on the last line.
- **The evidence adds something the headline doesn't.** Don't repeat the headline in the lede, a stat's label or the columns. If the headline already says it all, use a statement slide.
- **Two values compared** (29 days against 55) are a big number slide, the comparison in its detail line, not two columns.
- **Slides are for the audience.** A placeholder names what's missing (`[source]`, `[contact]`); a question for a colleague ("confirm this is a median") goes back to whoever asked for the deck, never onto a slide. Say who the deck is for in the title's kicker, and frame the findings for that reader.
- **Every slide gets the footer** except the three that carry an image where it would sit: the title, a full-bleed image and the closing contact. The footer is the logo left, "meetdex.ai" and the page number right, running the full width; number the slides in order, the title being 1. On every other slide keep images clear of the footer (a side image faded on every edge, as the example deck's section and text-and-product-shot slides do), so the footer always sits on plain ground.
- **Orange stays small**: one orange point per slide, the one in the table above, or nothing. If nothing else on the slide is orange, the kicker may be `dex-kicker--brand`. The logo and the halftone's lit rock don't count.
- **The title**: dark, the logo top left (no footer), a kicker naming who it's for and when ("Prepared for Lumen Health · March 2027"), a `dex-display` headline stating the main finding, an optional lede, and the dark hero across the bottom.
- **Section slides**: dark. Either the section's number (`dex-section-number`, the slide's orange) with a `dex-statement` headline and a lede beside it, or a `dex-statement` headline and lede beside a dark halftone faded on every edge, there for colour only. Copy both from the example deck.
- **Statement slides**: dark, a kicker and one `dex-statement` sentence of about ten words in the middle of the slide (`dex-slide-body--middle`). Use one for the idea the deck turns on, a vision or a principle, rather than a headline over an empty slide.
- **A single figure** is a big number slide: `dex-big-number` (with `--brand` for the orange figure), then a `dex-big-number-detail` line saying what it is and what it beats. Never a small `dex-stat` alone on a slide.
- **Use the slide's height**:
  - **Columns of text, steps, tables and the agenda** start 72 below the lede (`dex-slide-body` does this) and their own height fills the slide. Column titles are `dex-h2`, their text `dex-body dex-muted`. Never float a short row of columns in the middle of the slide.
  - **A few values side by side** (time to hire by channel): columns (`dex-columns`), which stand on their baseline just above the source line.
  - **A ranking** (`dex-bars`): the bars open up and sit in the middle of the space on their own.
  - **A row of stats**: give each a title and a line of detail (`dex-stat-label` then `dex-stat-detail`), and put the row in the middle with `dex-slide-body--middle`.
  - Text slides leave the right of the slide open: headlines and text run about 1,000 to 1,200 wide. That's the layout, not empty space to fill.
- **Columns** share the width with equal gaps and a fading hairline in each gap (`dex-cols dex-cols--divided`, `--dex-cols: 3`).
- **Printing**: a `dex-deck` prints one slide per 1920 × 1080 page on its own.
- **Presenting from a browser**: on screen the slides stack down the page. In full screen (or with `dex-deck--present`, which fills the window), `dex-deck` shows one slide at a time, filling the screen and snapping between slides. Add this and nothing more; F goes full screen, the arrow keys move:

```html
<script>
  const deck = document.querySelector('.dex-deck')
  const slides = [...deck.querySelectorAll('.dex-slide')]
  const current = () => slides.findIndex((s) => s.getBoundingClientRect().bottom > innerHeight / 2)
  addEventListener('keydown', (e) => {
    if (e.key === 'f') return document.fullscreenElement ? document.exitFullscreen() : deck.requestFullscreen()
    const step = { ArrowRight: 1, ArrowDown: 1, PageDown: 1, ' ': 1, ArrowLeft: -1, ArrowUp: -1, PageUp: -1 }[e.key]
    if (!step) return
    e.preventDefault()
    slides[Math.min(slides.length - 1, Math.max(0, current() + step))]?.scrollIntoView({ block: 'center' })
  })
</script>
```

- **Icons** may mark the items of one set on a slide, such as three columns or the steps, on two or three slides in a deck at most (see "Icons").
- **The ask** (a closing proposal slide): the headline states the ask as a sentence ("Renew for 2027 and add three roles"), then its parts in divided columns, each a `dex-h2` and one line, and the next step and who to contact in the source line's place.
- **The close** is dark: a closing call to action (the ask as a `dex-statement`, with at most one `dex-button--brand dex-button--xl` naming it, the slide's one orange and the only button allowed on a slide) or a closing contact (a headline, the person's name and email, a dark halftone). Never invent contact details; leave `[contact]`.
- **Before you hand over a deck**, render it and look at every slide at 1920 × 1080 if you can: nothing clipped or overlapping, no slide that's a headline over empty paper, and no run of slides in the same layout.
- In Google Slides, copy the Dex template (see "Google Slides, Docs and Sheets") and follow the same structure.

### Charts and data

Every chart below is on https://brand.meetdex.ai/examples/charts.html, built with `dex.css`, plain SVG or Observable Plot, in light and dark, with hover.

**First decide whether the chart argues or is a tool.**

- **A chart that argues** makes one point to a reader: a report, a deck, a social post, a write-up for a client. Its headline states the finding, and orange goes on the thing the headline is about, with everything else grey (see "Colour").
- **A chart people work with** is for comparing or looking things up: an internal tool, a comparison someone makes a decision from, a chart a dashboard's filters drive. The reader decides what matters, so never grey out what they need to tell apart. Give each item a colour in the series order (see "Colour") and name it directly, at a line's end, or in a `dex-key` where that can't work. That works for up to three items. Past three, draw them all in `--dex-chart-context` and give the chart a picker (`dex-segmented`, `dex-chip` or a `dex-field` select) that turns the picked one orange. Picking only changes colours: a key, the lines and the labels stay in the same order, so nothing jumps under the reader's finger. Its headline can say what the chart shows ("Interview scores for the three finalists") when there's no single finding.
- **A dashboard** is both: its title and stats row argue, and its filters let the reader pick (see "Interactive charts").

**Pick the form by the question.** In a chart that argues, the headline states the finding; either way, the form is whatever makes the answer obvious.

| The question | Form | How |
|---|---|---|
| One number that matters | Stat, or a row of three or four | `dex-stats` |
| Which is biggest, ranked | Ranked bars | `dex-bars` |
| A few values side by side, especially on a slide | Columns on a baseline, the value above each | `dex-columns` |
| How many make it through each stage | Funnel: bars, the length the square root of the count so late stages stay readable, the conversion under each stage | `dex-bars` with `dex-bar-note` |
| How one whole splits | One segmented bar (up to five parts), a pie (two to four) or a donut (up to five) | `dex-segments`; SVG |
| How the split differs across groups | Stacked bars, every bar 100%, the point's share printed inside it | `dex-stacked` |
| A small share of a whole ("one or two in a hundred") | Waffle: 100 blocks, the share in orange | SVG or HTML grid |
| Change over time, one series | Line with a wash under it, an end dot and an end label | Plot |
| Change that happens in steps (vesting, pricing) | Step line, the future dashed | Plot |
| Change between two moments, a few items | Slope, or a dumbbell when the rows are categories | Plot |
| Three or more series over time | Small multiples, one panel each, never more colours | Plot |
| A range, a target or a spread | Range bars, box plot, or a dot plot of individuals | Plot |
| Up or down from zero | Diverging bars, labelled with the direction ("more likely to reply →") | Plot |
| Progress against a target, per item | Meter list: a muted track, the fill, "18 of 20" at the end | HTML |
| Two dimensions at once | Heatmap, a grey ramp, darker means more | Plot or a table |
| UK regions | Tile map: a square per region, roughly where it sits | HTML grid |
| Where people came from and went | Sankey, one orange flow | SVG |
| Where a few people or options sit, on one or several measures | Dot plot: a row per measure, a dot for each, the orange one's value at the end of the row | SVG |
| A few people or options across several measures, when the pattern is the point (who is strong everywhere, where the trade-offs are) | Parallel coordinates: an upright axis per measure on one shared scale, a line for each, named at its end. Wide screens only; on a phone, a dot plot | SVG |
| Exact values to look up | A table | `dex-table` |

**Favour a dot plot or parallel coordinates over a radar.** A radar's shape changes with the order of its spokes, its area exaggerates differences, and values on different spokes are hard to compare. A dot plot reads each measure exactly; parallel coordinates show the shape across measures and how many others share it. Draw a radar only when someone asks for one by name, and then on one shared scale with at most two shapes and a `dex-key`.

- **Dot plots:** order the rows in the order that tells the story, or by the orange one's value. The scale can start above zero, since dots have no length; say what the scale is in the line under the headline. The orange dot is drawn last, so it sits on top where two overlap; the page-colour ring keeps both visible. On a phone, put each measure's name above its row so the dots get the full width.
- **Parallel coordinates:** three to six measures and a few lines; past about ten lines it's a tangle, so use a dot plot or let a picker bring one line forward. Every axis is on one shared scale (convert different units to percentiles and say so under the headline). Each axis is a 1px `--dex-border` line with its name above it, wrapped onto two lines when the axes are close; ticks only on the first axis. Lines are 1.5px with a dot at each axis; the orange one is 2px and drawn last. Name each line at its end, nudged apart where the ends are close. A threshold the headline names (70 on every measure) is a reference hairline across the axes.
- **Parallel coordinates need width.** Below about 560px (a phone, a narrow column, half a slide), show the same data as a dot plot, with a `dex-key` for the names.

**Colour:**

- **Grey for context, orange for the point.** In a chart that argues, one orange per chart, on the thing the headline is about. Everything else is grey. When the headline's figure adds up several parts ("two in three are senior or above" is staff 18% plus senior 46%), every part in it is orange.
- **More than one series** takes the series order: orange for the point, then `--dex-chart-ink`, then `--dex-chart-context`, then `--dex-border`, then `--dex-muted`. Never a new hue, and never the status colours.
- **Three or more series that all matter equally** (several lines over time): small multiples, not more colours.
- **Heatmaps and tile maps** use a grey ramp, darker for more; orange only on the one cell that is the point, if there is one.
- **The wash** goes only under the highlighted line (`--dex-chart-area`, lighter in dark mode so a big area doesn't read heavy) or behind the highlighted table row (`--dex-chart-wash`).
- **Dark mode** uses the dark tokens, which `dex.css` swaps for you. Never invert a light chart.

**Marks:**

- **Bars** at most 24px thick (48px on a slide), 4px rounded at the free end and square at the baseline. A rounded end never butts against a flat edge.
- **Lines** 2px. **Dots** at least 8px across with a 2px ring in the page colour, so they lift off the line or each other.
- **Slices** of a pie or donut are separated by a 3px gap in the page colour.
- **No gridlines, chart borders or background fills.** A solid 1px baseline in `--dex-border` where the values start. Reference lines (a median, a target) are hairlines in `--dex-chart-ink` that fade at their ends, labelled where they are.

**Labels:**

- **Label directly**, where the mark is. A legend (`dex-key`) only when a direct label can't work: stacked bars, range bars, box plots, a dot plot with more than one coloured series, or a radar someone asked for. In stacked bars, print only the point's share, inside its segment.
- **Values at the end of each bar**, in Easy Grotesk: the highlight's in semibold and the text colour, the rest muted. Past about eight bars, label only the highlight and put the rest in a table.
- **Axis ticks** in Geist Mono at 12px, muted (`dex-label`). Big figures use `dex-stat-value`, never mono.
- **Labels never sit on lines or marks.** Move them into clear space.
- **Order** by value, or in the order that tells the story (the funnel's stages), never alphabetically by accident.
- **Bar lengths in `dex-bars`**: `--value` is the bar's share of the longest bar, so the longest is 100. In a funnel, use the square root of each count.

**Pies and donuts** are allowed for one thing only: the parts of one whole, when the point is one share of it.

- A pie has two to four slices; a donut one ring and up to five pieces.
- The share that is the point is orange and starts at twelve o'clock; the rest are the greys in the series order, largest first.
- Label every slice with its share: outside a pie, in a list beside a donut, with the key figure in the donut's hole.
- Never to compare categories, show change, or set two side by side. Use bars. Never 3D, exploded slices or a second ring beyond a sunburst's two.

**Interactive charts.** In web pages, prototypes, dashboards and artifacts, make charts readable by pointer and keyboard; in slides, PDFs and images, every number the reader needs is printed on the chart.

- **Hover and focus show a tooltip** (`dex-chart-tip`): the label and the value, nothing else. Lines get a crosshair that snaps to the nearest point; bars, slices and dots show their own. Hit areas are bigger than thin marks.
- **Every mark a pointer can reach is reachable by keyboard** (`tabindex="0"`), with the same tooltip on focus, and the chart has an `aria-label` or a table that gives the same numbers. A line or a dot series is one tab stop: the arrow keys step through its points, Home and End jump to the ends, and the crosshair and tooltip follow. In a dot plot each row is one tab stop, starting on the orange dot; parallel coordinates are one tab stop, with up and down stepping through the lines and left and right through the measures. A focused mark shows the 1px control edge `dex.css` draws, never the browser's ring.
- **Motion:** bars and lines may grow in once as the chart scrolls into view, in under 600ms with `--dex-ease`. Nothing loops, bounces or animates on hover. Honour reduced motion.
- **Filters** (a date range, a segment) sit in one row above the charts: `dex-segmented` or `dex-chip` for a few presets, two `dex-field` selects for a from–to range. A filter that only narrows the data never recolours what stays: orange stays on the same thing. A filter whose job is to pick the thing that matters (a role, a client) moves the orange to what's picked, and with nothing picked the orange sits on what the headline is about. Mark a filter that only applies to some charts, or that narrows some and picks the highlight in others, with a line of `dex-field-help` under it. When a headline is built from filtered data, fix its subject (the stage, series or line the chart is about) and let only the numbers change, so the orange stays put; a headline that names whichever item comes out on top belongs to a chart whose filter picks the item. Put the period in the kicker and keep segment names short, so a built headline stays within two lines.
- **Headlines that change with the filters** still state a finding: build them from the selected values ("Hires went from 7 in June to 19 in November"), never a topic label.
- **Orange on a dashboard**: one per chart and one in the stats row. Across a whole dashboard that adds up, and that's fine; it's still never a background.
- **A dashboard** is a header (the logo, and the date the data runs to as a `dex-label`), a title that states the latest period's finding, the filter row, a row of `dex-stats` for the latest period, each with a `dex-stat-detail` comparing it with the selected range, then the charts in a grid of one or two columns, each with its own headline and source line (a table can span both), then Sources and definitions. Start from https://brand.meetdex.ai/examples/dashboard.html.

**Libraries.** Start with `dex.css` and plain SVG; it covers bars, funnels, segments, stats, tables, donuts and waffles with no dependency. When the chart needs real scales, many points or a crosshair, use:

- **Observable Plot** in plain HTML and artifacts. It draws SVG, so it takes our tokens directly. Put the code of these two files, in this order, in plain `<script>` tags (the UMD builds, not an ES module `import`), set it up like this, then add marks with `fill` and `stroke` set to `var(--dex-...)` tokens:

```html
<script>/* the whole of https://cdn.jsdelivr.net/npm/d3@7/dist/d3.min.js */</script>
<script>/* the whole of https://cdn.jsdelivr.net/npm/@observablehq/plot@0.6/dist/plot.umd.min.js */</script>
```

```js
const dexPlot = (options) =>
  Plot.plot({
    style: { fontFamily: 'var(--dex-font-mono)', fontSize: '12px', color: 'var(--dex-muted-foreground)', background: 'transparent' },
    ...options, // and per axis: tickSize: 0, label: null; never grid: true
  })
```

- **Recharts** inside a React app: no `CartesianGrid`, `axisLine={false}` and `tickLine={false}` on axes, ticks in `var(--dex-font-mono)` at 12px, `fill`/`stroke` from `var(--dex-...)` tokens, and the tooltip styled as `dex-chart-tip`.

Never a canvas chart library whose fonts and colours can't take our tokens, a chart theme with gridlines and a legend left on, or a library's default colour palette.

**Every chart has a source line** (`dex-source`) saying where the numbers came from and when, and what is estimated or example data. On a marketing page, a number's source can be one small footnote at the foot of the section rather than under each stat; a missing source stays a visible `[source]` until someone supplies it or agrees to cut the number. If the brief doesn't name a source, write `Source: [source]` rather than inventing one. When values come from different sources, name each one, and only compare them if they measure the same thing (for example, first contact to offer); if you can't tell, say so.

**Tables**: hairline rows, no outer border, no zebra stripes, numbers right-aligned in mono, column headers aligned like their cells. Highlight the one row that matters with `dex-row--highlight`: a soft wash that reaches just past the column with rounded ends. Keep its label in the normal text colour, and put `dex-cell--highlight` on the one cell that carries the point (the orange text). A word can stand in a number column ("Still open"), right-aligned like the numbers; if it's the point, it can be the highlighted cell.

### Reports and one-pagers

For partner reports, candidate-network snapshots and one-pagers, as HTML pages or 16:9 slides printed to PDF.

**Start from the example report**: https://brand.meetdex.ai/examples/report.html has a two-page A4 report (`dex-print` sheets) and the same report as a web page, with a comment on each block saying what it's for and what fits.

A web report is one `dex-page` column:

```html
<body class="dex system">
  <header class="dex-page"><!-- dex-logo left, the data date as a dex-label right --></header>
  <main class="dex-page">
    <section><!-- dex-stack: kicker, dex-h1 title stating the main finding, lede; then dex-stats and a dex-source --></section>
    <section><!-- one finding per section: kicker, dex-h2 headline, the evidence, a dex-source --></section>
    <section><!-- Sources and definitions --></section>
  </main>
  <footer class="dex-page"><!-- dex-logo left, meetdex.ai right --></footer>
  <!-- optional, and always last: a hero image edge to edge, straight after the footer, outside the page column -->
  <img src="https://brand.meetdex.ai/images/heroes/dex-gtgkng-footer-and-salary-heroes-light.jpg" class="dex-light-only" style="display: block; width: 100%" alt="">
  <img src="https://brand.meetdex.ai/images/heroes/dex-gtgkng-footer-and-salary-heroes-dark.jpg" class="dex-dark-only" style="display: block; width: 100%" alt="">
</body>
```

- **Reports are denser than marketing pages.** Space sections about 4–5rem apart; `dex-section` (7rem) is for marketing pages.
- **The title is `dex-h1` on a web report and `dex-display` on a printed sheet**; otherwise `dex-display` is for marketing heroes and a deck's title slide.
- **Printed one-pagers and A4 documents**: build each page as a `dex-print` sheet. It is A4 with 20mm margins, sets its own printed page size (don't add an `@page` rule), and sets the type classes in points, so use the classes rather than sizes of your own:

  | Class | Size / line |
  |---|---|
  | `dex-display` | 28.8 / 32.6pt, a cover or one-pager title |
  | `dex-h1` | 22 / 27pt, a later page's title |
  | `dex-h2` | 16.3 / 20.2pt, each section's headline |
  | `dex-h3` | 11.5 / 15.4pt |
  | `dex-lede`, `dex-kicker` | 10.6 / 16.3pt |
  | `dex-body`, `dex-prose` | 8.6 / 13.9pt, the sheet's default |
  | `dex-small`, `dex-stat-label`, tables and bars | 8.2 / 12pt |
  | `dex-label`, a bar's note | 6.7 / 9.6pt |
  | `dex-source` | 6.2 / 8.6pt, the smallest anything goes |
  | `dex-stat-value` | 21.1 / 25pt |
  | `dex-quote`, `dex-quote--sm` | 14.4 / 19.2pt, 11.5 / 16pt |

  **A one-pager should breathe.** Wrap each block in a `dex-print-section`, which puts 12mm between them, and leave clear paper at the foot of the sheet rather than filling it. Budget for a title and lede, three numbers, one piece of evidence (a chart or one product shot), a quote or a short list of clients, and the source line. If there's more, cut it or make it two sheets; never shrink type, spacing or images to squeeze it in. Print in light: a `dex system` page prints on paper automatically, so never use `dex dark` for print. Images follow "Placing an image"; a hero at the foot of a sheet runs to its bottom and side edges (set the sheet's bottom padding to 0 and pull the image out by the margin).
- **Everything aligns to the left edge of the column**, logo walls included.

- **Lead with the big numbers, in a positive light, then drill down**: the whole network, then who they are, then the slice this reader cares about, then the deep dives, then definitions.
- **Each page or section headline states its finding**, not its topic. The sources and definitions section is the exception: call it "Sources and definitions".
- **Keep percentages on their own base.** Adding shares of the same group is fine ("18% staff plus 46% senior is 64%"), with the sum shown in the source line. Never multiply shares from different groups into a new count ("41% London × 38% backend"); show them side by side and say they're separate cuts. If a share's base is unclear, ask, or say which base you assumed in the definitions.
- **End with the next step only if the brief gives one** (a contact, a call to book). Never invent contact details.
- **Receipts at the bottom of every page**: the source, the date range, definitions, and what is stated versus inferred. Inferred numbers are fine when the source line says so. Never invent or infer money.
- **Aggregate data only.** Never show an individual candidate's details unless the brief says to.
- Use `dex-stats` for the headline numbers, `dex-bars` and `dex-table` for the detail, and `dex-cols--divided` for side-by-side facts.

### Diagrams

**Start from the example diagrams**: https://brand.meetdex.ai/examples/diagrams.html has a flowchart, a sequence, a state and an architecture diagram in light and dark, and how to theme Mermaid and match tldraw.

- Draw on a quiet dot field (`dex-diagram`), never a full-bleed grid.
- **Nodes are real things**: a card, a row, a logo, the Dex mark (`dex-node`), not abstract circles. Dex itself is the one orange edge (`dex-node--brand`); outside systems are dashed (`dex-node--outside`).
- **Lines** are thin grey strokes with rounded joins (`dex-line`, `dex-line--quiet`, `dex-line--dashed`). Arrowheads match their line's colour. Long connectors fade out at the end.
- **Groups** are a mono label over a fading hairline (`dex-group-label`), never a grey box.
- **The route** the reader should follow is `dex-line` (ink grey); every other line is `dex-line--quiet`. Dashed lines are optional, async or a loop back. Lines run at right angles with rounded corners and never cross. The orange stays on the Dex node, never on a line; a diagram with no Dex node has no orange.
- **Steps and decisions**: a step is a verb ("Dex matches a role"), a decision is a question in an ink ring, never a diamond, and a start or end is a muted pill. Twelve nodes at most, reading left to right or top to bottom, never both.
- **Labels** on lines are `dex-label`, cut into their line with the page colour behind them, never sitting on it.
- **Sequence diagrams**: the participants as nodes across the top, faint dashed lifelines, the messages numbered and labelled on their arrows, three or four participants and up to seven messages.
- **State diagrams**: one row of states, the exits below on dashed lines, the ends as pills.
- **Mermaid**: theme it from the tokens as the example does (`theme: 'base'`, `look: 'classic'`, `themeVariables` from the `--dex-*` tokens as hex, Easy Grotesk), and in a self-contained file paste the rendered SVG rather than shipping the script.
- **tldraw** is for sketching only: black and grey, orange only for Dex, no fills, small size, elbow arrows. Redraw anything you publish with `dex.css`.

### Social images and ads

Use a finished banner from the Social banners page when one fits. When making a new one, start from the template for its format at https://brand.meetdex.ai/examples/social.html (every post, cover and banner at its exact size, in light and dark), and:

- **Type-led**: a short headline on clear paper, a halftone image as the ground below it, the logo and "meetdex.ai". On a post the logo sits top left and "meetdex.ai" top right; on a profile banner the logo sits top right, clear of the profile photo.
- **Build it as a `dex-artboard`** at the exact pixel size (`style="width: 1200px; height: 1200px"`). The type classes inside scale to it like a slide's, so use `dex-display` or `dex-h1` for the headline and `dex-lede` for the supporting line rather than setting sizes by hand. Give it your own padding: about a tenth of the shorter side.
- **Plan the headline's length from these sizes.** The artboard's unit (`--dex-u`) is the larger of width ÷ 1920 and height ÷ 1080, capped at width ÷ 1080, and each class is a fixed number of units. A line holds roughly its width divided by half the font size in characters:

  | Size | Unit | `dex-display` | `dex-h1` | `dex-h2` | `dex-lede` | `dex-h1` characters per line |
  |---|---|---|---|---|---|---|
  | 1920 × 1080 slide | 1 | 112px | 72px | 40px | 36px | about 30 (a slide's headlines stop at 1200px) |
  | 1200 × 1200 post | 1.11 | 124px | 80px | 44px | 40px | about 24 |
  | 1080 × 1350 post | 1 | 112px | 72px | 40px | 36px | about 24 |
  | 1200 × 630 link image | 0.63 | 70px | 45px | 25px | 23px | about 30 at `dex-display`, the title's class here |
  | 1584 × 396 LinkedIn banner | 0.83 | 92px | 47px with `dex-artboard--banner` | 33px | 30px | about 38 in the 900px right of the photo |

  Keep the headline to two lines: shorten it, or step down to `dex-h2`.
- **The image takes the bottom half or so,** whole landform in frame, fading into the paper through the sky. Leave clear paper between the last line of copy and the first dots. When the image carries a chart or a table, the image can drop to the bottom fifth: the evidence comes first.
- **Keep clear of platform UI**: on a LinkedIn profile banner (1584 × 396) the profile picture covers the bottom left, so keep the left 440px of the lower half clear; stories have top and bottom bands.
- **Cropping**: a wide banner can crop the ground at the bottom, never the top of the landform.
- **The logo always appears; "meetdex.ai" is optional** on a profile banner, which already links to the profile.
- **A person's own banner can say "I"** ("Tell me what you actually want"); everything else speaks as "we".
- **Orange stays small**: beyond the logo and the halftone's sunlight, at most a numeral in a stat ad. Never an orange ground.
- Make light and dark versions; choose by where it will sit.

## Writing

### Voice

- **Write like a person talking to a peer.** Direct, a bit dry, confident. Dex talks to engineers and founders who dislike being sold to.
- **"We" and "you"**, never "Dex empowers organisations to…". Dex is a named agent that acts for the user: "Tell Dex what you're looking for", "Dex is tailoring your CV to this role".
- **Name the problem briefly, then the fix**: "Skip the recruiter spam and endless job boards."
- **Reassure about control and privacy**: "Nothing reaches the company until you've approved it."
- **No hype, no hedging.** No exclamation marks. "We can help", not "we may be able to potentially help".
- **UK English and £.** recognise, organisation, programme.
- **Be specific.** Replace every generic claim with something checkable: a number, a named client type, a process detail.
- **Proof comes from the quotes file.** For social proof, use a signed-off quote from `quotes.json`, word for word, rather than paraphrasing what a client or candidate thinks. Set a short quote (about 25 words or fewer) that leads a section or slide in `dex-quote`; set a longer one, or one among other content, in `dex-quote--sm`.

The test: could a competitor paste this onto their site without changing a word? If yes, it's too generic.

### Patterns to rewrite

| Pattern | Instead of | Write |
|---|---|---|
| "[Noun], [participle]." taglines | Great engineers, introduced. | We introduce you to engineers worth hiring |
| Contrast formulas | It's not just recruiting. It's matchmaking. | We meet every candidate before we introduce them |
| Stacked fragments | Vetted. Matched. Hired. | We vet candidates, match them to your role and handle the process through to offer |
| Rule of three | A fast, flexible and transparent process | You'll get a shortlist within five working days |
| Rhetorical openers | Struggling to find great ML engineers? | Most ML engineers worth hiring aren't applying for jobs |
| Vague superlatives | We connect you with top AI talent | Our last ten placements came from Google DeepMind, Meta FAIR and early-stage startups |

Also cut "Imagine…", "Here's the thing:", "The truth is:" and grand closers ("This changes everything").

### Words to avoid

seamless, frictionless, leverage, utilise, elevate, supercharge, unlock, unleash, empower, delve, robust, cutting-edge, state-of-the-art, game-changer, revolutionary, transformative, world-class, best-in-class, top talent, journey, landscape, ecosystem, curated, bespoke, passionate about, "in today's fast-paced world", "AI-powered" as a headline. Say the plain thing.

**Role, not seat.** A job is a role: "the role", "two open roles", "fill the role", "the right role for you". Never "seat", "fill a seat", "seats to fill" or "bums on seats". It turns the people Dex introduces into furniture, and engineers and hiring teams both say "role".

### Formatting

- Prose by default. Bullets only for genuinely list-shaped content.
- Bold at most once or twice per section, for a term the reader must not miss, never for effect. Italics in body copy only for titles of things (a book, a report).
- No emoji, as bullets, icons or decoration.
- Em dashes: none by default, one per piece at most, never in headings, buttons or short messages.
- No full stops on headings, buttons, card titles, slide titles or subject lines.
- Error messages are one sentence that says what to do, ending in a full stop: "Enter your minimum salary.", "Choose how you heard about Dex." (see "Fields and errors").

### Emails and outreach

- **Start with the reason you're writing to them**, never "I hope this email finds you well", "I came across your profile" or "I wanted to introduce…".
- **Personalise only with a detail that connects** to the role. A merge-field compliment is worse than none.
- **One idea per email**: the role, why them, one ask. Under about 120 words for a first touch, no bullet lists.
- **Real specifics**: stage, team size, what they'd work on, a salary range if you have it.
- **A concrete ask**: "Worth 15 minutes on Thursday or Friday?", not "Would love to connect!".
- **Follow-ups add one new piece of information**, never "just bumping this".
- **Subject lines** are lowercase and specific, except for names and companies, which keep their capitals: "two senior backend hires at Fintrail", "ML infra role at a Series A robotics company". No Title Case, no emoji.

## Reject on sight

These are the defaults generated designs fall into. If your work has one, fix it before you deliver:

- A centred hero, two buttons ("Get started" and "Learn more"), a logo strip, a three-column feature grid with icons in circles, a testimonial carousel and a CTA banner
- Orange as a background or large fill, orange scattered over many things, or orange used as a text colour, border or status colour
- Purple or blue gradients, gradient text, glowing cards, glass, blurred blobs, heavy or coloured shadows
- Inter, a system font or a second display typeface standing in for Easy Grotesk; mono headings or big numbers
- Uppercase or letter-spaced eyebrows and labels; Title Case buttons and headings; full stops on headings
- A stressed word: italic, heavier, coloured or underlined words in a headline or anywhere else
- Fully outlined grids and tables, zebra stripes, boxed logo walls, logo walls in black or full colour
- Badges, pills or capsules for ordinary metadata; tallies and counts that restate what's on screen
- Decorative dividers, ornaments, icons in circles, emoji, AI sparkles
- Icons on a single item, a headline or a stat, on some items in a set but not others, or on slide after slide
- Disabled buttons waiting for input
- A chart with gridlines, a legend where direct labels would work, more than one orange, new hues for extra series, a library's default palette, or a pie or donut used for anything but one share of a whole
- Stock or generated imagery, people at laptops, a landform cropped at the top, a fade over the rock
- An image with hard edges loose in the page: a hero inside the column, its sides or bottom showing against the paper
- A brand image used to explain something: beside steps, features or points, as a card thumbnail or gallery, behind body copy, or as a texture. Explain with a product shot, a diagram, a component or a `[image: …]` placeholder
- A logo on orange, recoloured, outlined, rotated or set beside "Dex" in another typeface
- Invented numbers, clients, logos, quotes, features or salaries; lorem ipsum; dollars
- Designs that only work in light mode, or only on desktop
- Narration of your process inside the deliverable
- A file that loads its stylesheet, fonts, images or scripts from brand.meetdex.ai or anywhere else, when you could run commands to put them inside it

## The dex.css API

Everything is scoped to a `.dex` root. Use these names exactly.

**Roots and themes**: `dex` (light), `dex dark`, `dex system`; `dex-light-only` and `dex-dark-only` swap an element by theme in all three (for example the light and dark version of an image, side by side).

**Type**: `dex-display` (the biggest headline, one per page or a deck's title slide), `dex-h1`, `dex-h2`, `dex-h3`, `dex-kicker` (the line above a headline, muted), `dex-kicker--brand` (the kicker in orange, only when nothing else is), `dex-lede`, `dex-body`, `dex-small`, `dex-muted`, `dex-source` (where numbers came from), `dex-label` (mono metadata), `dex-num` (mono figures), `dex-prose` (long-form text), `dex-statement` (a statement or section slide's headline, a step below `dex-display`), `dex-big-number` (+ `dex-big-number--brand`) and `dex-big-number-detail` (one figure that proves the point, and the line under it), `dex-section-number` (a section slide's orange number).

**Layout**: `dex-page` (the 72rem column), `dex-section`, `dex-stack` (kicker, headline and lede; `--dex-stack-gap`), `dex-cols` (equal columns; `--dex-cols` sets the count, they stack on phones), `dex-cols--divided` (a fading hairline in each gap), `dex-rule` and `dex-rule--vertical` (fading dividers).

**Logo**: `dex-logo`, `dex-mark`. Set the width only.

**Artboards**: `dex-artboard` (a fixed-size image such as a social post, chart or banner; set its width and height in px and the type inside scales to it; + `dex-artboard--banner` on a wide banner, which sets `dex-h1` at the banners' size), with `dex-bleed` (a direct child) for a picture behind everything on it: the whole artboard, or a band across the bottom with `style="top: 55%"`. Everything else on the artboard sits above it.

**Slides**: `dex-deck` (a run of slides, one per printed page; + `dex-deck--present` for one slide at a time), `dex-slide-icon` (a Lucide `<svg>` above each item's title in a set of columns or steps; see "Icons"), `dex-slide` (16:9 at 1920 × 1080; `--dex-u` is one slide pixel, so size your own things in `calc(N * var(--dex-u))`), `dex-slide-body` (+ `dex-slide-body--middle` for short content), `dex-slide-footer` (+ `dex-slide-footer--reversed` on a light slide whose footer sits on an image's dark ground), `dex-bleed` (a full-slide background image).

**Print**: `dex-print` (one A4 page, 210 × 297mm with 20mm margins, with the type set in points; stack several for a multi-page document), `dex-print-section` (a block on the sheet, 12mm from the next).

**Data**: `dex-stats` (as many in a row as fit; on a slide, artboard or A4 page set `--dex-cols` on it to fix the count) > `dex-stat` > `dex-stat-value` (+ `dex-stat-value--brand` for the orange number), `dex-stat-label` and an optional `dex-stat-detail`. `dex-columns` > `dex-column` (style `--value: 0–100`, + `dex-column--highlight`) > `dex-column-value`, `dex-column-fill`, `dex-column-label`; `--dex-column-max` on the `dex-columns` sets the tallest column's height (300 slide pixels on a slide or artboard unless you set it). `dex-bars` > `dex-bar` (style `--value: 0–100`, + `dex-bar--highlight`) > `dex-bar-label` (+ a `dex-bar-note` inside it), `dex-bar-fill`, `dex-bar-value`. `dex-stacked` (a `dex-stacked-label` then a `dex-segments` row, per group). `dex-segments` (style `--dex-segments: <count>`) > `dex-segment` (style `--value: <share>`, + `dex-segment--highlight`, `--ink` or `--muted`), with a `dex-key` of spans (style `--dex-key: var(--dex-...)`). `dex-chart-tip` for a chart's hover tooltip. `dex-table` with `dex-num` cells, `dex-row--highlight` on the row that matters and `dex-cell--highlight` on its key cell; wrap a wide table in `dex-table-scroll` to let it scroll on phones (never your own `overflow` wrapper, which clips the highlight). `dex-logo-wall` (bare client logos in one muted grey: inline each SVG, set its fills to `currentColor`, which is the one sanctioned recolour of a client logo, and remove its own width and height styles; `--dex-logo-height` sets their height). Centred by default; in reports and left-aligned layouts set `justify-content: flex-start`.

```html
<div class="dex-bars">
  <div class="dex-bar dex-bar--highlight" style="--value: 52">
    <span class="dex-bar-label">Dex</span><span class="dex-bar-fill"></span><span class="dex-bar-value">29 days</span>
  </div>
  <div class="dex-bar" style="--value: 100">
    <span class="dex-bar-label">Job boards</span><span class="dex-bar-fill"></span><span class="dex-bar-value"></span>
  </div>
</div>
```

**Imagery**: `dex-image` around an `<img>`, with `dex-image--fade-top`, `dex-image--fade-bottom`, `dex-image--fade-edges` or `dex-image--fade-top-bottom`. Set `--dex-fade-colour` when the image sits on a card instead of the page.

**Quotes**: `dex-quote` (a `<blockquote>`; + `dex-quote--sm` for a longer quote or one among other content), with `dex-quote-mark` (an `<img>` of the quote mark file), the words, then `dex-quote-cite` inside it. The person's photo from `quotes.json`, if you show it, goes first in the cite:

```html
<blockquote class="dex-quote">
  <img class="dex-quote-mark dex-light-only" src="data:image/svg+xml;base64,…" alt=""><!-- dex-quote-mark-medium-light.svg -->
  <img class="dex-quote-mark dex-dark-only" src="data:image/svg+xml;base64,…" alt=""><!-- dex-quote-mark-medium-dark.svg -->
  <p>The quote, word for word</p>
  <cite class="dex-quote-cite">
    <img src="data:image/jpeg;base64,…" alt="">
    <span>Name<br>Role, Company</span>
  </cite>
</blockquote>
```

**Diagrams**: `dex-diagram` (the dot field), `dex-node`, `dex-node--brand`, `dex-node--outside`, `dex-line`, `dex-line--quiet`, `dex-line--dashed` (SVG paths), `dex-group-label`.

**Controls, for prototypes**:

- Buttons: `dex-button` (default black), `dex-button--brand` (the one main action), `--secondary`, `--outline`, `--ghost`, `--link`, `--destructive`; sizes `--sm`, `--lg`, `--xl` (hero calls to action only).
- Fields: `dex-form-row` > `dex-field-label`, `dex-field` (an `<input>`, `<select>` or `<textarea>`), then `dex-field-help` or, with `aria-invalid="true"` on the field, `dex-field-error`.
- Selection: `dex-checkbox`, `dex-radio`, `dex-switch` (a checkbox with `role="switch"`) inside a `dex-check-row` label; `dex-chip` (+ `aria-pressed="true"` or a checked input inside; `dex-chip--sm`); `dex-choice` > `dex-choice-title`, `dex-choice-detail` and a radio; `dex-segmented` (buttons with `aria-pressed`).
- Menus: `dex-menu` > `dex-menu-item` (`aria-selected="true"` gets the tick; `aria-disabled="true"` dims it), with an optional `dex-menu-detail` (muted, at the end, such as a city's region).
- Fields that open something: `dex-popover-anchor` round the trigger and a `dex-popover` (show and hide it with `hidden`; + `dex-popover--end` to line it up with the trigger's end). A combobox's or date field's trigger is a `<button class="dex-field dex-field-button">` with `aria-expanded`; its popover is `dex-popover--list` holding a `dex-search` and a `dex-listbox` of `dex-menu-item`s (`dex-listbox-empty` when nothing matches), or `dex-popover--calendar` holding a `dex-calendar` > `dex-calendar-head` (`dex-calendar-nav` arrows and a `dex-calendar-caption`) and a `dex-calendar-grid` of `dex-calendar-weekday` and `dex-calendar-day` (`aria-current="date"` for today, `aria-pressed="true"` for the chosen day, `dex-calendar-day--outside` for the months either side; + `dex-calendar-grid--months` for a grid of months).
- More fields: `dex-joined` (a field with text, an icon or a `<select>` joined on inside its border, with `dex-joined-text`); `dex-slider` (a range input; style `--value: 0–100`, + `dex-slider--unset`), `dex-slider-range` (two of them; style `--from` and `--to`), `dex-slider-label` and `dex-slider-steps` (spans with style `--at`); `dex-dropzone` (a `<label>` round a file input; + `dex-dropzone--done`).
- Disclosure and text: `dex-accordion-item` (a `<details>` with a `<summary>`) > `dex-accordion-panel`; `dex-link` (+ `--inline`, `--foreground`, `--brand`); `dex-kbd`; `dex-skeleton`.
- Tabs and empty views: `dex-tabs` (a `role="tablist"` row of `role="tab"` buttons with `aria-selected`; + `dex-tabs--secondary` for a row inside a page that has one; a `dex-segmented` is the pill tab list); `dex-empty` > `dex-empty-title`, `dex-empty-description` and `dex-empty-actions` (+ `dex-empty--sm`, `dex-empty--danger`).
- Surfaces: `dex-card`, `dex-dialog` inside a `dex-scrim`, `dex-toast`, `dex-tooltip`; `dex-badge` with a tone (`--info`, `--success`, `--warning`, `--danger`), a variant (`--dot`, `--solid`, `--outline`), `--muted` and a size (`--sm`, `--lg`); `dex-count` with `--muted`, `--strong`, `--danger` and `--sm`; `dex-note` > `dex-note-content` (an icon and the words, with an optional `dex-note-label`) and `dex-note-actions`, with a tone (`--info`, `--success`, `--warning`, `--danger`), `--fill`, `--sm` and `--invalid`.
- Shell: `dex-tab` (+ `aria-current="page"` on the current one).

```html
<div class="dex-scrim">
  <div class="dex-dialog" role="dialog" aria-modal="true" aria-labelledby="t">
    <h2 class="dex-h3" id="t">Withdraw your application?</h2>
    <p class="dex-small dex-muted">The team at Synthesia won't see it any more.</p>
    <!-- actions, right-aligned: dex-button--outline "Cancel", then dex-button--destructive "Withdraw" -->
  </div>
</div>
```

**Tokens** (read-only): `--dex-background`, `--dex-foreground`, `--dex-card`, `--dex-card-foreground`, `--dex-popover`, `--dex-popover-foreground`, `--dex-primary`, `--dex-primary-foreground`, `--dex-secondary`, `--dex-secondary-foreground`, `--dex-muted`, `--dex-muted-foreground`, `--dex-accent`, `--dex-accent-foreground`, `--dex-border`, `--dex-input`, `--dex-ring`, `--dex-control-border-subtle`, `--dex-control-border`, `--dex-control-border-strong`, `--dex-app-background`, `--dex-app-foreground`, `--dex-brand`, `--dex-brand-foreground`, `--dex-brand-strong`, `--dex-destructive`, `--dex-destructive-foreground`, `--dex-success`, `--dex-success-foreground`, `--dex-warning`, `--dex-warning-foreground`, `--dex-warning-strong`, `--dex-info`, `--dex-chart-context`, `--dex-chart-ink`, `--dex-chart-wash`, `--dex-chart-area`, `--dex-diagram-dot`, `--dex-font-sans`, `--dex-font-mono`, `--dex-radius-xs` to `--dex-radius-xl`, `--dex-radius-full`, `--dex-shadow-xs` to `--dex-shadow-lg`, `--dex-shadow-edge-b`, `--dex-shadow-edge-t`, `--dex-shadow-edge-r`, `--dex-shadow-edge-l`, `--dex-hairline`, `--dex-fade-x`, `--dex-fade-y`, `--dex-ease`.

A reference page with one of every class, in light and dark: https://brand.meetdex.ai/examples/kit.html. To make something, start from its worked example instead: [deck](https://brand.meetdex.ai/examples/deck.html), [report](https://brand.meetdex.ai/examples/report.html), [charts](https://brand.meetdex.ai/examples/charts.html), [dashboard](https://brand.meetdex.ai/examples/dashboard.html), [diagrams](https://brand.meetdex.ai/examples/diagrams.html), [social images](https://brand.meetdex.ai/examples/social.html) or [prototype](https://brand.meetdex.ai/examples/prototype.html).

## Before you deliver

Check, then fix silently; don't narrate the checks in the deliverable:

1. Every number, name and quote matches what you were given, and every number has a source.
2. Each headline states a finding, in sentence case, with no full stop and no stressed word.
3. Orange is minimal, on the few things that carry the point, and never a background.
4. Only `dex-` classes and `--dex-*` tokens for colour, type, radius and shadow; Easy Grotesk is showing.
5. The file stands alone: the search under "Set up" finds nothing, and it opens with no network. Made without a shell, it links only `https://brand.meetdex.ai/v1/dex.css` and brand.meetdex.ai's own files, and you've said so.
6. A web page, artifact or dashboard works at 390px wide and in dark mode. Fixed sizes (slides, A4 pages, social images and banners) are checked at their own size and don't reflow, so leave them out of the 390px check.
7. A deck's title, section, statement and closing slides are dark and its content slides light (or every slide is dark, for a dark room), and no run of slides repeats one layout.
8. Brand images are only decoration (headers, footers, dividers, the ground behind product UI, colour on a section slide), and nothing explains with one. Images are whole, fade through the sky, match the page's tone, and are full bleed, fully faded or boxed. A faded image sits inside the page's margins, clear of every edge. Product shots are big enough to read, and nothing is squeezed to fit.
9. The copy passes the competitor test and avoids the patterns and words above.

When asked to review something instead, list the problems in priority order, each with what's off, the rule it breaks and the exact fix, then give a verdict: on brand, nearly, or off brand.
