SkillThe rules every piece follows

Design rules

Sixteen things that never ship, then the craft rules for the two registers, typography, layout and spacing, buttons, prices, depth, motion and accessibility, and how to check a finished page.

9 min readdesign-rules.md

What never ships, then the craft rules for type, layout, buttons, prices, depth and motion. These apply to every piece and to every section written by hand.

Never ship#

  1. No beige, cream, parchment or old-paper styling. Use modern white and light-grey surfaces and cards from the tokens. Paper is allowed only where the convention needs it: a guarantee certificate, a Johnson box, the order bump's yellow.
  2. No weak price blocks. One compact, polished block: the struck value, the big price, a small clear savings line. Never cramped, never a lone price, no divider above the total.
  3. No images or icons on a white or coloured box. Seals, badges, products and icons sit on transparent backgrounds. Shadow them with filter: drop-shadow, never box-shadow on the image.
  4. No decorative arrows or circles. No hand-drawn cue arrows, no arrow icons inside buttons, and no circles or rings around prices or words. Lead the eye with layout, size and the action colour.
  5. Nothing broken on a phone. Nothing pushes past the right edge at 390px. Rows wrap. Badges or lists that don't fit on a phone are hidden there.
  6. No bad highlights, underlines or signatures. One marker stroke behind a phrase, with no fade at the ends. No wavy or pen-line underlines. Signatures are not underlined or animated.
  7. No glow. Not on buttons, cards, icons or images. Button shadows are dark and close.
  8. No fake or awkward imagery. No HTML or CSS ebooks, worksheets or mockups; use a real or generated image. No rounded-top, flat-bottom crops. No brown image borders.
  9. No eyebrow text above headlines unless the piece cannot work without it.
  10. No decorative borders or shapes. No left accent borders on cards, callouts, quotes or rows. No top borders without a reason. No dotted backgrounds. No ticket shapes.
  11. No gradient section backgrounds.
  12. No walls of text. Fewer words, driven by the call to action. Never "example only".
  13. No bands on components. A component never gets a coloured band or panel of its own; it sits inside a plain padded section with the page background (the starter kit's fd-section), never bare between blocks. Only blocks get a band.
  14. No fixed colours or fonts. Every colour, face, button, input and image follows theme.md.
  15. No brand-tinted quiet panels. Inactive tabs, guarantee and info boxes, rows and chips use the neutral ink tint. An accent tint marks only the selected or featured element.
  16. No width caps on headlines. No max-width: Nch on a headline. Use text-wrap: balance and let the column set the width. Body copy keeps a reading measure of about 60 to 70 characters.

Pick one register#

Classic Modern premium
Feel A letter from a person: dense rhythm, explicit emphasis, strong action contrast. Restrained colour, current type, more air, stronger media.
Headlines Heavy sans, Title Case, often in quotes or ending "…". Elegant serif or condensed heavy caps; sentence case; no exclamation marks.
Buttons Two-line Belcher with gradient and bevel, 56–72px tall. Solid or subtle gradient, 52–60px, pill or 8px radius, one line.
Spacing Sections 40–64px apart; cards 16–32px padding. Sections 72–176px apart; cards 24–48px padding.
Suits Sales letters, book funnels, upsells, most offers. High-ticket, coaching, agency and event brands.

Keep one register across the page. Both keep the same persuasion structure underneath. In the modern register, air goes between arguments, never inside one: price, terms, reassurance and button still read as one decision.

Typography#

  • One h1, in the hero. Section arguments are h2; headings inside a piece are h3. Each role is visibly smaller than the one above it.
  • Make headlines large and bold; they can grow on desktop to fit well. Subheads are medium weight.
  • Headings use text-wrap: balance, body copy text-wrap: pretty. No line ends with one stranded word; bind the last two words with a non-breaking space when needed. Check at phone, tablet and desktop width.
  • Keep hyphenated names on one line. If a whole name doesn't fit the phone column, change the size; never let it overflow.
  • Body text 18–20px on desktop, 17–18px on a phone, line height at least 1.4 (headlines about 1.02–1.1). Paragraphs keep at least 0.75em between them; wrapped list items 0.35em.
  • Measures: lead about 54 characters, body 60–72, captions 40–60.
  • Use sentence case or Title Case consistently for the same role. A heading treatment in caps never extends to paragraphs.
  • Emphasis is one device, on two to five promise words: a marker stroke, weight, size or colour. Keep punctuation inside the emphasised phrase.
  • The highlighter is one smooth, translucent marker stroke behind one continuous phrase, sitting low on the letters, with slightly uneven ends and box-decoration-break: clone so it wraps cleanly. Never separate chips on single words, never a fade at the ends.
  • Numbers need a job, a unit and a supplied source. Prices use tabular figures and leave 12–20px to the note beneath.
  • A pre-head, when the piece needs one, is a short factual label of at most 40 characters on one line. Never a sentence in tracked capitals.

Layout#

  • Containment. Nothing readable is wider than the screen. Put min-width: 0 on flex and grid children. At 390px, a long word must fit the usable column. Phone gutters are at least 20px, and text stays at least 16px from the screen edge.
  • One axis per block. Centre the box as well as its text (margin-inline: auto); text-align: center alone leaves a narrow form or lead hugging the left edge. Centre an icon and its label as one group: in a centred line that can wrap (privacy notes, reassurance lines), put the icon inline in the text (display: inline-block; vertical-align: -0.15em) instead of a centred flex row, where wrapped text fills the row and strands the icon.
  • Rows line up. A row of cards is one grid or flex container that stretches, so cards share a top and a bottom whatever their copy length. Each card pins its button with margin-top: auto. Test with real, unequal copy.
  • Two columns align to the top, never centred vertically. A sticky image on one side while the other scrolls works well.
  • Lists keep their markers. A copy list has bullets and an indent of about 1.4em, or marks every item with an icon. Never flush, unmarked lines.
  • Image and badge rows in summaries and item lists align to the top of each row.
  • Tables. A real table with a 34–40% label column, equal option columns, top-aligned cells and short headers. Header strips are light grey with a fine bottom border. More than two columns become labelled cards on a phone.
  • Phone order is message, then action, then picture. A teaching graphic keeps its reading order when it stacks.
  • The first screen holds the complete primary action: an opt-in shows the field and the whole button, not the top of a form. Check at 1440×900 and 390×844.
Spacing Target
Scale 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 96 / 128px
Pre-head to headline 12–20px
Headline to lead 20–32px
Inside a decision (price, button, guarantee) 16–24px
Card padding 24–32px phone, 32–56px desktop
Text inside a filled or bordered box At least 12px clear of the edge
Button padding 14px by 24px at minimum
Main sections 96–160px desktop, 64–96px phone, adjusted by register

Use one spacing value per role across the page. Don't shrink text to fix an overbuilt hero; remove the extra labels, cues and nested padding first.

Buttons#

  • The main action is bold, big and obviously pressable: an in-hue gradient, a fine border, an inset bevel and a dark, close shadow.
  • The label is vertically centred and uses the button's width well, without excess side padding.
  • Icons sit inline with the label, centred on the same row. No arrow icons. In a two-line button only the subline gets the second row.
  • Step and advance buttons are proper buttons; Back is the secondary style.
  • Active tabs never use the same colour as the main button. Steps and tabs have clear active and inactive states; their connector lines stop at the last step.
  • Button text is a measured pair with its fill at every gradient stop and in every state: white on saturated or dark fills, near-black on yellows. On mid-saturation fills (orange, teal, lime) deepen the fill until white passes, never set dark text on it. Set the colour on the button itself, never inherit it.
  • The decline link is plain, quiet and underlined.

Prices and offers#

  • One complete, compact block: struck value, big price, small clear savings line, reason-why under it.
  • A stack is one complete block: no header strip divider, no rule above the total. Values form one right-aligned column with tabular figures. On a phone, the value moves under its item.
  • Use the product's images in item lists, aligned to the top of each item.
  • Strike the total value on every stack in the funnel or on none.
  • The struck price uses --danger; the savings use --success.

Depth and material#

  • Cards: solid --card, a fine border, a light inset edge (lighter than the card, not white), a dark close shadow.
  • A subtle offset background image behind a card, or subtle depth in a hero band, adds richness.
  • Featured images are slightly rounded on all sides. In a card header, an image covers the area with a soft overlay fade.
  • Classic paper conventions stay limited to the guarantee certificate (paper, a golden seal, strong headline type), the Johnson box (paper texture, typed note) and the order bump (a warm yellow to grab attention).
  • A dark card on a dark page needs a visible edge, or it disappears.
  • No three.js, WebGL or shader effects in pieces.

Motion#

  • Render readable content before any animation. Never hide a headline or button behind a slow fade.
  • Reveal an argument once, briefly: a short opacity and transform change, under 600ms for the hero.
  • Every page can have one considered interaction that suits its job: a button hover that deepens its shadow, a link underline that draws in, a card that answers hover, a gentle reveal.
  • One signature effect per page at most, and only where it explains the offer (a product card that tilts slightly toward the pointer, a ledger that stays in view beside the explanation). Order and upsell pages stay still.
  • Pointer effects need a fine pointer and reset on focus or leave. Keyboard and touch get ordinary controls.
  • Motion that runs longer than five seconds has a visible pause.
  • Honour prefers-reduced-motion everywhere. Never animate layout. Let finite animations settle before judging a screenshot.

Accessibility#

  • Semantic controls, visible labels, visible focus, clear hover and active states, 44px touch targets.
  • Normal text at 4.5:1 and large text at 3:1 against its actual surface, including on bands and tints.
  • Muted text belongs on the page background and cards, not on tints.
  • No page-level horizontal scroll. A wide table may scroll inside a clearly bounded region.
  • Above-the-fold images have explicit dimensions and high fetch priority; lower media lazy-loads.

Check the page#

At 1440px and at 390px, look at the whole page, not just the measurements:

  • nothing overflows, no orphan words, no broken text;
  • the primary action is complete in the first screen;
  • every text pair reads at 4.5:1;
  • every arrow and annotation points at its subject;
  • every claim, number and badge traces to a supplied fact;
  • the page reads as one register, one theme and one voice.

Are you sure?