[Article title]
[The point of the article in one sentence.]
[Body paragraph.]
[Subheading]
[Body paragraph.]
Every section a website needs, from the header and hero to the blog and footer. Each says when to use it. Copy the ones you need, in order, then set the fonts and colours in one place. All words and pictures here are invented placeholders.
Site header. Use on every page. Sticky, with a menu that folds into a button on phones. No script.
Hero 1: full photo. Use when one strong photo says what you do: a place, a dish, a finished job.
[One sentence: the result the visitor gets.]
Hero 2: split. Use when the words matter as much as the picture. On a phone the words come first.
Hero 3: type only. Use when you have no good photo, or the idea is the product. The headline is the design.
Hero 4: video. Use when movement shows the work: a kitchen, a workshop, an event. Muted, with a pause button and a poster photo.
Hero 5: centred with a product picture. Use for an app, a product or a course, where the screen or the item is the proof.
[Who it is for. What changes for them.]
Hero 6: mosaic. Use when variety is the point: a menu, a portfolio, a venue with many spaces.
Gallery: grid. Use to show finished work. Each photo has a caption that says what it is.
![[What photo 1 shows]](img/home.jpg)
![[What photo 2 shows]](img/flower.jpg)
![[What photo 3 shows]](img/fog.jpg)
![[What photo 4 shows]](img/portrait.jpg)
Gallery: swipe. Use on phones for a set of five to ten. Snaps one at a time. No script.
![[Photo 1]](img/flower.jpg)
![[Photo 2]](img/home.jpg)
![[Photo 3]](img/portrait.jpg)
![[Photo 4]](img/fog.jpg)
About. Use to say who is behind it. A real photo of a real person, a short story and three true facts.
[Two or three sentences: who you are, why you started, who you serve.]
[One sentence on how you work.]
Features. Use for three to six things you get. One idea per card, the most important first.
[One sentence.]
[One sentence.]
[One sentence.]
Steps. Use to show how it works or how to start. Three steps is ideal.
[What the visitor does, and how long it takes.]
[What happens next.]
[The result.]
Quote. Use only with a real customer's words, with their permission. If you have none, leave this section out.
[A real customer's words, exactly as they said them.]
Pricing. Use for two or three plans. Mark one as recommended, in words as well as colour.
[$N]
[$N]
[$N]
Questions. Use for the three to six questions people really ask. Each opens on a tap. No script.
[A short, direct answer.]
[The answer.]
[The answer.]
Contact. Use to be reached or visited: a short form, the address and the hours. The form needs a service to send it; until then, use a mailto link.
Call to action. Use near the end of a landing page: the promise again, one button.
Blog list. Use for a blog or news page. Newest first, each post with a picture, a date, a title and one line.
Article. Use for a content page or blog post: a readable column, a photo and related posts.
[The point of the article in one sentence.]
[Body paragraph.]
[Body paragraph.]
Two tokens set every font: --display for headings and --text for the rest. Both are system fonts, so the page needs no network. This is the scale every section uses.
h1, heroHeading oneh2, sectionHeading twoh3, cardHeading threebody, 17pxBody text sits at 60 to 75 characters a line, so it reads comfortably on a laptop and a phone.small, notesSmall text for dates, captions and the legal line.Paste one pair over the two font lines in :root.
Serif headings
Sans-serif text. Warm and trusted: shops, cafés, services.
--display:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
--text:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;Sans everywhere
Clean and quiet: studios, apps, galleries.
--display:"Avenir Next","Segoe UI",system-ui,sans-serif;
--text:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;Serif everywhere
Made for long reading: blogs, essays, newsletters.
--display:Charter,"Bitstream Charter","Sitka Text",Cambria,serif;
--text:Charter,"Bitstream Charter","Sitka Text",Cambria,serif;Six tokens colour the whole page. Keep the balance near 60-30-10: about 60 parts calm background, 30 parts panels and text, 10 parts the one accent, kept for what to act on.
Check a finished page with workshop/tools/check_colour_balance.py in the Practical AI repository.
#fbfaf7The 60. Page background.
#f1eee8The 30, with the text. Every other section.
#1c2321Main text, 15.3 to 1 on --bg.
#5b6461Secondary text, 5.8 to 1 on --bg.
#1f6f5cThe 10. Buttons and links. White on it is 6.0 to 1.
#dcd7ceBorders and rules.
The same sections with six new tokens. Every text pair passes 4.5 to 1.
The sections above, in the order that works for common pages. Start here, then add or remove one section at a time.
Site header, hero (photo or split), about, gallery, contact with hours, footer.
Site header, hero (centred or split), features, steps, quote if real, pricing, questions, call to action, footer.
Site header, hero (type), blog list, article, call to action, footer.
Site header, hero (mosaic), gallery grid, about, contact, footer.
Site header, hero (video or photo), steps as the programme, pricing as tickets, questions, contact, footer.
Five picture shapes for posts, stories and link previews, in the social folder, and post previews.
Four starting points built from this library, each with its own colours and fonts. Every business, person and price in them is invented.

Landing page: treatments, how a visit works, prices, questions, booking.

Content site: a type hero, the latest posts, one article, a newsletter sign-up.

Portfolio: a mosaic hero, a grid and a swipe set, about, booking.

Small business home: hours, about, gallery, contact. The worked example.