{
  "schema": "leumas.docs.page/1",
  "id": "adapter:domain/landing-copy",
  "slug": "adapters/domain/landing-copy",
  "kind": "capabilities",
  "bucket": "package",
  "title": "landing-copy",
  "name": "Landing Copy",
  "eyebrow": null,
  "chip": null,
  "summary": "Intelligent landing-page copywriting microservice that feeds the Imperium 'landing' mode: generate a conversion-oriented hero (headline + subhead + CTA), turn raw product features into benefit-led...",
  "keywords": [
    "landing-copy",
    "landing-page",
    "conversion-oriented",
    "objection-based",
    "subhead",
    "leumas landing copy",
    "headlines",
    "polishes"
  ],
  "audience": "both",
  "funnel": {
    "product": null,
    "cta": null
  },
  "body": "# landing-copy\n\nIntelligent landing-page copywriting microservice. Every tool returns a **structured JSON block** that\nthe Imperium **`landing` mode** (`@leumas/ui` `DynamicPage`) can render directly.\n\nEach tool has a **deterministic template/heuristic core** built on proven copy formulas (outcome\nheadlines, feature→benefit rewriting, objection-based FAQ) that runs fully offline. The generative\ntools (`hero`, `benefits`, `faq`, `ctaSection`) additionally have an **optional LLM path** that polishes\nwording and silently falls back to the template — results tagged `{ mode: 'heuristic' | 'llm' }`.\n\n## Tools\n\n| Tool | Args | Returns block |\n|---|---|---|\n| `hero` | `{ product, audience?, outcome?, tone?, cta?, options? }` | `{ headline, subhead, cta, secondaryCta }` |\n| `benefits` | `{ features:[...], audience?, tone?, options? }` | `{ bullets:[{ feature, headline, body }] }` |\n| `faq` | `{ product, audience?, options:{ count } }` | `{ items:[{ q, a }] }` |\n| `testimonialPrompts` | `{ product?, options:{ count } }` | `{ prompts:[...], tip }` |\n| `featureGrid` | `{ features:[...] }` | `{ columns, cells:[{ icon, title, description }] }` |\n| `socialProof` | `{ proof:{ stats, logos, rating, reviews, customers } }` | `{ headline, items, logos }` |\n| `ctaSection` | `{ product, outcome?, cta?, tone?, options? }` | `{ headline, support, primaryCta, secondaryCta }` |\n\nTones: `bold, friendly, professional, playful, minimal, luxury`.\nFeatures accept plain strings or `{ name, detail }` objects.\n\n## Example\n\n```js\nimport pack from './index.js';\n\nawait pack.adapters.hero({ product: 'Shipfast', audience: 'indie founders', outcome: 'ship in half the time', tone: 'bold' });\n// → { mode, block:'hero', headline, subhead, cta, secondaryCta }\n\npack.adapters.benefits({ features: ['Real-time sync', 'End-to-end encryption'], audience: 'teams' });\n// → { block:'benefits', bullets:[{ feature, headline:'Get results in seconds…', body }] }\n\npack.adapters.socialProof({ proof: { customers: '12,000', rating: 4.8, reviews: 900, logos: ['Acme','Globex'] } });\n// → { headline:'Trusted by 12,000 customers including Acme, Globex.', items:[…], logos:[…] }\n```\n\n## DRY boundaries\n\n- **Not `seo`** (meta tags / SERP), **not `a-templates`** (generic string templating), **not\n  `press-release`** (PR structure). This pack writes conversion-oriented landing copy blocks.\n- Self-contained: the only cross-file import is `../_shared/llm.js` for the optional AI path.\n",
  "source": {
    "path": "shared/engines/adapters/domain/landing-copy/README.md",
    "blobSha": "",
    "commit": "",
    "committedAt": "",
    "provenance": "no-git",
    "bytes": 2695,
    "hash": "9da4cb8bd88dce48c76cbd39bfa2ffe267c4d424"
  },
  "urls": {
    "html": "/p/adapters/domain/landing-copy",
    "json": "/docs/adapters/domain/landing-copy.json",
    "md": "/docs/adapters/domain/landing-copy.md"
  },
  "links": {
    "composes": [],
    "usedBy": [],
    "product": [],
    "howTo": [],
    "skills": []
  }
}
