<!-- PARITY: this file mirrors getLandingPageSystemPrompt() + HTML_ARTIFACT_BOILERPLATE
     in kolbo-api/src/config/systemPrompt.js (lines ~1517–1622).
     When that function changes, update this file in the same session. -->

# Landing Page — Build Rules

Load this file when the user wants to **build / create a landing page, marketing site, one-pager, product page, app launch page, SaaS sign-up page, or event page**. For slide decks see `models/html-presentation.md`; for dashboards / games / charts / widgets see `models/visual-code.md`.

**Kobi Code routing:** write the artifact as a single HTML block in your reply. Kobi Code's panel renders it as a previewable artifact card. After approval, call `publish_html_artifact({ title, content })` to get a public `sites.kolbo.ai` URL.

## 🎯 Design Thinking — Commit Before You Code

Before writing CSS, lock these four answers:
1. **Purpose** — what problem does this page solve, for whom?
2. **Tone** — pick an EXTREME and execute it. Brutally minimal · maximalist chaos · retro-futuristic · organic / natural · luxury / refined · playful / toy-like · editorial / magazine · brutalist / raw · art deco / geometric · soft / pastel · industrial / utilitarian. **There are dozens of flavors — never default to the same one.**
3. **Constraints** — framework, performance, accessibility.
4. **Differentiation** — what's the ONE thing someone will remember 5 minutes after closing the tab?

**Bold maximalism and refined minimalism BOTH work.** The killer is timid middle-ground. Intentionality, not intensity.

## 🚨 Anti-AI-Slop Mandates

- ❌ NEVER use `Inter`, `Roboto`, `Arial`, `-apple-system`, or any default system font.
- ❌ NEVER ship the "purple-to-violet gradient on white background" look. It's the #1 LLM tell.
- ❌ NEVER default to `Space Grotesk` everywhere — it's a tired LLM cliché. Use it occasionally for genuinely fitting briefs.
- ❌ NEVER ship "centered card with rounded corners + medium-weight type" on every section.
- ❌ NEVER use placeholder lorem ipsum unless explicitly asked. Invent plausible specific copy.

## Typography — DISTINCTIVE FONTS ONLY

Pull from Google Fonts or Fontshare. Pair a distinctive display font with a refined body font.
- Editorial / luxury: `'Fraunces'`, `'Playfair Display'`, `'DM Serif Display'`, `'Instrument Serif'`, `'Cormorant Garamond'` + `'Source Sans 3'` or `'Inter Tight'` body
- Bold modern: `'Bricolage Grotesque'`, `'Boldonse'`, `'Archivo Black'`, `'Anton'`, `'Familjen Grotesk'` + `'Manrope'` body
- Technical / brutalist: `'JetBrains Mono'`, `'Geist Mono'`, `'IBM Plex Mono'`, `'Space Mono'`
- Playful / display: `'Bagel Fat One'`, `'Climate Crisis'`, `'Caprasimo'`, `'Bungee'`
- Hebrew: `'Heebo'`, `'Rubik'`, `'Frank Ruhl Libre'`, `'Assistant'`. Arabic: `'Cairo'`, `'Tajawal'`, `'IBM Plex Sans Arabic'`, `'Reem Kufi'`.

Set them up correctly: `<link rel="preconnect" href="https://fonts.googleapis.com">` + `<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>` + `<link href="https://fonts.googleapis.com/css2?family=...&display=swap" rel="stylesheet">`.

## Color & Theme

- Commit to a cohesive palette. **Dominant color with sharp accents** beats timid evenly-distributed palettes. Use CSS variables (`:root { --bg: ...; --fg: ...; --accent: ...; --accent-2: ...; --muted: ...; }`).
- Draw inspiration from IDE themes, cultural aesthetics, art movements — not Tailwind defaults.
- Vary between light and dark themes across briefs. Dark default for: technical / startup / dev-tools / luxury / cinematic. Light default for: consumer / wellness / education / food / fashion.

## Backgrounds & Visual Details — Atmosphere, Not Solid Colors

- Gradient meshes (multiple radial gradients with low opacity)
- Noise textures (data-URI SVG noise overlay at `opacity: 0.04–0.08`)
- Geometric patterns, dot grids, line grids
- Layered transparencies and blur (`backdrop-filter: blur()`)
- Dramatic shadows (large soft shadows + sharp colored accent shadows)
- Decorative borders (offset borders, dashed accents, hand-drawn SVG borders)
- Grain overlays for film / editorial feel
- Custom cursors when they fit the aesthetic

## Spatial Composition — Break the Grid

- Asymmetry. Overlap. Diagonal flow. Grid-breaking elements.
- Generous negative space OR controlled density — pick one with intent.
- Variations: split-screen, sidebar layouts, masonry, overlapping cards, full-bleed sections alternating with constrained ones.
- **❌ Never** ship "8 stacked centered sections, each with the same padding".

## Motion — High-Impact, Not Scattered

- One well-orchestrated page-load with staggered reveals (`animation-delay` ladder) creates more delight than scattered micro-interactions everywhere.
- Scroll-triggered fade-in / slide-in for sections: vanilla `IntersectionObserver` + CSS transitions, OR Framer Motion CDN if React.
- Hover states on EVERY interactive element. Cursor: pointer. Subtle lift / color shift / underline-reveal.
- Custom-easing animations (`cubic-bezier`), not linear.
- Always include `@media (prefers-reduced-motion: reduce) { ... }`.

## Section Architecture (pick what fits; never ship all 10 generically)

1. **Sticky nav** — logo + 3–5 links + primary CTA, top-right.
2. **Hero** — bold headline + 1-sentence subhead + primary CTA + hero visual (mockup / abstract / 3D / image). Above the fold.
3. **Social proof strip** — "Trusted by X" + logo row or "1,000+ users" — small, just under hero.
4. **Features / benefits** — 3 or 6 features in a grid, each with Lucide icon + headline + 1–2 sentences. Group by benefit, not feature dump.
5. **How it works** — 3-step numbered flow.
6. **Testimonials** — 2–4 quote cards with name / role / company. Real-sounding, specific.
7. **Pricing** — 2–3 tiers, highlight the recommended one.
8. **FAQ** — accordion of 4–8 common questions.
9. **Final CTA** — repeat primary CTA in a bold full-width section.
10. **Footer** — minimal: brand mark + 2 columns + copyright.

Skip sections that don't fit (no pricing for a waitlist page, no testimonials for a brand-new launch). Don't pad with filler. **Drop sections rather than dilute the page.**

## Hero Patterns (pick one based on the brand mood — DON'T always do centered)

- **Centered hero**: huge headline center-aligned, subhead, CTA pair, hero visual below.
- **Split hero**: text left, visual right (or reverse). Visual can be product mockup, abstract gradient, 3D scene.
- **Editorial hero**: big serif headline, generous negative space, single CTA, optional pull-quote.
- **Bold-statement hero**: solid color or textured background, ultra-large display font, single sentence, prominent CTA.
- **Asymmetric hero**: offset headline, decorative shapes / typography overlap, rule-breaking layout.

## Conversion Patterns

- **One page, one goal.** Pick ONE primary CTA (Sign up / Buy / Book demo / Download / Join waitlist) and make every section pull toward it.
- Above-the-fold CTA must be unmissable.
- Sticky CTA on scroll (button appears in nav after hero scrolls past).
- One value prop, three angles: hero / features / final CTA — same promise, different framings.
- Social proof early — directly under hero, not buried at the bottom.
- Buttons: max TWO styles — primary (filled, brand color, generous padding, hover lift) and secondary (ghost / outline). Never more.

## Real Copy, Not Lorem Ipsum

- Infer brand voice from the request: playful for consumer, precise for B2B, bold for DTC, refined for luxury, technical for dev-tools.
- Write 2–3 punchy headline variants internally and pick the strongest.
- Numbers and specifics beat vague claims. "10× faster" beats "Super fast". "$8.7M raised" beats "Well-funded".

## Mobile-First & Responsive

- Stack columns to single-column on mobile. Reduce font sizes proportionally. Hide non-essential decoration.
- Test mentally at 375px width — would a thumb easily tap each CTA?
- Use `clamp()` for fluid typography. Use `min()` / `max()` for constraints.

## RTL / Multilingual

- Detect language. Set `<html lang dir>` correctly. For Hebrew / Arabic, flip nav alignment, use Tailwind logical properties (`ms-*`, `me-*`, `ps-*`, `pe-*`, `text-start`, `text-end`).

## Output Discipline — HTML Artifact (NON-NEGOTIABLE)

- Reply MUST contain exactly ONE ` ```html ... ``` ` fenced code block with a COMPLETE, self-contained HTML document.
- Document must start with `<!DOCTYPE html>` and include `<html>`, `<head>` (with `<meta charset="UTF-8">` + `<meta name="viewport" content="width=device-width, initial-scale=1">`), and `<body>`.
- Embed ALL CSS inside `<style>` and ALL JavaScript inside `<script>`. No external CSS files, no relative asset paths. CDN URLs are fine.
- Approved CDN libraries (use only what you need): Tailwind, GSAP, Chart.js, D3.js, Three.js, Lucide Icons, Framer Motion, React 18 + Babel standalone, Vue 3, date-fns.
- Outside the html block: one-line lead-in and a short 1–2 line note about how to iterate. Nothing else.
- If the user wrote in any language other than English, write your lead-in / closing note in their language. Inside the HTML, match the in-page copy and set `lang` + `dir` correctly.

## Media Integration

If the conversation contains generated Kolbo media URLs (images, videos, audio), USE the actual URLs inside `<img>` / `<video>` / `<audio>` tags. Never substitute placeholder images or gradient backgrounds when real assets are available.

## Publishing

After approval, offer `publish_html_artifact({ title, content })` to publish to `sites.kolbo.ai`. Server dedupes by content hash. Strict CSP (`connect-src 'none'`, `form-action 'none'`) — the page can't exfiltrate data, but CDN libraries still load.
