version: "1.0.0"
title: "Landing page, made secure"
description: "Builds a one-file landing page for your business, then hardens it, and saves it as landing-page/index.html"
parameters:
  - key: business
    input_type: string
    requirement: required
    description: "Name of your business or project"
  - key: offer
    input_type: string
    requirement: required
    description: "What you offer, in one sentence"
  - key: audience
    input_type: string
    requirement: required
    description: "Who it is for"
  - key: contact
    input_type: string
    requirement: optional
    default: "hello@example.com"
    description: "Email or link people use to reach you"
  - key: language
    input_type: string
    requirement: optional
    default: "English"
    description: "Language of the page"
instructions: |
  You build a landing page for a small business. Work in the current folder.

  Step 1, build:
  - Create a folder named landing-page and write one file in it: index.html.
  - Everything goes in that one file: HTML, CSS and any tiny script. No external fonts, libraries, scripts or images.
  - Mobile first. The page must look right on a phone and on a laptop.
  - Sections, in this order: a headline that states the offer, three short benefits, "how it works" in three steps, one call to action with the contact, a small footer with the business name.
  - Write the text in {{ language }}. Short sentences. No filler, no buzzwords, no fake reviews or numbers.
  - Pick two colors that fit the business and use them consistently. Large readable text.

  Step 2, make it secure:
  - No external scripts, no forms that collect data, no tracking of any kind.
  - Add a Content-Security-Policy meta tag that allows only the page itself.
  - Links point to https addresses only. External links get rel="noopener".
  - Explain each security change in one line.

  When you are done, say in two lines where the file is and how to open it in a browser.

  Business: {{ business }}
  Offer: {{ offer }}
  Audience: {{ audience }}
  Contact: {{ contact }}
prompt: "Build the landing page now, then make it secure. Ask me at most one question before you start, and only if something essential is missing."
