@contractspec/bundle.marketing 3.7.6 → 3.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/.turbo/turbo-build.log +84 -84
  2. package/AGENTS.md +29 -21
  3. package/README.md +36 -49
  4. package/dist/browser/components/marketing/ChangelogPage.js +8 -8
  5. package/dist/browser/components/marketing/CofounderPage.js +167 -523
  6. package/dist/browser/components/marketing/ContactClient.js +200 -207
  7. package/dist/browser/components/marketing/ContributePage.js +211 -463
  8. package/dist/browser/components/marketing/DesignPartnerPage.js +165 -218
  9. package/dist/browser/components/marketing/LandingPage.js +464 -568
  10. package/dist/browser/components/marketing/PricingClient.js +213 -839
  11. package/dist/browser/components/marketing/ProductClientPage.js +265 -463
  12. package/dist/browser/components/marketing/index.js +2007 -3338
  13. package/dist/browser/components/marketing/pricing-thinking-modal.js +12 -12
  14. package/dist/browser/components/marketing/sections/AudienceSection.js +2 -2
  15. package/dist/browser/components/marketing/sections/CorePositioningSection.js +2 -2
  16. package/dist/browser/components/marketing/sections/CtaSection.js +3 -3
  17. package/dist/browser/components/marketing/sections/FearsSection.js +3 -3
  18. package/dist/browser/components/marketing/sections/HeroMarketingSection.js +6 -6
  19. package/dist/browser/components/marketing/sections/IconGridSection.js +2 -2
  20. package/dist/browser/components/marketing/sections/OutputsSection.js +2 -2
  21. package/dist/browser/components/marketing/sections/ProblemSection.js +2 -2
  22. package/dist/browser/components/marketing/sections/SolutionSection.js +2 -2
  23. package/dist/browser/components/marketing/sections/StepsSection.js +4 -4
  24. package/dist/browser/components/marketing/studio-signup-section.js +25 -41
  25. package/dist/browser/components/templates/TemplatesClientPage.js +2324 -3578
  26. package/dist/browser/components/templates/TemplatesPage.js +1 -1
  27. package/dist/browser/components/templates/TemplatesPreviewModal.js +3 -3
  28. package/dist/browser/components/templates/index.js +2361 -3615
  29. package/dist/browser/index.js +2363 -3617
  30. package/dist/browser/libs/email/client.js +1 -1
  31. package/dist/browser/libs/email/contact.js +1 -1
  32. package/dist/browser/libs/email/newsletter.js +1 -1
  33. package/dist/browser/libs/email/waitlist-application.js +1 -1
  34. package/dist/browser/libs/email/waitlist.js +1 -1
  35. package/dist/browser/registry/engine.js +2003 -3334
  36. package/dist/browser/registry/index.js +2003 -3334
  37. package/dist/browser/registry/registry-docs.js +2 -2
  38. package/dist/browser/registry/registry-landing.js +2007 -3338
  39. package/dist/browser/registry/registry.js +2003 -3334
  40. package/dist/browser/registry/utils.js +2003 -3334
  41. package/dist/components/marketing/ChangelogPage.js +8 -8
  42. package/dist/components/marketing/CofounderPage.js +167 -523
  43. package/dist/components/marketing/ContactClient.js +200 -207
  44. package/dist/components/marketing/ContributePage.d.ts +0 -2
  45. package/dist/components/marketing/ContributePage.js +211 -463
  46. package/dist/components/marketing/DesignPartnerPage.js +165 -218
  47. package/dist/components/marketing/LandingPage.js +464 -568
  48. package/dist/components/marketing/PricingClient.js +213 -839
  49. package/dist/components/marketing/ProductClientPage.js +265 -463
  50. package/dist/components/marketing/index.d.ts +5 -5
  51. package/dist/components/marketing/index.js +2007 -3338
  52. package/dist/components/marketing/pricing-thinking-modal.js +12 -12
  53. package/dist/components/marketing/sections/AudienceSection.js +2 -2
  54. package/dist/components/marketing/sections/CorePositioningSection.js +2 -2
  55. package/dist/components/marketing/sections/CtaSection.js +3 -3
  56. package/dist/components/marketing/sections/FearsSection.js +3 -3
  57. package/dist/components/marketing/sections/HeroMarketingSection.js +6 -6
  58. package/dist/components/marketing/sections/IconGridSection.d.ts +3 -3
  59. package/dist/components/marketing/sections/IconGridSection.js +2 -2
  60. package/dist/components/marketing/sections/OutputsSection.js +2 -2
  61. package/dist/components/marketing/sections/ProblemSection.js +2 -2
  62. package/dist/components/marketing/sections/SolutionSection.js +2 -2
  63. package/dist/components/marketing/sections/StepsSection.js +4 -4
  64. package/dist/components/marketing/studio-signup-section.js +25 -41
  65. package/dist/components/templates/TemplatesClientPage.js +2324 -3578
  66. package/dist/components/templates/TemplatesPage.js +1 -1
  67. package/dist/components/templates/TemplatesPreviewModal.js +3 -3
  68. package/dist/components/templates/index.js +2361 -3615
  69. package/dist/index.js +2363 -3617
  70. package/dist/libs/email/client.js +1 -1
  71. package/dist/libs/email/contact.js +1 -1
  72. package/dist/libs/email/newsletter.js +1 -1
  73. package/dist/libs/email/waitlist-application.js +1 -1
  74. package/dist/libs/email/waitlist.js +1 -1
  75. package/dist/node/components/marketing/ChangelogPage.js +8 -8
  76. package/dist/node/components/marketing/CofounderPage.js +167 -523
  77. package/dist/node/components/marketing/ContactClient.js +200 -207
  78. package/dist/node/components/marketing/ContributePage.js +211 -463
  79. package/dist/node/components/marketing/DesignPartnerPage.js +165 -218
  80. package/dist/node/components/marketing/LandingPage.js +464 -568
  81. package/dist/node/components/marketing/PricingClient.js +213 -839
  82. package/dist/node/components/marketing/ProductClientPage.js +265 -463
  83. package/dist/node/components/marketing/index.js +2007 -3338
  84. package/dist/node/components/marketing/pricing-thinking-modal.js +12 -12
  85. package/dist/node/components/marketing/sections/AudienceSection.js +2 -2
  86. package/dist/node/components/marketing/sections/CorePositioningSection.js +2 -2
  87. package/dist/node/components/marketing/sections/CtaSection.js +3 -3
  88. package/dist/node/components/marketing/sections/FearsSection.js +3 -3
  89. package/dist/node/components/marketing/sections/HeroMarketingSection.js +6 -6
  90. package/dist/node/components/marketing/sections/IconGridSection.js +2 -2
  91. package/dist/node/components/marketing/sections/OutputsSection.js +2 -2
  92. package/dist/node/components/marketing/sections/ProblemSection.js +2 -2
  93. package/dist/node/components/marketing/sections/SolutionSection.js +2 -2
  94. package/dist/node/components/marketing/sections/StepsSection.js +4 -4
  95. package/dist/node/components/marketing/studio-signup-section.js +25 -41
  96. package/dist/node/components/templates/TemplatesClientPage.js +2324 -3578
  97. package/dist/node/components/templates/TemplatesPage.js +1 -1
  98. package/dist/node/components/templates/TemplatesPreviewModal.js +3 -3
  99. package/dist/node/components/templates/index.js +2361 -3615
  100. package/dist/node/index.js +2363 -3617
  101. package/dist/node/libs/email/client.js +1 -1
  102. package/dist/node/libs/email/contact.js +1 -1
  103. package/dist/node/libs/email/newsletter.js +1 -1
  104. package/dist/node/libs/email/waitlist-application.js +1 -1
  105. package/dist/node/libs/email/waitlist.js +1 -1
  106. package/dist/node/registry/engine.js +2003 -3334
  107. package/dist/node/registry/index.js +2003 -3334
  108. package/dist/node/registry/registry-docs.js +2 -2
  109. package/dist/node/registry/registry-landing.js +2007 -3338
  110. package/dist/node/registry/registry.js +2003 -3334
  111. package/dist/node/registry/utils.js +2003 -3334
  112. package/dist/registry/engine.js +2003 -3334
  113. package/dist/registry/index.js +2003 -3334
  114. package/dist/registry/registry-docs.js +2 -2
  115. package/dist/registry/registry-landing.js +2007 -3338
  116. package/dist/registry/registry.js +2003 -3334
  117. package/dist/registry/utils.js +2003 -3334
  118. package/package.json +22 -22
  119. package/src/bundles/MarketingBundle.ts +273 -273
  120. package/src/components/marketing/ChangelogPage.tsx +72 -100
  121. package/src/components/marketing/CofounderPage.tsx +120 -384
  122. package/src/components/marketing/ContactClient.tsx +164 -154
  123. package/src/components/marketing/ContributePage.tsx +139 -313
  124. package/src/components/marketing/DesignPartnerPage.tsx +133 -171
  125. package/src/components/marketing/LandingPage.tsx +353 -25
  126. package/src/components/marketing/PricingClient.tsx +192 -437
  127. package/src/components/marketing/ProductClientPage.tsx +255 -377
  128. package/src/components/marketing/index.ts +5 -5
  129. package/src/components/marketing/pricing-thinking-modal.tsx +197 -197
  130. package/src/components/marketing/sections/AudienceSection.tsx +55 -56
  131. package/src/components/marketing/sections/CorePositioningSection.tsx +37 -37
  132. package/src/components/marketing/sections/CtaSection.tsx +49 -50
  133. package/src/components/marketing/sections/DevelopersSection.tsx +26 -27
  134. package/src/components/marketing/sections/FearsSection.tsx +36 -37
  135. package/src/components/marketing/sections/HeroMarketingSection.tsx +59 -59
  136. package/src/components/marketing/sections/IconGridSection.tsx +71 -71
  137. package/src/components/marketing/sections/OutputsSection.tsx +51 -52
  138. package/src/components/marketing/sections/ProblemSection.tsx +39 -40
  139. package/src/components/marketing/sections/SolutionSection.tsx +39 -40
  140. package/src/components/marketing/sections/StepsSection.tsx +47 -48
  141. package/src/components/marketing/studio-signup-section.tsx +39 -41
  142. package/src/components/templates/TemplatesClientPage.tsx +727 -685
  143. package/src/components/templates/TemplatesPage.tsx +110 -110
  144. package/src/components/templates/TemplatesPreviewModal.tsx +197 -198
  145. package/src/index.ts +4 -4
  146. package/src/libs/email/client.test.ts +81 -81
  147. package/src/libs/email/client.ts +111 -111
  148. package/src/libs/email/contact.ts +35 -35
  149. package/src/libs/email/newsletter.ts +46 -46
  150. package/src/libs/email/types.ts +29 -29
  151. package/src/libs/email/utils.ts +5 -5
  152. package/src/libs/email/waitlist-application.ts +72 -72
  153. package/src/libs/email/waitlist.ts +46 -46
  154. package/src/libs/pricing-examples.ts +12 -12
  155. package/src/registry/engine.ts +16 -16
  156. package/src/registry/factory.ts +57 -57
  157. package/src/registry/registry-docs.ts +656 -666
  158. package/src/registry/registry-landing.ts +94 -95
  159. package/src/registry/registry.ts +36 -37
  160. package/src/registry/types.ts +2 -2
  161. package/src/registry/utils.ts +56 -56
  162. package/tsconfig.json +11 -11
  163. package/tsdown.config.js +5 -5
@@ -1,621 +1,517 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
- // src/components/marketing/sections/HeroMarketingSection.tsx
5
- import { ButtonLink, MarketingSection } from "@contractspec/lib.design-system";
4
+ // src/components/marketing/LandingPage.tsx
6
5
  import {
7
- analyticsEventNames,
8
- captureAnalyticsEvent
9
- } from "@contractspec/bundle.library/libs/posthog/client";
10
- import { Box, HStack, VStack } from "@contractspec/lib.ui-kit-web/ui/stack";
11
- import { H1, Lead, Small } from "@contractspec/lib.ui-kit-web/ui/typography";
12
- import { ChevronRight } from "lucide-react";
6
+ ArrowRight,
7
+ Blocks,
8
+ Bot,
9
+ Braces,
10
+ ChartColumn,
11
+ Database,
12
+ GitBranch,
13
+ ShieldCheck,
14
+ Sparkles,
15
+ Workflow
16
+ } from "lucide-react";
17
+ import Link from "next/link";
13
18
  import { jsxDEV } from "react/jsx-dev-runtime";
14
19
  "use client";
15
- var heroChips = ["Multi-Surface Sync", "No Lock-in", "Standard Tech"];
16
- function HeroMarketingSection() {
17
- return /* @__PURE__ */ jsxDEV(MarketingSection, {
18
- tone: "gradient",
19
- padding: "spacious",
20
- align: "center",
21
- children: /* @__PURE__ */ jsxDEV(VStack, {
22
- gap: "lg",
23
- align: "center",
24
- className: "text-center",
25
- children: [
26
- /* @__PURE__ */ jsxDEV(Box, {
27
- as: "div",
28
- role: "presentation",
29
- className: "bg-muted text-muted-foreground inline-flex items-center rounded-full px-3 py-1 text-xs font-medium tracking-wider uppercase",
30
- children: "Open Source Core"
31
- }, undefined, false, undefined, this),
32
- /* @__PURE__ */ jsxDEV(H1, {
33
- className: "text-4xl leading-tight font-bold text-balance md:text-5xl",
34
- children: "Stabilize your AI-generated code"
35
- }, undefined, false, undefined, this),
36
- /* @__PURE__ */ jsxDEV(Lead, {
37
- className: "text-muted-foreground text-lg text-balance md:text-xl",
38
- children: "ContractSpec is the compiler that keeps AI-written software coherent, safe, and regenerable. You keep your app. You own the code. One module at a time."
39
- }, undefined, false, undefined, this),
40
- /* @__PURE__ */ jsxDEV(HStack, {
41
- gap: "md",
42
- justify: "center",
43
- wrap: "wrap",
44
- children: [
45
- /* @__PURE__ */ jsxDEV(ButtonLink, {
46
- href: "/install",
47
- onClick: () => captureAnalyticsEvent(analyticsEventNames.CTA_INSTALL_CLICK, {
48
- surface: "hero"
49
- }),
50
- children: [
51
- "Install OSS ",
52
- /* @__PURE__ */ jsxDEV(ChevronRight, {
53
- size: 16
54
- }, undefined, false, undefined, this)
55
- ]
56
- }, undefined, true, undefined, this),
57
- /* @__PURE__ */ jsxDEV(ButtonLink, {
58
- variant: "ghost",
59
- href: "https://www.contractspec.studio",
60
- onClick: () => captureAnalyticsEvent(analyticsEventNames.CTA_STUDIO_CLICK, {
61
- surface: "hero"
62
- }),
63
- children: "Try Studio"
64
- }, undefined, false, undefined, this)
65
- ]
66
- }, undefined, true, undefined, this),
67
- /* @__PURE__ */ jsxDEV(HStack, {
68
- gap: "sm",
69
- justify: "center",
70
- wrap: "wrap",
71
- className: "pt-2",
72
- children: heroChips.map((chip) => /* @__PURE__ */ jsxDEV(Box, {
73
- as: "div",
74
- role: "presentation",
75
- className: "border-border text-foreground inline-flex items-center rounded-full border px-3 py-1 text-sm",
76
- children: /* @__PURE__ */ jsxDEV(Small, {
77
- className: "font-medium",
78
- children: chip
79
- }, undefined, false, undefined, this)
80
- }, chip, false, undefined, this))
81
- }, undefined, false, undefined, this)
82
- ]
83
- }, undefined, true, undefined, this)
84
- }, undefined, false, undefined, this);
85
- }
86
-
87
- // src/components/marketing/sections/IconGridSection.tsx
88
- import { cva } from "class-variance-authority";
89
- import {
90
- MarketingCardsSection,
91
- MarketingIconCard
92
- } from "@contractspec/lib.design-system";
93
- import { Muted } from "@contractspec/lib.ui-kit-web/ui/typography";
94
- import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
95
- var itemVariants = cva("", {
96
- variants: {
97
- iconRole: {
98
- iconFirst: "",
99
- listing: "items-start",
100
- support: "items-start"
101
- }
102
- },
103
- defaultVariants: { iconRole: "iconFirst" }
104
- });
105
- function IconGridSection({
106
- eyebrow,
107
- title,
108
- subtitle,
109
- items,
110
- tone = "default",
111
- padding,
112
- columns = 3,
113
- iconRole = "iconFirst"
114
- }) {
115
- return /* @__PURE__ */ jsxDEV2(MarketingCardsSection, {
116
- tone,
117
- padding,
118
- eyebrow: eyebrow ? /* @__PURE__ */ jsxDEV2(Muted, {
119
- className: "text-xs font-semibold tracking-[0.2em] uppercase",
120
- children: eyebrow
121
- }, undefined, false, undefined, this) : null,
122
- title,
123
- subtitle: subtitle ? /* @__PURE__ */ jsxDEV2(Muted, {
124
- className: "text-lg",
125
- children: subtitle
126
- }, undefined, false, undefined, this) : null,
127
- columns,
128
- children: items.map((card) => /* @__PURE__ */ jsxDEV2(MarketingIconCard, {
129
- icon: card.icon,
130
- title: card.title,
131
- description: card.description,
132
- tone: card.tone,
133
- iconClassName: card.iconClassName,
134
- variant: iconRole === "listing" ? "listing" : iconRole === "support" ? "support" : "iconFirst",
135
- className: itemVariants({ iconRole })
136
- }, card.title, false, undefined, this))
137
- }, undefined, false, undefined, this);
138
- }
139
-
140
- // src/components/marketing/sections/ProblemSection.tsx
141
- import { AlertTriangle, Layers, RefreshCw, XCircle } from "lucide-react";
142
- import { jsxDEV as jsxDEV3 } from "react/jsx-dev-runtime";
143
- var problemItems = [
144
- {
145
- icon: AlertTriangle,
146
- title: "Can't enforce invariants",
147
- description: "AI-generated code drifts from business rules over time. No source of truth means no safety.",
148
- iconClassName: "text-red-400"
149
- },
20
+ var failureModes = [
150
21
  {
151
- icon: Layers,
152
- title: "Multi-surface chaos",
153
- description: "API, DB, UI, and events get out of sync. One change breaks three surfaces.",
154
- iconClassName: "text-orange-400"
22
+ title: "Implicit rules drift first",
23
+ description: "Prompt chains and AI edits move faster than the product rules they are supposed to respect."
155
24
  },
156
25
  {
157
- icon: RefreshCw,
158
- title: "Hallucinated refactors",
159
- description: 'AI "improvements" introduce subtle bugs and break contracts you didn\u2019t know existed.',
160
- iconClassName: "text-amber-400"
26
+ title: "Surfaces stop agreeing",
27
+ description: "API, UI, database, events, and MCP tools evolve independently unless something explicit keeps them aligned."
161
28
  },
162
29
  {
163
- icon: XCircle,
164
- title: "Unmaintainable spaghetti",
165
- description: "Teams ship fast initially, then spend months untangling AI-generated chaos.",
166
- iconClassName: "text-red-400"
30
+ title: "Teams lose safe regeneration",
31
+ description: "Without a stable contract layer, every regeneration feels like rewriting production in the dark."
167
32
  }
168
33
  ];
169
- function ProblemSection() {
170
- return /* @__PURE__ */ jsxDEV3(IconGridSection, {
171
- tone: "muted",
172
- columns: 4,
173
- eyebrow: "The Problem",
174
- title: "AI agents write code fast. Then the chaos begins.",
175
- subtitle: 'In 2025, "vibe coding" and AI agents generate enormous amounts of code. But they have critical limitations that destroy long-term maintainability.',
176
- items: problemItems
177
- }, undefined, false, undefined, this);
178
- }
179
-
180
- // src/components/marketing/sections/SolutionSection.tsx
181
- import { FileCode, Layers as Layers2, RefreshCw as RefreshCw2, Shield } from "lucide-react";
182
- import { jsxDEV as jsxDEV4 } from "react/jsx-dev-runtime";
183
- var solutionItems = [
34
+ var systemSurfaces = [
184
35
  {
185
- icon: FileCode,
186
- title: "Canonical Source of Truth",
187
- description: "Contracts define what the system should do, not just what it does. AI agents read specs, not implementations.",
188
- iconClassName: "text-emerald-400"
36
+ label: "Contracts and generation",
37
+ description: "Define the canonical behavior once and derive the implementation surfaces from it.",
38
+ icon: Braces
189
39
  },
190
40
  {
191
- icon: Layers2,
192
- title: "Multi-Surface Consistency",
193
- description: "One spec generates API, DB, UI, events, and MCP tools. All surfaces stay in sync because they share the same source.",
194
- iconClassName: "text-blue-400"
41
+ label: "Runtime adapters",
42
+ description: "Bind the same source of truth to REST, GraphQL, React, MCP, and operational flows.",
43
+ icon: Workflow
195
44
  },
196
45
  {
197
- icon: RefreshCw2,
198
- title: "Safe Regeneration",
199
- description: "Regenerate code anytime without fear. Specs enforce invariants. Breaking changes caught at compile time.",
200
- iconClassName: "text-violet-400"
46
+ label: "Harness and proof",
47
+ description: "Replay, evaluate, inspect, and verify how the system behaves before you trust automation with more.",
48
+ icon: ChartColumn
201
49
  },
202
50
  {
203
- icon: Shield,
204
- title: "AI Governance",
205
- description: "Constrain what AI agents can change. Enforce contracts they must respect. Flag violations automatically.",
206
- iconClassName: "text-pink-400"
51
+ label: "Studio operating layer",
52
+ description: "Run the opinionated product loop when you want coordination, governance, and a packaged operating surface.",
53
+ icon: Sparkles
207
54
  }
208
55
  ];
209
- function SolutionSection() {
210
- return /* @__PURE__ */ jsxDEV4(IconGridSection, {
211
- tone: "default",
212
- columns: 4,
213
- eyebrow: "The Solution",
214
- title: "ContractSpec: The safety layer for AI-coded systems",
215
- subtitle: "Define contracts once. Generate consistent code across all surfaces. Regenerate safely anytime. No lock-in.",
216
- items: solutionItems
217
- }, undefined, false, undefined, this);
218
- }
219
-
220
- // src/components/marketing/sections/FearsSection.tsx
221
- import { CheckCircle, Code, Unlock, Zap } from "lucide-react";
222
- import { jsxDEV as jsxDEV5 } from "react/jsx-dev-runtime";
223
- var fears = [
56
+ var outputs = [
224
57
  {
225
- title: '"I already have an app"',
226
- body: "ContractSpec works with existing codebases. You don't start over \u2014 you stabilize incrementally, one module at a time. Start with one API endpoint, one data model, one contract.",
227
- icon: CheckCircle
58
+ title: "APIs",
59
+ copy: "Typed endpoints and schemas stay aligned with the same contract language the team edits.",
60
+ icon: GitBranch
228
61
  },
229
62
  {
230
- title: '"Vendor lock-in / losing ownership"',
231
- body: "You own the generated code. It's standard TypeScript, standard SQL, standard GraphQL. ContractSpec is a compiler \u2014 like TypeScript itself. You can eject anytime.",
232
- icon: Unlock
63
+ title: "Data",
64
+ copy: "Schema, validation, and migrations are shaped by the same product rules instead of scattered implementations.",
65
+ icon: Database
233
66
  },
234
67
  {
235
- title: '"Adoption cost / learning curve"',
236
- body: "Specs are just TypeScript. If you can write z.object({ name: z.string() }), you can write a ContractSpec. No new language, no magic DSL, no YAML.",
237
- icon: Code
68
+ title: "Interfaces",
69
+ copy: "Forms, presentations, and client types inherit the same system boundaries instead of drifting from the backend.",
70
+ icon: Blocks
238
71
  },
239
72
  {
240
- title: '"Forced migrations / magical runtime"',
241
- body: "ContractSpec generates plain code you can read, debug, and modify. There's no proprietary runtime. Migrations are explicit, reversible, and in your control.",
242
- icon: Zap
73
+ title: "Agents and tools",
74
+ copy: "MCP tools and agent-facing surfaces are generated from explicit contracts rather than guessed from code.",
75
+ icon: Bot
243
76
  }
244
77
  ];
245
- function FearsSection() {
246
- return /* @__PURE__ */ jsxDEV5(IconGridSection, {
247
- tone: "muted",
248
- columns: 2,
249
- eyebrow: "We Get It",
250
- title: "Your fears, addressed",
251
- subtitle: "We know what you're thinking. Here's why those concerns don't apply to ContractSpec.",
252
- iconRole: "support",
253
- items: fears.map((item) => ({
254
- icon: item.icon,
255
- title: item.title,
256
- description: item.body,
257
- iconClassName: "text-violet-400"
258
- }))
259
- }, undefined, false, undefined, this);
260
- }
261
-
262
- // src/components/marketing/sections/CorePositioningSection.tsx
263
- import { ButtonLink as ButtonLink2, MarketingSection as MarketingSection2 } from "@contractspec/lib.design-system";
264
- import { VStack as VStack2 } from "@contractspec/lib.ui-kit-web/ui/stack";
265
- import { H2, Lead as Lead2, Small as Small2 } from "@contractspec/lib.ui-kit-web/ui/typography";
266
- import { ChevronRight as ChevronRight2 } from "lucide-react";
267
- import { jsxDEV as jsxDEV6 } from "react/jsx-dev-runtime";
268
- function CorePositioningSection() {
269
- return /* @__PURE__ */ jsxDEV6(MarketingSection2, {
270
- tone: "gradient",
271
- padding: "comfortable",
272
- align: "center",
273
- maxWidth: "lg",
274
- children: /* @__PURE__ */ jsxDEV6(VStack2, {
275
- gap: "md",
276
- align: "center",
277
- children: [
278
- /* @__PURE__ */ jsxDEV6(H2, {
279
- className: "text-center text-3xl font-bold md:text-4xl",
78
+ var adoptionSteps = [
79
+ "Start with one module that is already drifting or feels unsafe to regenerate.",
80
+ "Define explicit contracts, then bring API, UI, data, and tools back into alignment.",
81
+ "Adopt Studio when the team wants an operating surface on top of the open system."
82
+ ];
83
+ function LandingPage() {
84
+ return /* @__PURE__ */ jsxDEV("main", {
85
+ children: [
86
+ /* @__PURE__ */ jsxDEV("section", {
87
+ className: "section-padding hero-gradient border-border/70 border-b",
88
+ children: /* @__PURE__ */ jsxDEV("div", {
89
+ className: "editorial-shell",
90
+ children: /* @__PURE__ */ jsxDEV("div", {
91
+ className: "grid gap-10 lg:grid-cols-[1.15fr_0.85fr] lg:items-end",
92
+ children: [
93
+ /* @__PURE__ */ jsxDEV("div", {
94
+ className: "space-y-7",
95
+ children: [
96
+ /* @__PURE__ */ jsxDEV("div", {
97
+ className: "badge",
98
+ children: [
99
+ /* @__PURE__ */ jsxDEV(ShieldCheck, {
100
+ size: 14
101
+ }, undefined, false, undefined, this),
102
+ "Open system, explicit control"
103
+ ]
104
+ }, undefined, true, undefined, this),
105
+ /* @__PURE__ */ jsxDEV("div", {
106
+ className: "space-y-5",
107
+ children: [
108
+ /* @__PURE__ */ jsxDEV("p", {
109
+ className: "editorial-kicker",
110
+ children: "ContractSpec for AI-native teams"
111
+ }, undefined, false, undefined, this),
112
+ /* @__PURE__ */ jsxDEV("h1", {
113
+ className: "editorial-title max-w-5xl",
114
+ children: "Build and run AI-native systems on explicit contracts."
115
+ }, undefined, false, undefined, this),
116
+ /* @__PURE__ */ jsxDEV("p", {
117
+ className: "editorial-subtitle",
118
+ children: "ContractSpec gives teams an open spec system for defining behavior, aligning every surface, and regenerating safely. The OSS foundation stays yours. Studio is the operating layer when you want a product on top."
119
+ }, undefined, false, undefined, this)
120
+ ]
121
+ }, undefined, true, undefined, this),
122
+ /* @__PURE__ */ jsxDEV("div", {
123
+ className: "flex flex-col gap-3 sm:flex-row",
124
+ children: [
125
+ /* @__PURE__ */ jsxDEV(Link, {
126
+ href: "/install",
127
+ className: "btn-primary",
128
+ children: [
129
+ "Start with OSS ",
130
+ /* @__PURE__ */ jsxDEV(ArrowRight, {
131
+ className: "ml-2 h-4 w-4"
132
+ }, undefined, false, undefined, this)
133
+ ]
134
+ }, undefined, true, undefined, this),
135
+ /* @__PURE__ */ jsxDEV(Link, {
136
+ href: "https://www.contractspec.studio",
137
+ className: "btn-ghost",
138
+ children: "Explore Studio"
139
+ }, undefined, false, undefined, this),
140
+ /* @__PURE__ */ jsxDEV(Link, {
141
+ href: "/product",
142
+ className: "btn-ghost",
143
+ children: "See the architecture"
144
+ }, undefined, false, undefined, this)
145
+ ]
146
+ }, undefined, true, undefined, this),
147
+ /* @__PURE__ */ jsxDEV("div", {
148
+ className: "editorial-proof-strip",
149
+ children: [
150
+ /* @__PURE__ */ jsxDEV("div", {
151
+ className: "editorial-stat",
152
+ children: [
153
+ /* @__PURE__ */ jsxDEV("span", {
154
+ className: "editorial-stat-value",
155
+ children: "1"
156
+ }, undefined, false, undefined, this),
157
+ /* @__PURE__ */ jsxDEV("span", {
158
+ className: "editorial-label",
159
+ children: "explicit system source"
160
+ }, undefined, false, undefined, this)
161
+ ]
162
+ }, undefined, true, undefined, this),
163
+ /* @__PURE__ */ jsxDEV("div", {
164
+ className: "editorial-stat",
165
+ children: [
166
+ /* @__PURE__ */ jsxDEV("span", {
167
+ className: "editorial-stat-value",
168
+ children: "4+"
169
+ }, undefined, false, undefined, this),
170
+ /* @__PURE__ */ jsxDEV("span", {
171
+ className: "editorial-label",
172
+ children: "aligned surface families"
173
+ }, undefined, false, undefined, this)
174
+ ]
175
+ }, undefined, true, undefined, this),
176
+ /* @__PURE__ */ jsxDEV("div", {
177
+ className: "editorial-stat",
178
+ children: [
179
+ /* @__PURE__ */ jsxDEV("span", {
180
+ className: "editorial-stat-value",
181
+ children: "0"
182
+ }, undefined, false, undefined, this),
183
+ /* @__PURE__ */ jsxDEV("span", {
184
+ className: "editorial-label",
185
+ children: "required lock-in"
186
+ }, undefined, false, undefined, this)
187
+ ]
188
+ }, undefined, true, undefined, this)
189
+ ]
190
+ }, undefined, true, undefined, this)
191
+ ]
192
+ }, undefined, true, undefined, this),
193
+ /* @__PURE__ */ jsxDEV("div", {
194
+ className: "editorial-panel space-y-6",
195
+ children: [
196
+ /* @__PURE__ */ jsxDEV("p", {
197
+ className: "editorial-kicker",
198
+ children: "What the site should make clear"
199
+ }, undefined, false, undefined, this),
200
+ /* @__PURE__ */ jsxDEV("div", {
201
+ className: "space-y-4",
202
+ children: [
203
+ /* @__PURE__ */ jsxDEV("h2", {
204
+ className: "editorial-panel-title",
205
+ children: "This is not \u201Cyet another AI builder.\u201D"
206
+ }, undefined, false, undefined, this),
207
+ /* @__PURE__ */ jsxDEV("p", {
208
+ className: "editorial-copy text-sm",
209
+ children: "ContractSpec exists for teams that already know AI can write a lot of software, but need explicit control over what that software is allowed to become over time."
210
+ }, undefined, false, undefined, this)
211
+ ]
212
+ }, undefined, true, undefined, this),
213
+ /* @__PURE__ */ jsxDEV("ul", {
214
+ className: "editorial-list",
215
+ children: [
216
+ /* @__PURE__ */ jsxDEV("li", {
217
+ children: [
218
+ /* @__PURE__ */ jsxDEV("span", {
219
+ className: "editorial-list-marker"
220
+ }, undefined, false, undefined, this),
221
+ /* @__PURE__ */ jsxDEV("span", {
222
+ children: "Keep the code and the standards you already use."
223
+ }, undefined, false, undefined, this)
224
+ ]
225
+ }, undefined, true, undefined, this),
226
+ /* @__PURE__ */ jsxDEV("li", {
227
+ children: [
228
+ /* @__PURE__ */ jsxDEV("span", {
229
+ className: "editorial-list-marker"
230
+ }, undefined, false, undefined, this),
231
+ /* @__PURE__ */ jsxDEV("span", {
232
+ children: "Stabilize one module at a time instead of rewriting your app."
233
+ }, undefined, false, undefined, this)
234
+ ]
235
+ }, undefined, true, undefined, this),
236
+ /* @__PURE__ */ jsxDEV("li", {
237
+ children: [
238
+ /* @__PURE__ */ jsxDEV("span", {
239
+ className: "editorial-list-marker"
240
+ }, undefined, false, undefined, this),
241
+ /* @__PURE__ */ jsxDEV("span", {
242
+ children: "Move into Studio only when you want the operating product."
243
+ }, undefined, false, undefined, this)
244
+ ]
245
+ }, undefined, true, undefined, this)
246
+ ]
247
+ }, undefined, true, undefined, this)
248
+ ]
249
+ }, undefined, true, undefined, this)
250
+ ]
251
+ }, undefined, true, undefined, this)
252
+ }, undefined, false, undefined, this)
253
+ }, undefined, false, undefined, this),
254
+ /* @__PURE__ */ jsxDEV("section", {
255
+ className: "editorial-section",
256
+ children: /* @__PURE__ */ jsxDEV("div", {
257
+ className: "editorial-shell space-y-10",
280
258
  children: [
281
- "You keep your app.",
282
- /* @__PURE__ */ jsxDEV6("br", {}, undefined, false, undefined, this),
283
- "We stabilize it, one module at a time."
259
+ /* @__PURE__ */ jsxDEV("div", {
260
+ className: "max-w-3xl space-y-4",
261
+ children: [
262
+ /* @__PURE__ */ jsxDEV("p", {
263
+ className: "editorial-kicker",
264
+ children: "Why teams end up here"
265
+ }, undefined, false, undefined, this),
266
+ /* @__PURE__ */ jsxDEV("h2", {
267
+ className: "font-serif text-4xl tracking-[-0.04em] md:text-5xl",
268
+ children: "AI speed is not the problem. Implicit systems are."
269
+ }, undefined, false, undefined, this),
270
+ /* @__PURE__ */ jsxDEV("p", {
271
+ className: "editorial-copy",
272
+ children: "Once a team depends on prompts, AI edits, and generated code across multiple surfaces, the real failure mode is not \u201CAI wrote bad code.\u201D It is that nobody can state the system rules precisely enough to keep regeneration safe."
273
+ }, undefined, false, undefined, this)
274
+ ]
275
+ }, undefined, true, undefined, this),
276
+ /* @__PURE__ */ jsxDEV("div", {
277
+ className: "editorial-grid xl:grid-cols-3",
278
+ children: failureModes.map((item) => /* @__PURE__ */ jsxDEV("div", {
279
+ className: "editorial-panel",
280
+ children: [
281
+ /* @__PURE__ */ jsxDEV("p", {
282
+ className: "editorial-kicker",
283
+ children: item.title
284
+ }, undefined, false, undefined, this),
285
+ /* @__PURE__ */ jsxDEV("p", {
286
+ className: "mt-4 text-base text-muted-foreground leading-8",
287
+ children: item.description
288
+ }, undefined, false, undefined, this)
289
+ ]
290
+ }, item.title, true, undefined, this))
291
+ }, undefined, false, undefined, this)
284
292
  ]
285
- }, undefined, true, undefined, this),
286
- /* @__PURE__ */ jsxDEV6(Lead2, {
287
- className: "text-center",
293
+ }, undefined, true, undefined, this)
294
+ }, undefined, false, undefined, this),
295
+ /* @__PURE__ */ jsxDEV("section", {
296
+ className: "editorial-section bg-striped",
297
+ children: /* @__PURE__ */ jsxDEV("div", {
298
+ className: "editorial-shell space-y-10",
288
299
  children: [
289
- "You own the code. It's standard tech.",
290
- /* @__PURE__ */ jsxDEV6("br", {}, undefined, false, undefined, this),
291
- /* @__PURE__ */ jsxDEV6(Small2, {
292
- className: "font-semibold text-violet-400",
293
- children: "We're the compiler, not the prison."
300
+ /* @__PURE__ */ jsxDEV("div", {
301
+ className: "max-w-3xl space-y-4",
302
+ children: [
303
+ /* @__PURE__ */ jsxDEV("p", {
304
+ className: "editorial-kicker",
305
+ children: "The open system"
306
+ }, undefined, false, undefined, this),
307
+ /* @__PURE__ */ jsxDEV("h2", {
308
+ className: "font-serif text-4xl tracking-[-0.04em] md:text-5xl",
309
+ children: "One explicit layer that keeps the whole stack honest."
310
+ }, undefined, false, undefined, this),
311
+ /* @__PURE__ */ jsxDEV("p", {
312
+ className: "editorial-copy",
313
+ children: "ContractSpec is broader than generation. It is the contract layer, the runtime bridges, the proof surfaces, and the adoption path that lets teams move from OSS control to an operating product without pretending they are different systems."
314
+ }, undefined, false, undefined, this)
315
+ ]
316
+ }, undefined, true, undefined, this),
317
+ /* @__PURE__ */ jsxDEV("div", {
318
+ className: "editorial-grid",
319
+ children: systemSurfaces.map((surface) => /* @__PURE__ */ jsxDEV("div", {
320
+ className: "editorial-panel",
321
+ children: [
322
+ /* @__PURE__ */ jsxDEV(surface.icon, {
323
+ className: "h-5 w-5 text-[color:var(--rust)]"
324
+ }, undefined, false, undefined, this),
325
+ /* @__PURE__ */ jsxDEV("h3", {
326
+ className: "mt-5 font-serif text-2xl tracking-[-0.03em]",
327
+ children: surface.label
328
+ }, undefined, false, undefined, this),
329
+ /* @__PURE__ */ jsxDEV("p", {
330
+ className: "mt-3 text-muted-foreground text-sm leading-7",
331
+ children: surface.description
332
+ }, undefined, false, undefined, this)
333
+ ]
334
+ }, surface.label, true, undefined, this))
294
335
  }, undefined, false, undefined, this)
295
336
  ]
296
- }, undefined, true, undefined, this),
297
- /* @__PURE__ */ jsxDEV6(VStack2, {
298
- as: "div",
299
- gap: "sm",
300
- align: "center",
301
- className: "pt-2 sm:flex sm:flex-row sm:flex-wrap sm:items-center sm:justify-center",
337
+ }, undefined, true, undefined, this)
338
+ }, undefined, false, undefined, this),
339
+ /* @__PURE__ */ jsxDEV("section", {
340
+ className: "editorial-section",
341
+ children: /* @__PURE__ */ jsxDEV("div", {
342
+ className: "editorial-shell grid gap-10 lg:grid-cols-[0.9fr_1.1fr]",
302
343
  children: [
303
- /* @__PURE__ */ jsxDEV6(ButtonLink2, {
304
- href: "https://www.contractspec.studio",
344
+ /* @__PURE__ */ jsxDEV("div", {
345
+ className: "space-y-4",
305
346
  children: [
306
- "Try Studio ",
307
- /* @__PURE__ */ jsxDEV6(ChevronRight2, {
308
- size: 16
347
+ /* @__PURE__ */ jsxDEV("p", {
348
+ className: "editorial-kicker",
349
+ children: "What the OSS layer actually gives you"
350
+ }, undefined, false, undefined, this),
351
+ /* @__PURE__ */ jsxDEV("h2", {
352
+ className: "font-serif text-4xl tracking-[-0.04em] md:text-5xl",
353
+ children: "Explicit contracts show up where teams usually lose control."
354
+ }, undefined, false, undefined, this),
355
+ /* @__PURE__ */ jsxDEV("p", {
356
+ className: "editorial-copy",
357
+ children: "The promise is not magic generation. The promise is that the same product rules can shape APIs, data, interfaces, and agent tools without each surface inventing its own truth."
309
358
  }, undefined, false, undefined, this)
310
359
  ]
311
360
  }, undefined, true, undefined, this),
312
- /* @__PURE__ */ jsxDEV6(ButtonLink2, {
313
- variant: "ghost",
314
- href: "/contact",
315
- children: "Book a call"
361
+ /* @__PURE__ */ jsxDEV("div", {
362
+ className: "grid gap-5 md:grid-cols-2",
363
+ children: outputs.map((output) => /* @__PURE__ */ jsxDEV("div", {
364
+ className: "editorial-panel",
365
+ children: [
366
+ /* @__PURE__ */ jsxDEV(output.icon, {
367
+ className: "h-5 w-5 text-[color:var(--blue)]"
368
+ }, undefined, false, undefined, this),
369
+ /* @__PURE__ */ jsxDEV("h3", {
370
+ className: "mt-5 font-serif text-2xl tracking-[-0.03em]",
371
+ children: output.title
372
+ }, undefined, false, undefined, this),
373
+ /* @__PURE__ */ jsxDEV("p", {
374
+ className: "mt-3 text-muted-foreground text-sm leading-7",
375
+ children: output.copy
376
+ }, undefined, false, undefined, this)
377
+ ]
378
+ }, output.title, true, undefined, this))
316
379
  }, undefined, false, undefined, this)
317
380
  ]
318
381
  }, undefined, true, undefined, this)
319
- ]
320
- }, undefined, true, undefined, this)
321
- }, undefined, false, undefined, this);
322
- }
323
-
324
- // src/components/marketing/sections/AudienceSection.tsx
325
- import {
326
- MarketingCard,
327
- MarketingCardContent,
328
- MarketingCardHeader,
329
- MarketingCardTitle,
330
- MarketingCardsSection as MarketingCardsSection2
331
- } from "@contractspec/lib.design-system";
332
- import { VStack as VStack3 } from "@contractspec/lib.ui-kit-web/ui/stack";
333
- import { Muted as Muted2, Small as Small3 } from "@contractspec/lib.ui-kit-web/ui/typography";
334
- import { jsxDEV as jsxDEV7 } from "react/jsx-dev-runtime";
335
- var audiences = [
336
- {
337
- tier: "Tier 1: Priority",
338
- title: "AI-Native Startups & Technical Founders",
339
- body: "Solo founders or small teams using Cursor, Copilot, Claude, or AI agents heavily. Messy AI-generated backends and frontends, inconsistent APIs, code that is hard to refactor.",
340
- need: "Need: A way to stabilize AI-generated code without rewriting it."
341
- },
342
- {
343
- tier: "Tier 1: Priority",
344
- title: "Small Teams with AI-Generated Chaos",
345
- body: "2-10 person teams that shipped fast with AI and now have tech debt. Multiple surfaces out of sync, no source of truth, afraid to touch AI-generated code.",
346
- need: "Need: Incremental stabilization, safe regeneration, contracts as guardrails."
347
- },
348
- {
349
- tier: "Tier 2: Growth",
350
- title: "AI Dev Agencies",
351
- body: "Agencies building many projects for clients using AI-assisted development. Repeating the same patterns, inconsistent quality across projects, handoff nightmares.",
352
- need: "Need: Reusable templates, consistent contracts, professional handoff artifacts."
353
- },
354
- {
355
- tier: "Tier 2: Growth",
356
- title: "Scaleups with Compliance Needs",
357
- body: "Growing companies that need audit trails, API governance, or regulatory compliance. AI-generated code doesn't meet compliance requirements.",
358
- need: "Need: Governance layer, change tracking, contract enforcement."
359
- }
360
- ];
361
- function AudienceSection() {
362
- return /* @__PURE__ */ jsxDEV7(MarketingCardsSection2, {
363
- tone: "default",
364
- columns: 2,
365
- eyebrow: "Who It's For",
366
- title: "Built for teams drowning in AI-generated code",
367
- maxWidth: "xl",
368
- children: audiences.map((item) => /* @__PURE__ */ jsxDEV7(MarketingCard, {
369
- tone: "muted",
370
- children: [
371
- /* @__PURE__ */ jsxDEV7(MarketingCardHeader, {
372
- className: "space-y-2",
382
+ }, undefined, false, undefined, this),
383
+ /* @__PURE__ */ jsxDEV("section", {
384
+ className: "editorial-section bg-striped",
385
+ children: /* @__PURE__ */ jsxDEV("div", {
386
+ className: "editorial-shell grid gap-8 lg:grid-cols-[1.1fr_0.9fr]",
373
387
  children: [
374
- /* @__PURE__ */ jsxDEV7(Small3, {
375
- className: "font-semibold text-blue-400",
376
- children: item.tier
377
- }, undefined, false, undefined, this),
378
- /* @__PURE__ */ jsxDEV7(MarketingCardTitle, {
379
- className: "text-xl",
380
- children: item.title
381
- }, undefined, false, undefined, this)
388
+ /* @__PURE__ */ jsxDEV("div", {
389
+ className: "editorial-panel space-y-6",
390
+ children: [
391
+ /* @__PURE__ */ jsxDEV("p", {
392
+ className: "editorial-kicker",
393
+ children: "Adoption path"
394
+ }, undefined, false, undefined, this),
395
+ /* @__PURE__ */ jsxDEV("h2", {
396
+ className: "editorial-panel-title",
397
+ children: "Start where the risk is highest, not where the marketing says to start."
398
+ }, undefined, false, undefined, this),
399
+ /* @__PURE__ */ jsxDEV("ol", {
400
+ className: "space-y-4",
401
+ children: adoptionSteps.map((step, index) => /* @__PURE__ */ jsxDEV("li", {
402
+ className: "flex gap-4",
403
+ children: [
404
+ /* @__PURE__ */ jsxDEV("div", {
405
+ className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-[rgb(162_79_42_/_0.12)] font-mono text-[color:var(--rust)] text-xs",
406
+ children: [
407
+ "0",
408
+ index + 1
409
+ ]
410
+ }, undefined, true, undefined, this),
411
+ /* @__PURE__ */ jsxDEV("p", {
412
+ className: "text-muted-foreground text-sm leading-7",
413
+ children: step
414
+ }, undefined, false, undefined, this)
415
+ ]
416
+ }, step, true, undefined, this))
417
+ }, undefined, false, undefined, this)
418
+ ]
419
+ }, undefined, true, undefined, this),
420
+ /* @__PURE__ */ jsxDEV("div", {
421
+ className: "editorial-panel space-y-6",
422
+ children: [
423
+ /* @__PURE__ */ jsxDEV("p", {
424
+ className: "editorial-kicker",
425
+ children: "Studio on top"
426
+ }, undefined, false, undefined, this),
427
+ /* @__PURE__ */ jsxDEV("h2", {
428
+ className: "editorial-panel-title",
429
+ children: "Studio is the operating surface, not a replacement identity."
430
+ }, undefined, false, undefined, this),
431
+ /* @__PURE__ */ jsxDEV("p", {
432
+ className: "text-muted-foreground text-sm leading-7",
433
+ children: "Use Studio when your team wants a packaged loop for evidence, drafting, review, export, and follow-up. The relationship should feel like the best application built on top of the same open system, not a bait-and-switch away from it."
434
+ }, undefined, false, undefined, this),
435
+ /* @__PURE__ */ jsxDEV("div", {
436
+ className: "editorial-divider"
437
+ }, undefined, false, undefined, this),
438
+ /* @__PURE__ */ jsxDEV("div", {
439
+ className: "grid gap-4 text-muted-foreground text-sm",
440
+ children: [
441
+ /* @__PURE__ */ jsxDEV("p", {
442
+ children: [
443
+ /* @__PURE__ */ jsxDEV("span", {
444
+ className: "font-medium text-foreground",
445
+ children: "OSS/Core:"
446
+ }, undefined, false, undefined, this),
447
+ " ",
448
+ "contracts, generation, runtimes, harnesses, agent tooling."
449
+ ]
450
+ }, undefined, true, undefined, this),
451
+ /* @__PURE__ */ jsxDEV("p", {
452
+ children: [
453
+ /* @__PURE__ */ jsxDEV("span", {
454
+ className: "font-medium text-foreground",
455
+ children: "Studio:"
456
+ }, undefined, false, undefined, this),
457
+ " the opinionated operating loop when a team wants the product."
458
+ ]
459
+ }, undefined, true, undefined, this)
460
+ ]
461
+ }, undefined, true, undefined, this)
462
+ ]
463
+ }, undefined, true, undefined, this)
382
464
  ]
383
- }, undefined, true, undefined, this),
384
- /* @__PURE__ */ jsxDEV7(MarketingCardContent, {
385
- children: /* @__PURE__ */ jsxDEV7(VStack3, {
386
- gap: "sm",
465
+ }, undefined, true, undefined, this)
466
+ }, undefined, false, undefined, this),
467
+ /* @__PURE__ */ jsxDEV("section", {
468
+ className: "section-padding",
469
+ children: /* @__PURE__ */ jsxDEV("div", {
470
+ className: "editorial-shell",
471
+ children: /* @__PURE__ */ jsxDEV("div", {
472
+ className: "editorial-panel flex flex-col gap-8 rounded-[40px] border-dashed px-6 py-8 md:px-10 md:py-10 lg:flex-row lg:items-end lg:justify-between",
387
473
  children: [
388
- /* @__PURE__ */ jsxDEV7(Muted2, {
389
- className: "text-sm leading-relaxed",
390
- children: item.body
391
- }, undefined, false, undefined, this),
392
- /* @__PURE__ */ jsxDEV7(Small3, {
393
- className: "font-medium text-violet-400",
394
- children: item.need
395
- }, undefined, false, undefined, this)
474
+ /* @__PURE__ */ jsxDEV("div", {
475
+ className: "max-w-3xl space-y-4",
476
+ children: [
477
+ /* @__PURE__ */ jsxDEV("p", {
478
+ className: "editorial-kicker",
479
+ children: "Choose your path"
480
+ }, undefined, false, undefined, this),
481
+ /* @__PURE__ */ jsxDEV("h2", {
482
+ className: "font-serif text-4xl tracking-[-0.04em] md:text-5xl",
483
+ children: "Adopt the open system first. Evaluate Studio when the team is ready for the operating layer."
484
+ }, undefined, false, undefined, this),
485
+ /* @__PURE__ */ jsxDEV("p", {
486
+ className: "editorial-copy",
487
+ children: "That is the product story the site should tell everywhere: open foundation, explicit contracts, safe regeneration, then an opinionated surface on top for teams that want it."
488
+ }, undefined, false, undefined, this)
489
+ ]
490
+ }, undefined, true, undefined, this),
491
+ /* @__PURE__ */ jsxDEV("div", {
492
+ className: "flex flex-col gap-3 sm:flex-row lg:flex-col",
493
+ children: [
494
+ /* @__PURE__ */ jsxDEV(Link, {
495
+ href: "/install",
496
+ className: "btn-primary",
497
+ children: "Start with OSS"
498
+ }, undefined, false, undefined, this),
499
+ /* @__PURE__ */ jsxDEV(Link, {
500
+ href: "https://www.contractspec.studio",
501
+ className: "btn-ghost",
502
+ children: "Explore Studio"
503
+ }, undefined, false, undefined, this),
504
+ /* @__PURE__ */ jsxDEV(Link, {
505
+ href: "/pricing",
506
+ className: "btn-ghost",
507
+ children: "See packaging"
508
+ }, undefined, false, undefined, this)
509
+ ]
510
+ }, undefined, true, undefined, this)
396
511
  ]
397
512
  }, undefined, true, undefined, this)
398
513
  }, undefined, false, undefined, this)
399
- ]
400
- }, item.title, true, undefined, this))
401
- }, undefined, false, undefined, this);
402
- }
403
-
404
- // src/components/marketing/sections/OutputsSection.tsx
405
- import { jsxDEV as jsxDEV8 } from "react/jsx-dev-runtime";
406
- var outputs = [
407
- {
408
- title: "REST API",
409
- description: "Type-safe endpoints with validation. Standard Express/Hono/Elysia handlers.",
410
- icon: "\uD83D\uDD0C"
411
- },
412
- {
413
- title: "GraphQL Schema",
414
- description: "Automatically generated resolvers. Standard Pothos/Apollo output.",
415
- icon: "\uD83D\uDCCA"
416
- },
417
- {
418
- title: "Database Schema",
419
- description: "Prisma migrations and types. Standard SQL underneath.",
420
- icon: "\uD83D\uDDC4\uFE0F"
421
- },
422
- {
423
- title: "MCP Tools",
424
- description: "AI agent tool definitions. Works with Claude, GPT, and any MCP client.",
425
- icon: "\uD83E\uDD16"
426
- },
427
- {
428
- title: "Client SDKs",
429
- description: "Type-safe API clients. Standard fetch/axios underneath.",
430
- icon: "\uD83D\uDCE6"
431
- },
432
- {
433
- title: "UI Components",
434
- description: "React forms and views from specs. Standard JSX output.",
435
- icon: "\uD83C\uDFA8"
436
- }
437
- ];
438
- function OutputsSection() {
439
- return /* @__PURE__ */ jsxDEV8(IconGridSection, {
440
- tone: "muted",
441
- columns: 3,
442
- title: "What ContractSpec generates",
443
- subtitle: "One contract, multiple outputs. All in sync. All standard tech.",
444
- iconRole: "iconFirst",
445
- items: outputs.map((item) => ({
446
- icon: () => /* @__PURE__ */ jsxDEV8("span", {
447
- "aria-hidden": true,
448
- className: "text-3xl",
449
- children: item.icon
450
- }, undefined, false, undefined, this),
451
- title: item.title,
452
- description: item.description
453
- }))
454
- }, undefined, false, undefined, this);
455
- }
456
-
457
- // src/components/marketing/sections/StepsSection.tsx
458
- import { jsxDEV as jsxDEV9 } from "react/jsx-dev-runtime";
459
- var steps = [
460
- {
461
- step: 1,
462
- title: "Pick one module",
463
- description: "Start with one API endpoint, one entity, one surface. No big-bang migration."
464
- },
465
- {
466
- step: 2,
467
- title: "Define the contract",
468
- description: "Write a spec in TypeScript. Just types and Zod schemas you already know."
469
- },
470
- {
471
- step: 3,
472
- title: "Generate & compare",
473
- description: "See what ContractSpec generates. Compare to your existing code. Keep what works."
474
- },
475
- {
476
- step: 4,
477
- title: "Expand gradually",
478
- description: "Add more contracts as you see value. No pressure. No lock-in. Your pace."
479
- }
480
- ];
481
- function StepsSection() {
482
- return /* @__PURE__ */ jsxDEV9(IconGridSection, {
483
- tone: "default",
484
- columns: 4,
485
- title: "How incremental adoption works",
486
- padding: "comfortable",
487
- iconRole: "listing",
488
- items: steps.map((item) => ({
489
- icon: ({ className }) => /* @__PURE__ */ jsxDEV9("div", {
490
- className: `bg-primary/15 flex h-10 w-10 items-center justify-center rounded-lg ${className ?? ""}`,
491
- children: /* @__PURE__ */ jsxDEV9("span", {
492
- className: "text-primary text-sm font-semibold",
493
- children: item.step
494
- }, undefined, false, undefined, this)
495
- }, undefined, false, undefined, this),
496
- title: item.title,
497
- description: item.description,
498
- tone: "muted"
499
- }))
500
- }, undefined, false, undefined, this);
501
- }
502
-
503
- // src/components/marketing/sections/DevelopersSection.tsx
504
- import {
505
- ButtonLink as ButtonLink3,
506
- MarketingComparisonSection
507
- } from "@contractspec/lib.design-system";
508
- import { jsxDEV as jsxDEV10 } from "react/jsx-dev-runtime";
509
- var standardTech = [
510
- "TypeScript & Zod \u2014 schemas you already know",
511
- "Prisma \u2014 standard database access",
512
- "GraphQL or REST \u2014 your choice",
513
- "React or any UI framework",
514
- "Bun, Node, Deno \u2014 all supported"
515
- ];
516
- var noMagic = [
517
- "Generated code is readable & modifiable",
518
- "No proprietary runtime dependencies",
519
- "Eject anytime, keep everything",
520
- "Works with your existing CI/CD",
521
- "Open spec format"
522
- ];
523
- function DevelopersSection() {
524
- return /* @__PURE__ */ jsxDEV10(MarketingComparisonSection, {
525
- tone: "muted",
526
- title: "Built for developers",
527
- padding: "comfortable",
528
- left: { title: "Standard Tech Stack", items: standardTech },
529
- right: { title: "No Magic, No Lock-in", items: noMagic },
530
- subtitle: /* @__PURE__ */ jsxDEV10(ButtonLink3, {
531
- href: "/docs",
532
- children: [
533
- "Read the docs ",
534
- /* @__PURE__ */ jsxDEV10("span", {
535
- "aria-hidden": true,
536
- children: "\u2192"
537
- }, undefined, false, undefined, this)
538
- ]
539
- }, undefined, true, undefined, this)
540
- }, undefined, false, undefined, this);
541
- }
542
-
543
- // src/components/marketing/sections/CtaSection.tsx
544
- import { ButtonLink as ButtonLink4, MarketingSection as MarketingSection3 } from "@contractspec/lib.design-system";
545
- import {
546
- analyticsEventNames as analyticsEventNames2,
547
- captureAnalyticsEvent as captureAnalyticsEvent2
548
- } from "@contractspec/bundle.library/libs/posthog/client";
549
- import { VStack as VStack4 } from "@contractspec/lib.ui-kit-web/ui/stack";
550
- import { H2 as H22, Lead as Lead3 } from "@contractspec/lib.ui-kit-web/ui/typography";
551
- import { jsxDEV as jsxDEV11 } from "react/jsx-dev-runtime";
552
- function CtaSection() {
553
- return /* @__PURE__ */ jsxDEV11(MarketingSection3, {
554
- tone: "gradient",
555
- padding: "comfortable",
556
- align: "center",
557
- maxWidth: "lg",
558
- children: /* @__PURE__ */ jsxDEV11(VStack4, {
559
- gap: "md",
560
- align: "center",
561
- className: "text-center",
562
- children: [
563
- /* @__PURE__ */ jsxDEV11(H22, {
564
- className: "text-4xl font-bold md:text-5xl",
565
- children: "Ready to stabilize your codebase?"
566
- }, undefined, false, undefined, this),
567
- /* @__PURE__ */ jsxDEV11(Lead3, {
568
- className: "text-muted-foreground text-lg",
569
- children: "Start with one module. See the difference. Expand at your own pace."
570
- }, undefined, false, undefined, this),
571
- /* @__PURE__ */ jsxDEV11(VStack4, {
572
- as: "div",
573
- gap: "sm",
574
- align: "center",
575
- className: "pt-2 sm:flex sm:flex-row sm:flex-wrap sm:items-center sm:justify-center",
576
- children: [
577
- /* @__PURE__ */ jsxDEV11(ButtonLink4, {
578
- href: "https://www.contractspec.studio",
579
- onClick: () => captureAnalyticsEvent2(analyticsEventNames2.CTA_STUDIO_CLICK, {
580
- surface: "cta-section"
581
- }),
582
- children: "Try Studio"
583
- }, undefined, false, undefined, this),
584
- /* @__PURE__ */ jsxDEV11(ButtonLink4, {
585
- variant: "ghost",
586
- href: "/contact",
587
- onClick: () => captureAnalyticsEvent2(analyticsEventNames2.CTA_STUDIO_CLICK, {
588
- surface: "cta-section",
589
- variant: "contact"
590
- }),
591
- children: "Book a call"
592
- }, undefined, false, undefined, this)
593
- ]
594
- }, undefined, true, undefined, this)
595
- ]
596
- }, undefined, true, undefined, this)
597
- }, undefined, false, undefined, this);
598
- }
599
-
600
- // src/components/marketing/LandingPage.tsx
601
- import { VStack as VStack5 } from "@contractspec/lib.ui-kit-web/ui/stack";
602
- import { jsxDEV as jsxDEV12 } from "react/jsx-dev-runtime";
603
- "use client";
604
- function LandingPage() {
605
- return /* @__PURE__ */ jsxDEV12(VStack5, {
606
- as: "main",
607
- gap: "none",
608
- children: [
609
- /* @__PURE__ */ jsxDEV12(HeroMarketingSection, {}, undefined, false, undefined, this),
610
- /* @__PURE__ */ jsxDEV12(ProblemSection, {}, undefined, false, undefined, this),
611
- /* @__PURE__ */ jsxDEV12(SolutionSection, {}, undefined, false, undefined, this),
612
- /* @__PURE__ */ jsxDEV12(FearsSection, {}, undefined, false, undefined, this),
613
- /* @__PURE__ */ jsxDEV12(CorePositioningSection, {}, undefined, false, undefined, this),
614
- /* @__PURE__ */ jsxDEV12(AudienceSection, {}, undefined, false, undefined, this),
615
- /* @__PURE__ */ jsxDEV12(OutputsSection, {}, undefined, false, undefined, this),
616
- /* @__PURE__ */ jsxDEV12(StepsSection, {}, undefined, false, undefined, this),
617
- /* @__PURE__ */ jsxDEV12(DevelopersSection, {}, undefined, false, undefined, this),
618
- /* @__PURE__ */ jsxDEV12(CtaSection, {}, undefined, false, undefined, this)
514
+ }, undefined, false, undefined, this)
619
515
  ]
620
516
  }, undefined, true, undefined, this);
621
517
  }