# Cognition brand system v1.0.0

> Stop teaching your coding agent the same lesson twice.

Cognition gives every coding agent one shared memory: correct an agent once, approve what gets saved, and every new session starts with it.

## Agent rules

[Developer design agent system](/brand/agents.md)

Must do:
- Read /brand/brand.json (or src/purpose/lib/brand/tokens.ts) first; use its tokens, never invent a value.
- Use theme tokens (bg-purpose-background, text-purpose-foreground, border-purpose-border), never raw hex, except the gradient and the brand page itself.
- Square corners, 1px strokes, filled Phosphor icons, grayscale.
- Copy the mark path from /brand/mark.svg; never redraw it.
- Build navigation from the documented patterns (header, mobile menu, drawer, search, footer); do not invent a new menu style.
- Run `npm run build` before finishing; then verify the scoped theme against the brand tokens.

Must not:
- No shadows, no extra colours, no gradients except the one defined.
- No emoji, no title case, no exclamation marks.
- No new fonts.
- No arrow icon in a button, and no external-link arrow.
- Do not rewrite earlier handoff entries; append.

## Logo

- Mark: Stacked rings that read as an "o", traced from the wordmark. One path, one colour (currentColor). Source `src/purpose/components/dashboard/shared/logo-mark.tsx`, file /brand/mark.svg.
- Clear space: Half the mark's width on every side (0.5x). Nothing enters it.
- Min size: mark 16px, wordmark 20px high.
- Colour: Foreground colour only (black on light, near-white on dark). Never the gradient, never a fill other than currentColor.
- Do not outline, shadow, rotate or stretch the mark.
- Do not recolour it with the gradient or any accent.
- Do not put it on a busy picture or on the stripes.
- Do not redraw the ring; copy the path.

## Colour

Grayscale only. The gradient is the one colour, reserved for highlights (Connect agent, Upgrade, Get started, Sign up, progress bars). Use theme tokens, never raw hex, in product UI.

| Token | Name | Role | Light | Dark |
| --- | --- | --- | --- | --- |
| `background` | Ink | Page | #f9f9f9 (oklch(0.982 0 0)) | #000000 (oklch(0 0 0)) |
| `card` | Panel | Cards and dialogs | #ffffff (oklch(1 0 0)) | #0a0a0a (oklch(0.145 0 0)) |
| `muted` | Fog | Quiet fills, tags | #f0f0f0 (oklch(0.955 0 0)) | #171717 (oklch(0.205 0 0)) |
| `accent` | Lift | Hover, selected | #f7f7f7 (oklch(0.97 0 0)) | #1c1c1c (oklch(0.225 0 0)) |
| `muted-foreground` | Slate | Secondary text | #696969 (oklch(0.52 0 0)) | #a1a1a1 (oklch(0.708 0 0)) |
| `foreground` | Paper | Primary text, the mark | #121212 (oklch(0.18 0 0)) | #fafafa (oklch(0.985 0 0)) |

Border: 1px, oklch(0 0 0 / 8%) light, oklch(1 0 0 / 14%) dark.
Gradient: `linear-gradient(90deg, #9a62f5, #2fcf7a)`. Highlights only: one per screen. Never behind body text, never on the logo, never as a page background.
Status red: #e7000b light, #ff6467 dark. Close icons and errors use the status red; nothing else is red.

## Typography

- Sans: Nunito Variable (Everything: headlines, interface, body.)
- Mono: Geist Mono (Commands, keys, code, numbers in tables.)

| Role | Size | Weight | Tracking | Leading | Use |
| --- | --- | --- | --- | --- | --- |
| Display | 56px | 600 | -0.04em | 1.04 | Landing hero (lg). 48 at sm, 38 below. |
| Page title | 28px | 600 | -0.035em | 1.1 | Dashboard page titles (24 on phones). |
| Body large | 18px | 400 | 0 | 1.6 | Hero and section paragraphs (17 on phones). |
| Body | 15px | 500 | 0 | 1.5 | Interface text, menu items. |
| Caption | 13px | 400 | 0 | 1.5 | Meta lines, hints. |
| Code | 13px | 400 | 0 | 1.5 | Mono, install commands. |

- Sentence case everywhere, no title case, no all caps.
- Headlines are tight (negative tracking) and never centred in the product.
- Inputs are 16px on phones so the page never zooms.

## Layout

- Corners: Square (--radius: 0). The only rounded element is the install command box on the landing hero.
- Shadows: None in the product. The Rich Button keeps Spell UI's soft shadow.
- Strokes: 1px, theme border token.
- Icons: Phosphor, filled weight only. No external-link arrow (up-right) icon anywhere, and no arrow icon inside buttons; a link that leaves the site just opens in a new tab.
- Spacing: Section gap 40px, Card gap 16px, Card padding 20px, Hatch frame inset 6px
- Grid: 12 columns, 24px gutter, max 1440px, padding px-5 sm:px-8 lg:px-10 (dashboard xl:px-[6.5%])
- Buttons: Rich Button (default, zinc) on the landing page; flat Button (normal, secondary, gray) in the product. Highlight: FancyButton / FancyLink (gradient stroke), highlights only.

Navigation:
- Header: 64px, sticky, one 1px rule under it. Logo at the left, links centred in mono uppercase, Sign in (gray) and Get started (gradient) at the right.
- Phone menu (below lg): translucent blurred panel, 64px rows with a right chevron that drills into a submenu screen with a Back row; Sign in and Get started pinned at the bottom.
- Side drawers open from the left, cover the whole screen below lg, blur the page and are glass; no footer unless an action needs one. Close icons are the status red. The logo always goes to the home page.
- Search is a command palette on Ctrl or Cmd K; sidebars and menus mark the current page filled and muted otherwise.
- Footer: five columns with mono titles, real links only (a page without a route is plain text), a bottom row with Brand, Privacy and Terms.

## Motion

150–200ms, ease-out. Motion explains a change; it is never decoration. Respect prefers-reduced-motion (the drawing stops and shows the finished picture). Signature: The Teaching drawing: two agents learn from one shared shelf (src/purpose/components/site/different.tsx, TeachingScene).

## Voice

- Plain and exact: say what it does, in the order it happens.
- Calm: no exclamation marks, no hype, no emoji.
- Second person, present tense: "Correct your agent once."

Say:
- Correct your agent once, approve what gets saved.
- Every new session starts with it.
- Unavailable
- Loading…

Avoid:
- Revolutionary, supercharge, 10x, magic.
- A zero for a value we do not have (use Loading… or Unavailable).
- Title Case Buttons.
