prism-design 2.13.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 (90) hide show
  1. package/CHANGELOG.md +292 -0
  2. package/LICENSE +21 -0
  3. package/README.md +203 -0
  4. package/bin/clone-architect.mjs +476 -0
  5. package/bin/prism.mjs +467 -0
  6. package/catalog/index.json +1155 -0
  7. package/extractions/airbnb.com/DESIGN.md +1068 -0
  8. package/extractions/airbnb.com/tokens.json +507 -0
  9. package/extractions/attio.com/DESIGN.md +1295 -0
  10. package/extractions/attio.com/tokens.json +438 -0
  11. package/extractions/auroxdashboard.com/DESIGN.md +724 -0
  12. package/extractions/auroxdashboard.com/tokens.json +195 -0
  13. package/extractions/careerexplorer.com/DESIGN.md +1178 -0
  14. package/extractions/careerexplorer.com/tokens.json +141 -0
  15. package/extractions/chance.co/DESIGN.md +1209 -0
  16. package/extractions/chance.co/tokens.json +160 -0
  17. package/extractions/choisis-ton-avenir.com/DESIGN.md +1265 -0
  18. package/extractions/choisis-ton-avenir.com/tokens.json +227 -0
  19. package/extractions/example.com/DESIGN.md +436 -0
  20. package/extractions/example.com/tokens.json +91 -0
  21. package/extractions/getdesign.md/DESIGN.md +1009 -0
  22. package/extractions/getdesign.md/tokens.json +219 -0
  23. package/extractions/github.com/DESIGN.md +1130 -0
  24. package/extractions/github.com/tokens.json +2092 -0
  25. package/extractions/hello-charly.com/DESIGN.md +1146 -0
  26. package/extractions/hello-charly.com/tokens.json +322 -0
  27. package/extractions/hyperliquid.xyz/DESIGN.md +779 -0
  28. package/extractions/hyperliquid.xyz/tokens.json +598 -0
  29. package/extractions/instagram.com/DESIGN.md +996 -0
  30. package/extractions/instagram.com/tokens.json +1240 -0
  31. package/extractions/jobirl.com/DESIGN.md +1160 -0
  32. package/extractions/jobirl.com/tokens.json +139 -0
  33. package/extractions/life360.com/DESIGN.md +1133 -0
  34. package/extractions/life360.com/tokens.json +491 -0
  35. package/extractions/lifesum.com/DESIGN.md +965 -0
  36. package/extractions/lifesum.com/tokens.json +170 -0
  37. package/extractions/linear.app/DESIGN.md +1301 -0
  38. package/extractions/linear.app/tokens.json +732 -0
  39. package/extractions/mavoie.org/DESIGN.md +1148 -0
  40. package/extractions/mavoie.org/tokens.json +128 -0
  41. package/extractions/miro.com/DESIGN.md +1237 -0
  42. package/extractions/miro.com/tokens.json +401 -0
  43. package/extractions/notion.so/DESIGN.md +1319 -0
  44. package/extractions/notion.so/tokens.json +906 -0
  45. package/extractions/onetonline.org/DESIGN.md +909 -0
  46. package/extractions/onetonline.org/tokens.json +280 -0
  47. package/extractions/posthog.com/DESIGN.md +1024 -0
  48. package/extractions/posthog.com/tokens.json +197 -0
  49. package/extractions/revolut.com/DESIGN.md +1080 -0
  50. package/extractions/revolut.com/tokens.json +401 -0
  51. package/extractions/stripe.com/DESIGN.md +1272 -0
  52. package/extractions/stripe.com/tokens.json +794 -0
  53. package/extractions/switchcollective.com/DESIGN.md +1040 -0
  54. package/extractions/switchcollective.com/tokens.json +98 -0
  55. package/extractions/truity.com/DESIGN.md +970 -0
  56. package/extractions/truity.com/tokens.json +166 -0
  57. package/extractions/uniquekicks.be/DESIGN.md +1171 -0
  58. package/extractions/uniquekicks.be/tokens.json +237 -0
  59. package/package.json +122 -0
  60. package/scripts/analyze.ts +281 -0
  61. package/scripts/bank-register.ts +379 -0
  62. package/scripts/bank.ts +374 -0
  63. package/scripts/browser-stealth.ts +189 -0
  64. package/scripts/clone.ts +198 -0
  65. package/scripts/compare-vs-gd-final.ts +273 -0
  66. package/scripts/compare-vs-gd.ts +269 -0
  67. package/scripts/compare.ts +405 -0
  68. package/scripts/deploy-site.ts +181 -0
  69. package/scripts/diff-snapshots.ts +340 -0
  70. package/scripts/enrich-catalog.ts +212 -0
  71. package/scripts/extract.ts +2038 -0
  72. package/scripts/extractors/advanced.ts +524 -0
  73. package/scripts/extractors/widgets.ts +711 -0
  74. package/scripts/generate-design-md.ts +5775 -0
  75. package/scripts/generate-final-pdf.ts +274 -0
  76. package/scripts/generate-og-image.ts +87 -0
  77. package/scripts/generate-showcase.ts +1588 -0
  78. package/scripts/generate-site.ts +847 -0
  79. package/scripts/mass-extract.sh +91 -0
  80. package/scripts/post-process-all.sh +55 -0
  81. package/scripts/regen-catalog.ts +203 -0
  82. package/scripts/shared/cache.ts +149 -0
  83. package/scripts/shared/css-helpers.ts +263 -0
  84. package/scripts/shared/logger.ts +57 -0
  85. package/scripts/shared/named-colors.ts +355 -0
  86. package/scripts/shared/types.ts +220 -0
  87. package/scripts/sync-catalog.ts +105 -0
  88. package/scripts/tokenize.ts +988 -0
  89. package/templates/layout-template.md +52 -0
  90. package/templates/tokens-template.json +34 -0
@@ -0,0 +1,1160 @@
1
+ ---
2
+ version: alpha
3
+ name: jobirl.com
4
+ description: "Light product system built on #ffffff with #ffd700 as the primary CTA accent. Type anchored in Montserrat at 28.8px / weight 700. Extracted automatically from https://jobirl.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
5
+ narrative: |
6
+ jobirl.com is built on a pure-white canvas (rgb(255, 255, 255)).
7
+ The system uses rgb(255, 215, 0) as the high-saturation accent for primary actions.
8
+ Sharp 0px corners on CTAs — architectural restraint, engineering precision alongside Montserrat as the primary typeface.
9
+ Montserrat is paired with Font Awesome 6 Free for secondary roles.
10
+ A restrained elevation system (3 distinct shadows) — shadows reserved for the few elements that must lift off the page.
11
+ Motion is a first-class concern — 22 keyframe animations plus transition-driven interactions.
12
+
13
+ colors:
14
+ background: "#ffffff"
15
+ surface-1: "#d5f3fb"
16
+ surface-2: "#def6fe"
17
+ ink: "#1b2888"
18
+ ink-subtle: "#6c757d"
19
+ primary: "#ffd700"
20
+ on-primary: "#111111"
21
+ primary-hover: "#1b2888"
22
+ hairline: "#818181"
23
+ primary-focus: "#818181"
24
+ semantic-error: "#dc3545"
25
+ semantic-success: "#28a745"
26
+ semantic-warning: "#ffc107"
27
+ semantic-info: "#17a2b8"
28
+
29
+ typography:
30
+ display-xl:
31
+ fontFamily: "Montserrat"
32
+ fontSize: 35px
33
+ fontWeight: 700
34
+ lineHeight: 1.2
35
+ letterSpacing: 0
36
+ display-md:
37
+ fontFamily: "Montserrat"
38
+ fontSize: 28px
39
+ fontWeight: 700
40
+ lineHeight: 1.2
41
+ letterSpacing: 0
42
+ body:
43
+ fontFamily: "Montserrat"
44
+ fontSize: 16px
45
+ fontWeight: 400
46
+ lineHeight: 1.5
47
+ letterSpacing: 0
48
+ body-sm:
49
+ fontFamily: "Montserrat"
50
+ fontSize: 36px
51
+ fontWeight: 400
52
+ lineHeight: 1.5
53
+ letterSpacing: 0
54
+ caption:
55
+ fontFamily: "Font Awesome 6 Brands"
56
+ fontSize: 16px
57
+ fontWeight: 400
58
+ lineHeight: 1
59
+ letterSpacing: 0
60
+ button:
61
+ fontFamily: "Montserrat"
62
+ fontSize: 60px
63
+ fontWeight: 400
64
+ lineHeight: 1.5
65
+ letterSpacing: 0
66
+
67
+ rounded:
68
+ none: 0px
69
+ xs: 4px
70
+ sm: 10px
71
+ md: 10px
72
+ lg: 10px
73
+ xl: 30px
74
+ pill: 9999px
75
+
76
+ spacing:
77
+ xxs: 2px
78
+ xs: 4px
79
+ sm: 8px
80
+ md: 12px
81
+ lg: 40px
82
+ xl: 48px
83
+ xxl: 78px
84
+ section: 80px
85
+
86
+ components:
87
+ button-outline:
88
+ backgroundColor: "transparent"
89
+ textColor: "#000000"
90
+ typography: "{typography.body}"
91
+ rounded: "{rounded.xs}"
92
+ padding: 4px 12px
93
+ button-ghost:
94
+ backgroundColor: "transparent"
95
+ textColor: "{colors.primary-focus}"
96
+ typography: "{typography.button}"
97
+ rounded: "{rounded.none}"
98
+ padding: 8px
99
+ button-ghost-2:
100
+ backgroundColor: "transparent"
101
+ textColor: "{colors.primary-hover}"
102
+ typography: "{typography.body}"
103
+ rounded: "{rounded.none}"
104
+ padding: 8px
105
+ input-text-input:
106
+ backgroundColor: "transparent"
107
+ textColor: "#495057"
108
+ typography: "{typography.body}"
109
+ rounded: "{rounded.xs}"
110
+ padding: 6px 12px
111
+ navigation-main-nav:
112
+ backgroundColor: "{colors.background}"
113
+ typography: "{typography.body}"
114
+ rounded: "{rounded.none}"
115
+ padding: 8px 16px
116
+
117
+ extracted_at: "2026-05-31T05:55:44.342Z"
118
+ completeness: 69
119
+ scoreVersion: "v2"
120
+
121
+ ---
122
+
123
+ # Design System — jobirl.com
124
+ > Extracted automatically by Prism from https://www.jobirl.com
125
+ > Date: 2026-05-31
126
+ > Viewport: Desktop 1440x900 + Mobile 390x844
127
+ > Values are extracted, not hand-written: rendered styles via getComputedStyle() + colors declared in CSS custom properties (token-only values are marked `(token)` and may not be painted).
128
+
129
+ > **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
130
+ >
131
+ > - **Canvas**: `rgb(255, 255, 255)` is the page background. Every component composits against this.
132
+ > - **Accent**: `rgb(255, 215, 0)` for primary CTAs ONLY. Never decorative.
133
+ > - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
134
+ > - **Section rhythm**: 50px between major bands. Card padding: 40px.
135
+ > - **Default radius**: 10px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
136
+ >
137
+ > **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
138
+
139
+ ## 1. Visual Theme & Atmosphere
140
+
141
+ jobirl.com uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight.
142
+
143
+ Typography is anchored in **Montserrat**. Headlines use weight 700 for confident, assertive presence — the brand wants to be heard.
144
+
145
+ Body text reads in #1b2888 (`#1b2888`) — softened from pure black, a small but deliberate detail that lowers reading friction. **Gold** (`#ffd700`) is the single high-saturation color in the system — it earns its presence only on interactive elements, making CTAs and links the unmistakable focal points against the otherwise neutral palette. Elevation is built from multi-layer shadow stacks — each level combines several blurred layers at varying offsets to simulate how light falls on stacked surfaces.
146
+ Motion design uses smooth easing curves for polished state transitions.
147
+
148
+ **Key Characteristics:**
149
+ - Background: Pure White (`#ffffff`)
150
+ - Primary typeface: Montserrat
151
+ - Primary text: #1b2888 (`#1b2888`)
152
+ - Accent: Gold (`#ffd700`)
153
+ - Shadow system: 3 distinct elevation levels
154
+ - Custom fonts loaded: Montserrat
155
+
156
+ ## 2. Color Palette & Roles
157
+
158
+ ### Background & Surface
159
+ - **Pure White** (`#ffffff`): Page background (primary)
160
+ - **Light Gray** (`#d5f3fb`): Surface / elevated background
161
+ - **Light Gray** (`#def6fe`): Surface / elevated background
162
+ - **Light Gray** (`#eaeaea`): Surface / elevated background
163
+
164
+ ### Text & Content
165
+ - **#1b2888** (`#1b2888`): Primary body text
166
+ - **Pure Black** (`#000000`): Secondary text
167
+ - **Translucent Charcoal (50%)** (`rgba(47, 49, 64, 0.5)`): Secondary text
168
+ - **#0e0969** (`#0e0969`): Secondary text
169
+ - **Warm Brown** (`#212529`): Secondary text
170
+
171
+ ### Accent & Interactive
172
+ - **Gold** (`#ffd700`): Interactive / accent
173
+ - **#00cdfd** (`#00cdfd`): Interactive / accent
174
+
175
+ ### Border & Divider
176
+ - **Silver** (`#cccccc`): Borders / dividers
177
+ - **Light Blue** (`#ced4da`): Borders / dividers
178
+
179
+ ### Full Extracted Palette
180
+ **18 colors rendered on the page** + **12** more declared in design tokens (CSS custom properties — not necessarily painted). (13 categorized above + 17 additional below.)
181
+ Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
182
+
183
+ - `#818181` — Medium Gray
184
+ - `#6c757d` — Secondary
185
+ - `#495057` — Slate
186
+ - `#808080` — Medium Gray
187
+ - `#97989f` — Cool Gray
188
+ - `#f8f9fa` — Off-White *(token)*
189
+ - `#ffc107` — Warning *(token)*
190
+ - `#28a745` — Success *(token)*
191
+ - `#e83e8c` — #e83e8c *(token)*
192
+ - `#20c997` — Emerald *(token)*
193
+ - `#343a40` — Dark Gray *(token)*
194
+ - `#dc3545` — Danger *(token)*
195
+ - `#17a2b8` — Info *(token)*
196
+ - `#6610f2` — #6610f2 *(token)*
197
+ - `#6f42c1` — Slate Blue *(token)*
198
+ - `#007bff` — Primary *(token)*
199
+ - `#fd7e14` — #fd7e14 *(token)*
200
+
201
+ ### CSS Custom Properties (Design Tokens)
202
+
203
+ **Font Family Token**
204
+ - `--font-family-monospace`: `SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace`
205
+
206
+ **Other tokens**
207
+ - `--fa-font-regular`: `normal 400 1em/1 "Font Awesome 6 Free"`
208
+ - `--fa-font-brands`: `normal 400 1em/1 "Font Awesome 6 Brands"`
209
+ - `--primary`: `#007bff`
210
+ - `--fa-font-solid`: `normal 900 1em/1 "Font Awesome 6 Free"`
211
+
212
+ ## 3. Typography Rules
213
+
214
+ ### Font Families
215
+ - **Primary**: `Montserrat`
216
+ - **Secondary**: `Font Awesome 6 Brands`
217
+ - **Font 3**: `Font Awesome 6 Free`
218
+ - **Font 4**: `Font Awesome 5 Brands`
219
+ - **Font 5**: `Font Awesome 5 Free`
220
+
221
+ ### Custom Fonts Loaded
222
+ - **Montserrat** weight 100 (italic)
223
+ - **Montserrat** weight 200 (italic)
224
+ - **Montserrat** weight 300 (italic)
225
+ - **Montserrat** weight 400 (italic)
226
+ - **Montserrat** weight 500 (italic)
227
+ - **Montserrat** weight 600 (italic)
228
+ - **Montserrat** weight 700 (italic)
229
+ - **Montserrat** weight 800 (italic)
230
+ - **Montserrat** weight 900 (italic)
231
+ - **Font Awesome 6 Brands** weight 400 (normal)
232
+ - **Font Awesome 6 Free** weight 400 (normal)
233
+ - **Font Awesome 6 Free** weight 900 (normal)
234
+ - **Font Awesome 5 Brands** weight 400 (normal)
235
+ - **Font Awesome 5 Free** weight 900 (normal)
236
+ - **Font Awesome 5 Free** weight 400 (normal)
237
+ - **FontAwesome** weight normal (normal)
238
+
239
+ ### Typography Hierarchy
240
+
241
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
242
+ |------|------|------|--------|-------------|----------------|-------|
243
+ | Button Large | Montserrat | 60px | 400 | 1.5 | normal | Button label (60px) |
244
+ | Link Large | Montserrat | 36px | 400 | 1.5 | normal | Link (36px) — Decoration: none |
245
+ | Display Hero | Montserrat | 35px | 700 | 1.2 | normal | Main headline (h2) |
246
+ | Sub-heading | Montserrat | 28px | 700 | 1.2 | normal | Third-level heading (h3) |
247
+ | Button Large | Montserrat | 20px | 400 | 1 | normal | Button label (20px) |
248
+ | Card Title | Montserrat | 16px | 400 | 1.5 | normal | Card headings |
249
+ | Caption / Badge | Font Awesome 6 Brands | 16px | 400 | 1 | normal | small text (16px) |
250
+ | Button | Montserrat | 13px | 700 | 1.46 | normal | Button label (13px) |
251
+ | Link | Montserrat | 13px | 400 | 1.46 | normal | Link (13px) — Decoration: none |
252
+ | Button Small | Montserrat | 11px | 600 | 1.5 | normal | Button label (11px) |
253
+ | Button Small | Montserrat | 10px | 600 | 1.5 | normal | Button label (10px) |
254
+
255
+ ### Full Font Size Scale
256
+
257
+ Sizes detected in the design (descending): `60px`, `40px`, `36px`, `35px`, `28.80px`, `28px`, `24px`, `20px`, `17px`, `16px`, `15px`, `14px`, `13px`, `12.80px`, `11px`, `10px`, `9.75px`
258
+
259
+ > 8 size(s) detected outside the sampled hierarchy (40px, 28.8px, 24px, 17px, 15px, 14px, 12.8px, 9.75px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
260
+
261
+ ## 4. Component Stylings
262
+
263
+ ### Buttons
264
+
265
+ **Outline**
266
+ - Background: `transparent`
267
+ - Text: `rgba(0, 0, 0, 0.5)`
268
+ - Padding: 4px 12px
269
+ - Radius: 4px
270
+ - Border: 1px solid rgba(0, 0, 0, 0.1)
271
+ - Font: 20px weight 400
272
+ - Use: Secondary action with border
273
+ - Focus: outline: `rgb(129, 129, 129) dotted 3px`
274
+
275
+ **Ghost**
276
+ - Background: `transparent`
277
+ - Text: `#818181` `{colors.primary-focus}`
278
+ - Padding: 8px
279
+ - Radius: 0px
280
+ - Font: 60px weight 400
281
+ - Use: Subtle action, toolbar, nav button
282
+ - Focus: outline: `rgb(129, 129, 129) dotted 3px`
283
+
284
+ **Ghost**
285
+ - Background: `transparent`
286
+ - Text: `#1b2888` `{colors.primary-hover}`
287
+ - Padding: 8px
288
+ - Radius: 0px
289
+ - Font: 13px weight 700
290
+ - Use: Subtle action, toolbar, nav button
291
+ - Focus: outline: `rgb(129, 129, 129) dotted 3px`
292
+
293
+ **Pill**
294
+ - Background: `#1b2888` `{colors.primary-hover}`
295
+ - Text: `#ffffff` `{colors.background}`
296
+ - Padding: 10px 15px
297
+ - Radius: 30px
298
+ - Border: 1px solid rgb(27, 40, 136)
299
+ - Font: 10px weight 600
300
+ - Use: Status pills, tags, chips
301
+ - Focus: outline: `rgb(129, 129, 129) dotted 3px`
302
+
303
+ **Pill**
304
+ - Background: `#ffd700` `{colors.primary}`
305
+ - Text: `#1b2888` `{colors.primary-hover}`
306
+ - Padding: 10px 15px
307
+ - Radius: 30px
308
+ - Border: 1px solid rgb(255, 215, 0)
309
+ - Font: 11px weight 600
310
+ - Use: Status pills, tags, chips
311
+ - Focus: outline: `rgb(129, 129, 129) dotted 3px`
312
+
313
+ ### Inputs & Forms
314
+
315
+ **Text Input**
316
+ - Background: `transparent`
317
+ - Text: `#495057`
318
+ - Padding: 6px 12px
319
+ - Radius: 4px
320
+ - Border: 0px none rgb(73, 80, 87)
321
+ - Font: 16px weight 400
322
+ - Use: Text fields, search inputs
323
+ - Focus: outline: `rgb(73, 80, 87) none 0px`
324
+
325
+ ### Navigation
326
+
327
+ **Main Nav**
328
+ - Background: `#ffffff` `{colors.background}`
329
+ - Padding: 8px 16px
330
+ - Radius: none
331
+ - Shadow: `rgba(0, 0, 0, 0.075) 0px 2px 4px 0px`
332
+ - Font: 16px weight 400
333
+ - Use: Fixed/sticky flex nav — N/A items
334
+ - Hover: outline: `rgba(0, 0, 0, 0.9) none 0px`
335
+
336
+
337
+ ## 4b. Component Behaviors (State Matrix)
338
+
339
+ ### Interaction State Narrative
340
+
341
+ - **Badge**:
342
+ - **hover:** text #1b2888 → #0056b3, border changes
343
+
344
+ *State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
345
+
346
+ ```yaml
347
+ component-behaviors:
348
+ button:
349
+ default:
350
+ bg: "rgba(0, 0, 0, 0)"
351
+ fg: "rgb(129, 129, 129)"
352
+ focus:
353
+ bg: "rgba(0, 0, 0, 0)"
354
+ fg: "rgb(129, 129, 129)"
355
+ input:
356
+ default:
357
+ bg: "rgba(0, 0, 0, 0)"
358
+ fg: "rgb(73, 80, 87)"
359
+ focus:
360
+ bg: "rgba(0, 0, 0, 0)"
361
+ fg: "rgb(73, 80, 87)"
362
+ link:
363
+ default:
364
+ bg: "rgba(0, 0, 0, 0)"
365
+ fg: "rgb(129, 129, 129)"
366
+ card:
367
+ default:
368
+ bg: "rgba(0, 0, 0, 0)"
369
+ fg: "rgb(27, 40, 136)"
370
+ navLink:
371
+ default:
372
+ bg: "rgba(0, 0, 0, 0)"
373
+ fg: "rgba(0, 0, 0, 0.9)"
374
+ hover:
375
+ bg: "rgba(0, 0, 0, 0)"
376
+ fg: "rgba(0, 0, 0, 0.9)"
377
+ badge:
378
+ default:
379
+ bg: "rgba(0, 0, 0, 0)"
380
+ fg: "rgb(27, 40, 136)"
381
+ hover:
382
+ bg: "rgba(0, 0, 0, 0)"
383
+ fg: "rgb(0, 86, 179)"
384
+ footerLink:
385
+ default:
386
+ bg: "rgb(255, 215, 0)"
387
+ fg: "rgb(27, 40, 136)"
388
+ border: "1px solid rgba(0, 0, 0, 0)"
389
+ hover:
390
+ bg: "rgb(255, 215, 0)"
391
+ fg: "rgb(27, 40, 136)"
392
+ border: "1px solid rgba(0, 0, 0, 0)"
393
+ ```
394
+
395
+ **Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
396
+
397
+
398
+ ## 4c. Component Vocabulary (Closed System)
399
+
400
+ *This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
401
+
402
+ ### Buttons
403
+ - **3 shape(s)** in this system: `Outline`, `Ghost`, `Pill`
404
+ - **DO NOT introduce new buttons variants** without justification
405
+
406
+ ### Inputs & Forms
407
+ - **1 shape(s)** in this system: `Text Input`
408
+ - **DO NOT introduce new inputs & forms variants** without justification
409
+
410
+ ### Navigation
411
+ - **1 shape(s)** in this system: `Main Nav`
412
+ - **DO NOT introduce new navigation variants** without justification
413
+
414
+ ## 5. Layout Principles
415
+
416
+ ### Layout Type
417
+ **top-nav + content**
418
+
419
+ ### Grid
420
+ Single column, centered content
421
+
422
+ ### Max Width
423
+ 1200px
424
+
425
+ ### Spacing System
426
+ Generous spacing — editorial breathing room
427
+
428
+ | Token | Value |
429
+ |-------|-------|
430
+ | xxs | 2px |
431
+ | xs | 4px |
432
+ | sm | 8px |
433
+ | md | 12px |
434
+ | base | 16px |
435
+ | lg | 40px |
436
+ | xl | 48px |
437
+ | 2xl | 50px |
438
+ | 3xl | 78px |
439
+
440
+ ### Border Radius Scale
441
+ | Name | Value | Use |
442
+ |------|-------|-----|
443
+ | None | 0px | No rounding |
444
+ | Xs | 4px | Tiny corners (badges, micro elements) |
445
+ | Sm | 10px | Buttons, inputs, small elements |
446
+ | Md | 10px | Cards, containers |
447
+ | Lg | 10px | Large rounded elements, pill segments |
448
+ | Xl | 30px | Category strips, featured containers |
449
+ | Full | 9999px | Pills, avatars, circular elements |
450
+
451
+ ### Shape Language
452
+
453
+ | Component | Border Radius |
454
+ |-----------|---------------|
455
+ | Buttons | `4px` |
456
+ | Inputs & Forms | `4px` |
457
+ | Navigation | `none` |
458
+ | Page Body | `0px` |
459
+ | Primary Input | `4px` |
460
+
461
+ **Shape Personality**: Subtly Rounded — Minimal corner rounding (1–4px). Professional restraint.
462
+
463
+ **Full Radius Spectrum**: 0px, 3.8px, 4px, 4.8px, 5px, 10px, 30px, 50px (from `allBorderRadii` scan)
464
+
465
+
466
+ ## 5b. Spacing Rhythm Names
467
+
468
+ **Measured section rhythm**: bands use ~24px vertical padding (up to 25px) — **compact**. Reproduce this generous vertical breathing room; cramped spacing is the #1 tell of a cheap clone.
469
+
470
+ *Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
471
+
472
+ | Name | Value | Use case |
473
+ |------|-------|----------|
474
+ | **hero** | `78px` | Top/bottom of full-bleed hero sections |
475
+ | **section** | `48px` | Between major bands (color change, content shift) |
476
+ | **subsection** | `40px` | Within a section, between content groups |
477
+ | **card** | `12px` | Card padding, list-item spacing |
478
+ | **compact** | `8px` | Form fields, tight clusters, badge padding |
479
+ | **micro** | `4px` | Icon-text gap, tag inner padding |
480
+
481
+ **Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
482
+
483
+ ## 5c. Widget & Structure Library
484
+
485
+ Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
486
+
487
+ **4/8 structural patterns detected.**
488
+
489
+ ### Hero Pattern
490
+
491
+ - **Composition:** split-left-text — Split layout, text-left/media-right — heading + body in left column, image/illustration in right column. Common for product showcases.
492
+ - **Viewport coverage:** full-viewport hero (≥70% screen height)
493
+ - **Heading:** "Le réseau social d'orientation" — 15px left-aligned
494
+ - **Subheading:** "Une occasion unique de découvrir la réalité des métiers et des formations, de mûrir ton projet d'orientation et d'élargir ton réseau."
495
+ - **Media:** present, positioned right
496
+ - **CTAs:** 5 (primary: "Démarrer mon projet")
497
+ - **Clone instruction:** Reproduce the **split-left-text** layout. Use the heading font-size token at the documented size. Place media right of text.
498
+
499
+ ### Navigation Pattern
500
+
501
+ - **Position:** fixed (stays visible during scroll)
502
+ - **Layout:** unknown — Layout not classified
503
+ - **Height:** 68px
504
+ - **Logo:** ✓ present
505
+ - **Nav links:** 5 primary items
506
+ - **CTAs in nav:** 2
507
+ - **Search:** ✓ search input visible in nav
508
+ - **Clone instruction:** Build a fixed unknown navigation. Reserve 2 slots for primary CTAs.
509
+
510
+ ### Card Grid Pattern
511
+
512
+ - **Card count:** 3 cards detected
513
+ - **Columns (desktop):** 4-up grid
514
+ - **Card dimensions:** 380×300px (aspect 1.27:1)
515
+ - **Gap:** 0px between cards
516
+ - **Content:** ✗ no image
517
+ - **Clone instruction:** Build a 4-column grid (desktop) with cards at ~1.27:1 aspect ratio. Text/icon-only cards (no photography).
518
+
519
+ ### Footer Pattern
520
+
521
+ - **Columns:** 1
522
+ - **Links:** 22 total
523
+ - **Height:** 354px
524
+ - **Includes:** ✗ no newsletter | ✓ social icons |
525
+ - **Clone instruction:** Build a 1-column footer with ~22 links per column, social media links.
526
+
527
+ ## 6. Depth & Elevation
528
+
529
+ | Level | Treatment | Use |
530
+ |-------|-----------|-----|
531
+ | Flat (Level 0) | No shadow | Page background, content blocks |
532
+ | Layered (Level 1) | <br>`rgba(0, 0, 0, 0.075) 0px 2px 4px 0px` | Cards, elevated surfaces |
533
+ | Layered (Level 2) | <br>`rgba(0, 0, 0, 0.15) 0px 3.2px 8px 0px` | Cards, elevated surfaces |
534
+ | Inset (Level 3) | <br>`rgb(88, 88, 88) -5px 0px 15px -6px inset` | Buttons, pressed-state elements |
535
+
536
+ **Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
537
+
538
+ ## 7. Motion & Interaction
539
+
540
+ ### Dominant Easing Curves
541
+
542
+ | Curve | Semantic Name |
543
+ |-------|---------------|
544
+ | `ease` | CSS ease — Default |
545
+ | `ease-in-out` | Ease In-Out — Symmetric |
546
+ | `ease-in` | Ease In — Accelerating |
547
+
548
+ ### Duration Scale
549
+
550
+ | Value | Tier | Typical Use |
551
+ |-------|------|-------------|
552
+ | `150ms` | Fast | Hover states, micro-interactions |
553
+ | `300ms` | Normal | Panel open/close, navigation |
554
+ | `500ms` | Slow | Hero animations, page transitions |
555
+
556
+ ### Copy-Paste Transition Snippets
557
+
558
+ **Background**
559
+ ```css
560
+ transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
561
+ ```
562
+
563
+ **Border**
564
+ ```css
565
+ transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
566
+ ```
567
+
568
+ **Color / Background**
569
+ ```css
570
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in...;
571
+ ```
572
+
573
+ **Opacity**
574
+ ```css
575
+ transition: opacity 0.15s linear;
576
+ ```
577
+
578
+ ### Keyframe Animation Catalog
579
+
580
+ | Animation Name | Type | Animated Props | Use Hint |
581
+ |----------------|------|----------------|----------|
582
+ | `progress-bar-stripes` | Custom | background-position-x, background-position-y | UI transition |
583
+ | `spinner-border` | Rotate / Spin | transform | Loading indicator |
584
+ | `spinner-grow` | Fade + Move | transform, opacity | Loading indicator |
585
+ | `fadeOut` | Fade | opacity | Element exit |
586
+ | `slideDown` | Slide | transform | Panel / drawer enter |
587
+ | `slideUp` | Slide | transform | Panel / drawer enter |
588
+ | `slideLeft` | Slide | transform | UI transition |
589
+ | `slideRight` | Slide | transform | UI transition |
590
+ | `slideExpandUp` | Scale | transform | UI transition |
591
+ | `expandUp` | Scale | transform | UI transition |
592
+ | `fadeIn` | Fade + Move | transform, opacity | Element entrance |
593
+ | `expandOpen` | Scale | transform | UI transition |
594
+ | `bigEntrance` | Fade + Move | transform, opacity | UI transition |
595
+ | `hatch` | Rotate / Spin | transform | UI transition |
596
+ | `bounce` | Scale | transform | Playful feedback |
597
+ | `pulse` | Fade + Move | transform, opacity | Attention / status |
598
+ | `floating` | Slide | transform | UI transition |
599
+ | `tossing` | Rotate / Spin | transform | UI transition |
600
+ | `pullUp` | Scale | transform | UI transition |
601
+ | `pullDown` | Scale | transform | UI transition |
602
+
603
+ > *2 additional animations omitted (repetitive variants). See raw keyframes in `raw-css.json`.*
604
+
605
+ ### Motion Fingerprint
606
+
607
+ - **Speed Character**: Deliberate & Calm (median duration: `300ms`)
608
+ - **Dominant Easing**: custom cubic-bezier curves
609
+ - **Animation Library**: 22 unique animations (22 total including variants)
610
+
611
+ > This design moves with deliberate & calm timing using custom cubic-bezier curves, creating a UI that feels calm and controlled.
612
+
613
+ ## 8. Do's and Don'ts
614
+
615
+ ### Do
616
+ - Use #1b2888 (`#1b2888`) for text — not pure black, it's warmer and more readable
617
+ - Use Montserrat as the primary typeface — it defines the brand personality
618
+ - Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
619
+ - Use Gold (`#ffd700`) as the primary accent — it's the brand's signature interactive color
620
+ - Use 30px border-radius on primary buttons — the brand uses generously-rounded CTAs
621
+ - Keep navigation fixed to the top — the design uses a persistent navigation pattern
622
+ - Maintain nav height at 68.0312px — consistent vertical space for the navigation bar
623
+ - Respect the 4px–48px spacing range — the design uses a wide scale for visual breathing room
624
+ - Make the hero full-viewport (≥70% screen height) — this design uses an immersive hero, not a tall navbar
625
+ - Build the hero as a split layout with media on the left — text and visual share equal weight
626
+ - Include exactly 5 CTAs in the hero (primary + secondary) — this design pattern is multi-action, not single-purpose
627
+ - Make the navigation fixed — it stays visible during scroll, signaling content depth
628
+ - Include a search input directly in the nav — discoverability is a primary UX value here
629
+ - Use a 4-column grid on desktop — density matters for this content type
630
+
631
+ ### Don't
632
+ - Don't use pure black (`#000000`) for text — the near-black adds warmth
633
+ - Don't substitute with generic sans-serif or serif — the custom font carries the brand
634
+ - Don't invent new shadow values — use only the extracted shadow levels
635
+ - Don't introduce additional saturated accent colors — the palette is intentionally controlled
636
+ - Don't use sharp-cornered or pill buttons — 30px is the CTA border-radius standard
637
+ - Don't collapse or hide the nav on scroll without an explicit scroll-triggered animation — the design uses fixed nav presence
638
+
639
+
640
+ ## 7b. Enforceable Brand Rules
641
+
642
+ *Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
643
+
644
+ ```yaml
645
+ rules:
646
+ - id: brand-canvas-001
647
+ type: do
648
+ rule: "Always use the page background `rgb(255, 255, 255)` as the base canvas"
649
+ why: "Every component is designed to composit against this exact tone"
650
+ test: "document.body.style.backgroundColor === 'rgb(255, 255, 255)'"
651
+ - id: brand-accent-001
652
+ type: do
653
+ rule: "Reserve `rgb(255, 215, 0)` for primary CTAs and brand-mark signals only"
654
+ why: "Single chromatic assertion device — overuse dilutes meaning"
655
+ test: "querySelectorAll('[style*=\"rgb(255, 215, 0)\"]').length <= 3 per fold"
656
+ ```
657
+
658
+ ## 9. Responsive Behavior
659
+
660
+ ### Breakpoints
661
+ | Name | Width | Key Changes |
662
+ |------|-------|-------------|
663
+ | Mobile | 450px | Single column, compact spacing |
664
+ | Mobile Large | 576px | Expanded mobile layout |
665
+ | Mobile Large | 680px | Expanded mobile layout |
666
+ | Mobile Large | 750px | Expanded mobile layout |
667
+ | Tablet | 800px | Multi-column grids begin |
668
+ | Tablet | 991px | Multi-column grids begin |
669
+
670
+ ### Token Diff — Desktop vs Mobile
671
+
672
+ | Element | Property | Desktop | Mobile |
673
+ |---------|----------|---------|--------|
674
+ | body | padding | `78px 0px 0px` | `70px 0px 0px` |
675
+ | button | width | `auto` | `56px` |
676
+ | card | width | `1140px` | `360px` |
677
+
678
+ ### Collapsing Strategy
679
+ - Navigation: horizontal links → hamburger menu on mobile
680
+ - Cards: multi-column → stacked vertical on mobile
681
+ - Footer: multi-column → stacked single column on mobile
682
+
683
+ ### Touch Targets
684
+ - Buttons: 4px 12px padding
685
+ - Navigation: adequate spacing between items
686
+ - Interactive elements: minimum 44px touch target recommended
687
+
688
+ ### Collapsing Narrative
689
+
690
+ How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
691
+
692
+ - **Hero collapses split-left-text → centered** — the side-by-side layout stacks vertically, with media moving above the text.
693
+ - **Navigation collapses to hamburger** — 5 links visible on desktop, 0 on mobile (the rest hide behind a menu toggle).
694
+ - **Nav CTAs reduced** on mobile (2 → 0) — the design prioritizes content over conversion buttons at small sizes.
695
+ - **Card grid: 4-up → 1-up** — cards stack as viewport narrows, becoming a vertical list on mobile.
696
+
697
+ ## 9b. Visual Tone & Photography
698
+
699
+ **Tone:** Mixed photography + illustration
700
+
701
+ A balanced mix of photographic content and vector graphics. Photos likely carry product/lifestyle context while SVG handles icons, logos, and decorative accents.
702
+
703
+ **Canonical Brand Image (OG):**
704
+ - https://www.jobirl.com/images/design/logo-jobirl-fb.png
705
+ *This is the image shown when the site is shared on social media — represents the brand visual essence.*
706
+
707
+ **Hero Image (above-fold dominant visual):**
708
+ - Aspect: 0.82:1 (portrait / vertical)
709
+ - Rendered size: 445×540px
710
+ - Alt text: "Image Accueil"
711
+ - *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
712
+
713
+ **Aspect Ratio Distribution:**
714
+ - Landscape (1.15–2.3): 7 (58%)
715
+ - Portrait (<0.87): 4 (33%)
716
+ - Square (0.87–1.15): 0 (0%)
717
+ - Ultra-wide (>2.3): 1 (8%)
718
+
719
+ **Media Format Mix:**
720
+ - JPG: 6 (typically photographic content)
721
+ - PNG: 6 (logos, transparent UI elements, mockups)
722
+
723
+ **Average rendered image size:** 333×340px
724
+ **Above-fold image count:** 3 / 12
725
+
726
+ **Decorative Patterns Detected:**
727
+ - 1 multi-stop linear gradient (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
728
+ - 1 radial gradient — circular color blooms used for spotlight/glow effects
729
+ - 5 background patterns (non-photo url() backgrounds) — textures/illustrations as backdrops
730
+
731
+ **Clone instruction for decorative work:** Decorative details are subtle — don't over-style; the design relies on restraint.
732
+
733
+ **Imagery Guidance for clones:**
734
+ - Mix photography and illustration intentionally: photos for product/context, vectors for icons + decorative accents.
735
+ - Respect the format split — replacing JPGs with illustrations (or vice versa) will shift the brand tone.
736
+
737
+ ## 10. Agent Prompt Guide
738
+
739
+ ### Quick Reference
740
+ - Background: Pure White (`#ffffff`)
741
+ - Primary text: #1b2888 (`#1b2888`)
742
+ - Accent: Gold (`#ffd700`)
743
+ - Border: Medium Gray (`#818181`)
744
+ - Font: Montserrat
745
+ - Body: 16px weight 400
746
+
747
+ ### Example Component Prompts
748
+ - "Create a hero section on Pure White background (#ffffff). Headline at 15px Montserrat weight 700, line-height 1.2, color #1b2888."
749
+ - "Create the primary CTA button: `#ffd700` background, `#ffffff` text, 30px border-radius, 10px 15px padding, 600 weight, Montserrat font."
750
+ - "Design a card on `transparent` background. Border: none. Radius: 0px. Shadow: none. Padding: 0px."
751
+ - "Build navigation: fixed on `#ffffff`. Montserrat 16px weight 400 for links."
752
+
753
+ ### Iteration Guide
754
+ 1. **Canvas**: Set the light canvas to Pure White (`#ffffff`) — every component is composited against this exact base.
755
+ 2. **Typography**: All type in Montserrat, weight range 400–700. Never exceed 700 — heavier weights break the brand's tonal restraint.
756
+ 3. **Accent**: Gold (`#ffd700`) is the sole interactive color. On hover → #1b2888 (`#1b2888`). Use CSS transitions, not opacity/brightness filters.
757
+ 4. **Shape**: CTAs at `0px`, cards at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
758
+ 5. **Spacing**: Use the `--ca-space-*` token scale (4px–48px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
759
+ 6. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
760
+
761
+ ## 11. CSS Design Tokens Raw Export
762
+
763
+ *Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
764
+
765
+ ```css
766
+ /* Colors */
767
+ :root {
768
+ --ca-background: #ffffff;
769
+ --ca-surface-1: #d5f3fb;
770
+ --ca-surface-2: #def6fe;
771
+ --ca-primary-hover: #1b2888;
772
+ --ca-ink-subtle: #6c757d;
773
+ --ca-primary: #ffd700;
774
+ --ca-on-primary: #111111;
775
+ --ca-primary-focus: #818181;
776
+ --ca-semantic-error: #dc3545;
777
+ --ca-semantic-success: #28a745;
778
+ --ca-semantic-warning: #ffc107;
779
+ --ca-semantic-info: #17a2b8;
780
+ }
781
+
782
+ /* Typography */
783
+ :root {
784
+ --ca-font-primary: "Montserrat", system-ui, sans-serif;
785
+ --ca-text-display: 35px;
786
+ --ca-text-body: 16px;
787
+ --ca-text-small: 36px;
788
+ --ca-text-caption: 16px;
789
+ --ca-text-button: 60px;
790
+ }
791
+
792
+ /* Spacing & Radius */
793
+ :root {
794
+ --ca-space-xxs: 2px;
795
+ --ca-space-xs: 4px;
796
+ --ca-space-sm: 8px;
797
+ --ca-space-md: 12px;
798
+ --ca-space-base: 16px;
799
+ --ca-space-lg: 40px;
800
+ --ca-space-xl: 48px;
801
+ --ca-space-2xl: 50px;
802
+ --ca-space-3xl: 78px;
803
+ --ca-radius-none: 0px;
804
+ --ca-radius-xs: 4px;
805
+ --ca-radius-sm: 10px;
806
+ --ca-radius-md: 10px;
807
+ --ca-radius-lg: 10px;
808
+ --ca-radius-xl: 30px;
809
+ --ca-radius-full: 9999px;
810
+ }
811
+ ```
812
+
813
+
814
+ ## 13. Page Structure Skeleton
815
+
816
+ *The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
817
+
818
+ ```yaml
819
+ page-skeleton:
820
+ - section: hero
821
+ tag: main
822
+ height: 5379px
823
+ width: full-bleed
824
+ layout: block
825
+ children: 7
826
+ tone: dark
827
+ - section: content-section
828
+ tag: div
829
+ height: 100px
830
+ width: full-bleed
831
+ layout: block
832
+ children: 2
833
+ tone: dark
834
+ - section: unknown
835
+ tag: div
836
+ classes: ["container-fluid", "shadow-sm"]
837
+ height: 100px
838
+ width: full-bleed
839
+ layout: block
840
+ children: 1
841
+ bg: "rgb(213, 243, 251)"
842
+ padding: "0px 15px"
843
+ - section: unknown
844
+ tag: div
845
+ classes: ["container", "nopadding"]
846
+ height: 100px
847
+ width: 1140px
848
+ layout: block
849
+ children: 1
850
+ tone: dark
851
+ padding: "0px 15px"
852
+ - section: feature-section
853
+ tag: div
854
+ classes: ["container-fluid", "mb-5"]
855
+ height: 500px
856
+ width: full-bleed
857
+ layout: block
858
+ children: 1
859
+ bg-treatment: radial-gradient
860
+ tone: dark
861
+ padding: "0px 15px"
862
+ - section: feature-section
863
+ tag: section
864
+ classes: ["bg_main", "mb-5"]
865
+ height: 3317px
866
+ width: full-bleed
867
+ layout: block
868
+ children: 8
869
+ bg-treatment: linear-gradient
870
+ tone: dark
871
+ - section: feature-section
872
+ tag: div
873
+ classes: ["container"]
874
+ height: 500px
875
+ width: 1140px
876
+ layout: block
877
+ children: 1
878
+ tone: dark
879
+ padding: "0px 15px"
880
+ - section: feature-section
881
+ tag: div
882
+ classes: ["container"]
883
+ height: 543px
884
+ width: 1140px
885
+ layout: block
886
+ children: 1
887
+ tone: dark
888
+ padding: "0px 15px"
889
+ - section: feature-section
890
+ tag: div
891
+ classes: ["container", "mt-5"]
892
+ height: 540px
893
+ width: 1140px
894
+ layout: block
895
+ children: 1
896
+ tone: dark
897
+ padding: "0px 15px"
898
+ - section: feature-section
899
+ tag: div
900
+ classes: ["container", "mt-5"]
901
+ height: 727px
902
+ width: 1140px
903
+ layout: block
904
+ children: 1
905
+ tone: dark
906
+ padding: "0px 15px"
907
+ - section: feature-section
908
+ tag: div
909
+ classes: ["container", "mt-5", "mb-5"]
910
+ height: 695px
911
+ width: 1140px
912
+ layout: block
913
+ children: 1
914
+ tone: dark
915
+ padding: "0px 15px"
916
+ - section: feature-section
917
+ tag: section
918
+ height: 818px
919
+ width: full-bleed
920
+ layout: block
921
+ children: 1
922
+ tone: dark
923
+ - section: feature-section
924
+ tag: div
925
+ classes: ["container", "mb-5", "mt-5"]
926
+ height: 818px
927
+ width: 1140px
928
+ layout: block
929
+ children: 3
930
+ tone: dark
931
+ padding: "0px 15px"
932
+ - section: feature-section
933
+ tag: section
934
+ height: 407px
935
+ width: full-bleed
936
+ layout: block
937
+ children: 1
938
+ tone: dark
939
+ - section: feature-section
940
+ tag: div
941
+ classes: ["container", "mb-5"]
942
+ height: 407px
943
+ width: 1140px
944
+ layout: block
945
+ children: 2
946
+ tone: dark
947
+ padding: "0px 15px"
948
+ - section: content-section
949
+ tag: section
950
+ height: 500px
951
+ width: full-bleed
952
+ layout: block
953
+ children: 1
954
+ tone: dark
955
+ - section: content-section
956
+ tag: div
957
+ classes: ["container-fluid"]
958
+ height: 500px
959
+ width: full-bleed
960
+ layout: block
961
+ children: 1
962
+ bg: "rgb(14, 9, 105)"
963
+ tone: dark
964
+ padding: "0px 15px"
965
+ - section: content-section
966
+ tag: div
967
+ classes: ["container"]
968
+ height: 500px
969
+ width: 1140px
970
+ layout: block
971
+ children: 1
972
+ tone: dark
973
+ padding: "0px 15px"
974
+ - section: footer
975
+ tag: footer
976
+ height: 354px
977
+ width: full-bleed
978
+ layout: block
979
+ children: 1
980
+ bg: "rgb(234, 234, 234)"
981
+ vertical-padding: ~25px
982
+ padding: "0px 0px 50px"
983
+ - section: content-section
984
+ tag: section
985
+ height: 304px
986
+ width: full-bleed
987
+ layout: block
988
+ children: 1
989
+ tone: dark
990
+ vertical-padding: ~24px
991
+ - section: content-section
992
+ tag: div
993
+ classes: ["container", "pt-5"]
994
+ height: 304px
995
+ width: 1140px
996
+ layout: block
997
+ children: 1
998
+ tone: dark
999
+ vertical-padding: ~24px
1000
+ padding: "48px 15px 0px"
1001
+ ```
1002
+
1003
+ **Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
1004
+
1005
+
1006
+ ## 14. Copy Library (Real Content from Source)
1007
+
1008
+ *Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
1009
+
1010
+ ```yaml
1011
+ copy:
1012
+ section-headings:
1013
+ - "Construis ton projet
1014
+ d'orientation en échangeant avec des pros et des étudiants !"
1015
+ - "Je trouve mon orientation"
1016
+ - "Je cherche un stage ou une alternance"
1017
+ - "Découvre nos dernières
1018
+ actualités"
1019
+ - "Explore nos communautés"
1020
+ sub-headings:
1021
+ - "Quels métiers
1022
+ sont faits pour toi ?"
1023
+ - "Dossiers, conseils : toutes les infos pour t'orienter sereinement !"
1024
+ - "Comment préparer un entretien de stage ou d’alternance ?"
1025
+ - "TOP 6 des secteurs où tu peux faire des métiers sans diplôme
1026
+
1027
+ Mis à jour le..."
1028
+ - "Rencontres inspirantes avec les Compagnons du Tour de France"
1029
+ - "Métier d’agréeur : 24h avec Jérôme"
1030
+ ctas:
1031
+ - "Mon orientation"
1032
+ - "S’engager"
1033
+ - "S'inscrire"
1034
+ - "Démarrer mon projet"
1035
+ - "Voir plus d'actualités"
1036
+ - "Rejoindre la communauté"
1037
+ navigation:
1038
+ - "Mon orientation"
1039
+ - "Test d’orientation métier"
1040
+ - "Comment s’orienter ?"
1041
+ - "Les métiers"
1042
+ - "Mentorat"
1043
+ - "Communauté d'entraide"
1044
+ - "Pros"
1045
+ - "Etudiants"
1046
+ - "Les entreprises"
1047
+ - "Les écoles"
1048
+ footer-links:
1049
+ - "Rejoindre la communauté"
1050
+ - "Qui est JobIRL ?"
1051
+ ```
1052
+
1053
+ **Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
1054
+
1055
+
1056
+ ## 15. Asset Inventory (Image Roles & Ratios)
1057
+
1058
+ *Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
1059
+
1060
+ ```yaml
1061
+ assets:
1062
+ logo:
1063
+ count: 3
1064
+ avg-ratio: 2.12
1065
+ common-aspect: "~16:9 landscape"
1066
+ sample-alts:
1067
+ - "Logo JobIRL"
1068
+ - "Stage et alternance mentorat"
1069
+ product:
1070
+ count: 4
1071
+ avg-ratio: 1.18
1072
+ common-aspect: "~1:1 square"
1073
+ sample-alts:
1074
+ - "Comment préparer un entretien de stage ou d’alternance ?"
1075
+ - "TOP 6 des secteurs où tu peux faire des métiers sans diplôme"
1076
+ - "Rencontres inspirantes avec les Compagnons du Tour de France"
1077
+ editorial:
1078
+ count: 1
1079
+ avg-ratio: 0.61
1080
+ common-aspect: "~9:16 portrait"
1081
+ sample-alts:
1082
+ - "Groupe 3"
1083
+ thumbnail:
1084
+ count: 5
1085
+ avg-ratio: 1.03
1086
+ common-aspect: "~1:1 square"
1087
+ sample-alts:
1088
+ - "Icon pouce"
1089
+ - "Icon caméra"
1090
+ ```
1091
+
1092
+ **Agent rule**: when generating placeholder images, match these counts and aspect ratios. Use neutral placeholder backgrounds for `product` (e.g. `#f5f5f5`), full-color photography hints for `hero` and `editorial`.
1093
+
1094
+
1095
+ ## 16. Component HTML Templates
1096
+
1097
+ *Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
1098
+
1099
+ ### Button (primary action)
1100
+ ```html
1101
+ <button class="btn btn-primary">
1102
+ ×
1103
+ </button>
1104
+ ```
1105
+ _Source pattern detected: padding `8px` · radius `0px` · weight `400`_
1106
+
1107
+ ### Generic Card
1108
+ ```html
1109
+ <div class="card">
1110
+ <!-- content -->
1111
+ </div>
1112
+ ```
1113
+ _Source pattern detected: padding `0px` · radius `0px` · shadow `none`_
1114
+
1115
+ **Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
1116
+
1117
+
1118
+ ## 12. Known Extraction Gaps
1119
+
1120
+ *Auto-detected limitations of this extraction — understand before building:*
1121
+
1122
+ - **Sparse component extraction** — fewer than 5 component types detected. Highly dynamic sections (modals, datepickers, carousels) require interaction to render and are not captured in a static pass.
1123
+
1124
+
1125
+ ---
1126
+ ## Extraction Completeness: 69/100 (C)
1127
+
1128
+ | Category | Score | Max | Detail |
1129
+ |----------|-------|-----|--------|
1130
+ | Colors & Palette | 18 | 25 | 13 named colors |
1131
+ | Typography | 20 | 20 | 11 roles defined |
1132
+ | Components | 12 | 20 | 3 specs extracted |
1133
+ | Motion & Interaction | 12 | 15 | Keyframes present |
1134
+ | CSS Custom Properties | 2 | 10 | 33 vars |
1135
+ | Responsive Breakpoints | 5 | 5 | 6 breakpoints |
1136
+ | Variable Fonts | 0 | 5 | None detected |
1137
+
1138
+ ## 12. Known Gaps & Confidence
1139
+
1140
+ Explicit list of what this extraction could NOT capture. Agents should not invent values for these — either skip the feature or use the documented baseline + heuristic fallback.
1141
+
1142
+ *✅ No critical extraction gaps detected — high-confidence reproduction expected.*
1143
+
1144
+ ### Per-section confidence
1145
+
1146
+ | Section | Confidence | Reason |
1147
+ |---------|------------|--------|
1148
+ | §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
1149
+ | §2 Colors | Medium | 33 CSS vars (semantic naming requires ≥20 for high) |
1150
+ | §3 Typography | High | 11 typography roles inferred |
1151
+ | §4 Components | Medium | 3 component variants captured |
1152
+ | §7 Motion | High | Keyframes + transitions |
1153
+ | §8 Do's/Don'ts | High | 20 rules generated; design-decisions.json has evidence per rule |
1154
+ | §9 Responsive | High | 6 breakpoints detected |
1155
+ | §9b Photography | High | 12 images, hero present |
1156
+
1157
+ ---
1158
+ *Generated by Prism — automated Playwright extraction + design analysis.*
1159
+ *Source: https://www.jobirl.com | 2026-05-31T05:55:44.354Z*
1160
+ *Values extracted via getComputedStyle() (rendered) + CSS custom properties (tokens, marked `(token)`). Token-only values may not be painted — verify against the live site before shipping.*