1Four treatments, chosen by role rather than visual preference.
2
3**Demo** is the Yield-filled Book a demo path.
4**Solid** is the ink-filled primary action.
5**Outline** is a white secondary action that still needs a button-shaped
6control.
7**Text** is a secondary destination attached to a headline and subhead.
8
9## Choose the treatment
10
11The old system had a solid, an outline, a ghost, a Yield-filled block
12and a text link that behaved like a button, and no rule for picking
13between them — so the nav ended up with two solid buttons side by side,
14both claiming to be the primary action.
15
16Keep one primary action per content surface. The navigation can pair
17Demo with Solid because those actions have different jobs: a sales
18conversation and starting the product. Text is not another competing
19filled style: it has no box, fill or horizontal padding.
20
21Use TextButton for a section-header CTA such as "Learn more" or
22"Read the docs". Place it in SectionHeading's `action` slot, below the
23headline and lead. CodePanel exposes that slot as `headerAction`.
24
25TextButton takes `href` and children and renders a real navigation link,
26not a button pretending to change pages. It uses the text button
27variant (`w-btn w-btn-text`) and the correct directional arrow.
28
29Use DocsLink for informational links inside body copy or feature items.
30Do not put a header CTA below the module just because both are links.
31
32## Treatment
33
34Demo, Solid and Outline use the compact 4px control radius (R-15) with
35mono labels (R-01). Outline has a white background and soft ink border,
36so it remains legible above the dot grid. TextButton uses the body/link
37face because it belongs to the heading's supporting copy. All treatments
38preserve authored sentence case (R-09).
39
40TextButton recolors to accent on hover without painting a background.
41It retains a visible keyboard focus outline.
42
43Book a demo uses `--w-fill-yield`; do not reuse it for an arbitrary
44second CTA. Outline uses `--w-control-border`, stronger than a divider
45but lighter than a Solid action's ink fill.
46
47## Icons
48
49Optional, and earned rather than default. Two placements, and the
50placement is what the icon means:
51
52- **Trailing** for direction. An arrow says where the button goes:
53 right for onward, up-right for off the site.
54- **Leading** for a verb the glyph actually depicts. A play triangle
55 before "Watch the tour" is the action itself; a generic glyph before
56 a generic label is decoration with a hit area.
57
58If you cannot say which of those two a particular icon is doing, the
59button reads better without it.
60
61## External destinations
62
63An action that leaves the site gets the arrow, per the site-wide
64convention. Logo links are the exception to that, not buttons.