Design System

Verifux Design
System v2.1

The authoritative source of truth for every Verifux surface - landing page, dashboard, report, and the AI Agent Audit toolkit. All tokens, components, and guidelines documented here are production-verified and mirrored in verifux-tokens.json for Figma import.

Framework
MX / BX / AIX v2.1
9 pillars · 54 checkpoints
Typefaces
Geist
One typeface · system mono for code
Base unit
4px spacing grid
All values multiples of 4
Brand & Logo

The mark.

A red circle with a white calligraphic check. The wordmark is "Verif" in Geist 800 followed by italic-red "ux". Never alter the proportions, colours, or type treatment.

Logo variants
Verifux Default
Verifux Dark bg
Logo mark sizes
24px
Compact
30px
Default
48px
Featured
72px
Hero
Logo rules
Do: Use on white, light grey, or dark backgrounds.
Keep minimum 8px clear space around the mark.
Use SVG or font-rendered at all sizes.
Do not: Recolour the mark or wordmark.
Stretch or distort any part of the logo.
Use a rasterised PNG below 2x resolution.
Colour System

The palette.

A clean triad drives the core product: red for MX, violet for BX, blue for AIX - plus a fourth, deliberately distinct gold for DX (Design Excellence & Craft), an entirely separate module never blended into the MX/BX/AIX score. Everything else is a neutral or semantic colour. Click any swatch to copy the hex value.

Brand quad
Red - MX#FF0033--red
Violet - BX#7C3AED--violet
Blue - AIX#0099FF--blue
Gold - DX#B08D28--gold
Gold scale (DX) - deliberately distinct from Amber (Major severity)
Gold#B08D28--gold
Gold Dark#7A5F16--gold-dark
Gold Soft#FBF3E1--gold-soft
Gold Border#EAD9AE--gold-border
Red scale (MX)
Red Bright#FF513D--red-bright
Red#FF0033--red
Red Dark#CC0029--red-dk
Red Soft#FFF6F5--red-soft
Contrast rule - which red to use where
This is not a style preference - it is a WCAG AA requirement.
--red (#FF0033 — Verifux brand red) measures ~4.0:1 on white — below the 4.5:1 body threshold, so use it only for logo, decoration, icons, large display text, and borders. --red-dk (#CC0029 — Verifux deep red) measures ~5.8:1 on white — AA-safe for body-size text and for any red fill carrying white text (buttons, badges, pills).
Use --red
Logo mark and wordmark (logotypes are exempt under WCAG 1.4.3) · borders, focus rings, dividers · progress bars and gauge strokes · dots and icons · display text at 24px+, or 18.66px+ bold.
Use --red-dk
Any body-size red text (eyebrows, links, labels, table headings, error messages) · any red fill carrying white text - buttons, badges, pills, avatars.
Text sitting on a colour sample needs a scrim (see the radius and shadow swatches below) - the sample must keep showing its real value, so darken behind the label rather than changing the swatch. Enforced by node test-contrast.js, which renders every page and measures the real computed foreground/background of each text node. Run it after any colour change.
Status colours
Green / Pass#22C55E--green
Lime / Score 65#84CC16--lime
Amber / Major#F59E0B--amber
Orange / Risk#FB923C--orange
Ink scale
Ink 900#111827--ink
Ink 700#374151--g1
Ink 600#4B5563--g2
Ink 500#6B7280--g3
Ink 400#9CA3AF--g4
Backgrounds & borders
White#FFFFFF--bg
Background 2#F9FAFB--bg2
Background 3#F3F4F6--bg3
Line / Border#E5E7EB--line
Typography

Type system.

One typeface: Geist - headings, body, labels, eyebrows, scores and tokens. System monospace (SF Mono / Menlo) is used only for genuine code, URLs and data readouts - never as a label style.

Heading scale - Geist 800
H1 Hero
48px / 800 / -0.04em
Audit faster.
H1 Page
34px / 800 / -0.035em
The score.
H2
28px / 800 / -0.02em
Pillar breakdown
H3
20px / 700 / -0.02em
Priority findings
H4
17px / 700 / -0.01em
Audit Details
Body scale - Geist
Body Large
16px / 400 / 1.55
Run these against every agent, the same way each time. Consistency is what makes your audit repeatable.
Body Default
14.5px / 400 / 1.6
Score each dimension from 0 to 10 based on what you observed in the probes. Add every failure as a finding with its evidence and recommended fix.
Body Small
13.5px / 400 / 1.6
Ranked by severity, then by revenue and retention impact. Critical findings should be addressed before the agent handles real customers.
Labels & data - Geist
Eyebrow
12px / 500 / 1px LS / UC
AI Agent Audit Report
Data label
11px / 500 / 0.08em
Overall Score
Score number
42px / 800 / -0.04em
84
Token / badge
10px / 600 / 0.06em / UC
MX/BX/AIX · v2.1
Spacing

The grid.

4px base unit. All spacing values are multiples of 4. Use these tokens consistently - never use arbitrary pixel values.

4px — spacing-1 — Inner chip padding, tight gaps
8px — spacing-2 — Icon-to-label, tag internals
12px — spacing-3 — Button padding-y, nav gaps
16px — spacing-4 — Nav padding-x, small card gaps
20px — spacing-5 — Button padding-x
24px — spacing-6 — Card padding, section sub-gaps
32px — spacing-8 — Between card groups
40px — spacing-10 — Section internal margins
48px — spacing-12 — Content padding-x (mobile)
64px — spacing-16 — Section padding
96px — spacing-24 — Page section gaps (landing)
Border Radius

Rounded correctly.

Consistent radius at every tier. Pills for all interactive CTAs - it's a Verifux signature. Never mix pill and square buttons on the same surface.

4px
--r-xs
Badges
6px
--r-sm/2
Tags
8px
--r-sm
Inputs
12px
--r
Cards
16px
--r-lg
Big cards
24px
--r-xl
Modals
100px
--r-pill
Buttons
circle
Logo
Shadows

Depth system.

Ink-tinted, never pure black. Three levels of elevation. The brand shadow (red tint) is used only for the primary CTA hover state and the logo mark.

NoneFlat
smCards, nav
DefaultPanels
lgReports
BrandCTA hover
Motion

Easing & timing.

One primary easing curve used everywhere. Spring feel - snappy entry, relaxed exit. Never animate decorative elements; only animate in response to user interaction.

--ease: cubic-bezier(0.16, 1, 0.3, 1) — Primary easing, all interactive elements
80ms — instant feedback 150ms — hover states 180ms — transitions (default) 300ms — panel slides 500ms — score ring fill
Components

Buttons.

All buttons use pill radius (100px). The red primary is the only true CTA. Use ghost for secondary actions. Use dark for export and destructive actions. Never mix button styles in the same visual tier.

Primary variants
Small variants
Button with icon
Components

Chips & badges.

Pill chips with a coloured dot. Used for severity levels, framework layer labels, and status. All Geist, uppercase, 10px.

Severity
Critical Major Minor Pass
Framework layers
MX - Human Experience BX - Behavioural Design AIX - AI Experience
Neutral / meta badges
9 pillars 54 checkpoints MX/BX/AIX v2.1
Components

Cards.

White background, 1px border (#E5E7EB), 16px radius, shadow-sm. Content inside uses card-label (mono eyebrow) then h3 then desc. Never use box shadow alone without the border.

Standard card
Audit Details

The Scorecard

Score each dimension 0 to 10 from your probe results. Weights reflect how much each area affects customer trust.

Layered card with group label
Framework dimensions
MX - Human Experience
Task Completion · Human Handoff · Failure Behaviour · Brand Voice
BX - Behavioural Design & Persuasion
Ethical persuasion · Dark pattern detection
AIX - AI Experience
Accuracy · Compliance · Security · Safety
Components

Form inputs.

Labels in Geist, 11px, uppercase. Inputs in Geist 14px. Focus state: red border + 3px red shadow at 10% opacity. Placeholder in --g4.

Input states
Components

Score ring.

SVG circle, rotated -90deg. Stroke colour driven by score function. Score number in Geist 800 with tight tracking. Denominator "/100" in system mono --g4.

Score states
20/ 100
Critical
40/ 100
Significant Risk
70/ 100
Needs Improvement
91/ 100
Production Ready
Score colour function
≥ 80 #22C55E — Excellent
≥ 65 #84CC16 — Good
≥ 50 #F59E0B — Moderate
≥ 40 #FB923C — Poor
< 40 #FF0033 — Critical
Components

Pillar rows.

Used in both the main Verifux report and the Agent Audit toolkit. Track fill colour driven by score function. Name column is 200px fixed. Score is mono, right-aligned.

MX - Human Experience
Task Completion
8
clean
Human Handoff
7
review
Failure Behaviour
5
1 major
Brand Voice
3
needs fix
BX - Behavioural Design & Persuasion
Behavioural Design
6
2 major
AIX - AI Experience
Accuracy
9
clean
Compliance
4
1 critical
Components

Findings.

Redesigned 2026-09-24 (report + app kept in step). Card has a 1px border with a 4px left bar coloured by severity. The header reads pillar/layer on the left, severity on the right. Title at 17px. "What we found" and "Recommended fix" are full-width, stacked (not two columns) - the fix carries a light red tint with a 3px red left bar. Only Critical and Major get full cards; Minor findings are compact one-line rows.

Critical finding - full card
AIX AI Experience & Agent Readiness Critical
AI crawler and agent accessibility
What we found
Both robots.txt and llms.txt are absent from the live server, so every AI crawler is operating with no permission signalling and no site summary.
Recommended fix
Publish a robots.txt that explicitly allows reputable AI crawlers, and an llms.txt summarising what the product does and its key actions.
Acceptance criteria
GIVEN an AI agent accesses the site WHEN it reads the page THEN robots.txt and llms.txt are present and valid AND verified with a structured-data validator.
User story · Effort: Large
As a user of the site, I want "AI crawler and agent accessibility" fixed so that I am no longer blocked and can trust this site.
Done when: Fix implemented as specified; QA passed on desktop + mobile.
Minor findings - compact rows (no full card)
Mixed British and American spelling
Standardise on UK spelling across the interface copy.
MX
Line length exceeds comfortable reading width
Cap body measure at ~75 characters.
MX
Rules
  • Header order: layer/pillar chip + pillar name (left), severity chip pushed right with margin-left:auto.
  • What we found / Recommended fix: full-width stacked, 15px body at 1.75 line-height.
  • Acceptance criteria & User story are de-boxed - a hairline top divider, no fill or border. The app deliberately omits them - they're the PDF's paid value.
  • Minor findings never get a full card - one-line row: severity dot, name, one-line fix, layer chip on the right.
  • Text is escaped once in generateAC() / generateUserStory().
Components

PDF report layout.

The audit PDF is generated by report-template.js and rendered through Puppeteer. This section is the single source of truth for its page anatomy, margins, and repeating chrome - keep it in sync whenever the template changes.

Page anatomy - redesigned 2026-09-24 (~46-50pp down to ~10-30 depending on finding count)
1. Cover
Dark, full-bleed. Score ring, verdict, severity chips.
2. Executive Summary
Verdict, counts, score as a ring, pillar breakdown table.
3. Priority Matrix
All actionable findings, one table, sorted by severity.
4. Detailed Findings
Critical + Major full cards; Minor as compact rows. Multi-page.
5. Design Excellence & Craft
Composite ring, sub-scores, craft observations. Optional module.
6. Methodology
Framework, checkpoint count, model. No Dev Checklist / Notes blocks (removed).
How every physical page keeps its margin + brand chrome

Detailed Findings is one long HTML block that Chromium auto-paginates across many physical PDF pages. Padding on the outer .page div only applies once, so every page generated purely by overflow previously had zero margin and no header/footer. The fix is the JS-level page.pdf() margin option (Chromium applies it to every physical page, including overflow), plus Puppeteer's displayHeaderFooter with header/footer templates - so the brand bar and "Page X of Y" now repeat on every physical page. CSS @page is not used for margins.

// Margins are page.pdf() JS options in pdf-generator.js - NOT CSS @page
interior: format:'A4', margin { top:16mm, bottom:16mm, left:14mm, right:14mm }, displayHeaderFooter:true
cover: format:'A4', margin 0 (full-bleed), displayHeaderFooter:false
Margin spec
ZoneValueApplies to
Top / Bottom16mmInterior pages (page.pdf margin option)
Left / Right14mmInterior pages (page.pdf margin option)
Cover0 (full-bleed)14mm internal padding; rendered as its own single-page document
Running chromeheader + footerPuppeteer displayHeaderFooter - repeats on every physical page incl. overflow
Section header bar - repeats once per logical page
Verifux basecamp.com · Detailed Findings
Page content starts here, 24px below the header rule.
Acceptance criteria + User story - now DE-BOXED (hairline divider, no grey card)
Acceptance criteria
GIVEN a user reaches a point involving "Focus indicators" WHEN they interact with it THEN a 2px high-contrast focus ring is present on all interactive elements AND the fix is verified before this item is marked complete.
User story · Effort: Medium
As a user of the site, I want "Focus indicators" fixed so that I experience less friction while using this site.
Done when: Fix implemented as specified; QA passed on desktop + mobile.
Rules
  • Card padding 24-28px; 4px severity left bar. What we found / Recommended fix are full-width stacked, 15px / 1.75.
  • Acceptance criteria + User story are de-boxed - hairline border-top, no fill. Generated by generateAC() / generateUserStory() (renamed from generateBacklog).
  • Removed entirely: the ruled Notes blocks and the Developer Checklist (each finding was repeated 3x). Minor findings are compact rows only.
  • Dynamic text is escaped exactly once at construction time - never re-escape at render, or "&" renders as "&amp;".
Type layer & fonts - Geist only
  • Body sets font-variant-ligatures:none + font-feature-settings:"liga" 0,"clig" 0. Ligature glyphs (fi/fl) embed with no ToUnicode map and paste as boxes.
  • Do NOT use tabular figures (font-variant-numeric:tabular-nums) - they are OpenType alternates and reintroduce the same unmapped-glyph bug. Use normal Geist figures.
  • No bare font-family:monospace in the PDF templates - it embeds unmapped. Everything is Geist.
Open issue - verify the text layer on the PROD PDF, not locally

Headless Chromium in the Railway container resolves font-family:'Geist' against installed system fonts, not the page's webfont - so Geist must be installed in the Docker image (see Dockerfile) or text falls back to Liberation and the copy-paste layer breaks (~635 unmapped glyphs), even though a local render looks perfect. As of this writing the container is still not matching the installed Geist and the fix is in progress. Always verify unmapped-glyph count on a PROD-rendered PDF (GET /api/evaluation/<id>/pdf) with pdfjs - a local render cannot reproduce the container's font resolution.

Snapshot PDF (snapshot-template.js) - separate template, kept in step
  • Cover shows the machine-check ratio as a ring (N of M checks passed, coloured by band: Strong / Mixed / Weak / Poor) - never a score out of 100.
  • Finding rows: index number on the left (bold, #4B5563), pillar name, severity chip on the right.
  • Design & Craft (preview): a gold card (#FBF3E1 / #EAD9AE / #7A5F16) rendering design_preview (3 quick checks), never counted in the pass total.
  • Same font/ligature rules as the report; 3-page prospecting layout.
Iconography

Icons.

Lucide-style stroke icons. 1.8px stroke width. Round linecap and linejoin. Used at 16px, 18px, 20px, and 24px. Always inherit currentColor from parent. Never fill icons.

check
check-circle
alert
info
chart
checklist
report
shield
bot
brain
eye
layout
list
signal
download
activity
MX / BX / AIX / DX Framework

The triad, plus DX.

Three questions. Three colours. Nine pillars. Fifty-four checkpoints. Every Verifux surface reflects this architecture - never break the colour-to-layer association. DX (Design Excellence & Craft) is a fourth, entirely separate module in its own gold - never blended into the MX/BX/AIX score, verdict, or checkpoint counts. See CLAUDE.md's DX entry for the full isolation guarantee.

MX - Human Experience
Can people use it?
Red layer - #FF0033 - 7 pillars - 42 checkpoints
Visibility & Feedback Control & Freedom Consistency & Standards Error Prevention Cognitive Load Accessibility Conversion Architecture
BX - Behavioural Design & Persuasion
Will people act?
Violet layer - #7C3AED - 1 pillar - 6 checkpoints + dark pattern detection
Anchoring & Price Framing Social Proof at Decision Point Ethical Scarcity & Loss Aversion Choice Architecture (Hick's Law) Commitment & Endowed Progress Cognitive Fluency & Uncertainty
Dark pattern detection (negative findings): confirmshaming, hidden costs, fake urgency, forced continuity, pre-checked traps
AIX - AI Experience & Agent Readiness
Can AI use it?
Blue layer - #0099FF - 1 pillar - 6 checkpoints
Machine-readable content AI crawler access Structured data (JSON-LD) Semantic HTML Agent-actionable flows llms.txt readiness
DX - Design Excellence & Craft
Is it well designed?
Gold layer - #B08D28 - 1 optional module - 4 weighted sub-scores, not a checkpoint pillar
Design - 40% Perceived Usability - 30% Creativity - 20% Content - 10%
Benchmarked against publicly documented industry design-award judging criteria. Not affiliated with, endorsed by, or partnered with Awwwards, CSSDA, FWA, or any other design-award platform. Findings use "Strength"/"Opportunity" labels, never CRITICAL/MAJOR/MINOR.
Voice & Copywriting

How Verifux speaks.

Expert and direct. Never corporate or vague. Findings land with confidence. Fixes are actionable. The tone is a senior UX professional talking to another professional - not a support bot talking to a customer.

Tone principles
Expert
We've done this before. The findings are specific. The fixes are actionable. No hedging.
Direct
Lead with the problem. One sentence. No preamble. Never "It appears that..."
Calibrated
Reserve Critical for things that actually block users. Don't over-flag. Don't under-flag.
Do / do not
Do
The agent stated a 9.5% rate. The actual rate is 11.25%. A customer acting on this faces real financial harm.
Do not
It appears that there may potentially be some inconsistency in how rate information is being communicated to end users.
Do
Add an SSL badge and card icons within 16px of the payment button.
Do not
Consider potentially adding some trust-related visual elements near the payment area.
Do
Critical: fix before the agent handles customers. Major: fix in next sprint. Minor: polish when time allows.
Do not
High priority. Medium priority. Low priority. Urgent. Important. Nice to have.
Terminology - always use these exact terms
FrameworkMX / BX / AIX — not MX/AIX, not mx-bx-aix
Never use "ML" or "UX+AI".
BX pillarBehavioural Design & Persuasion
Not "Behavioral" (US spelling). Not "BX Pillar".
SeverityCritical / Major / Minor / Pass
Not High/Medium/Low. Not Blocker/Critical/Moderate.
PunctuationShort hyphens ( - ) only.
Never em dashes or en dashes in copy.
ProductVerifux - capital V, lowercase e-r-i-f, italic-red ux in design.
Not Veri-fux. Not VERIFUX.
TaglinesMX: "Can people use it?"
BX: "Will people act?"
AIX: "Can AI use it?"
Responsive Design

Breakpoints & grid.

Mobile-first. The sidebar collapses at 880px to a top bar with pill tabs. Content padding scales down. Grid columns reduce. Score ring and summary band stack vertically.

TokenValueBehaviour
sm640pxMobile landscape - 1 col grids, reduced font sizes
md768pxTablet - compact cards, 2 col where possible
lg (sidebar)880pxSidebar collapses to sticky top bar with pill tab switcher
xl1280pxWide desktop - content maxes out at 1060px
Responsive rules
  • Content max-width: 1060px. Report sheet max-width: 820px.
  • Sidebar: 252px fixed. Below 880px: display:none, replaced by mobile top bar.
  • Content padding: 36px 40px desktop; 22px 16px mobile.
  • Grid columns: 2-col meta grid collapses to 1 on mobile.
  • Summary band (score ring + verdict) stacks to column on mobile.
  • Pillar note column (rightmost) hides on mobile.
  • Font sizes: use clamp() for page titles - clamp(24px, 3.5vw, 34px).
Figma Setup

Importing to Figma.

The design tokens are packaged in verifux-tokens.json using the Tokens Studio format. Follow these steps to set up Figma variables from this file.

1

Install Tokens Studio

In Figma, open Plugins and install Tokens Studio for Figma (free tier supports all Verifux tokens). This is the bridge between your JSON file and Figma Variables.

2

Load the tokens file

Open Tokens Studio plugin. Choose Sync - Local file or paste the contents of verifux-tokens.json directly. You'll see three token sets: global, semantic, component.

3

Activate all token sets

In Tokens Studio, toggle all three token sets to active. The semantic and component tokens reference global tokens using dot-notation (e.g. {global.color.red.DEFAULT}).

4

Export to Figma Variables

Click Export to Figma Variables in Tokens Studio. Select colour, number, and string variable types. This creates Figma Variable collections matching the token structure.

5

Set up text styles

Create Figma Text Styles manually for each type specimen in the Typography section: H1/Hero, H1/Page, H2, H3, H4, Body/Large, Body/Default, Mono/Eyebrow, Mono/Label, Mono/Data.

6

Naming conventions for components

Name Figma components to match token keys: Button/Primary, Button/Ghost, Card/Default, Chip/Critical, Chip/MX, Nav/Item/Active, Score/Ring, Finding/Critical. Use / for grouping.

Token file preview (copyable)
{
  "global": {
    "color": {
      "red": { "DEFAULT": { "value": "#FF0033", "type": "color" } },
      "violet": { "DEFAULT": { "value": "#7C3AED", "type": "color" } },
      "blue": { "DEFAULT": { "value": "#0099FF", "type": "color" } }
    }
  }
}
... see verifux-tokens.json for the complete token set