Plans, role picker and signup

Three plans as rows on a dark left side, with a sticky white card that asks who you are before it will take an email.

Call to actionFreeFrom Socrates Lab, ProductAbout 10k 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.

763 words
Download .zip
# Plans, role picker and signup

One call to action 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
A waitlist for a learning app: three plan rows, a sticky card asking who the reader is, then an email.

## Structure
1. Left: mono index label, headline, lede
2. Three plan rows: name, detail line, price with unit
3. Fine print on the prices
4. Sticky card: mark, product name, status line
5. Card log: a bubble asking who will use it
6. Four role chips, field, submit, privacy note
7. Roadmap: three columns, date, title, line

## Type
Pally (Fontshare 500 to 700) display, DM Sans (Google 400 to 600) text, DM Mono (Google 400, 500) labels. Headline 500 clamp(40px,5.2vw,80px)/1.02, -0.035em. Lede clamp(17px,1.3vw,19px)/1.55. Mono labels 11px/1.5 uppercase, 0.08em, tabular. Plan detail 16px, price 500 22px/1, unit 400 14px. Card name 600 16px/1.3, status 13px. Bubbles 16px/1.45. Chips 500 15px/1.1. Submit 500 16px/1. Notes 13px and 14px. Roadmap title 500 20px/1.3 over 15px.

## Colour
Section #22183A, text #F3F0FF, second #BDB2D2, mono labels #B9A8FF, rules rgba(243,240,255,.12). Card #FFFFFF, text #22183A, second #6E5F7A. Chips white with #6D4AFF text in a rgba(109,74,255,.34) border, chosen chip and submit #6D4AFF with white. Field #F3F0FF in a rgba(34,24,58,.15) border. Focus ring #6D4AFF in the card, #B9A8FF on the dark.

## Spacing and lines
Section clamp(120px,14vw,220px) plus clamp(40px,5vw,80px) top; container 1440px; sides clamp(16px,4vw,64px). 12 columns, gap clamp(14px,1.8vw,24px), row gap 48px: text 1 to 6, card 8 to 12, sticky at 96px. Label 28px above the headline, lede 22px under, rows 44px lower: 110px 1fr auto, 18px gap, 16px padding between 1px rules. Card radius 28px, header 62px, log 18px 18px 6px, chips 6px 18px 12px, 8px gap, footer 12px over a rule, field and submit 52px, 26px radius. Roadmap clamp(70px,8vw,120px) lower, 22px under a rule.

## Behaviour
A chip click sets its aria-pressed true, the others false. Submit tests the address against a simple pattern: a bad one appends a bubble asking the reader to check it, then refocuses the field. A good one appends it as a trailing #6D4AFF bubble, white text, corners 20px 20px 6px 20px, waits 500ms, appends a confirmation naming the role, then swaps the chips for three year group chips. Bubbles rise 10px and fade in, 500ms cubic-bezier(.16,1,.3,1). Chips and submit fill from a circle under the pointer, 650ms cubic-bezier(.7,0,.2,1), pressing to 0.96 in 120ms. On scroll in, lede, rows, card and roadmap rise 20px, 700ms, 60ms apart, one IntersectionObserver at 0.12.

## Responsive
Under 1023px columns go full width, card not sticky. Under 760px text 17px, bubbles 88% at 15.5px, plan rows show name and price, detail beneath, roadmap one column 26px apart, field and submit stack.

## Accessibility
Log role=log, aria-live=polite. Chips in a role=group labelled for the question, each aria-pressed. The field has a visually hidden label. Section labelled by the headline id. Chips 44px, field and submit 52px, focus ring 2px at 3px offset.

## Built values (from code.html)
- Fonts: DM Sans 400 to 600, optical size 9 to 40 (Google Fonts); DM Mono 400, 500 (Google Fonts); Pally 500, 600, 700 (Fontshare).
- Colour variables: --bg #F3F0FF, --paper #FFFFFF, --ink #22183A, --muted #6E5F7A, --violet #6D4AFF, --violet-d #5631F5, --lilac #E6E0FF, --peach #FFD9C7, --mint #C9F2E3, --line rgba(34,24,58,.09), --line-2 rgba(34,24,58,.15), --line-3 rgba(34,24,58,.32), --grid rgba(34,24,58,.05), --night #22183A.
- Font variables: --display "Pally",ui-rounded,system-ui,sans-serif; --text "DM Sans",ui-sans-serif,system-ui,sans-serif; --mono "DM Mono",ui-monospace,"SFMono-Regular",monospace; --ios -apple-system,"SF Pro Text",system-ui,"Helvetica Neue",Arial,sans-serif.
- Size variables: --pad clamp(16px,4vw,64px), --gap clamp(14px,1.8vw,24px), --sec clamp(120px,14vw,220px).
- Media queries: max-width 1023px, max-width 760px.
- No media files.
- Script: yes, a small inline script.

## Content to replace
- [Headline]: being early, 5 to 8 words
- [Lede]: when batches open, why you ask
- [Plans]: name, inclusions, price
- [First bubble]: the question that picks a role
- [Role chips]: four roles, 1 to 4 words

## 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

Call to action

Every call to action block