Design system · Source of truth

House Style Tokens

The single source of truth for colors, fonts, spacing, and other design tokens. New pages copy these verbatim. Existing pages that drift are flagged on the Visual Continuity Report.

Section 01

How to use this page

When you build a new page, open this page first. Copy the tokens verbatim into the new page's :root CSS block. Don't invent new values — if you need a new shade or size, add it here first, then use it on the page.

If you're modifying an existing page, check its tokens against this list. Drift is fine if intentional and documented; drift by accident is the thing we're avoiding.

Why this exists. With multiple agents and clients building pages, color and font drift is the silent killer of visual continuity. One page uses #b8332e for the accent because someone eyeballed it. The next page uses #c0392b. Three months later the whole operation looks like five different brands. This page fixes that.
Section 02

Colors

One accent (warm rust), one neutral ramp, three semantic colors (good / warn / bad). No second accent, no per-project palette.

Core palette

Ink
#111418 · --ink
Ink Soft
#4a5560 · --ink-soft
Line
#e6e8ec · --line
Paper Alt
#f7f8fa · --paper-alt
Accent
#b04a2f · --accent
Accent Dark
#8f3a23 · --accent-dark
Accent Soft
#fbece6 · --accent-soft

Semantic

Good
#2e7d52 · --good
Warn
#b58900 · --warn
Bad
#b8332e · --bad
Good BG
#e6f3ec · --good-bg
Warn BG
#fbf2d9 · --warn-bg
Bad BG
#fbe6e4 · --bad-bg
Section 03

Typography

Two families. Inter for everything readable. JetBrains Mono for eyebrows, metadata, code, and small caps labels. No third family.

H1 — Inter 800, 2.2rem, line 1.18, -0.01em tracking
H2 — Inter 700, 1.45rem, line 1.2
Body — Inter 400, 17px, line 1.6. Body text caps at ~720px wide. Anything wider hurts reading rhythm.
JetBrains Mono · 14px · #4a5560 · used for labels, metadata, code
Eyebrow / micro-label
TokenValueUse it for
--ff-h1-size2.2remPage hero title
--ff-h2-size1.45remSection headings inside the page
--ff-body-size17pxRunning body text
--ff-small-size13–14pxCaptions, metadata, table cells
--ff-mono-size14pxEyebrows, code, small caps labels
Mobile size rule. h1 drops to 1.7rem below 540px. body drops to 16px. Don't let the agentic page builder invent other breakpoints.
Section 04

Spacing scale

One scale, multiples of 4. Pick the right step — don't invent new ones.

StepValueUse it for
--ff-s-14pxTiny gap between sibling elements (icon + text)
--ff-s-28pxDefault inline spacing
--ff-s-314pxDefault block spacing (between paragraphs)
--ff-s-422pxCard inner padding (small card)
--ff-s-536pxSection spacing
--ff-s-660pxMajor page breaks, footer margin
Section 05

Border radius

Two values. Pills use 999px. Everything else is either 8px (inputs, small cards) or 12px (large cards, page sections).

TokenValueUse it for
--ff-radius-sm8pxInputs, signal boxes, small cards
--ff-radius-md12pxForm cards, large content cards
--ff-radius-pill999pxFilter chips, tags, pill buttons
Section 06

Shadows & borders

We use 1px borders, not drop shadows. It's cheaper, prints better, and ages well across devices.

Default border style — border: 1px solid var(--line); on cards, signal boxes, table cells, and inputs.

If a future page genuinely needs a shadow (e.g. a floating menu), add the shadow token to this page first.

Section 07

Buttons

Two button styles. Filled (accent background, white text) for primary CTAs. Outlined (accent border, accent text, transparent background) for secondary actions. No third button style.

StyleUse it forDon't use it for
Filled (--accent)The single primary action on a page ("Submit", "Buy Now", "Get Started")Anything that's not the primary action
OutlinedSecondary actions next to a primary oneThe primary action itself
Text linkTertiary actions inside paragraphs ("read more", "see full terms")Anything clickable that wants visual weight
Section 08

Icons & image policy

By design, our pages use zero raster images. All icons are inline SVG or unicode glyphs. All visual character comes from typography, color, and spacing.

Why this matters. No images = no broken images, no alt-text errors, no asset hosting costs, no continuity drift between pages. The brand identity travels in the CSS, not in files.

When to break this rule: when a client explicitly needs photographic content (e.g. a real estate funnel with property photos). In that case:

Section 09

Copy-paste starter for new pages

Drop this block at the top of any new page's <style> element. It gives you the full token set.

:root {
  --ink: #111418;
  --ink-soft: #4a5560;
  --line: #e6e8ec;
  --paper: #ffffff;
  --paper-alt: #f7f8fa;
  --accent: #b04a2f;
  --accent-dark: #8f3a23;
  --accent-soft: #fbece6;
  --good: #2e7d52;
  --good-bg: #e6f3ec;
  --warn: #b58900;
  --warn-bg: #fbf2d9;
  --bad: #b8332e;
  --bad-bg: #fbe6e4;

  --ff-accent: var(--accent);
  --ff-accent-hover: var(--accent-dark);
  --ff-btn-text: #ffffff;
  --ff-form-max: 560px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

For typography, link the fonts once in the <head>:

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500&display=swap" rel="stylesheet">