Landing Page Design
When to Use
- Building a marketing or product landing page optimized for conversions.
- Designing hero sections, feature showcases, testimonial blocks, or pricing CTAs.
- Structuring above-the-fold content for maximum impact.
- Writing headline and CTA copy that drives action.
- Creating responsive, accessible landing pages with Tailwind CSS.
Page Structure
A high-conversion landing page follows a proven information hierarchy:
- Hero Section — headline, subheadline, primary CTA, supporting visual.
- Social Proof Bar — logos, metrics, or a short testimonial.
- Features / Benefits — 3–6 key value propositions with icons or images.
- Deep-Dive Section — detailed walkthrough or demo of the core product.
- Testimonials / Case Studies — real quotes, photos, company names.
- Pricing or Secondary CTA — clear next step.
- FAQ — address objections before they arise.
- Footer — secondary navigation, legal links, final CTA.
Hero Section Patterns
Centered Hero
<section class="relative overflow-hidden bg-white dark:bg-gray-950">
<div class="mx-auto max-w-4xl px-6 py-24 text-center sm:py-32 lg:py-40">
<!-- Eyebrow -->
<p class="text-sm font-semibold tracking-wider text-indigo-600 uppercase">
Now available
</p>
<!-- Headline -->
<h1
class="mt-4 text-4xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-6xl lg:text-7xl"
>
Ship faster without<br class="hidden sm:inline" />
breaking things
</h1>
<!-- Subheadline -->
<p
class="mx-auto mt-6 max-w-2xl text-lg leading-relaxed text-gray-600 dark:text-gray-400"
>
The deployment platform that gives your team confidence. Push to
production in minutes, roll back in seconds.
</p>
<!-- CTA Group -->
<div
class="mt-10 flex flex-col items-center gap-4 sm:flex-row sm:justify-center"
>
<a
href="#"
class="inline-flex items-center rounded-full bg-indigo-600 px-8 py-3.5 text-sm font-semibold text-white shadow-lg hover:bg-indigo-500 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 transition-colors"
>
Start free trial
</a>
<a
href="#"
class="inline-flex items-center gap-2 text-sm font-semibold text-gray-700 dark:text-gray-300 hover:text-indigo-600 transition-colors"
>
Watch demo <span aria-hidden="true">→</span>
</a>
</div>
</div>
</section>
Split Hero (Image + Text)
<section class="bg-white dark:bg-gray-950">
<div
class="mx-auto grid max-w-7xl items-center gap-12 px-6 py-20 lg:grid-cols-2 lg:py-32"
>
<!-- Text Column -->
<div>
<h1
class="text-4xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-5xl lg:text-6xl"
>
Design to code,<br />
in one click
</h1>
<p class="mt-6 text-lg leading-relaxed text-gray-600 dark:text-gray-400">
Transform your design files into production-ready components. No more
pixel-pushing handoffs.
</p>
<div class="mt-8 flex flex-wrap gap-4">
<a
href="#"
class="rounded-lg bg-gray-900 px-6 py-3 text-sm font-semibold text-white hover:bg-gray-800 transition-colors dark:bg-white dark:text-gray-900 dark:hover:bg-gray-200"
>
Get started
</a>
<a
href="#"
class="rounded-lg border border-gray-300 px-6 py-3 text-sm font-semibold text-gray-700 hover:bg-gray-50 transition-colors dark:border-gray-700 dark:text-gray-300 dark:hover:bg-gray-900"
>
Learn more
</a>
</div>
</div>
<!-- Image Column -->
<div class="relative">
<img
src="/hero-screenshot.png"
alt="Product dashboard screenshot"
class="rounded-2xl shadow-2xl ring-1 ring-gray-200 dark:ring-gray-800"
width="800"
height="600"
loading="eager"
/>
</div>
</div>
</section>
Social Proof Bar
<section
class="border-y border-gray-200 bg-gray-50 dark:border-gray-800 dark:bg-gray-900"
>
<div class="mx-auto max-w-7xl px-6 py-8">
<p class="text-center text-sm font-medium text-gray-500 dark:text-gray-400">
Trusted by 2,000+ teams worldwide
</p>
<div
class="mt-6 flex flex-wrap items-center justify-center gap-x-12 gap-y-6"
>
<!-- Replace with client logos -->
<img
src="/logos/company-a.svg"
alt="Company A"
class="h-8 opacity-60 grayscale hover:opacity-100 hover:grayscale-0 transition"
/>
<img
src="/logos/company-b.svg"
alt="Company B"
class="h-8 opacity-60 grayscale hover:opacity-100 hover:grayscale-0 transition"
/>
<img
src="/logos/company-c.svg"
alt="Company C"
class="h-8 opacity-60 grayscale hover:opacity-100 hover:grayscale-0 transition"
/>
<img
src="/logos/company-d.svg"
alt="Company D"
class="h-8 opacity-60 grayscale hover:opacity-100 hover:grayscale-0 transition"
/>
<img
src="/logos/company-e.svg"
alt="Company E"
class="h-8 opacity-60 grayscale hover:opacity-100 hover:grayscale-0 transition"
/>
</div>
</div>
</section>
Feature Grid
Three-Column Icon Grid
<section class="bg-white py-20 dark:bg-gray-950 sm:py-28">
<div class="mx-auto max-w-7xl px-6">
<div class="mx-auto max-w-2xl text-center">
<h2
class="text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-4xl"
>
Everything you need to ship
</h2>
<p class="mt-4 text-lg text-gray-600 dark:text-gray-400">
Built for modern teams that move fast and demand reliability.
</p>
</div>
<div class="mt-16 grid gap-8 sm:grid-cols-2 lg:grid-cols-3">
<!-- Feature Card -->
<div class="rounded-2xl border border-gray-200 p-8 dark:border-gray-800">
<div
class="flex h-12 w-12 items-center justify-center rounded-xl bg-indigo-50 text-indigo-600 dark:bg-indigo-950 dark:text-indigo-400"
>
<!-- Icon SVG here -->
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M3.75 13.5l10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75z"
/>
</svg>
</div>
<h3 class="mt-6 text-lg font-semibold text-gray-900 dark:text-white">
Lightning deploys
</h3>
<p
class="mt-2 text-sm leading-relaxed text-gray-600 dark:text-gray-400"
>
Push to production in under 30 seconds with zero-downtime deployments
and automatic rollbacks.
</p>
</div>
<!-- Repeat for additional features -->
</div>
</div>
</section>
Testimonial Section
<section class="bg-gray-50 py-20 dark:bg-gray-900 sm:py-28">
<div class="mx-auto max-w-7xl px-6">
<h2
class="text-center text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-4xl"
>
Loved by developers
</h2>
<div class="mt-16 grid gap-8 sm:grid-cols-2 lg:grid-cols-3">
<!-- Testimonial Card -->
<figure
class="rounded-2xl bg-white p-8 shadow-sm ring-1 ring-gray-200 dark:bg-gray-800 dark:ring-gray-700"
>
<blockquote
class="text-sm leading-relaxed text-gray-700 dark:text-gray-300"
>
“We cut our deployment time by 80%. The team ships with
confidence now and our release cadence tripled.”
</blockquote>
<figcaption class="mt-6 flex items-center gap-4">
<img
src="/avatars/jane.jpg"
alt=""
class="h-10 w-10 rounded-full object-cover"
/>
<div>
<p class="text-sm font-semibold text-gray-900 dark:text-white">
Jane Smith
</p>
<p class="text-xs text-gray-500 dark:text-gray-400">
CTO, Acme Corp
</p>
</div>
</figcaption>
</figure>
<!-- Repeat for more testimonials -->
</div>
</div>
</section>
Pricing CTA Block
<section class="bg-indigo-600 py-20 sm:py-28">
<div class="mx-auto max-w-4xl px-6 text-center">
<h2 class="text-3xl font-bold tracking-tight text-white sm:text-4xl">
Ready to ship faster?
</h2>
<p class="mx-auto mt-4 max-w-xl text-lg text-indigo-100">
Start your free 14-day trial. No credit card required.
</p>
<div
class="mt-10 flex flex-col items-center gap-4 sm:flex-row sm:justify-center"
>
<a
href="#"
class="rounded-full bg-white px-8 py-3.5 text-sm font-semibold text-indigo-600 shadow-lg hover:bg-indigo-50 transition-colors"
>
Start free trial
</a>
<a
href="#"
class="text-sm font-semibold text-white hover:text-indigo-100 transition-colors"
>
Talk to sales <span aria-hidden="true">→</span>
</a>
</div>
</div>
</section>
FAQ Accordion
<section class="bg-white py-20 dark:bg-gray-950 sm:py-28">
<div class="mx-auto max-w-3xl px-6">
<h2
class="text-center text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-4xl"
>
Frequently asked questions
</h2>
<dl class="mt-12 divide-y divide-gray-200 dark:divide-gray-800">
<!-- FAQ Item — uses <details> for no-JS accordion -->
<details class="group py-6">
<summary
class="flex cursor-pointer items-center justify-between text-left text-base font-semibold text-gray-900 dark:text-white"
>
What happens when my trial ends?
<span
class="ml-4 flex-shrink-0 transition-transform group-open:rotate-45"
>
<svg
class="h-5 w-5"
fill="none"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M12 4.5v15m7.5-7.5h-15"
/>
</svg>
</span>
</summary>
<dd
class="mt-4 text-sm leading-relaxed text-gray-600 dark:text-gray-400"
>
Your projects remain accessible in read-only mode. Upgrade anytime to
restore full functionality — no data is ever deleted.
</dd>
</details>
<!-- Repeat for more FAQ items -->
</dl>
</div>
</section>
Footer with Secondary CTAs
<footer
class="border-t border-gray-200 bg-gray-50 dark:border-gray-800 dark:bg-gray-900"
>
<div class="mx-auto max-w-7xl px-6 py-12 lg:py-16">
<div class="grid gap-8 sm:grid-cols-2 lg:grid-cols-4">
<!-- Column 1 — Brand -->
<div>
<p class="text-lg font-bold text-gray-900 dark:text-white">
ProductName
</p>
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
Ship faster, sleep better.
</p>
</div>
<!-- Column 2 — Product -->
<div>
<h3 class="text-sm font-semibold text-gray-900 dark:text-white">
Product
</h3>
<ul class="mt-4 space-y-2 text-sm text-gray-600 dark:text-gray-400">
<li>
<a
href="#"
class="hover:text-gray-900 dark:hover:text-white transition-colors"
>Features</a
>
</li>
<li>
<a
href="#"
class="hover:text-gray-900 dark:hover:text-white transition-colors"
>Pricing</a
>
</li>
<li>
<a
href="#"
class="hover:text-gray-900 dark:hover:text-white transition-colors"
>Changelog</a
>
</li>
</ul>
</div>
<!-- Column 3 — Company -->
<div>
<h3 class="text-sm font-semibold text-gray-900 dark:text-white">
Company
</h3>
<ul class="mt-4 space-y-2 text-sm text-gray-600 dark:text-gray-400">
<li>
<a
href="#"
class="hover:text-gray-900 dark:hover:text-white transition-colors"
>About</a
>
</li>
<li>
<a
href="#"
class="hover:text-gray-900 dark:hover:text-white transition-colors"
>Blog</a
>
</li>
<li>
<a
href="#"
class="hover:text-gray-900 dark:hover:text-white transition-colors"
>Careers</a
>
</li>
</ul>
</div>
<!-- Column 4 — Legal -->
<div>
<h3 class="text-sm font-semibold text-gray-900 dark:text-white">
Legal
</h3>
<ul class="mt-4 space-y-2 text-sm text-gray-600 dark:text-gray-400">
<li>
<a
href="#"
class="hover:text-gray-900 dark:hover:text-white transition-colors"
>Privacy</a
>
</li>
<li>
<a
href="#"
class="hover:text-gray-900 dark:hover:text-white transition-colors"
>Terms</a
>
</li>
</ul>
</div>
</div>
<div class="mt-12 border-t border-gray-200 pt-8 dark:border-gray-800">
<p class="text-center text-xs text-gray-500 dark:text-gray-400">
© 2026 ProductName. All rights reserved.
</p>
</div>
</div>
</footer>
Copywriting Guidelines
Headline Formulas
| Formula |
Example |
| Outcome without pain |
"Ship faster without breaking things" |
| Number + benefit |
"3x faster deployments, zero downtime" |
| Question |
"Still deploying manually?" |
| How to |
"How 2,000+ teams deploy with confidence" |
| Contrast |
"From 30-minute deploys to 30-second deploys" |
Subheadline Patterns
- Expand on the headline with specifics (who, what, how).
- Keep to 1–2 sentences, under 30 words.
- Address a secondary benefit or reduce a perceived risk.
CTA Text
| Weak |
Strong |
| Submit |
Start free trial |
| Click here |
Get started — it's free |
| Learn more |
See how it works |
| Sign up |
Create your first project |
- Use first person when appropriate: "Start my free trial."
- Add urgency or risk-reduction: "No credit card required."
Responsive Design
- Mobile-first: design for small screens, then enhance for larger ones.
- Stack on mobile: multi-column grids collapse to single column below
sm:.
- Touch targets: minimum 44×44px for all tappable elements.
- Font scaling: use
text-base on mobile, scale up with sm:text-lg, lg:text-xl.
- Image handling: use
srcset and sizes attributes; serve WebP/AVIF.
- Hero height: avoid
100vh on mobile (address bar issues). Use min-h-[calc(100dvh-4rem)] or similar dynamic viewport units.
Performance Optimization
- Above the fold: load hero image eagerly (
loading="eager"), defer everything else.
- Fonts: self-host, use
font-display: swap, subset to required characters.
- Images: lazy-load below fold, use
width/height attributes to prevent CLS.
- CSS: Tailwind purges unused classes automatically — keep the build pipeline configured.
- JavaScript: defer non-critical scripts; inline critical JS if under 1 KB.
- Core Web Vitals targets: LCP < 2.5s, INP < 200ms, CLS < 0.1.
Accessibility Checklist
- All images have descriptive
alt text (or alt="" for decorative images).
- Color contrast meets WCAG AA (4.5:1 for text, 3:1 for large text).
- Focus styles are visible on all interactive elements.
- Semantic HTML:
<header>, <main>, <section>, <footer>, <nav>.
- Skip-to-content link as the first focusable element.
- FAQ accordions are keyboard-navigable (native
<details> handles this).
- CTA buttons use
<a> for navigation or <button> for actions — never <div>.
Anti-Patterns
- Wall of text above the fold — the hero should be scannable in 3 seconds.
- Multiple competing CTAs — one primary action per viewport.
- Stock photography that feels generic — use product screenshots or custom illustrations.
- Auto-playing video with sound — always mute by default with a play control.
- Hiding pricing — if users want pricing, make it easy to find or they will leave.
- No mobile testing — always verify on real devices; responsive mode in DevTools is approximate.
- Ignoring page speed — a 1-second delay in LCP can reduce conversions by 7%.
1---2name: landing-page-design3description: Use this skill when designing and building high-conversion landing pages — hero sections, social proof, feature grids, CTAs, FAQ accordions, responsive layout, copywriting patterns, and performance optimization with Tailwind CSS.4license: Complete terms in LICENSE.txt5---67# Landing Page Design89## When to Use1011- Building a marketing or product landing page optimized for conversions.12- Designing hero sections, feature showcases, testimonial blocks, or pricing CTAs.13- Structuring above-the-fold content for maximum impact.14- Writing headline and CTA copy that drives action.15- Creating responsive, accessible landing pages with Tailwind CSS.1617## Page Structure1819A high-conversion landing page follows a proven information hierarchy:20211. **Hero Section** — headline, subheadline, primary CTA, supporting visual.222. **Social Proof Bar** — logos, metrics, or a short testimonial.233. **Features / Benefits** — 3–6 key value propositions with icons or images.244. **Deep-Dive Section** — detailed walkthrough or demo of the core product.255. **Testimonials / Case Studies** — real quotes, photos, company names.266. **Pricing or Secondary CTA** — clear next step.277. **FAQ** — address objections before they arise.288. **Footer** — secondary navigation, legal links, final CTA.2930## Hero Section Patterns3132### Centered Hero3334```html35<section class="relative overflow-hidden bg-white dark:bg-gray-950">36 <div class="mx-auto max-w-4xl px-6 py-24 text-center sm:py-32 lg:py-40">37 <!-- Eyebrow -->38 <p class="text-sm font-semibold tracking-wider text-indigo-600 uppercase">39 Now available40 </p>4142 <!-- Headline -->43 <h144 class="mt-4 text-4xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-6xl lg:text-7xl"45 >46 Ship faster without<br class="hidden sm:inline" />47 breaking things48 </h1>4950 <!-- Subheadline -->51 <p52 class="mx-auto mt-6 max-w-2xl text-lg leading-relaxed text-gray-600 dark:text-gray-400"53 >54 The deployment platform that gives your team confidence. Push to55 production in minutes, roll back in seconds.56 </p>5758 <!-- CTA Group -->59 <div60 class="mt-10 flex flex-col items-center gap-4 sm:flex-row sm:justify-center"61 >62 <a63 href="#"64 class="inline-flex items-center rounded-full bg-indigo-600 px-8 py-3.5 text-sm font-semibold text-white shadow-lg hover:bg-indigo-500 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 transition-colors"65 >66 Start free trial67 </a>68 <a69 href="#"70 class="inline-flex items-center gap-2 text-sm font-semibold text-gray-700 dark:text-gray-300 hover:text-indigo-600 transition-colors"71 >72 Watch demo <span aria-hidden="true">→</span>73 </a>74 </div>75 </div>76</section>77```7879### Split Hero (Image + Text)8081```html82<section class="bg-white dark:bg-gray-950">83 <div84 class="mx-auto grid max-w-7xl items-center gap-12 px-6 py-20 lg:grid-cols-2 lg:py-32"85 >86 <!-- Text Column -->87 <div>88 <h189 class="text-4xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-5xl lg:text-6xl"90 >91 Design to code,<br />92 in one click93 </h1>94 <p class="mt-6 text-lg leading-relaxed text-gray-600 dark:text-gray-400">95 Transform your design files into production-ready components. No more96 pixel-pushing handoffs.97 </p>98 <div class="mt-8 flex flex-wrap gap-4">99 <a100 href="#"101 class="rounded-lg bg-gray-900 px-6 py-3 text-sm font-semibold text-white hover:bg-gray-800 transition-colors dark:bg-white dark:text-gray-900 dark:hover:bg-gray-200"102 >103 Get started104 </a>105 <a106 href="#"107 class="rounded-lg border border-gray-300 px-6 py-3 text-sm font-semibold text-gray-700 hover:bg-gray-50 transition-colors dark:border-gray-700 dark:text-gray-300 dark:hover:bg-gray-900"108 >109 Learn more110 </a>111 </div>112 </div>113114 <!-- Image Column -->115 <div class="relative">116 <img117 src="/hero-screenshot.png"118 alt="Product dashboard screenshot"119 class="rounded-2xl shadow-2xl ring-1 ring-gray-200 dark:ring-gray-800"120 width="800"121 height="600"122 loading="eager"123 />124 </div>125 </div>126</section>127```128129## Social Proof Bar130131```html132<section133 class="border-y border-gray-200 bg-gray-50 dark:border-gray-800 dark:bg-gray-900"134>135 <div class="mx-auto max-w-7xl px-6 py-8">136 <p class="text-center text-sm font-medium text-gray-500 dark:text-gray-400">137 Trusted by 2,000+ teams worldwide138 </p>139 <div140 class="mt-6 flex flex-wrap items-center justify-center gap-x-12 gap-y-6"141 >142 <!-- Replace with client logos -->143 <img144 src="/logos/company-a.svg"145 alt="Company A"146 class="h-8 opacity-60 grayscale hover:opacity-100 hover:grayscale-0 transition"147 />148 <img149 src="/logos/company-b.svg"150 alt="Company B"151 class="h-8 opacity-60 grayscale hover:opacity-100 hover:grayscale-0 transition"152 />153 <img154 src="/logos/company-c.svg"155 alt="Company C"156 class="h-8 opacity-60 grayscale hover:opacity-100 hover:grayscale-0 transition"157 />158 <img159 src="/logos/company-d.svg"160 alt="Company D"161 class="h-8 opacity-60 grayscale hover:opacity-100 hover:grayscale-0 transition"162 />163 <img164 src="/logos/company-e.svg"165 alt="Company E"166 class="h-8 opacity-60 grayscale hover:opacity-100 hover:grayscale-0 transition"167 />168 </div>169 </div>170</section>171```172173## Feature Grid174175### Three-Column Icon Grid176177```html178<section class="bg-white py-20 dark:bg-gray-950 sm:py-28">179 <div class="mx-auto max-w-7xl px-6">180 <div class="mx-auto max-w-2xl text-center">181 <h2182 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-4xl"183 >184 Everything you need to ship185 </h2>186 <p class="mt-4 text-lg text-gray-600 dark:text-gray-400">187 Built for modern teams that move fast and demand reliability.188 </p>189 </div>190191 <div class="mt-16 grid gap-8 sm:grid-cols-2 lg:grid-cols-3">192 <!-- Feature Card -->193 <div class="rounded-2xl border border-gray-200 p-8 dark:border-gray-800">194 <div195 class="flex h-12 w-12 items-center justify-center rounded-xl bg-indigo-50 text-indigo-600 dark:bg-indigo-950 dark:text-indigo-400"196 >197 <!-- Icon SVG here -->198 <svg199 class="h-6 w-6"200 fill="none"201 viewBox="0 0 24 24"202 stroke-width="1.5"203 stroke="currentColor"204 >205 <path206 stroke-linecap="round"207 stroke-linejoin="round"208 d="M3.75 13.5l10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75z"209 />210 </svg>211 </div>212 <h3 class="mt-6 text-lg font-semibold text-gray-900 dark:text-white">213 Lightning deploys214 </h3>215 <p216 class="mt-2 text-sm leading-relaxed text-gray-600 dark:text-gray-400"217 >218 Push to production in under 30 seconds with zero-downtime deployments219 and automatic rollbacks.220 </p>221 </div>222223 <!-- Repeat for additional features -->224 </div>225 </div>226</section>227```228229## Testimonial Section230231```html232<section class="bg-gray-50 py-20 dark:bg-gray-900 sm:py-28">233 <div class="mx-auto max-w-7xl px-6">234 <h2235 class="text-center text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-4xl"236 >237 Loved by developers238 </h2>239240 <div class="mt-16 grid gap-8 sm:grid-cols-2 lg:grid-cols-3">241 <!-- Testimonial Card -->242 <figure243 class="rounded-2xl bg-white p-8 shadow-sm ring-1 ring-gray-200 dark:bg-gray-800 dark:ring-gray-700"244 >245 <blockquote246 class="text-sm leading-relaxed text-gray-700 dark:text-gray-300"247 >248 “We cut our deployment time by 80%. The team ships with249 confidence now and our release cadence tripled.”250 </blockquote>251 <figcaption class="mt-6 flex items-center gap-4">252 <img253 src="/avatars/jane.jpg"254 alt=""255 class="h-10 w-10 rounded-full object-cover"256 />257 <div>258 <p class="text-sm font-semibold text-gray-900 dark:text-white">259 Jane Smith260 </p>261 <p class="text-xs text-gray-500 dark:text-gray-400">262 CTO, Acme Corp263 </p>264 </div>265 </figcaption>266 </figure>267268 <!-- Repeat for more testimonials -->269 </div>270 </div>271</section>272```273274## Pricing CTA Block275276```html277<section class="bg-indigo-600 py-20 sm:py-28">278 <div class="mx-auto max-w-4xl px-6 text-center">279 <h2 class="text-3xl font-bold tracking-tight text-white sm:text-4xl">280 Ready to ship faster?281 </h2>282 <p class="mx-auto mt-4 max-w-xl text-lg text-indigo-100">283 Start your free 14-day trial. No credit card required.284 </p>285 <div286 class="mt-10 flex flex-col items-center gap-4 sm:flex-row sm:justify-center"287 >288 <a289 href="#"290 class="rounded-full bg-white px-8 py-3.5 text-sm font-semibold text-indigo-600 shadow-lg hover:bg-indigo-50 transition-colors"291 >292 Start free trial293 </a>294 <a295 href="#"296 class="text-sm font-semibold text-white hover:text-indigo-100 transition-colors"297 >298 Talk to sales <span aria-hidden="true">→</span>299 </a>300 </div>301 </div>302</section>303```304305## FAQ Accordion306307```html308<section class="bg-white py-20 dark:bg-gray-950 sm:py-28">309 <div class="mx-auto max-w-3xl px-6">310 <h2311 class="text-center text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-4xl"312 >313 Frequently asked questions314 </h2>315316 <dl class="mt-12 divide-y divide-gray-200 dark:divide-gray-800">317 <!-- FAQ Item — uses <details> for no-JS accordion -->318 <details class="group py-6">319 <summary320 class="flex cursor-pointer items-center justify-between text-left text-base font-semibold text-gray-900 dark:text-white"321 >322 What happens when my trial ends?323 <span324 class="ml-4 flex-shrink-0 transition-transform group-open:rotate-45"325 >326 <svg327 class="h-5 w-5"328 fill="none"329 viewBox="0 0 24 24"330 stroke-width="2"331 stroke="currentColor"332 >333 <path334 stroke-linecap="round"335 stroke-linejoin="round"336 d="M12 4.5v15m7.5-7.5h-15"337 />338 </svg>339 </span>340 </summary>341 <dd342 class="mt-4 text-sm leading-relaxed text-gray-600 dark:text-gray-400"343 >344 Your projects remain accessible in read-only mode. Upgrade anytime to345 restore full functionality — no data is ever deleted.346 </dd>347 </details>348349 <!-- Repeat for more FAQ items -->350 </dl>351 </div>352</section>353```354355## Footer with Secondary CTAs356357```html358<footer359 class="border-t border-gray-200 bg-gray-50 dark:border-gray-800 dark:bg-gray-900"360>361 <div class="mx-auto max-w-7xl px-6 py-12 lg:py-16">362 <div class="grid gap-8 sm:grid-cols-2 lg:grid-cols-4">363 <!-- Column 1 — Brand -->364 <div>365 <p class="text-lg font-bold text-gray-900 dark:text-white">366 ProductName367 </p>368 <p class="mt-2 text-sm text-gray-600 dark:text-gray-400">369 Ship faster, sleep better.370 </p>371 </div>372 <!-- Column 2 — Product -->373 <div>374 <h3 class="text-sm font-semibold text-gray-900 dark:text-white">375 Product376 </h3>377 <ul class="mt-4 space-y-2 text-sm text-gray-600 dark:text-gray-400">378 <li>379 <a380 href="#"381 class="hover:text-gray-900 dark:hover:text-white transition-colors"382 >Features</a383 >384 </li>385 <li>386 <a387 href="#"388 class="hover:text-gray-900 dark:hover:text-white transition-colors"389 >Pricing</a390 >391 </li>392 <li>393 <a394 href="#"395 class="hover:text-gray-900 dark:hover:text-white transition-colors"396 >Changelog</a397 >398 </li>399 </ul>400 </div>401 <!-- Column 3 — Company -->402 <div>403 <h3 class="text-sm font-semibold text-gray-900 dark:text-white">404 Company405 </h3>406 <ul class="mt-4 space-y-2 text-sm text-gray-600 dark:text-gray-400">407 <li>408 <a409 href="#"410 class="hover:text-gray-900 dark:hover:text-white transition-colors"411 >About</a412 >413 </li>414 <li>415 <a416 href="#"417 class="hover:text-gray-900 dark:hover:text-white transition-colors"418 >Blog</a419 >420 </li>421 <li>422 <a423 href="#"424 class="hover:text-gray-900 dark:hover:text-white transition-colors"425 >Careers</a426 >427 </li>428 </ul>429 </div>430 <!-- Column 4 — Legal -->431 <div>432 <h3 class="text-sm font-semibold text-gray-900 dark:text-white">433 Legal434 </h3>435 <ul class="mt-4 space-y-2 text-sm text-gray-600 dark:text-gray-400">436 <li>437 <a438 href="#"439 class="hover:text-gray-900 dark:hover:text-white transition-colors"440 >Privacy</a441 >442 </li>443 <li>444 <a445 href="#"446 class="hover:text-gray-900 dark:hover:text-white transition-colors"447 >Terms</a448 >449 </li>450 </ul>451 </div>452 </div>453454 <div class="mt-12 border-t border-gray-200 pt-8 dark:border-gray-800">455 <p class="text-center text-xs text-gray-500 dark:text-gray-400">456 © 2026 ProductName. All rights reserved.457 </p>458 </div>459 </div>460</footer>461```462463## Copywriting Guidelines464465### Headline Formulas466467| Formula | Example |468| ------------------------ | --------------------------------------------- |469| **Outcome without pain** | "Ship faster without breaking things" |470| **Number + benefit** | "3x faster deployments, zero downtime" |471| **Question** | "Still deploying manually?" |472| **How to** | "How 2,000+ teams deploy with confidence" |473| **Contrast** | "From 30-minute deploys to 30-second deploys" |474475### Subheadline Patterns476477- Expand on the headline with specifics (who, what, how).478- Keep to 1–2 sentences, under 30 words.479- Address a secondary benefit or reduce a perceived risk.480481### CTA Text482483| Weak | Strong |484| ---------- | ------------------------- |485| Submit | Start free trial |486| Click here | Get started — it's free |487| Learn more | See how it works |488| Sign up | Create your first project |489490- Use first person when appropriate: "Start **my** free trial."491- Add urgency or risk-reduction: "No credit card required."492493## Responsive Design494495- **Mobile-first**: design for small screens, then enhance for larger ones.496- **Stack on mobile**: multi-column grids collapse to single column below `sm:`.497- **Touch targets**: minimum 44×44px for all tappable elements.498- **Font scaling**: use `text-base` on mobile, scale up with `sm:text-lg`, `lg:text-xl`.499- **Image handling**: use `srcset` and `sizes` attributes; serve WebP/AVIF.500- **Hero height**: avoid `100vh` on mobile (address bar issues). Use `min-h-[calc(100dvh-4rem)]` or similar dynamic viewport units.501502## Performance Optimization503504- **Above the fold**: load hero image eagerly (`loading="eager"`), defer everything else.505- **Fonts**: self-host, use `font-display: swap`, subset to required characters.506- **Images**: lazy-load below fold, use `width`/`height` attributes to prevent CLS.507- **CSS**: Tailwind purges unused classes automatically — keep the build pipeline configured.508- **JavaScript**: defer non-critical scripts; inline critical JS if under 1 KB.509- **Core Web Vitals targets**: LCP < 2.5s, INP < 200ms, CLS < 0.1.510511## Accessibility Checklist512513- All images have descriptive `alt` text (or `alt=""` for decorative images).514- Color contrast meets WCAG AA (4.5:1 for text, 3:1 for large text).515- Focus styles are visible on all interactive elements.516- Semantic HTML: `<header>`, `<main>`, `<section>`, `<footer>`, `<nav>`.517- Skip-to-content link as the first focusable element.518- FAQ accordions are keyboard-navigable (native `<details>` handles this).519- CTA buttons use `<a>` for navigation or `<button>` for actions — never `<div>`.520521## Anti-Patterns522523- **Wall of text** above the fold — the hero should be scannable in 3 seconds.524- **Multiple competing CTAs** — one primary action per viewport.525- **Stock photography** that feels generic — use product screenshots or custom illustrations.526- **Auto-playing video with sound** — always mute by default with a play control.527- **Hiding pricing** — if users want pricing, make it easy to find or they will leave.528- **No mobile testing** — always verify on real devices; responsive mode in DevTools is approximate.529- **Ignoring page speed** — a 1-second delay in LCP can reduce conversions by 7%.