Colour is a once-per-page event
Readers need to trust the screenshots more than the scenery; once colour stops, the product becomes the subject.
payments · pricing · forms
Accept payments, add a pricing table and a checkout form in one afternoon - then watch the revenue numbers move.
canvas #FFFFFF · every specimen here reads tokens.css,
the deterministic render of dna.json — not a screenshot

Roles first, primitives last. Ratios are computed from the two token values, not sampled from a screenshot; a text colour is graded on the ground it actually sits on.
The run's own headline set at every step, at real size, in sohne-var and its fallback stack; the face itself is not shipped. Numeral steps show the run's first figure, text steps its headline.
Controls read the run's action tokens. Click a state chip to force a state; hover and focus-visible stay live.
Forced samples sit next to live states; neither replaces the other.
| Charge | Customer | Amount | Status |
|---|---|---|---|
| ch_1 | Ada Lovelace | $48.00 | succeeded |
| ch_2 | Katherine Johnson | $120.00 | succeeded |
| ch_3 | Grace Hopper | $9.00 | disputed |
Each curve is the token's own cubic-bezier with its handles drawn. Play runs the real duration, the slider scrubs curve & track together, and Reduced motion in the top bar jumps straight to the end state.
Every capsule is a machine-readable rule. Expand one to read the regex a build is
checked against; a generated page that matches it fails lint_output.py.
border-width ≤ 1px(?:^|[^a-z0-9-])bg-(?:gradient-to-|linear-to-|radial-to-|conic-to-)shadow-(?!(?:none|sm|inner)\b)[a-z0-9]+(?:^|[^a-z0-9-])bg-(?:indigo|violet|purple)-(?:4|5|6|7)\d\d$(?:^|[^a-z0-9-])bg-(?:gradient-to-|linear-to-|radial-to-|conic-to-)Readers need to trust the screenshots more than the scenery; once colour stops, the product becomes the subject.
At ~0.2% of the surface, indigo always means 'do something'; a larger share would make the page a brand poster and slow scanning.
A light face over a heavy gradient leaves the gradient as the loudest thing; bold type would fight the artwork and the screenshots.
Grey text on a white page beside indigo reads as unfinished; shared hue makes the colour look chosen rather than added.
Colour has to feel immediate on hover while a layout reveal needs room to read; one duration would make one of them wrong.
One module with its interaction, skin stripped and mapped onto this run's slots. The live module on the left is rebuilt from the slot mapping; on the right is what the browser recorded on the source.
No clips/ beside this file. A single module can be lifted with lewitt clip --find "…" --dest runs/…, and its brick would be shown here.
tokens.cssshadcn-theme.cssagent-rules.mdtaste.mdVERIFY.md
https://stripe.com/ · captured 2026-11-23T12:17:46 · full mode · every figure is rendered from dna.json and reads ../tokens.css.
Specimen copy is inferred from the source's voice: it is written for this run, never quoted from the site, and the page never presents it as the site's own copy. Tokens and measurements are observed.
| Claim | Basis |
|---|---|
| specimens.hero.headline | Financial infrastructure to grow your revenue. |
| specimens.hero.subhead | Accept payments, add a pricing table and a checkout form in one afternoon - then watch the revenue numbers move. |
| specimens.hero.primaryCta | Start now |
| specimens.stats | 100+ currencies settled; 2.9% per charge, +30¢; 99.999% uptime, last 12 months; 46 days to first payout |
| specimens.cards | Standard; Custom; Enterprise |
The full registry with aliases resolved for mode default.
Click a name or a value to copy it.
| CSS var | Token | Layer | Type | Value | Status |
|---|---|---|---|---|---|
| --lw-ink-900 | color/ink/900 | primitive | color | #061B31 | observed |
| --lw-ink-700 | color/ink/700 | primitive | color | #50617A | observed |
| --lw-ink-600 | color/ink/600 | primitive | color | #64748D | observed |
| --lw-tint-100 | color/blue-tint/100 | primitive | color | #E5EDF5 | observed |
| --lw-tint-50 | color/blue-tint/50 | primitive | color | #F8FAFD | observed |
| --lw-page-tint | color/blue-tint/25 | primitive | color | #F6F9FC | observed |
| --lw-white | color/white | primitive | color | #FFFFFF | observed |
| --lw-indigo-600 | color/indigo/600 | primitive | color | #533AFD | observed |
| --lw-indigo-500 | color/indigo/500 | primitive | color | #635BFF | observed |
| --lw-canvas | color/canvas | semantic | color | #FFFFFF | observed |
| --lw-canvas-tint | color/canvas-tint | semantic | color | #F6F9FC | observed |
| --lw-surface-subtle | color/surface-subtle | semantic | color | #F8FAFD | observed |
| --lw-text-heading | color/text/heading | semantic | color | #061B31 | observed |
| --lw-text-body | color/text/body | semantic | color | #50617A | observed |
| --lw-text-muted | color/text/muted | semantic | color | #64748D | observed |
| --lw-action-bg | color/action/bg | semantic | color | #533AFD | observed |
| --lw-action-bg-alt | color/action/bg-alt | semantic | color | #635BFF | observed |
| --lw-action-fg | color/action/fg | semantic | color | #FFFFFF | observed |
| --lw-link | color/link | semantic | color | #533AFD | observed |
| --lw-font-sans | font/sans | primitive | fontFamily | 'sohne-var', -apple-system, system-ui, 'Segoe UI', sans-serif | observed |
| --lw-font-mono | font/mono | primitive | fontFamily | 'SourceCodePro', ui-monospace, SFMono-Regular, monospace | observed |
| --lw-font-body | font/body | semantic | fontFamily | 'sohne-var', -apple-system, system-ui, 'Segoe UI', sans-serif | observed |
| --lw-font-code | font/code | semantic | fontFamily | 'SourceCodePro', ui-monospace, SFMono-Regular, monospace | observed |
| --lw-type-hero | type/hero | component | dimension | 48px | observed |
| --lw-type-h2 | type/h2 | component | dimension | 32px | observed |
| --lw-type-h3 | type/h3 | component | dimension | 26px | observed |
| --lw-type-body | type/body | component | dimension | 16px | observed |
| --lw-type-ui | type/ui | component | dimension | 15px | observed |
| --lw-type-caption | type/caption | component | dimension | 10px | observed |
| --lw-tracking-hero | tracking/hero | component | dimension | -0.02em | observed |
| --lw-tracking-h2 | tracking/h2 | component | dimension | -0.015em | observed |
| --lw-leading-prose | leading/prose | component | number | 1.2 | observed |
| --lw-weight-light | weight/light | primitive | fontWeight | 300 | observed |
| --lw-weight-regular | weight/regular | primitive | fontWeight | 400 | observed |
| --lw-weight-ui-strong | weight/ui-strong | primitive | fontWeight | 500 | observed |
| --lw-radius-control | radius/control | semantic | dimension | 4px | observed |
| --lw-radius-control-alt | radius/control-alt | semantic | dimension | 6px | observed |
| --lw-radius-card | radius/card | semantic | dimension | 16.5px | observed |
| --lw-depth-float | depth/float | component | shadow | 0 16px 32px rgba(50, 50, 93, 0.12) | observed |
| --lw-depth-float-strong | depth/float-strong | component | shadow | 0 13px 27px -5px rgba(50, 50, 93, 0.25), 0 8px 16px -8px rgba(0, 0, 0, 0.3) | observed |
| --lw-depth-ring | depth/ring | component | shadow | 0 0 0 1px #533AFD | observed |
| --lw-depth-ring-inset | depth/ring-inset | component | shadow | inset 0 0 0 2px #FFFFFF | observed |
| --lw-motion-fast | motion/fast | primitive | duration | 240ms | observed |
| --lw-motion-base | motion/base | primitive | duration | 300ms | observed |
| --lw-motion-reveal | motion/reveal | primitive | duration | 400ms | observed |
| --lw-easing-in-out | motion/easing-in-out | primitive | easing | cubic-bezier(0.45, 0.05, 0.55, 0.95) | observed |
| --lw-easing-out | motion/easing-out | primitive | easing | cubic-bezier(0.25, 1, 0.5, 1) | observed |
| --lw-space-section | space/section | component | dimension | 128px | observed |
| --lw-layout-container | layout/container | component | dimension | 1080px | inferred |
Values with units and the evidence that produced them. A row whose status is not observed says so.
| Category | Value | Status | Evidence |
|---|---|---|---|
| Color / canvas | white (62%) with two pale bands #E5EDF5 and #F8FAFD; pricing page is #F6F9FC under white cards | observed | e-canvas-light, e-canvas-pricing, e-sections-tinted |
| Color / text | #061B31 headings (RGB 6,27,49), #50617A body, #64748D muted — all blue-tinted, no pure grey | observed | e-ink, e-ink-body, e-ink-other |
| Color / accent | #533AFD primary fills and linked words (0.2% of surface), #635BFF CTA on pricing; secondary CTA is 1px purple outline | observed | e-purple, e-buttons |
| Color / hero | full-bleed gradient band (pink/orange/lilac) occupying the hero's right half; decorative, 0% as a control colour | observed | e-hero-band |
| Typography / families | sohne-var (1986 nodes) + SourceCodePro for code/keys | observed | e-font-sohne, e-font-mono |
| Typography / scale | H1 48/300/-0.96px, H2 32/300/-0.64px, H3 26/300/-0.26px, body 16-17px, prose 32px/300 | observed | e-h1, e-h2, e-h3, e-body-type, e-size-dist |
| Typography / UI | pricing/product UI sits at 15px x531 and 14px; 10px x93 on the home page is metadata, not body | observed | e-size-dist, e-size-dist-pricing |
| Typography / weights | 300 body/display dominates (x302 / x506), 400 secondary, 425/500 only in pricing UI; 700 only in 3 nodes | observed | e-weights, e-weights-pricing |
| Shape / radius | 4px controls, 6px secondary, 16.5px cards on pricing, 8px on secondary cards | observed | e-radii, e-radii-pricing |
| Shape / depth | layered tinted shadows: rgba(50,50,93,.12) 0 16px 32px for floats; pricing cards rgba(50,50,93,.25) 0 13px 27px -5px + rgba(0,0,0,.3) 0 8px 16px | observed | e-shadow-soft, e-shadow-layered |
| Shape / hairline | button rings: inset 0 0 0 2px white, 0 0 0 1px purple on products | observed | e-ring |
| Motion | 0.24s opacity (cubic-bezier(.45,.05,.55,.95)), 0.3s color (cubic-bezier(.25,1,.5,1)), 0.4s grid-template-rows reveal | observed | e-motion |
| Spacing | 8px base; 128px between sections on product pages, home hero→logos 160px then 408px | observed | e-space, e-gaps-home, e-gaps-products |
| Layout / grid | 12 x 88px with 16px gutters (footer + content), 1080px pricing container | observed | e-grid, e-container |
Every observed or inferred claim cites one of these recordings; none was estimated from a screenshot.
| ID | URL | Locator | Method | Status | Values |
|---|---|---|---|---|---|
| e-canvas-light | stripe.com/ | page canvas + body background | computed-style+viewport-screenshot | observed | {"white": "62.1%", "pale blue rgb(229,237,245)": "12.2%", "pale grey rgb(248,250,253)": "11.2%"} |
| e-canvas-pricing | stripe.com/pricing | pricing canvas html background | computed-style+viewport-screenshot | observed | {"rgb(246,249,252)": "49%", "white cards": "40.3%"} |
| e-sections-tinted | stripe.com/products | product page sections | computed-style+viewport-screenshot | observed | {"white": "68.2%", "pale grey rgb(248,250,253)": "21%", "blue veil rgba(22,88,188,0.03)": "9.4%"} |
| e-ink | stripe.com/ | heading text | computed-style+viewport-screenshot | observed | {"rgb(6, 27, 49)": "109 text nodes", "rgb(10, 37, 64) on pricing": "323"} |
| e-ink-body | stripe.com/ | body/secondary text | computed-style+viewport-screenshot | observed | {"rgb(80, 97, 122)": "152", "rgb(100, 116, 141)": "60"} |
| e-ink-other | stripe.com/pricing | pricing secondary text | computed-style+viewport-screenshot | observed | {"rgb(66, 84, 102)": "159", "rgb(114, 127, 150)": "82"} |
| e-purple | stripe.com/ | primary button (Contact sales) + linked words | computed-style+viewport-screenshot | observed | {"rgb(83, 58, 253)": "accent candidate x73; 0.2% of surface", "rgb(99, 91, 255)": "pricing CTA x67"} |
| e-hero-band | stripe.com/ | hero right side | screenshot-pixels | observed | {"rendered": "1392x975 image (ratio 1.43:1)", "sampled pixels": "pink #E080E0-ish, orange #E08000-ish, lilac, all above 60% saturation"} |
| e-font-sohne | stripe.com/ | all text | computed-style+viewport-screenshot | observed | {"family": "sohne-var", "samples": "1986"} |
| e-font-mono | stripe.com/ | inline code/keys | computed-style+viewport-screenshot | observed | {"family": "SourceCodePro", "samples": "14"} |
| e-h1 | stripe.com/ | hero headline | computed-style+viewport-screenshot | observed | {"size": "48px", "weight": "300", "lineHeight": "~59px (1.2)", "letterSpacing": "-0.96px"} |
| e-h2 | stripe.com/ | section headline | computed-style+viewport-screenshot | observed | {"size": "32px", "weight": "300", "letterSpacing": "-0.64px"} |
| e-h3 | stripe.com/ | card headline | computed-style+viewport-screenshot | observed | {"size": "26px", "weight": "300", "letterSpacing": "-0.26px"} |
| e-body-type | stripe.com/ | body copy | computed-style+viewport-screenshot | observed | {"size": "16px", "weight": "300 or 400", "prose size": "32px/300 in a marketing block"} |
| e-size-dist | stripe.com/ | text size distribution | computed-style+viewport-screenshot | observed | {"top": "16px x194, 10px x93, 14px x41, 26px x24, 22px x20, 48px x12"} |
| e-size-dist-pricing | stripe.com/pricing | text size distribution | computed-style+viewport-screenshot | observed | {"top": "15px x531, 14px x128, 12px x82, 18px x24"} |
| e-weights | stripe.com/ | font-weight distribution | computed-style+viewport-screenshot | observed | {"300": "x302", "400": "x165"} |
| e-weights-pricing | stripe.com/pricing | font-weight distribution | computed-style+viewport-screenshot | observed | {"300": "x506", "425": "x224", "400": "x86", "500": "x32"} |
| e-radii | stripe.com/ | radius distribution | computed-style+viewport-screenshot | observed | {"4px": "x78 (buttons, chips)", "6px": "x36", "5px": "x6", "8px": "x4", "16px": "x1"} |
| e-radii-pricing | stripe.com/pricing | radius distribution | computed-style+viewport-screenshot | observed | {"16.5px": "x54 (cards)", "8px": "x24", "4px": "x3"} |
| e-shadow-soft | stripe.com/ | floating panels | computed-style+viewport-screenshot | observed | {"rgba(50,50,93,0.12) 0 16px 32px": "x2", "rgba(23,23,23,0.08) 0 15px 35px": "x1"} |
| e-shadow-layered | stripe.com/pricing | pricing cards | computed-style+viewport-screenshot | observed | {"rgba(50,50,93,0.25) 0 2px 5px -1px, rgba(0,0,0,0.3) 0 1px 3px": "x16", "rgba(50,50,93,0.25) 0 13px 27px -5px, rgba(0,0,0,0.3) 0 8px 16px": "x6"} |
| e-ring | stripe.com/ | button hairline (::before/::after computed) | computed-style+viewport-screenshot | observed | {"rgb(255,255,255) 0 0 0 2px inset": "x1", "rgb(83,58,253) 0 0 0 1px": "x2 on products"} |
| e-motion | stripe.com/ | transitions across pages | computed-style+viewport-screenshot | observed | {"color": "0.3s cubic-bezier(0.25,1,0.5,1)", "opacity": "0.24s cubic-bezier(0.45,0.05,0.55,0.95)", "grid-template-rows": "0.4s cubic-bezier(0.65,0,0.35,1)"} |
| e-motion-support | stripe.com/pricing | stylesheet scan (pricing) | cssom-scan | observed | {"focusVisible": true, "prefersReducedMotion": true} |
| e-space | stripe.com/ | spacing distribution | computed-style+viewport-screenshot | observed | {"8px": "x65", "6px": "x38", "12px": "x34", "16px": "x32", "32px": "x26", "64px": "x22"} |
| e-gaps-home | stripe.com/ | section gaps | computed-style+viewport-screenshot | observed | {"160px": "hero→logos", "408px": "logos→next", "48px": "one tight pair"} |
| e-gaps-products | stripe.com/products | section gaps | computed-style+viewport-screenshot | observed | {"128px": "x7 (consistent)"} |
| e-grid | stripe.com/ | footer + content grids | computed-style+viewport-screenshot | observed | {"template": "12 x 88px, gap 16px", "gridCount": 34} |
| e-container | stripe.com/pricing | pricing container | computed-style+viewport-screenshot | inferred | {"maxWidth": "1080px", "rendered": "1080px"} |
| e-buttons | stripe.com/ | button typography | computed-style+viewport-screenshot | observed | {"primary": "16px/400, radius 4px", "secondary": "16px/400, border 1px purple", "padded": "12px vertical"} |
| e-cookie-banner | stripe.com/ | cookie consent (screenshot) | screenshot | observed | {"rendered": "white panel, cookie copy"} |
What this run can and cannot claim. Rows that are not tested say so in VERIFY.md.
The rebuild is the Live Preview of this page. Type parity is out of scope: the source face is not
shipped. Fidelity stays PARTIAL until every deviation in fidelity.json is closed.
All three files are renders of the same dna.json; a hand edit to any of them fails
lint_output.py's single-source drift check.
/* Generated by lewitt from dna.json — do not edit by hand (R3: single source). */
/* Scope: apply [data-ds] (and [data-ds-mode="<mode>"] for non-default modes). */
:root, [data-ds] {
--lw-ink-900: #061B31; /* color/ink/900 · observed */
--lw-ink-700: #50617A; /* color/ink/700 · observed */
--lw-ink-600: #64748D; /* color/ink/600 · observed */
--lw-tint-100: #E5EDF5; /* color/blue-tint/100 · observed */
--lw-tint-50: #F8FAFD; /* color/blue-tint/50 · observed */
--lw-page-tint: #F6F9FC; /* color/blue-tint/25 · observed */
--lw-white: #FFFFFF; /* color/white · observed */
--lw-indigo-600: #533AFD; /* color/indigo/600 · observed */
--lw-indigo-500: #635BFF; /* color/indigo/500 · observed */
--lw-canvas: #FFFFFF; /* color/canvas · observed */
--lw-canvas-tint: #F6F9FC; /* color/canvas-tint · observed */
--lw-surface-subtle: #F8FAFD; /* color/surface-subtle · observed */
--lw-text-heading: #061B31; /* color/text/heading · observed */
--lw-text-body: #50617A; /* color/text/body · observed */
--lw-text-muted: #64748D; /* color/text/muted · observed */
--lw-action-bg: #533AFD; /* color/action/bg · observed */
--lw-action-bg-alt: #635BFF; /* color/action/bg-alt · observed */
--lw-action-fg: #FFFFFF; /* color/action/fg · observed */
--lw-link: #533AFD; /* color/link · observed */
--lw-font-sans: 'sohne-var', -apple-system, system-ui, 'Segoe UI', sans-serif; /* font/sans · observed */
--lw-font-mono: 'SourceCodePro', ui-monospace, SFMono-Regular, monospace; /* font/mono · observed */
--lw-font-body: 'sohne-var', -apple-system, system-ui, 'Segoe UI', sans-serif; /* font/body · observed */
--lw-font-code: 'SourceCodePro', ui-monospace, SFMono-Regular, monospace; /* font/code · observed */
--lw-type-hero: 48px; /* type/hero · observed */
--lw-type-h2: 32px; /* type/h2 · observed */
--lw-type-h3: 26px; /* type/h3 · observed */
--lw-type-body: 16px; /* type/body · observed */
--lw-type-ui: 15px; /* type/ui · observed */
--lw-type-caption: 10px; /* type/caption · observed */
--lw-tracking-hero: -0.02em; /* tracking/hero · observed */
--lw-tracking-h2: -0.015em; /* tracking/h2 · observed */
--lw-leading-prose: 1.2; /* leading/prose · observed */
--lw-weight-light: 300; /* weight/light · observed */
--lw-weight-regular: 400; /* weight/regular · observed */
--lw-weight-ui-strong: 500; /* weight/ui-strong · observed */
--lw-radius-control: 4px; /* radius/control · observed */
--lw-radius-control-alt: 6px; /* radius/control-alt · observed */
--lw-radius-card: 16.5px; /* radius/card · observed */
--lw-depth-float: 0 16px 32px rgba(50, 50, 93, 0.12); /* depth/float · observed */
--lw-depth-float-strong: 0 13px 27px -5px rgba(50, 50, 93, 0.25), 0 8px 16px -8px rgba(0, 0, 0, 0.3); /* depth/float-strong · observed */
--lw-depth-ring: 0 0 0 1px #533AFD; /* depth/ring · observed */
--lw-depth-ring-inset: inset 0 0 0 2px #FFFFFF; /* depth/ring-inset · observed */
--lw-motion-fast: 240ms; /* motion/fast · observed */
--lw-motion-base: 300ms; /* motion/base · observed */
--lw-motion-reveal: 400ms; /* motion/reveal · observed */
--lw-easing-in-out: cubic-bezier(0.45, 0.05, 0.55, 0.95); /* motion/easing-in-out · observed */
--lw-easing-out: cubic-bezier(0.25, 1, 0.5, 1); /* motion/easing-out · observed */
--lw-space-section: 128px; /* space/section · observed */
--lw-layout-container: 1080px; /* layout/container · inferred */
}
/* shadcn/ui + Tailwind v4 theme — generated by lewitt from dna.json (R3: do not hand-edit).
source: https://stripe.com/ · extracted 2026-11-23 · colour scheme: light
Paste into globals.css after `@import "tailwindcss";`. Every value maps to a token id below.
UNMAPPED slots (left as `initial` / shadcn default, never invented): --destructive (destructive action) */
@custom-variant dark (&:is(.dark *));
:root {
--background: #FFFFFF; /* color/canvas — canvas */
--foreground: #061B31; /* color/text/heading — primary text */
--card: #F6F9FC; /* color/canvas-tint — raised surface */
--card-foreground: #061B31; /* color/text/heading — card text */
--popover: #FFFFFF; /* color/canvas — overlay surface */
--popover-foreground: #061B31; /* color/text/heading — overlay text */
--primary: #533AFD; /* color/action/bg — action fill */
--primary-foreground: #FFFFFF; /* color/action/fg — action label */
--secondary: #F8FAFD; /* color/surface-subtle — secondary fill */
--secondary-foreground: #061B31; /* color/text/heading — secondary label */
--muted: #F8FAFD; /* color/surface-subtle — muted fill */
--muted-foreground: #64748D; /* color/text/muted — muted text */
--accent: #F8FAFD; /* color/surface-subtle — hover fill */
--accent-foreground: #061B31; /* color/text/heading — hover label */
--destructive: initial; /* UNMAPPED — no destructive action token in dna.json */
--border: #F6F9FC; /* color/canvas-tint — borders */
--input: #F6F9FC; /* color/canvas-tint — input borders */
--ring: #533AFD; /* color/link — focus ring */
--radius: 4px; /* radius/control */
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
}
@layer base {
* { @apply border-border outline-ring/50; }
body { @apply bg-background text-foreground; }
}
# Design rules — Stripe <!-- source: https://stripe.com/ · generated by lewitt from dna.json · do not edit --> ## Hard constraints (from Restraint principles — check these first) ### MUST NOT — Colour is a once-per-page event _One full-bleed gradient band in the hero; below it every surface is white or a pale blue tint._ - Forbidden class patterns: `(?:^|[^a-z0-9-])bg-(?:gradient-to-|linear-to-|radial-to-|conic-to-)`, `shadow-(?!(?:none|sm|inner)\b)[a-z0-9]+` - Upper bound: `border-width` ≤ 1px - Why: Readers need to trust the screenshots more than the scenery; once colour stops, the product becomes the subject. - Note: Gradients outside the hero band and any non-ring shadow class are violations; hairlines (1px) are the intended depth signal. ### MUST NOT — One indigo, only where you can click _Indigo only on the filled CTA, the outlined CTA border, and linked words; everything else is ink or tint._ - Forbidden class patterns: `(?:^|[^a-z0-9-])bg-(?:indigo|violet|purple)-(?:4|5|6|7)\d\d$`, `(?:^|[^a-z0-9-])bg-(?:gradient-to-|linear-to-|radial-to-|conic-to-)` - Why: At ~0.2% of the surface, indigo always means 'do something'; a larger share would make the page a brand poster and slow scanning. - Note: Allowed on buttons/links only; never on a section or card background. ## Design principles ### Colour is a once-per-page event [restraint] - Making a payments brand feel alive without breaking legibility of dense product shots. → **a single decorative gradient confined to the hero** over _gradient text, gradient buttons, and gradient section backgrounds (the common fintech treatment)_ - Because: Readers need to trust the screenshots more than the scenery; once colour stops, the product becomes the subject. - Evidence: e-hero-band, e-canvas-light, e-sections-tinted ### One indigo, only where you can click [restraint] - Deciding how much of a light page the brand colour may occupy. → **indigo restricted to actions and links** over _indigo section backgrounds, indigo icons, and indigo headings_ - Because: At ~0.2% of the surface, indigo always means 'do something'; a larger share would make the page a brand poster and slow scanning. - Evidence: e-purple, e-canvas-light ### Light weights carry the headline [craft] - Setting a 48px headline beside a saturated gradient. → **variable 300 at every display size** over _600-700 headline weights with a 1.33x type ramp_ - Because: A light face over a heavy gradient leaves the gradient as the loudest thing; bold type would fight the artwork and the screenshots. - Evidence: e-weights, e-h1, e-h2, e-h3 ### Blue-black ink instead of grey [craft] - Choosing text colours for a white page with a cold indigo accent. → **blue-tinted neutrals** over _pure greys (#111, #666) or neutral-warm text_ - Because: Grey text on a white page beside indigo reads as unfinished; shared hue makes the colour look chosen rather than added. - Evidence: e-ink, e-ink-body ### Motion is tiered by job [system] - Animating a page with hover states, colour changes and a reveal. → **three job-specific durations** over _one global 200ms ease on everything_ - Because: Colour has to feel immediate on hover while a layout reveal needs room to read; one duration would make one of them wrong. - Evidence: e-motion, e-motion-support ## System rules - **Text is blue-black, never grey**: Headings #061B31 and body #50617A sit on a blue hue axis; muted text is a lighter blue, not a neutral. - **One indigo for actions and linked words only**: rgb(83,58,253) covers ~0.2% of the surface: filled CTA, 1px outlined CTA, inline links. No indigo surfaces, headers or decoration. - **One gradient, spent on the hero**: A single full-bleed pink/orange/lilac band covers the hero; every section below is flat white or a pale tint. - **Light weights at every size**: 300 carries display and body (x302 home, x506 pricing); 400 for UI, 425/500 only inside pricing controls. - **Controls small, cards large**: Buttons and chips 4-6px; cards 16.5px on pricing and 8px elsewhere. No pill buttons in the primary flow. - **Shadows tinted to the canvas, not black**: Elevation uses rgba(50,50,93,·) plus a second layer, mostly 1-2px tight, with 13-16px blur on floats. - **Three motion tiers by job**: 0.24s for opacity, 0.3s for colour, 0.4s for the grid reveal; reduced-motion and focus-visible are present on the pricing stylesheet. - **Fixed 128px section rhythm on inner pages**: Product pages repeat a 128px gap seven times; the home page uses 160px then a 408px break around the logos. ## Tokens (copy values from tokens.css; never retype numbers) Use the semantic and component layers; reach for a primitive only when no role fits. ### Semantic — roles to use - `var(--lw-canvas)` — color/canvas (color, observed) - `var(--lw-canvas-tint)` — color/canvas-tint (color, observed) - `var(--lw-surface-subtle)` — color/surface-subtle (color, observed) - `var(--lw-text-heading)` — color/text/heading (color, observed) - `var(--lw-text-body)` — color/text/body (color, observed) - `var(--lw-text-muted)` — color/text/muted (color, observed) - `var(--lw-action-bg)` — color/action/bg (color, observed) - `var(--lw-action-bg-alt)` — color/action/bg-alt (color, observed) - `var(--lw-action-fg)` — color/action/fg (color, observed) - `var(--lw-link)` — color/link (color, observed) - `var(--lw-font-body)` — font/body (fontFamily, observed) - `var(--lw-font-code)` — font/code (fontFamily, observed) - `var(--lw-radius-control)` — radius/control (dimension, observed) - `var(--lw-radius-control-alt)` — radius/control-alt (dimension, observed) - `var(--lw-radius-card)` — radius/card (dimension, observed) ### Component — reusable parts - `var(--lw-type-hero)` — type/hero (dimension, observed) - `var(--lw-type-h2)` — type/h2 (dimension, observed) - `var(--lw-type-h3)` — type/h3 (dimension, observed) - `var(--lw-type-body)` — type/body (dimension, observed) - `var(--lw-type-ui)` — type/ui (dimension, observed) - `var(--lw-type-caption)` — type/caption (dimension, observed) - `var(--lw-tracking-hero)` — tracking/hero (dimension, observed) - `var(--lw-tracking-h2)` — tracking/h2 (dimension, observed) - `var(--lw-leading-prose)` — leading/prose (number, observed) - `var(--lw-depth-float)` — depth/float (shadow, observed) - `var(--lw-depth-float-strong)` — depth/float-strong (shadow, observed) - `var(--lw-depth-ring)` — depth/ring (shadow, observed) - `var(--lw-depth-ring-inset)` — depth/ring-inset (shadow, observed) - `var(--lw-space-section)` — space/section (dimension, observed) - `var(--lw-layout-container)` — layout/container (dimension, inferred) ### Primitives — raw values, last resort - `var(--lw-ink-900)` — color/ink/900 (color, observed) - `var(--lw-ink-700)` — color/ink/700 (color, observed) - `var(--lw-ink-600)` — color/ink/600 (color, observed) - `var(--lw-tint-100)` — color/blue-tint/100 (color, observed) - `var(--lw-tint-50)` — color/blue-tint/50 (color, observed) - `var(--lw-page-tint)` — color/blue-tint/25 (color, observed) - `var(--lw-white)` — color/white (color, observed) - `var(--lw-indigo-600)` — color/indigo/600 (color, observed) - `var(--lw-indigo-500)` — color/indigo/500 (color, observed) - `var(--lw-font-sans)` — font/sans (fontFamily, observed) - `var(--lw-font-mono)` — font/mono (fontFamily, observed) - `var(--lw-weight-light)` — weight/light (fontWeight, observed) - `var(--lw-weight-regular)` — weight/regular (fontWeight, observed) - `var(--lw-weight-ui-strong)` — weight/ui-strong (fontWeight, observed) - `var(--lw-motion-fast)` — motion/fast (duration, observed) - `var(--lw-motion-base)` — motion/base (duration, observed) - `var(--lw-motion-reveal)` — motion/reveal (duration, observed) - `var(--lw-easing-in-out)` — motion/easing-in-out (easing, observed) - `var(--lw-easing-out)` — motion/easing-out (easing, observed) ## Interaction Delta (measured) Forced with a real mouse (CDP `Input.dispatchMouseEvent`) and `element.focus()`; only these properties are diffed: `background-color`, `color`, `border-color`, `box-shadow`, `outline`, `transform`. ### button — `button.hds-button.CookieSettings_CookieSettings__HelmButton__69vhe` - Status: Observed / 实测 · evidence: e-buttons, e-purple - **hover**: `color`: `rgb(83, 58, 253)` → `rgb(46, 43, 140)`; `border-color`: `rgb(214, 217, 252)` → `rgb(64, 50, 200)` - **focus**: `outline`: `0px solid rgba(0, 0, 0, 0)` → `3px solid rgba(84, 82, 251, 0.75)` ### button — `button.hds-ui-button.announcement-bar__dismiss` - Status: Observed / 实测 · evidence: e-buttons - **hover**: none (no computed change on the icon-only dismiss button) - **focus**: `outline`: `0px solid rgba(0, 0, 0, 0)` → `3px solid rgba(0, 0, 0, 0)` ### card — `div.payments-graphic__checkout-item-card` - Status: Inferred / 推断 · evidence: e-shadow-soft - **hover**: none (No computed change; the card sits inside an animated illustration, so observed ≠ no hover style exists) - **focus**: none (Not focusable) ## Verification Live specimens and motion replay: `preview.html` (single file, opens in any browser). Run before shipping UI built from these rules: ```sh python3 scripts/lint_output.py --dest <dest_dir> --check-code <ui_dir> ```
side-by-side at equal width in system/index.html#fidelity; inspected by the agent that built the system

The rebuild is the Live Preview itself. No rebuild screenshot was recorded, so there is no split to drag. Record capture/rebuild.png at 1440x900 to enable pixel comparison.
Status: PARTIAL. Deviations stay visible rather than claimed away.