glyph-ai 0.1.0

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 (106) hide show
  1. package/README.md +69 -0
  2. package/bundled/overlay/overlay.js +63 -0
  3. package/bundled/server/context/brand-references.d.ts +7 -0
  4. package/bundled/server/context/brand-references.d.ts.map +1 -0
  5. package/bundled/server/context/brand-references.js +20 -0
  6. package/bundled/server/context/brand-references.js.map +1 -0
  7. package/bundled/server/context/design-philosophy.d.ts +6 -0
  8. package/bundled/server/context/design-philosophy.d.ts.map +1 -0
  9. package/bundled/server/context/design-philosophy.js +82 -0
  10. package/bundled/server/context/design-philosophy.js.map +1 -0
  11. package/bundled/server/context/design-system-loader.d.ts +11 -0
  12. package/bundled/server/context/design-system-loader.d.ts.map +1 -0
  13. package/bundled/server/context/design-system-loader.js +169 -0
  14. package/bundled/server/context/design-system-loader.js.map +1 -0
  15. package/bundled/server/context/design-system.d.ts +7 -0
  16. package/bundled/server/context/design-system.d.ts.map +1 -0
  17. package/bundled/server/context/design-system.js +75 -0
  18. package/bundled/server/context/design-system.js.map +1 -0
  19. package/bundled/server/context/prompt-builder.d.ts +15 -0
  20. package/bundled/server/context/prompt-builder.d.ts.map +1 -0
  21. package/bundled/server/context/prompt-builder.js +123 -0
  22. package/bundled/server/context/prompt-builder.js.map +1 -0
  23. package/bundled/server/context/token-template.d.ts +36 -0
  24. package/bundled/server/context/token-template.d.ts.map +1 -0
  25. package/bundled/server/context/token-template.js +226 -0
  26. package/bundled/server/context/token-template.js.map +1 -0
  27. package/bundled/server/data/design-systems/apple-design-system.md +474 -0
  28. package/bundled/server/data/design-systems/arc-design-system.md +922 -0
  29. package/bundled/server/data/design-systems/claude-ai-design-system.md +1443 -0
  30. package/bundled/server/data/design-systems/elevenlabs-design-system.md +669 -0
  31. package/bundled/server/data/design-systems/generating_design.md +9 -0
  32. package/bundled/server/data/design-systems/linear-design-system.md +607 -0
  33. package/bundled/server/data/design-systems/notion-design-system.md +866 -0
  34. package/bundled/server/data/design-systems/raycast-design-system.md +709 -0
  35. package/bundled/server/data/design-systems/stripe-design-system.md +592 -0
  36. package/bundled/server/data/design-systems/vercel-design-system.md +824 -0
  37. package/bundled/server/data/design.md +971 -0
  38. package/bundled/server/index.d.ts +2 -0
  39. package/bundled/server/index.d.ts.map +1 -0
  40. package/bundled/server/index.js +310 -0
  41. package/bundled/server/index.js.map +1 -0
  42. package/bundled/server/mcp/tools/apply-variation.d.ts +3 -0
  43. package/bundled/server/mcp/tools/apply-variation.d.ts.map +1 -0
  44. package/bundled/server/mcp/tools/apply-variation.js +43 -0
  45. package/bundled/server/mcp/tools/apply-variation.js.map +1 -0
  46. package/bundled/server/mcp/tools/generate-variations.d.ts +3 -0
  47. package/bundled/server/mcp/tools/generate-variations.d.ts.map +1 -0
  48. package/bundled/server/mcp/tools/generate-variations.js +58 -0
  49. package/bundled/server/mcp/tools/generate-variations.js.map +1 -0
  50. package/bundled/server/mcp/tools/index.d.ts +3 -0
  51. package/bundled/server/mcp/tools/index.d.ts.map +1 -0
  52. package/bundled/server/mcp/tools/index.js +11 -0
  53. package/bundled/server/mcp/tools/index.js.map +1 -0
  54. package/bundled/server/mcp/tools/scan-design-system.d.ts +3 -0
  55. package/bundled/server/mcp/tools/scan-design-system.d.ts.map +1 -0
  56. package/bundled/server/mcp/tools/scan-design-system.js +27 -0
  57. package/bundled/server/mcp/tools/scan-design-system.js.map +1 -0
  58. package/bundled/server/mcp/tools/submit-variations.d.ts +3 -0
  59. package/bundled/server/mcp/tools/submit-variations.d.ts.map +1 -0
  60. package/bundled/server/mcp/tools/submit-variations.js +50 -0
  61. package/bundled/server/mcp/tools/submit-variations.js.map +1 -0
  62. package/bundled/server/mcp-entry.d.ts +2 -0
  63. package/bundled/server/mcp-entry.d.ts.map +1 -0
  64. package/bundled/server/mcp-entry.js +56 -0
  65. package/bundled/server/mcp-entry.js.map +1 -0
  66. package/bundled/server/preview/css-resolver.d.ts +6 -0
  67. package/bundled/server/preview/css-resolver.d.ts.map +1 -0
  68. package/bundled/server/preview/css-resolver.js +57 -0
  69. package/bundled/server/preview/css-resolver.js.map +1 -0
  70. package/bundled/server/preview/html-builder.d.ts +6 -0
  71. package/bundled/server/preview/html-builder.d.ts.map +1 -0
  72. package/bundled/server/preview/html-builder.js +85 -0
  73. package/bundled/server/preview/html-builder.js.map +1 -0
  74. package/bundled/server/telemetry.d.ts +4 -0
  75. package/bundled/server/telemetry.d.ts.map +1 -0
  76. package/bundled/server/telemetry.js +71 -0
  77. package/bundled/server/telemetry.js.map +1 -0
  78. package/bundled/server/types.d.ts +69 -0
  79. package/bundled/server/types.d.ts.map +1 -0
  80. package/bundled/server/types.js +2 -0
  81. package/bundled/server/types.js.map +1 -0
  82. package/bundled/server/variations/file-writer.d.ts +5 -0
  83. package/bundled/server/variations/file-writer.d.ts.map +1 -0
  84. package/bundled/server/variations/file-writer.js +29 -0
  85. package/bundled/server/variations/file-writer.js.map +1 -0
  86. package/bundled/server/variations/git-utils.d.ts +3 -0
  87. package/bundled/server/variations/git-utils.d.ts.map +1 -0
  88. package/bundled/server/variations/git-utils.js +23 -0
  89. package/bundled/server/variations/git-utils.js.map +1 -0
  90. package/bundled/server/variations/store.d.ts +11 -0
  91. package/bundled/server/variations/store.d.ts.map +1 -0
  92. package/bundled/server/variations/store.js +52 -0
  93. package/bundled/server/variations/store.js.map +1 -0
  94. package/dist/commands/init.d.ts +2 -0
  95. package/dist/commands/init.d.ts.map +1 -0
  96. package/dist/commands/init.js +299 -0
  97. package/dist/commands/init.js.map +1 -0
  98. package/dist/commands/stop.d.ts +2 -0
  99. package/dist/commands/stop.d.ts.map +1 -0
  100. package/dist/commands/stop.js +32 -0
  101. package/dist/commands/stop.js.map +1 -0
  102. package/dist/index.d.ts +3 -0
  103. package/dist/index.d.ts.map +1 -0
  104. package/dist/index.js +35 -0
  105. package/dist/index.js.map +1 -0
  106. package/package.json +35 -0
@@ -0,0 +1,592 @@
1
+ # Stripe.com Design System & Section Boilerplate
2
+
3
+ ---
4
+
5
+ ## Design System
6
+
7
+ ### Colors
8
+
9
+ | Role | Value | RGB | Notes |
10
+ |------|-------|-----|-------|
11
+ | **Primary** | `#533AFD` | `rgb(83, 58, 253)` | Stripe purple/indigo. Primary CTA, links, interactive elements |
12
+ | **Secondary** | `#061B31` | `rgb(6, 27, 49)` | Dark navy. Headings, body text, nav text |
13
+ | **Tertiary (Accent)** | `#FF6118` | `rgb(255, 97, 24)` | Warm orange. Accent highlights, decorative elements |
14
+ | **Neutral 100** | `#FFFFFF` | `rgb(255, 255, 255)` | Pure white. Page background, card surfaces |
15
+ | **Neutral 200** | `#F8FAFD` | `rgb(248, 250, 253)` | Off-white/ice blue. Alternate section backgrounds, footer |
16
+ | **Neutral 300** | `#ECF0F4` | `rgb(236, 240, 244)` | Light cool gray. Subtle borders, dividers |
17
+ | **Neutral 400** | `#E5EDF5` | `rgb(229, 237, 245)` | Light blue-gray. Card backgrounds |
18
+ | **Neutral 500** | `#7D8BA4` | `rgb(125, 139, 164)` | Mid gray. Muted text, captions |
19
+ | **Neutral 600** | `#64748D` | `rgb(100, 116, 141)` | Body secondary text |
20
+ | **Neutral 700** | `#50617A` | `rgb(80, 97, 122)` | Body text (muted) |
21
+ | **Neutral 800** | `#3C4F69` | `rgb(60, 79, 105)` | Dark secondary text |
22
+ | **Neutral 900** | `#1A2C44` | `rgb(26, 44, 68)` | Near-black text |
23
+ | **Purple Light** | `#E8E9FF` | `rgb(232, 233, 255)` | Light purple. Toggle background, pill badges |
24
+ | **Purple Mid** | `#7F7DFC` | `rgb(127, 125, 252)` | Mid purple. Accent borders, decorative |
25
+ | **Purple Border** | `#D6D9FC` | `rgb(214, 217, 252)` | Light purple border for outline buttons |
26
+ | **Purple Hover** | `#B9B9F9` | `rgb(185, 185, 249)` | Outline button hover/active border |
27
+ | **Dark Section** | `#0D1738` | `rgb(13, 23, 56)` | Deep navy. Dark section background |
28
+ | **Dark Section Alt** | `#322A42` | `rgb(50, 42, 66)` | Dark purple-gray. Code section accents |
29
+ | **Green Accent** | `#00D66F` | `rgb(0, 214, 111)` | Success/positive indicators |
30
+ | **Blue Link (Dark)** | `#7389FF` | `rgb(115, 137, 255)` | Links on dark backgrounds |
31
+ | **Blue Accent** | `#2863B1` | `rgb(40, 99, 177)` | Informational blue accents |
32
+ | **Hero Gradient** | Multi-stop | — | Vivid gradient: orange, pink, magenta, purple wash over white. Creates distinctive brand warmth. Top-right corner of hero |
33
+
34
+ ### Typography
35
+
36
+ #### Font Families
37
+
38
+ | Role | Font | Fallback | Usage |
39
+ |------|------|----------|-------|
40
+ | **Primary** | `sohne-var` | `"SF Pro Display", sans-serif` | All headings, body text, buttons, labels, nav — single font system |
41
+
42
+ #### Type Scale
43
+
44
+ | Element | Size | Weight | Line Height | Letter Spacing | Color |
45
+ |---------|------|--------|-------------|----------------|-------|
46
+ | **H1 (Hero)** | 48px | 300 (Light) | 55.2px (1.15) | -0.96px | `#061B31` (dark navy) |
47
+ | **H2 (Display)** | 56px | 300 (Light) | 57.68px (1.03) | -1.4px | `#061B31` |
48
+ | **H2 (Section)** | 32px | 300 (Light) | 35.2px (1.1) | -0.64px | `#061B31` |
49
+ | **H3 (Card)** | 25px | 300 (Light) | 27.8px (1.12) | -0.25px | `#061B31` |
50
+ | **H4 (Stat/Small)** | 22px | 300 (Light) | — | — | `#061B31` |
51
+ | **Body (Default)** | 16px | 400 (Regular) | 16px | 0px | `#061B31` |
52
+ | **Body (Small)** | 14px | 400 (Regular) | 14px | 0px | `#061B31` |
53
+ | **Label / Nav** | 14px | 400 (Regular) | 14px | 0px | `#061B31` |
54
+ | **Caption** | 12px | 400 (Regular) | — | — | `#64748D` |
55
+ | **Overline** | 11px | 400 (Regular) | — | — | `#64748D` |
56
+
57
+ **Key pattern:** Stripe uses exclusively `font-weight: 300` (Light) for all headings — never bold. Body text uses `400` (Regular). The overall feel is airy and refined.
58
+
59
+ ### Buttons
60
+
61
+ #### Primary Button (CTA)
62
+
63
+ ```
64
+ Background: #533AFD (Stripe purple)
65
+ Text color: #FFFFFF (white)
66
+ Font: sohne-var, 16px, weight 400
67
+ Padding: 15.5px 24px 16.5px (slightly asymmetric vertical)
68
+ Border radius: 4px (subtle rounding — NOT pill)
69
+ Border: none
70
+ Hover: Slight darkening of background
71
+ Icon: Right-pointing chevron/arrow (›) appended inline
72
+ ```
73
+
74
+ #### Secondary Button (Outline)
75
+
76
+ ```
77
+ Background: transparent (rgba(255,255,255,0))
78
+ Text color: #533AFD (Stripe purple)
79
+ Font: sohne-var, 16px, weight 400
80
+ Padding: 14.5px 24px 15.5px
81
+ Border radius: 4px
82
+ Border: 1px solid #B9B9F9 (light purple)
83
+ Hover: Border darkens to #D6D9FC, subtle bg fill
84
+ ```
85
+
86
+ #### Ghost/Text Link Button
87
+
88
+ ```
89
+ Background: transparent
90
+ Text color: #533AFD (Stripe purple)
91
+ Font: sohne-var, 16px, weight 400
92
+ Padding: 0
93
+ Border: none
94
+ Decoration: Arrow icon (→) appended on hover
95
+ Hover: Underline or arrow animation
96
+ ```
97
+
98
+ #### Nav Button (Contact sales — header)
99
+
100
+ ```
101
+ Background: #533AFD (Stripe purple)
102
+ Text color: #FFFFFF (white)
103
+ Font: sohne-var, 14px, weight 400
104
+ Padding: ~12px 20px
105
+ Border radius: 4px
106
+ ```
107
+
108
+ #### Nav Button (Sign in — header)
109
+
110
+ ```
111
+ Background: transparent
112
+ Text color: #533AFD (Stripe purple)
113
+ Font: sohne-var, 14px, weight 400
114
+ Padding: ~12px 20px
115
+ Border: 1px solid #D6D9FC (light purple border)
116
+ Border radius: 4px
117
+ ```
118
+
119
+ #### Dark Section Primary Button
120
+
121
+ ```
122
+ Background: #533AFD (Stripe purple)
123
+ Text color: #FFFFFF (white)
124
+ Padding: 15.5px 24px 16.5px
125
+ Border radius: 4px
126
+ ```
127
+
128
+ #### Dark Section Secondary Button
129
+
130
+ ```
131
+ Background: transparent
132
+ Text color: #FFFFFF (white)
133
+ Border: 1px solid rgba(83, 58, 253, 0.7)
134
+ Padding: 14.5px 24px 15.5px
135
+ Border radius: 4px
136
+ ```
137
+
138
+ ### Input Fields
139
+
140
+ ```
141
+ Background: #FFFFFF
142
+ Border: 1px solid #ECF0F4
143
+ Border radius: 4px
144
+ Padding: 12px 16px
145
+ Font: sohne-var, 16px, weight 400
146
+ Color: #061B31
147
+ Placeholder: #7D8BA4
148
+ Focus border: #533AFD
149
+ ```
150
+
151
+ ### Spacing
152
+
153
+ | Token | Value | Usage |
154
+ |-------|-------|-------|
155
+ | **Container max-width** | 1266px | All section inner containers |
156
+ | **Container padding** | 0 16px | Outer section horizontal padding |
157
+ | **Section padding (large)** | 96px 16px | Hero, stats, CTA sections |
158
+ | **Section padding (medium)** | 80px 16px | Features, social proof, blog sections |
159
+ | **Section padding (small)** | 36px 16px | Compact sections (logo bar) |
160
+ | **Nav height** | 64px | Navigation bar total height |
161
+ | **Nav padding** | 10px 16px | Inner nav padding |
162
+ | **Banner height** | 76px | Full header/banner height |
163
+ | **Button padding** | 15.5px 24px 16.5px | Standard button vertical/horizontal |
164
+ | **Card gap** | 16–24px | Between feature cards |
165
+ | **Grid columns** | 2–6 col responsive | Feature cards, footer columns |
166
+
167
+ ### Border Radius
168
+
169
+ | Element | Radius |
170
+ |---------|--------|
171
+ | Buttons | 4px |
172
+ | Cards | 8–12px |
173
+ | Input fields | 4px |
174
+ | Toggle pills | 6px |
175
+ | Images/media | 8–12px |
176
+
177
+ ---
178
+
179
+ ## Section Boilerplates
180
+
181
+ ### Navigation
182
+
183
+ ```
184
+ STRUCTURE:
185
+ ├── <header> (banner role, height: 76px, position: sticky top, bg: rgba(255,255,255,0.8), backdrop-filter: blur)
186
+ │ ├── <nav> (height: 64px, padding: 10px 16px, max-width: 1266px, margin: 0 auto)
187
+ │ │ ├── Logo (Stripe wordmark SVG, left-aligned, links to /)
188
+ │ │ ├── Primary Nav Links (horizontal list, center-left)
189
+ │ │ │ ├── "Products" (button + chevron-down icon, opens mega-menu on hover)
190
+ │ │ │ ├── "Solutions" (button + chevron-down icon, opens mega-menu on hover)
191
+ │ │ │ ├── "Developers" (button + chevron-down icon, opens mega-menu on hover)
192
+ │ │ │ ├── "Resources" (button + chevron-down icon, opens mega-menu on hover)
193
+ │ │ │ └── "Pricing" (plain link, no dropdown)
194
+ │ │ └── Right Actions (horizontal list, right-aligned)
195
+ │ │ ├── "Sign in" (outline button, links to dashboard)
196
+ │ │ └── "Contact sales" (primary filled button with arrow icon)
197
+
198
+ INTERACTIONS:
199
+ - Dropdown trigger: hover on nav button opens full-width mega-menu panel
200
+ - Mega-menu animates in with a smooth slide-down + fade (approx 200ms ease)
201
+ - Active nav item gets a subtle underline/highlight
202
+ - Menu panel: full-viewport-width, white background, sits below nav bar
203
+ - Panel has 4-column grid layout with section headings
204
+ - Each menu item has: Title (purple link color) + Description (gray subtitle)
205
+ - Hovering between different nav buttons smoothly transitions between panels
206
+ - Clicking outside or moving mouse away closes the panel
207
+
208
+ PRODUCTS MEGA-MENU (4 columns):
209
+ Column 1 — "Payments": Payments, Managed Payments, Payment Links, Checkout, Elements, Payment methods, Terminal, Radar, Authorization Boost, Link
210
+ Column 2 — "Revenue": Billing, Usage-based billing, Invoicing, Tax, Revenue Recognition, Stripe Sigma, Data Pipeline
211
+ Column 3 — "Money Management": Financial Accounts, Global Payouts, Capital, Crypto
212
+ Column 4 — "Platforms and marketplaces": Connect, Capital for platforms, Financial Accounts for platforms, Issuing
213
+ Bottom row — "More": Atlas, Climate, Identity, Financial Connections + promo card (Sessions conference CTA)
214
+
215
+ SOLUTIONS MEGA-MENU (4 columns):
216
+ Column 1 — "By stage": Enterprises, Startups
217
+ Column 2 — "By use case": Agentic commerce, Crypto, Ecommerce, Embedded finance, Finance automation, Global businesses, In-app payments, Marketplaces, Platforms, SaaS
218
+ Column 3 — "By industry": AI companies, Creator economy, Hospitality/travel/leisure, Insurance, Media/entertainment, Nonprofits, Retail
219
+ Column 4 — "Ecosystem": Partners, Stripe App Marketplace
220
+
221
+ DEVELOPERS MEGA-MENU (3 columns):
222
+ Column 1 — "Documentation": Stripe docs, API reference, Libraries and SDKs, Stripe Apps
223
+ Column 2 — "Guides": Accept online payments, Implement a prebuilt checkout, Build a platform or marketplace, Manage subscriptions, Offer usage-based billing, Issue stablecoin-backed cards
224
+ Column 3 — "Resources": App integrations, Code samples, Developer blog, API status
225
+
226
+ RESOURCES MEGA-MENU (4 columns):
227
+ Column 1 — "Learn": Blog, Customer stories, Guides
228
+ Column 2 — "Support": Get support, Managed support plans, Professional services
229
+ Column 3 — "Company": Sessions annual conference, Jobs, Newsroom, Stripe Press
230
+ Column 4 — "Contact": Contact sales, Become a partner
231
+
232
+ STYLING:
233
+ - Nav text: sohne-var, 14px, weight 400, color #061B31
234
+ - Chevron icon: small downward-pointing arrow, rotates up when expanded
235
+ - Mega-menu heading: bold weight, dark navy, small uppercase
236
+ - Mega-menu link title: purple (#533AFD), 14px
237
+ - Mega-menu description: gray (#64748D), 12–13px
238
+ - Gap between menu items: ~12px vertical
239
+ - Panel padding: ~40px 48px
240
+ ```
241
+
242
+ ### Hero
243
+
244
+ ```
245
+ STRUCTURE:
246
+ ├── <section> (bg: white, padding: 0 16px, full-viewport height ~90vh)
247
+ │ ├── Container (max-width: 1266px, padding: 36px 16px)
248
+ │ │ ├── Stat Line (small text, top of hero)
249
+ │ │ │ └── "Global GDP running on Stripe: 1.62%" (14px, gray, live-updating counter animation)
250
+ │ │ ├── H1 Headline (48px, font-weight 300, letter-spacing -0.96px, line-height 55.2px)
251
+ │ │ │ └── "Financial infrastructure to grow your revenue. Accept payments, offer financial services, and implement custom revenue models—from your first transaction to your billionth."
252
+ │ │ │ └── NOTE: Text uses animated color effect — characters shift through gradient colors (green → blue → purple → muted) as they enter view
253
+ │ │ ├── CTA Group (flex row, gap: 12px, margin-top: ~32px)
254
+ │ │ │ ├── Primary CTA: "Get started ›" (purple filled button)
255
+ │ │ │ └── Secondary CTA: "Sign up with Google" (outline button with Google icon)
256
+ │ │ └── Background Gradient (absolute positioned, top-right)
257
+ │ │ └── Vivid flowing gradient: orange → pink → magenta → purple wash. Abstract organic shape covering ~60% of hero right side
258
+
259
+ BELOW HERO (logo ticker bar):
260
+ ├── Logo Bar (full-width, light gray border top/bottom, padding: 16px 0)
261
+ │ └── Horizontal scrolling row of enterprise logos (auto-rotating)
262
+ │ └── Anthropic, Lightspeed, Cursor, OpenAI, Amazon, NVIDIA, Ford, Coinbase, Google, Shopify, Mindbody, MetLife, Ramp, Marriott, Figma, Woo...
263
+
264
+ STYLING:
265
+ - Hero background: white with vibrant abstract gradient (CSS/SVG) on right side
266
+ - Headline text animation: characters animate color from vivid to muted navy as user scrolls
267
+ - Stat counter: subtle monospace-style number incrementing in real-time
268
+ - Logo bar logos: grayscale, ~32px height, evenly spaced, infinite horizontal scroll
269
+ ```
270
+
271
+ ### Social Proof (Logo Bar)
272
+
273
+ ```
274
+ STRUCTURE:
275
+ ├── <div> (full-width strip, border-top: 1px solid #ECF0F4, border-bottom: same)
276
+ │ ├── Logo Row (flex, justify-content: space-around, align-items: center, padding: 16px 0)
277
+ │ │ └── 6–8 enterprise logos visible at once, auto-scrolling carousel
278
+ │ │ └── Logos: grayscale, max-height ~32px, opacity ~0.7
279
+
280
+ STYLING:
281
+ - Background: white
282
+ - Logos alternate on a timer (different sets rotate in)
283
+ - No headings or text — logos only
284
+ - Horizontal auto-scroll with seamless loop
285
+ ```
286
+
287
+ ### Features
288
+
289
+ ```
290
+ STRUCTURE:
291
+ ├── <section> (bg: white, padding: 0 16px)
292
+ │ ├── Container (max-width: 1266px, padding: 80px 16px)
293
+ │ │ ├── Section Header
294
+ │ │ │ ├── H2 (32px, weight 300, letter-spacing -0.64px)
295
+ │ │ │ │ └── "Flexible solutions for every business model."
296
+ │ │ │ └── Subtitle (16px, weight 400, color: #64748D, max-width: ~600px)
297
+ │ │ │ └── "Grow your business with a comprehensive set of payments and financial tools..."
298
+ │ │ ├── Tab/Toggle Bar (optional — pill-shaped toggle group)
299
+ │ │ │ └── Toggle pills with rounded bg (#E8E9FF), 6px radius, switch between feature views
300
+ │ │ └── Feature Cards Grid (2–3 column grid, gap: 16–24px)
301
+ │ │ ├── Feature Card (repeated)
302
+ │ │ │ ├── Card Container (bg: #F8FAFD or white, border-radius: 12px, padding: 32px, border: 1px solid #ECF0F4)
303
+ │ │ │ ├── Icon/Illustration (product screenshot or abstract visual, top of card)
304
+ │ │ │ ├── H3 Title (25px, weight 300, color: #061B31)
305
+ │ │ │ │ └── e.g. "Accept and optimize payments globally—online and in person"
306
+ │ │ │ ├── Body Text (16px, color: #64748D)
307
+ │ │ │ └── Link (purple text link with arrow → )
308
+ │ │ └── ... (6 cards for Stripe: Payments, Billing, Agentic Commerce, Issuing, Crypto, Connect)
309
+
310
+ STYLING:
311
+ - Cards have subtle box-shadow or border, not heavy elevation
312
+ - Illustrations/screenshots are inline within the card, not overlapping
313
+ - Card hover: subtle elevation increase or border color change
314
+ - Section uses alternating card sizes (1 large + 2 small per row, or 3 equal)
315
+ ```
316
+
317
+ ### Stats
318
+
319
+ ```
320
+ STRUCTURE:
321
+ ├── <section> (bg: white, padding: 0 16px, class: stats-section)
322
+ │ ├── Background (gradient purple/blue dusk sky illustration, full-width behind stats)
323
+ │ ├── Container (max-width: 1266px, padding: 96px 16px)
324
+ │ │ ├── H2 (56px, weight 300, letter-spacing -1.4px, color: #061B31)
325
+ │ │ │ └── "The backbone of global commerce"
326
+ │ │ └── Stats Row (flex row, 3 columns, gap: 48px)
327
+ │ │ ├── Stat Item
328
+ │ │ │ ├── Large Number (48–56px, weight 300, color: #061B31)
329
+ │ │ │ │ └── "135+"
330
+ │ │ │ └── Description (14–16px, color: #64748D)
331
+ │ │ │ └── "currencies and payment methods supported"
332
+ │ │ ├── Stat Item
333
+ │ │ │ ├── "$1.9T"
334
+ │ │ │ └── "in payments volume processed in 2025"
335
+ │ │ └── Stat Item
336
+ │ │ ├── "99.999%"
337
+ │ │ └── "historical uptime for Stripe services" (links to status page)
338
+
339
+ STYLING:
340
+ - Background: subtle gradient illustration behind numbers (purple-blue dusk sky aesthetic)
341
+ - Numbers: very large, light weight, commanding presence
342
+ - Descriptions: smaller, muted gray, directly below number
343
+ - Equal column widths
344
+ - No cards/borders — open layout
345
+ ```
346
+
347
+ ### Showcase (Customer Stories / Social Proof)
348
+
349
+ ```
350
+ STRUCTURE:
351
+ ├── <section> (bg: white, padding: 0 16px)
352
+ │ ├── Container (max-width: 1266px, padding: 80px 16px)
353
+ │ │ ├── Section Header
354
+ │ │ │ ├── H2 (32px, weight 300)
355
+ │ │ │ │ └── "Powering businesses of all sizes."
356
+ │ │ │ └── Subtitle (16px, color: #64748D)
357
+ │ │ │ └── "Run your business on a reliable platform that adapts to your needs."
358
+ │ │ ├── Enterprise CTA Block
359
+ │ │ │ ├── H3 (25px, weight 300)
360
+ │ │ │ │ └── "Transform your enterprise with agile financial infrastructure"
361
+ │ │ │ ├── Body (16px) — "50% of Fortune 100 companies have used Stripe..."
362
+ │ │ │ └── Primary CTA button: "Stripe for enterprises"
363
+ │ │ └── Customer Story Cards (horizontal scrolling carousel or grid)
364
+ │ │ ├── Story Card (repeated, 3–4 visible)
365
+ │ │ │ ├── Company Logo (top, within card)
366
+ │ │ │ ├── Stat Highlights (large numbers: "160 countries", "11K+ employees")
367
+ │ │ │ ├── H3 Title (25px, weight 300)
368
+ │ │ │ │ └── "Hertz unifies commerce with Stripe."
369
+ │ │ │ ├── Products Used Tags (small pills: "5+ products")
370
+ │ │ │ └── CTA: "Read the story" (outline button)
371
+ │ │ └── Cards: Hertz, URBN, Instacart, Le Monde
372
+
373
+ STYLING:
374
+ - Cards: white bg with subtle border (#ECF0F4), border-radius: 12px
375
+ - Card CTA: outline style button (1px solid #B9B9F9, purple text)
376
+ - Horizontal scroll or 2x2 grid depending on viewport
377
+ - Company logos displayed prominently at top of each card
378
+ ```
379
+
380
+ ### How It Works (Developer/Infrastructure Section)
381
+
382
+ ```
383
+ STRUCTURE:
384
+ ├── <section> (bg: #0D1738 dark navy, padding: 0 16px, dark mode)
385
+ │ ├── Container (max-width: 1266px, padding: 80px 16px)
386
+ │ │ ├── Section Header
387
+ │ │ │ ├── H2 (32–56px, weight 300, color: white)
388
+ │ │ │ │ └── "Reliable, extensible infrastructure for every stack."
389
+ │ │ │ └── Subtitle (16px, color: rgba(255,255,255,0.7))
390
+ │ │ │ └── "Adapt Stripe to your business needs with flexible integration options."
391
+ │ │ ├── CTA Group (flex row, gap: 12px)
392
+ │ │ │ ├── Primary: "View developer docs" (purple bg, white text)
393
+ │ │ │ └── Secondary: "View Stripe's GitHub" (transparent bg, white text, purple border)
394
+ │ │ ├── Feature Blocks (2-column layout)
395
+ │ │ │ ├── Block 1
396
+ │ │ │ │ ├── H3 (white text, weight 300)
397
+ │ │ │ │ │ └── "Connect to existing systems."
398
+ │ │ │ │ ├── Body (muted white text)
399
+ │ │ │ │ └── Text Links: "Explore no-code →", "See directory →" (color: #7389FF)
400
+ │ │ │ └── Block 2
401
+ │ │ │ ├── H3: "Scale with confidence."
402
+ │ │ │ ├── Body text
403
+ │ │ │ └── Link: "Get started →"
404
+ │ │ └── Stats Row (3-column, within dark section)
405
+ │ │ ├── "500M+" — "API requests per day"
406
+ │ │ ├── "10K+" — "API requests per second"
407
+ │ │ └── "150K+" — "transactions per minute"
408
+
409
+ STYLING:
410
+ - Dark navy background (#0D1738)
411
+ - All text: white or light blue (#7389FF for links)
412
+ - Code block visual element may appear (syntax-highlighted snippet)
413
+ - Stats: large white numbers, smaller muted descriptions
414
+ - Links use arrow (→) suffix, color #7389FF
415
+ ```
416
+
417
+ ### Blog / What's Happening
418
+
419
+ ```
420
+ STRUCTURE:
421
+ ├── <section> (bg: white, padding: 0 16px)
422
+ │ ├── Container (max-width: 1266px, padding: 80px 16px 0)
423
+ │ │ ├── Section Header
424
+ │ │ │ ├── H2 (32px, weight 300)
425
+ │ │ │ │ └── "What's happening"
426
+ │ │ │ └── Subtitle (16px, color: #64748D)
427
+ │ │ │ └── "See the latest from Stripe."
428
+ │ │ ├── Featured Content Grid (2-column or 3-column)
429
+ │ │ │ ├── Content Card (repeated, 6–8 cards)
430
+ │ │ │ │ ├── Thumbnail Image (top, border-radius: 8px, aspect-ratio: ~16:9)
431
+ │ │ │ │ ├── Category/Label (small, uppercase or muted)
432
+ │ │ │ │ ├── Title (18–22px, weight 300, color: #061B31)
433
+ │ │ │ │ └── CTA: "Read the letter" / "See the numbers" / "Watch video" (outline button)
434
+ │ │ │ └── Cards link to: annual updates, BFCM data, SaaS benchmarks, YouTube, blog posts
435
+ │ │ └── Book of the Week Sidebar
436
+ │ │ ├── H3: "Book of the week"
437
+ │ │ ├── H4: Book title
438
+ │ │ ├── Description paragraph
439
+ │ │ └── "Stripe Press" link
440
+
441
+ STYLING:
442
+ - Cards: minimal, no heavy borders — thumbnail + text stacked
443
+ - CTA buttons: outline style (1px solid #B9B9F9)
444
+ - Thumbnails may include colored overlays or illustrations
445
+ - Grid layout shifts between 2-col and 3-col at breakpoints
446
+ ```
447
+
448
+ ### CTA (Bottom Call-to-Action)
449
+
450
+ ```
451
+ STRUCTURE:
452
+ ├── <section> (bg: #F8FAFD light gray, padding: 0 16px)
453
+ │ ├── Container (max-width: 1266px, padding: 96px 16px 48px)
454
+ │ │ ├── Intro Text (16px, color: #061B31)
455
+ │ │ │ └── "Create an account instantly, or contact us to design a custom package for your business."
456
+ │ │ ├── Two-Column Layout (flex row, gap: 48px)
457
+ │ │ │ ├── Column 1 — Pricing CTA
458
+ │ │ │ │ ├── H4 (22px, weight 300): "See what you'll pay"
459
+ │ │ │ │ ├── Body (16px): "Integrated per-transaction pricing with no hidden fees."
460
+ │ │ │ │ └── Text Link: "Pricing details →" (purple text link with arrow)
461
+ │ │ │ └── Column 2 — Getting Started CTA
462
+ │ │ │ ├── H4 (22px, weight 300): "Start building"
463
+ │ │ │ ├── Body (16px): "Get up and running with Stripe in as little as 10 minutes."
464
+ │ │ │ └── Text Link: "Integration options →" (purple text link with arrow)
465
+ │ │ └── Button Group (flex row, gap: 12px, margin-top: 24px)
466
+ │ │ ├── Primary: "Start now" (purple filled button)
467
+ │ │ └── Secondary: "Contact sales" (outline button)
468
+
469
+ STYLING:
470
+ - Light gray background distinguishes from white content sections
471
+ - Clean, minimal layout — no images or illustrations
472
+ - Two balanced columns with clear value propositions
473
+ - Final CTA before footer
474
+ ```
475
+
476
+ ### Footer
477
+
478
+ ```
479
+ STRUCTURE:
480
+ ├── <footer> (bg: #F8FAFD light gray, padding: 0 16px)
481
+ │ ├── Container (max-width: 1266px, margin: 0 auto)
482
+ │ │ ├── Links Grid (4-column layout, padding: 48px 0)
483
+ │ │ │ ├── Column 1 — "Products and pricing"
484
+ │ │ │ │ ├── Heading: "Products and pricing" (span, bold, 12px uppercase)
485
+ │ │ │ │ └── Links: Pricing, Atlas, Authorization Boost, Billing, Capital, Capital for platforms, Checkout, Climate, Connect, Crypto, Data Pipeline, Elements, Financial Accounts, Financial Accounts for platforms, Financial Connections, Global Payouts, Identity, Invoicing, Issuing, Link, Managed Payments, Payments, Payment Links, Payment methods, Radar, Revenue Recognition, Stripe Sigma, Tax, Terminal, Usage-based billing
486
+ │ │ │ ├── Column 2 — "Solutions" + "Developers"
487
+ │ │ │ │ ├── Heading: "Solutions"
488
+ │ │ │ │ ├── Links: Enterprises, Startups, Agentic commerce, Crypto, Ecommerce, Embedded finance, Finance automation, Global businesses, In-app payments, Marketplaces, Platforms, SaaS, AI companies, Creator economy, Hospitality/travel/leisure, Insurance, Media/entertainment, Nonprofits, Retail
489
+ │ │ │ │ ├── Heading: "Developers"
490
+ │ │ │ │ └── Links: Documentation, API reference, API status, API changelog, Libraries and SDKs, Developer blog
491
+ │ │ │ ├── Column 3 — "Integrations and custom solutions" + "Resources"
492
+ │ │ │ │ ├── Heading: "Integrations and custom solutions"
493
+ │ │ │ │ ├── Links: Stripe App Marketplace, Stripe Partner ecosystem, Professional services
494
+ │ │ │ │ ├── Heading: "Resources"
495
+ │ │ │ │ └── Links: Guides, Customer stories, Blog, Sessions annual conference, Privacy and terms, Prohibited and restricted businesses, Licenses, Sitemap, Cookie settings, Your privacy choices, More resources
496
+ │ │ │ └── Column 4 — "Company" + "Support"
497
+ │ │ │ ├── Heading: "Company"
498
+ │ │ │ ├── Links: Jobs, Newsroom, Stripe Press, Contact sales
499
+ │ │ │ ├── Heading: "Support"
500
+ │ │ │ ├── Links: Get support, Managed support plans
501
+ │ │ │ ├── Phone: "CA residents: +1 888 926 2289"
502
+ │ │ │ └── "Sign in ›" (callout link, purple with arrow)
503
+ │ │ └── Bottom Bar (border-top: 1px solid #ECF0F4, padding: 24px 0)
504
+ │ │ ├── Left: Globe icon + "United States (English)" (locale selector)
505
+ │ │ └── Left: "© 2026 Stripe, LLC."
506
+
507
+ STYLING:
508
+ - Column headings: small, bold, dark navy, ~12px, may be uppercase
509
+ - Links: 14px, weight 400, color #64748D (muted), hover → #061B31
510
+ - Line-height between links: ~32px (generous spacing)
511
+ - "Sign in ›" is a callout-style link (purple with arrow, stands out)
512
+ - No social media icons in footer (Stripe omits these)
513
+ - Clean, text-only footer — no decorative elements
514
+ ```
515
+
516
+ ### Pricing (Referenced on page)
517
+
518
+ ```
519
+ STRUCTURE:
520
+ ├── <section> (bg: #F8FAFD)
521
+ │ ├── Container (max-width: 1266px)
522
+ │ │ ├── H4 (22px, weight 300): "See what you'll pay"
523
+ │ │ ├── Body: "Integrated per-transaction pricing with no hidden fees."
524
+ │ │ ├── Text Link: "Pricing details →"
525
+ │ │ └── CTA: "Start now" (primary button)
526
+
527
+ NOTE: Full pricing page at /pricing — homepage only includes a pricing teaser within the CTA section. Structure above represents the homepage pricing module.
528
+ ```
529
+
530
+ ### Contact (Referenced on page)
531
+
532
+ ```
533
+ STRUCTURE:
534
+ ├── Accessible via nav "Contact sales" button and footer link
535
+ │ ├── Primary CTA button in nav: "Contact sales ›" (purple filled, 14px)
536
+ │ ├── Outline CTA in CTA section: "Contact sales" (outline button)
537
+ │ └── Footer link: "Contact sales" (text link)
538
+ │ └── Phone number in footer: "CA residents: +1 888 926 2289"
539
+
540
+ NOTE: Contact is distributed across sections rather than a standalone section on the homepage. The /contact/sales page has a dedicated form.
541
+ ```
542
+
543
+ ### Newsletter
544
+
545
+ ```
546
+ NOTE: Stripe's homepage does not include a standalone newsletter signup section. Email capture is handled through the account registration flow ("Get started" → dashboard.stripe.com/register) and the "Sign up with Google" OAuth flow.
547
+ ```
548
+
549
+ ### FAQ
550
+
551
+ ```
552
+ NOTE: Stripe's homepage does not include an FAQ section. FAQ content lives on individual product pages and the support site (support.stripe.com).
553
+ ```
554
+
555
+ ### About
556
+
557
+ ```
558
+ NOTE: No dedicated "About" section on the homepage. Company information is distributed through the Resources mega-menu (Jobs, Newsroom, Stripe Press) and footer (Company column).
559
+ ```
560
+
561
+ ### Comparison
562
+
563
+ ```
564
+ NOTE: No comparison section on the Stripe homepage. Competitive positioning is handled through the enterprise page (/enterprise) and individual product pages.
565
+ ```
566
+
567
+ ### Downloads
568
+
569
+ ```
570
+ NOTE: No downloads section on the Stripe homepage. SDKs and libraries are accessed through the Developers mega-menu and docs.stripe.com.
571
+ ```
572
+
573
+ ### Store
574
+
575
+ ```
576
+ NOTE: No store section on the Stripe homepage. Stripe Press (press.stripe.com) serves as their book/publication store, linked from the footer.
577
+ ```
578
+
579
+ ---
580
+
581
+ ## Design Principles Summary
582
+
583
+ 1. **Single typeface system** — `sohne-var` handles everything. No secondary font needed.
584
+ 2. **Light weight headings** — All headings use `font-weight: 300`. Never bold. Creates an elegant, airy feel.
585
+ 3. **Tight letter-spacing on headings** — Negative letter-spacing (-0.64px to -1.4px) on all headings larger than 24px.
586
+ 4. **Purple as the single accent** — `#533AFD` is the only interactive color. Links, buttons, CTAs all use this one purple.
587
+ 5. **Minimal border-radius** — 4px for buttons/inputs, 8–12px for cards. No pills except toggle switches.
588
+ 6. **White-dominant with ice-blue accents** — Backgrounds alternate between pure white and #F8FAFD (barely-there blue-gray).
589
+ 7. **Dark section for developer content** — One dark navy (#0D1738) section breaks up the page for technical/infrastructure content.
590
+ 8. **Gradient as brand signature** — The hero gradient (orange → pink → magenta → purple) is the primary visual differentiator. Abstract, flowing, organic.
591
+ 9. **Asymmetric button padding** — Vertical padding is intentionally asymmetric (15.5px top, 16.5px bottom) for optical alignment.
592
+ 10. **Arrow iconography** — CTAs consistently append a right-pointing chevron (›) or arrow (→) to indicate action.