Price as one sentence with a highlighter

Insurance and price told as one large serif sentence on linen, the two key phrases marked by a lime highlighter that wipes in.

PricingFreeFrom Perennial, HealthAbout 5k tokens saved
The whole page

Links in the preview stay on the block.

Open on its own

The prompt

One prompt, written to stand on its own: goal, structure, type, colour, spacing, behaviour and the words in square brackets to replace. Paste it into any tool that writes HTML. The Code tab has this block as one file.

492 words
Download .zip
# Price as one sentence with a highlighter

One pricing section, not a whole page: build it to drop into a page that already exists. Works in Claude, v0, Lovable, Bolt, Cursor or any tool that writes HTML.

## Goal
Say insurance first and the self-pay price in one confident sentence instead of a price table.

## Structure
1. eyebrow
2. h2 that is the whole sentence, with two highlighted phrases
3. one small note line
4. an ink pill and a text link

## Type
Sentence Libre Caslon Display 400 clamp(38px, 5.6vw, 96px)/1.06 tracking -.016em, max 13em. Note Anek Latin 17px. Pill Anek 600 15px.

## Colour
Ground #F2EADF, ink #22121F, secondary #5E4459. Highlighter #CFE56A behind the text. Pill #22121F with #F2EADF text and a #CFE56A hover fill. Focus outlines in ink.

## Spacing and lines
Section padding clamp(120px, 18vh, 200px). Sentence 28px under the eyebrow, note clamp(40px, 6vh, 64px) under it, actions 40px under the note. Highlighter .36em tall, .08em above the baseline, .06em past each side.

## Behaviour
When the sentence enters the view it fades up and each highlighter draws scaleX 0 to 1 over 1.1s after 350ms. The price is formatted with Intl.NumberFormat in the page currency.

## Responsive
The clamp sets four to five lines on phones; highlighted phrases never break.

## Accessibility
The highlighter is decoration; meaning is in the words. Contrast ink on linen above 12:1. Reduced motion: bands shown at once.

## Built values (from code.html)
- Fonts: Libre Caslon Display 400 (self-hosted: fonts/libre-caslon-display-400.woff2); Anek Latin 100 to 800 (self-hosted: fonts/anek-latin-400.woff2). Self-hosted files sit in fonts/ in the block download.
- Colour variables: --aub #22121F, --aub-deep #1A0D18, --plum #3A2136, --linen #F2EADF, --mauve #B79BB0, --lime #CFE56A, --ink #22121F, --ink-2 #5E4459, --line-d rgba(242,234,223,.16), --line-d2 rgba(242,234,223,.3), --line-l rgba(34,18,31,.16), --line-l2 rgba(34,18,31,.34).
- Font variables: --serif "Libre Caslon Display", "Baskerville", Georgia, serif; --sans "Anek Latin", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif.
- Size variables: --gut-l max(112px, 8vw), --gut-r max(40px, 6vw).
- Media queries: max-width 699px, prefers-reduced-motion, hover-capable pointer.
- No media files.
- Script: yes, a small inline script.

## Content to replace
- [Sentence]: We bill your insurance first, and a visit without it is a price.
- [Note]: in network plans, HSA and FSA, usual copay
- [Pill]: Book a visit
- [Text link]: Which plans we take

## Rules
Plain, specific copy that reads as a live product; never the word sample. No shadows, glow, glass, blur, gradient text, emoji or italics. Motion moves transform and opacity, with colour, border, height and stroke transitions on state changes, and holds its end state under prefers-reduced-motion. Text passes WCAG AA.

## Output
Return the block in one piece: the markup, one style block with the web fonts imported on its first line, and a small script only if the behaviour needs one. No page wrapper, no framework, no build step. Prefix every class with `blk-` and put the colours and sizes in CSS variables at the top.

More like this

Pricing

Every pricing block

Same page

More from Perennial

See the page