Open Claude Code in your own website's project folder, then copy this prompt and paste it in. It rebuilds the layout and interface only: your existing colours, fonts, logo and voice are kept, and this template's palette is used only if your site has no branding yet.
Rebuild the layout and interface of my business's website as an appointment booking site: a service menu with durations and prices, the people who do the work, and a booking panel that offers real free times and repeat visits, following the structure of a template I am copying.
Live template to study: https://templateinterface.com/templates/appointment-booking/
Before writing any code, open that link and read through it in detail. Analyse the rendered page and its source files in the same folder (https://templateinterface.com/templates/appointment-booking/index.html, https://templateinterface.com/templates/appointment-booking/styles.css and https://templateinterface.com/templates/appointment-booking/script.js): the section order, the layout grid and breakpoints, every component, the spacing and type scale, each interactive state, and how the script behaves. Summarise what you found before you start. Treat the live template as the source of truth for layout and interface, and the notes below as a summary of it. It is not a source of branding: the branding rule still applies. If the link cannot be loaded, say so and work from the description below.
Branding rule, which overrides anything below: this template supplies layout and interface only. If my site already has branding (colours, logo, typefaces, icon style, photography, tone of voice), keep all of it exactly. Read my existing stylesheets and pages first, list the brand colours and fonts you found, and map them onto the roles this layout needs (background, surface, text, muted text, accent, accent on hover, border, success, error). Where a role has no brand colour, derive one from the brand palette rather than borrowing the template's. Check that every text and control pairing still meets WCAG AA contrast with my colours and adjust shade, not hue, if one fails. Only if my site has no branding at all, use the palette and type described in the design direction below.
Page structure, in order:
- Header: logo, four section links, a dark or light mode button and a Book button. Below about 860px the links fold into a Menu button.
- Hero: the promise in one line, book and price buttons, and a card with the next free appointment and whether the business is open now.
- Services: tabs by group; each service is a row with what it includes, how long it takes, the price and a Book button that fills in the booking panel.
- Team: a card per person with their level, price difference, what they do best, the days they work and a Book with button.
- Book: six steps (service, who, day, time, repeat, details) beside a sticky summary with the price and the Confirm button.
- Before you book: cancellation, deposit, lateness and any preparation rules, stated plainly.
- Reviews, then the address with opening hours, then the footer.
Design direction (use this palette only if my site has no branding):
- Warm cream ground, deep plum for actions and headings (#6e2f50 in light, a pale rose in dark), soft rose tints for selected states.
- A book serif such as Palatino for headings with Segoe UI or the system sans for text; round avatars and pill-shaped chips.
Behaviour:
- Choosing a service or a person anywhere on the page fills the booking panel and scrolls to it.
- Days show only when the chosen person works; "Anyone" takes the earliest free person.
- Times are offered every 15 minutes, account for how long the service takes, hide times already gone today and show taken times as disabled with a reason.
- Repeat lists the next three dates. The summary updates as each step changes and shows the deposit rule when it applies.
- Confirm validates inline and shows a demo notice if there is no backend.
- Forms validate inline, move focus to the first problem, and show a demo notice if there is no backend.
- A sun or moon button in the header switches between dark and light mode. Derive both modes from my site's branding, open in dark mode by default, remember the choice, and set it before the first paint so the page never flashes the wrong mode.
Build rules:
- Plain HTML, CSS and JavaScript. No framework, build step or external resources unless my project already uses them, in which case follow its conventions.
- Mobile first: one column at 320px with no horizontal scrolling, widening at breakpoints that suit the content.
- Semantic landmarks (header, nav, main, footer), one h1, headings in order, visible labels on every field, and a visible focus style on every control.
- Every interactive state (hover, focus, active, disabled, selected, error, empty, loading or success) is designed, not left to browser defaults.
- Respect prefers-reduced-motion.
- Any form without a real backend says so visibly when submitted instead of pretending to send.
- Use my real content. Where you have none, write short, clearly marked placeholder copy for me to replace, never invented facts presented as real.
When you finish, check the page at 375px and 1440px, confirm there are no console errors, and list anything you could not keep from my branding.