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,1178 @@
1
+ ---
2
+ version: alpha
3
+ name: careerexplorer.com
4
+ description: "Light product system built on #ffffff with #e3d661 as the primary CTA accent. Type anchored in pt-serif at 138px / weight 300. Extracted automatically from https://careerexplorer.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
5
+ narrative: |
6
+ careerexplorer.com is built on a pure-white canvas (rgb(255,255,255)).
7
+ The system uses rgb(227, 214, 97) as the accent for primary actions and brand signals.
8
+ Moderately rounded CTAs (8px) — modern SaaS standard, neither sharp nor pill alongside editorial serif type (pt-serif) — voice of authority.
9
+ Pt-serif is paired with Helvetica Neue for secondary roles.
10
+ A layered elevation system (6 distinct shadows) building a clear front-to-back hierarchy.
11
+ Motion is a first-class concern — 10 keyframe animations plus transition-driven interactions.
12
+
13
+ colors:
14
+ background: "#ffffff"
15
+ surface-1: "#f8f8f1"
16
+ surface-2: "rgba(248, 248, 241, 0.8)"
17
+ ink: "#242424"
18
+ primary: "#e3d661"
19
+ on-primary: "#111111"
20
+ primary-hover: "#86429a"
21
+ hairline: "#b1b1b1"
22
+
23
+ typography:
24
+ display-xl:
25
+ fontFamily: "pt-serif"
26
+ fontSize: 72px
27
+ fontWeight: 300
28
+ lineHeight: 1.05
29
+ letterSpacing: -0.9px
30
+ display-lg:
31
+ fontFamily: "aktiv-grotesk"
32
+ fontSize: 72px
33
+ fontWeight: 300
34
+ lineHeight: 1.05
35
+ letterSpacing: -0.9px
36
+ display-md:
37
+ fontFamily: "aktiv-grotesk"
38
+ fontSize: 16px
39
+ fontWeight: 500
40
+ lineHeight: 1.16
41
+ letterSpacing: -0.7px
42
+ headline:
43
+ fontFamily: "aktiv-grotesk"
44
+ fontSize: 56px
45
+ fontWeight: 300
46
+ lineHeight: 1.14
47
+ letterSpacing: -2px
48
+ body:
49
+ fontFamily: "aktiv-grotesk"
50
+ fontSize: 16px
51
+ fontWeight: 400
52
+ lineHeight: 1.6
53
+ letterSpacing: 0
54
+ body-sm:
55
+ fontFamily: "aktiv-grotesk"
56
+ fontSize: 14px
57
+ fontWeight: 400
58
+ lineHeight: 1.2
59
+ letterSpacing: 0
60
+ button:
61
+ fontFamily: "pt-serif"
62
+ fontSize: 16px
63
+ fontWeight: 400
64
+ lineHeight: 1.15
65
+ letterSpacing: 0
66
+ mono:
67
+ fontFamily: "aktiv-grotesk"
68
+ fontSize: 18px
69
+ fontWeight: 400
70
+ lineHeight: 1.2
71
+ letterSpacing: 0
72
+
73
+ rounded:
74
+ none: 0px
75
+ xs: 6px
76
+ sm: 8px
77
+ md: 8px
78
+ lg: 30px
79
+ xl: 30px
80
+ pill: 9999px
81
+
82
+ spacing:
83
+ xxs: 2px
84
+ xs: 8px
85
+ sm: 12px
86
+ md: 16px
87
+ lg: 24px
88
+ xl: 32px
89
+ xxl: 64px
90
+ section: 80px
91
+
92
+ components:
93
+ button-light--invert:
94
+ backgroundColor: "{colors.background}"
95
+ textColor: "#000000"
96
+ typography: "{typography.display-md}"
97
+ rounded: "{rounded.none}"
98
+ button-light--invert-2:
99
+ backgroundColor: "{colors.background}"
100
+ textColor: "{colors.ink}"
101
+ typography: "{typography.display-md}"
102
+ rounded: "{rounded.sm}"
103
+ padding: 10px 24px
104
+ button-light--invert-3:
105
+ backgroundColor: "{colors.background}"
106
+ textColor: "{colors.ink}"
107
+ typography: "{typography.display-md}"
108
+ rounded: "{rounded.sm}"
109
+ padding: 18px
110
+ input-text-input:
111
+ backgroundColor: "#f2f2f2"
112
+ textColor: "{colors.ink}"
113
+ typography: "{typography.mono}"
114
+ rounded: "{rounded.xs}"
115
+ padding: 0px 16px
116
+ navigation-main-nav:
117
+ backgroundColor: "transparent"
118
+ typography: "{typography.display-md}"
119
+ rounded: "{rounded.none}"
120
+ padding: 0px 16px
121
+
122
+ extracted_at: "2026-06-02T00:51:57.120Z"
123
+ completeness: 73
124
+ scoreVersion: "v2"
125
+
126
+ ---
127
+
128
+ # Design System — careerexplorer.com
129
+ > Extracted automatically by Prism from https://www.careerexplorer.com/career-test/
130
+ > Date: 2026-06-02
131
+ > Viewport: Desktop 1440x900 + Mobile 390x844
132
+ > 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).
133
+
134
+
135
+ ## 0. Design DNA
136
+
137
+ **Density**: moderate  |  **Motion**: expressive  |  **Weight**: medium  |  **Aesthetic**: editorial-minimal
138
+
139
+ | Dimension | Value | Signal |
140
+ |---|---|---|
141
+ | Canvas | neutral | `#ffffff` |
142
+ | Type posture | serif-led (pt-serif) | "Wildlife rehabilitator" |
143
+ | Color assertion | dual-accent | #e3d661 |
144
+ | Whitespace | moderate | section rhythm 48px |
145
+ | Interaction | expressive | 10 keyframes, 11 transitions |
146
+ | Radius language | 8px-rounded | from token scale |
147
+
148
+ **Prism fingerprint**: `neutral-canvas · serif-display · dual-accent · 8px-rounded · expressive-motion`
149
+
150
+ > **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
151
+ >
152
+ > - **Canvas**: `rgb(255,255,255)` is the page background. Every component composits against this.
153
+ > - **Accent**: `rgb(227, 214, 97)` for primary CTAs ONLY. Never decorative.
154
+ > - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
155
+ > - **Section rhythm**: 48px between major bands. Card padding: 24px.
156
+ > - **Default radius**: 8px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
157
+ >
158
+ > **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
159
+
160
+ ## 1. Visual Theme & Atmosphere
161
+
162
+ careerexplorer.com uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight.
163
+
164
+ Headlines are set in **pt-serif**, a serif display face (the dominant type signature, e.g. "Wildlife rehabilitator" at 138px). A second display voice — **aktiv-grotesk** (sans) — appears in lower bands (e.g. "Your dream career is waiting"), used for editorial accent. Body text is set in **aktiv-grotesk**. Headlines run at a remarkably light weight (300) — restraint over assertion, creating an editorial calm that invites reading rather than demanding it. Negative letter-spacing at display sizes (-0.9px at 72px) compresses headlines into engineered blocks, dense and precise.
165
+
166
+ Body text reads in Charcoal (`#242424`) — softened from pure black, a small but deliberate detail that lowers reading friction. **Citron** (`#e3d661`) 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.
167
+ Motion design uses smooth easing curves for polished state transitions.
168
+
169
+ **Key Characteristics:**
170
+ - Background: Pure White (`#ffffff`)
171
+ - Primary typeface: pt-serif
172
+ - Primary text: Charcoal (`#242424`)
173
+ - Accent: Citron (`#e3d661`)
174
+ - Display: 72px weight 300, letter-spacing -0.9px
175
+ - Shadow system: 6 distinct elevation levels
176
+ - Custom fonts loaded: pt-serif, aktiv-grotesk
177
+
178
+ ## 2. Color Palette & Roles
179
+
180
+ ### Background & Surface
181
+ - **Pure White** (`#ffffff`): Page background (primary)
182
+ - **Moon** (`#f8f8f1`): Surface / elevated background
183
+ - **Nimbus** (`#f2f2f2`): Surface / elevated background
184
+ - **Oberon** (`#e5e0ea`): Surface / elevated background
185
+
186
+ ### Text & Content
187
+ - **Charcoal** (`#242424`): Primary body text
188
+ - **Pure Black** (`#000000`): Secondary text
189
+ - **#0000ee** (`#0000ee`): Secondary text
190
+ - **Dusk** (`#393939`): Secondary text
191
+ - **Night** (`#161616`): Secondary text
192
+
193
+ ### Accent & Interactive
194
+ - **Pinecone** (`#5e5141`): Interactive / accent
195
+ - **Maple** (`#e4d5c6`): Interactive / accent
196
+ - **Sandstone** (`#7b6e61`): Interactive / accent
197
+ - **Citron** (`#e3d661`): Interactive / accent
198
+ - **Ultraviolet** (`#86429a`): Interactive / accent
199
+ - **Dijon** (`rgba(182, 137, 18, 0.3)`): Interactive / accent
200
+ - **Staff** (`#c35b8a`): Interactive / accent
201
+
202
+ ### Full Extracted Palette
203
+ **20 colors rendered on the page** + **17** more declared in design tokens (CSS custom properties — not necessarily painted). (16 categorized above + 21 additional below.)
204
+ Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
205
+
206
+ - `#b1b1b1` — Cloud
207
+ - `#1b1b1b` — Near Black
208
+ - `#ababa7` — Cool Gray
209
+ - `#7b338a` — #7b338a
210
+ - `#d05d45` — Tangerine *(token)*
211
+ - `#53777a` — Squidward *(token)*
212
+ - `#32d187` — Grass *(token)*
213
+ - `#91cdd2` — Poseidon *(token)*
214
+ - `#bb9cc5` — Lavender *(token)*
215
+ - `#e6f2f4` — Tiamat *(token)*
216
+ - `#663974` — Eggplant *(token)*
217
+ - `#462c67` — Plum *(token)*
218
+ - `#a36fb2` — Aster *(token)*
219
+ - `#e2bf96` — Rye *(token)*
220
+ - `#927e6b` — Ash *(token)*
221
+ - `rgba(77, 144, 254, 0.99)` — Translucent Ring Blue (99%) *(token)*
222
+ - `#12585f` — Plankton *(token)*
223
+ - `#636262` — Postmidnight *(token)*
224
+ - `#0b3d42` — Boreal *(token)*
225
+ - `#86b6ba` — Neptune *(token)*
226
+ - `#deb055` — Turmeric *(token)*
227
+
228
+ ### Gradients & Decorative Fills
229
+
230
+ - `linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3) 90%)` — (nav)
231
+
232
+ ### CSS Custom Properties (Design Tokens)
233
+
234
+ - `--fa-font-light`: `normal 300 1em/1 "Font Awesome 6 Light"`
235
+ - `--fa-font-thin`: `normal 100 1em/1 "Font Awesome 6 Thin"`
236
+ - `--fa-font-solid`: `normal 900 1em/1 "Font Awesome 6 Solid"`
237
+ - `--fa-font-regular`: `normal 400 1em/1 "Font Awesome 6 Regular"`
238
+ - `--fa-font-brands`: `normal 400 1em/1 "Font Awesome 6 Brands"`
239
+ - `--fa-font-duotone`: `normal 900 1em/1 "Font Awesome 6 Duotone"`
240
+ - `--color-night`: `#161616`
241
+ - `--color-tangerine`: `#d05d45`
242
+ - `--color-squidward`: `#53777a`
243
+ - `--color-grass`: `#32d187`
244
+ - `--color-poseidon`: `#91cdd2`
245
+ - `--color-lavender`: `#bb9cc5`
246
+ - `--color-dusk`: `#393939`
247
+ - `--color-citron`: `#e3d661`
248
+ - `--color-staff`: `#c35b8a`
249
+
250
+ ## 3. Typography Rules
251
+
252
+ ### Font Families
253
+ - **Primary**: `aktiv-grotesk`
254
+ - **Secondary**: `pt-serif`
255
+
256
+ ### Custom Fonts Loaded
257
+ - **pt-serif** weight 400 (normal)
258
+ - **pt-serif** weight 700 (normal)
259
+ - **aktiv-grotesk** weight 400 (normal)
260
+ - **aktiv-grotesk** weight 700 (normal)
261
+ - **aktiv-grotesk** weight 300 (normal)
262
+ - **aktiv-grotesk** weight 500 (normal)
263
+
264
+ ### Typography Hierarchy
265
+
266
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
267
+ |------|------|------|--------|-------------|----------------|-------|
268
+ | Display Hero | pt-serif | 72px | 300 | 1.05 | -0.9px | Main headline (h1) |
269
+ | Section Heading | aktiv-grotesk | 72px | 300 | 1.05 | -0.9px | Section titles (h1) |
270
+ | Label Heading | aktiv-grotesk | 56px | 300 | 1.14 | -2px | Small heading (H4) |
271
+ | Label Heading | aktiv-grotesk | 24px | 300 | 1.16 | -0.7px | Small heading (H5) |
272
+ | Input Large | aktiv-grotesk | 18px | 400 | 1.2 | normal | Form input (18px) |
273
+ | Sub-heading | aktiv-grotesk | 16px | 500 | 1.16 | -0.7px | Third-level heading (h3) |
274
+ | Body | aktiv-grotesk | 16px | 400 | 1.6 | normal | Standard reading text |
275
+ | Button Large | pt-serif | 16px | 400 | 1.15 | normal | Button label (16px) |
276
+ | Link | aktiv-grotesk | 14px | 400 | 1.2 | normal | Link (14px) — Decoration: none |
277
+ | Link Small | aktiv-grotesk | 12px | 400 | 1.6 | normal | Link (12px) — Decoration: underline |
278
+
279
+ ### Full Font Size Scale
280
+
281
+ Sizes detected in the design (descending): `160px`, `138px`, `88px`, `72px`, `56px`, `48px`, `32px`, `24px`, `22px`, `20px`, `18px`, `17.50px`, `16px`, `14px`, `12px`
282
+
283
+ > 8 size(s) detected outside the sampled hierarchy (160px, 138px, 88px, 48px, 32px, 22px, 20px, 17.5px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
284
+
285
+ ## 4. Component Stylings
286
+
287
+ ### Buttons
288
+
289
+ **Light / Invert**
290
+ - Background: `#ffffff` `{colors.background}`
291
+ - Text: `#000000`
292
+ - Padding: 0px
293
+ - Radius: 50%
294
+ - Shadow: `rgba(0, 0, 0, 0.11) 0px 0px 12px 0px`
295
+ - Font: 16px weight 400
296
+ - Use: Bright CTA on dark sections
297
+
298
+ **Light / Invert**
299
+ - Background: `#ffffff` `{colors.background}`
300
+ - Text: `#242424` `{colors.ink}`
301
+ - Padding: 10px 24px
302
+ - Radius: 8px
303
+ - Border: 1px solid rgb(177, 177, 177)
304
+ - Font: 16px weight 500
305
+ - Use: Bright CTA on dark sections
306
+
307
+ **Light / Invert**
308
+ - Background: `#ffffff` `{colors.background}`
309
+ - Text: `#242424` `{colors.ink}`
310
+ - Padding: 18px
311
+ - Radius: 8px
312
+ - Border: 1px solid rgb(177, 177, 177)
313
+ - Font: 16px weight 500
314
+ - Use: Bright CTA on dark sections
315
+
316
+ **Ghost**
317
+ - Background: `#000000`
318
+ - Text: `#ffffff` `{colors.background}`
319
+ - Padding: 16px 80px
320
+ - Radius: 8px
321
+ - Font: 16px weight 500
322
+ - Use: Subtle action, toolbar, nav button
323
+
324
+ **Light / Invert**
325
+ - Background: `#ffffff` `{colors.background}`
326
+ - Text: `#242424` `{colors.ink}`
327
+ - Padding: 18px 75px
328
+ - Radius: 8px
329
+ - Border: 1px solid rgb(177, 177, 177)
330
+ - Font: 16px weight 500
331
+ - Use: Bright CTA on dark sections
332
+
333
+ **Light / Invert**
334
+ - Background: `#ffffff` `{colors.background}`
335
+ - Text: `#242424` `{colors.ink}`
336
+ - Padding: 18px 45px
337
+ - Radius: 8px
338
+ - Border: 1px solid rgb(177, 177, 177)
339
+ - Font: 16px weight 500
340
+ - Use: Bright CTA on dark sections
341
+
342
+ ### Inputs & Forms
343
+
344
+ **Text Input**
345
+ - Background: `#f2f2f2`
346
+ - Text: `#242424` `{colors.ink}`
347
+ - Padding: 0px 16px
348
+ - Radius: 6px
349
+ - Border: 1px solid rgb(177, 177, 177)
350
+ - Font: 18px weight 400
351
+ - Use: Text fields, search inputs
352
+
353
+ ### Navigation
354
+
355
+ **Main Nav**
356
+ - Background: `transparent`
357
+ - Padding: 0px 16px
358
+ - Radius: none
359
+ - Font: 16px weight 400
360
+ - Use: Fixed/sticky flex nav — N/A items
361
+
362
+
363
+ ## 4b. Component Behaviors (State Matrix)
364
+
365
+ ### Interaction State Narrative
366
+
367
+ - **FooterLink**:
368
+ - **hover:** text #ffffff → #6b52f8
369
+
370
+ *State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
371
+
372
+ ```yaml
373
+ component-behaviors:
374
+ button:
375
+ default:
376
+ bg: "rgb(255, 255, 255)"
377
+ fg: "rgb(0, 0, 0)"
378
+ shadow: "rgba(0, 0, 0, 0.11) 0px 0px 12px 0px"
379
+ input:
380
+ default:
381
+ bg: "rgb(242, 242, 242)"
382
+ fg: "rgb(36, 36, 36)"
383
+ border: "1px solid rgb(177, 177, 177)"
384
+ link:
385
+ default:
386
+ bg: "rgba(0, 0, 0, 0)"
387
+ fg: "rgb(171, 171, 167)"
388
+ navLink:
389
+ default:
390
+ bg: "rgba(0, 0, 0, 0)"
391
+ fg: "rgb(0, 0, 238)"
392
+ footerLink:
393
+ default:
394
+ bg: "rgba(0, 0, 0, 0)"
395
+ fg: "rgb(255, 255, 255)"
396
+ hover:
397
+ bg: "rgba(0, 0, 0, 0)"
398
+ fg: "rgb(107, 82, 248)"
399
+ ```
400
+
401
+ **Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
402
+
403
+
404
+ ## 4c. Component Vocabulary (Closed System)
405
+
406
+ *This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
407
+
408
+ ### Buttons
409
+ - **2 shape(s)** in this system: `Light / Invert`, `Ghost`
410
+ - **DO NOT introduce new buttons variants** without justification
411
+
412
+ ### Inputs & Forms
413
+ - **1 shape(s)** in this system: `Text Input`
414
+ - **DO NOT introduce new inputs & forms variants** without justification
415
+
416
+ ### Navigation
417
+ - **1 shape(s)** in this system: `Main Nav`
418
+ - **DO NOT introduce new navigation variants** without justification
419
+
420
+ ## 5. Layout Principles
421
+
422
+ ### Layout Type
423
+ **top-nav + content**
424
+
425
+ ### Grid
426
+ Single column, centered content
427
+
428
+ ### Max Width
429
+ 1200px
430
+
431
+ ### Spacing System
432
+ Compact spacing — information density prioritized
433
+
434
+ | Token | Value |
435
+ |-------|-------|
436
+ | xxs | 2px |
437
+ | xs | 8px |
438
+ | sm | 12px |
439
+ | md | 16px |
440
+ | base | 20px |
441
+ | lg | 24px |
442
+ | xl | 32px |
443
+ | 2xl | 48px |
444
+ | 3xl | 64px |
445
+
446
+ ### Border Radius Scale
447
+ | Name | Value | Use |
448
+ |------|-------|-----|
449
+ | None | 0px | No rounding |
450
+ | Xs | 6px | Tiny corners (badges, micro elements) |
451
+ | Sm | 8px | Buttons, inputs, small elements |
452
+ | Md | 8px | Cards, containers |
453
+ | Lg | 30px | Large rounded elements, pill segments |
454
+ | Xl | 30px | Category strips, featured containers |
455
+ | Full | 9999px | Pills, avatars, circular elements |
456
+
457
+ ### Shape Language
458
+
459
+ | Component | Border Radius |
460
+ |-----------|---------------|
461
+ | Buttons | `50%` |
462
+ | Inputs & Forms | `6px` |
463
+ | Navigation | `none` |
464
+ | Page Body | `0px` |
465
+ | Primary Input | `6px` |
466
+
467
+ **Shape Personality**: Moderate Rounding — Medium corners (4–12px). Modern SaaS standard, neither sharp nor pill.
468
+
469
+ **Full Radius Spectrum**: 0px, 6px, 8px, 30px, 40px (from `allBorderRadii` scan)
470
+
471
+
472
+ ## 5b. Spacing Rhythm Names
473
+
474
+ **Measured section rhythm**: bands use ~128px vertical padding (up to 212px) — **very airy / premium**. Reproduce this generous vertical breathing room; cramped spacing is the #1 tell of a cheap clone.
475
+
476
+ *Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
477
+
478
+ | Name | Value | Use case |
479
+ |------|-------|----------|
480
+ | **hero** | `64px` | Top/bottom of full-bleed hero sections |
481
+ | **section** | `32px` | Between major bands (color change, content shift) |
482
+ | **subsection** | `24px` | Within a section, between content groups |
483
+ | **card** | `16px` | Card padding, list-item spacing |
484
+ | **compact** | `12px` | Form fields, tight clusters, badge padding |
485
+ | **micro** | `8px` | Icon-text gap, tag inner padding |
486
+
487
+ **Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
488
+
489
+ ## 5c. Widget & Structure Library
490
+
491
+ Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
492
+
493
+ **5/8 structural patterns detected.**
494
+
495
+ ### Hero Pattern
496
+
497
+ - **Composition:** split-left-text — Split layout, text-left/media-right — heading + body in left column, image/illustration in right column. Common for product showcases.
498
+ - **Viewport coverage:** full-viewport hero (≥70% screen height)
499
+ - **Heading:** "The world’s most powerful career test" — 72px left-aligned
500
+ - **Subheading:** "Using advanced machine learning, psychometrics, and career satisfaction data, we’ve reimagined what a career test can be."
501
+ - **Media:** present, positioned right
502
+ - **CTAs:** 1 (primary: "Start the career test")
503
+ - **Clone instruction:** Reproduce the **split-left-text** layout. Use the heading font-size token at the documented size. Place media right of text.
504
+
505
+ ### Navigation Pattern
506
+
507
+ - **Position:** static (scrolls with page)
508
+ - **Layout:** logo-left-links-left — Logo and links both on the left (CTAs typically right)
509
+ - **Height:** 72px
510
+ - **Logo:** ✓ present
511
+ - **Nav links:** 8 primary items
512
+ - **CTAs in nav:** 0 (no buttons — links only)
513
+ - **Clone instruction:** Build a static logo left links left navigation. Link-only — no button styling needed.
514
+
515
+ ### Card Grid Pattern
516
+
517
+ - **Card count:** 3 cards detected
518
+ - **Columns (desktop):** 1-up grid
519
+ - **Card dimensions:** 1312×873px (aspect 1.5:1)
520
+ - **Gap:** 0px between cards
521
+ - **Content:** ✓ image
522
+ - **Image position:** top
523
+ - **Clone instruction:** Build a 1-column grid (desktop) with cards at ~1.5:1 aspect ratio. Each card has an image at the top.
524
+
525
+ ### CTA Banner Pattern
526
+
527
+ - **Banner count:** 3
528
+ - **Position:** multiple
529
+ - **Visual treatment:** ✓ contrasting background
530
+ - **Primary CTA text:** "Find your career matches"
531
+ - **Clone instruction:** Place multiple CTA banners across page sections. Use contrasting solid background.
532
+
533
+ ### Footer Pattern
534
+
535
+ - **Columns:** 4
536
+ - **Links:** 19 total
537
+ - **Height:** 364px
538
+ - **Includes:** ✗ no newsletter | ✗ no social | ✓ copyright
539
+ - **Clone instruction:** Build a 4-column footer with ~5 links per column, and a copyright line.
540
+
541
+ ## 6. Depth & Elevation
542
+
543
+ | Level | Treatment | Use |
544
+ |-------|-----------|-----|
545
+ | Flat (Level 0) | No shadow | Page background, content blocks |
546
+ | Layered (Level 1) | <br>`rgba(0, 0, 0, 0.2) 0px 5px 5px 0px` | Cards, elevated surfaces |
547
+ | Layered (Level 2) | <br>`rgba(0, 0, 0, 0.11) 0px 0px 12px 0px` | Cards, elevated surfaces |
548
+ | Layered (Level 3) | <br>`rgba(0, 0, 0, 0.53) 0px 2px 12px 0px` | Cards, elevated surfaces |
549
+ | Layered (Level 4) | <br>`rgba(0, 0, 0, 0.26) 0px 2px 12px 0px` | Cards, elevated surfaces |
550
+
551
+ **Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
552
+
553
+ ## 7. Motion & Interaction
554
+
555
+ ### Dominant Easing Curves
556
+
557
+ | Curve | Semantic Name |
558
+ |-------|---------------|
559
+ | `ease-in` | Ease In — Accelerating |
560
+ | `ease` | CSS ease — Default |
561
+ | `linear` | Linear — No Easing |
562
+
563
+ ### Duration Scale
564
+
565
+ | Value | Tier | Typical Use |
566
+ |-------|------|-------------|
567
+ | `40ms` | Instant | State toggles, instant feedback |
568
+ | `200ms` | Normal | Panel open/close, navigation |
569
+ | `250ms` | Normal | Panel open/close, navigation |
570
+ | `300ms` | Normal | Panel open/close, navigation |
571
+ | `330ms` | Slow | Hero animations, page transitions |
572
+ | `400ms` | Slow | Hero animations, page transitions |
573
+
574
+ ### Copy-Paste Transition Snippets
575
+
576
+ **Shadow**
577
+ ```css
578
+ transition: box-shadow 0.33s, transform 0.33s;
579
+ ```
580
+
581
+ **Transform**
582
+ ```css
583
+ transition: transform 0.04s ease-in, font-size 0.04s ease-in;
584
+ ```
585
+
586
+ **All Props**
587
+ ```css
588
+ transition: 0.2s linear;
589
+ ```
590
+
591
+ **Color / Background**
592
+ ```css
593
+ transition: color 0.25s;
594
+ ```
595
+
596
+ ### Keyframe Animation Catalog
597
+
598
+ | Animation Name | Type | Animated Props | Use Hint |
599
+ |----------------|------|----------------|----------|
600
+ | `fa-beat` | Scale | transform | UI transition |
601
+ | `fa-bounce` | Scale | transform | Playful feedback |
602
+ | `fa-fade` | Fade | opacity | UI transition |
603
+ | `fa-beat-fade` | Fade + Move | opacity, transform | UI transition |
604
+ | `fa-flip` | Rotate / Spin | transform | UI transition |
605
+ | `fa-shake` | Rotate / Spin | transform | Error feedback |
606
+ | `fa-spin` | Rotate / Spin | transform | Loading indicator |
607
+ | `GlobalNavAnimateUp` | Fade + Move | opacity, transform | UI transition |
608
+ | `CareerTestHeaderDesktopSlideIn` | Fade + Move | opacity, transform | Panel / drawer enter |
609
+ | `CareerTestHeaderDesktopSlideUp` | Fade + Move | opacity, transform | Panel / drawer enter |
610
+
611
+ ### Motion Fingerprint
612
+
613
+ - **Speed Character**: Deliberate & Calm (median duration: `300ms`)
614
+ - **Dominant Easing**: custom cubic-bezier curves
615
+ - **Animation Library**: 10 unique animations (10 total including variants)
616
+
617
+ > This design moves with deliberate & calm timing using custom cubic-bezier curves, creating a UI that feels calm and controlled.
618
+
619
+ ## 8. Do's and Don'ts
620
+
621
+ ### Do
622
+ - Use Charcoal (`#242424`) for text — not pure black, it's warmer and more readable
623
+ - Use aktiv-grotesk as the primary typeface — it defines the brand personality
624
+ - Keep font weights between 400-500 — the system uses a narrow weight range for subtle hierarchy
625
+ - Use negative letter-spacing (-0.9px) at display sizes for compressed, editorial headlines
626
+ - Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
627
+ - Use Citron (`#e3d661`) as the primary accent — it's the brand's signature interactive color
628
+ - Use 8px border-radius on buttons — the standard corner rounding for interactive elements
629
+ - Style form inputs with a `1px solid rgb(177, 177, 177)` border — use border-based inputs, not floating labels or underline-only
630
+ - Maintain nav height at 72px — consistent vertical space for the navigation bar
631
+ - Make the hero full-viewport (≥70% screen height) — this design uses an immersive hero, not a tall navbar
632
+ - Build the hero as a split layout with media on the left — text and visual share equal weight
633
+ - Use a single primary CTA in the hero — the design intentionally avoids choice paralysis
634
+ - Each card includes a top image — imagery is part of the card identity, not optional
635
+ - Repeat the primary CTA across 3 banner sections — conversion paths are layered, not single
636
+
637
+ ### Don't
638
+ - Don't use pure black (`#000000`) for text — the near-black adds warmth
639
+ - Don't substitute with generic sans-serif or serif — the custom font carries the brand
640
+ - Don't use weight 700 (bold) or above — 500 is the maximum weight in this system
641
+ - Don't increase letter-spacing on headings — the type is designed to run tight at scale
642
+ - Don't invent new shadow values — use only the extracted shadow levels
643
+ - Don't introduce additional saturated accent colors — the palette is intentionally controlled
644
+ - Don't remove the input border — the border is the primary affordance indicator for form fields
645
+ - Don't collapse or hide the nav on scroll without an explicit scroll-triggered animation — the design uses fixed nav presence
646
+ - Don't make the nav sticky — this design lets it scroll away to maximize content focus
647
+ - Don't put a CTA button in the nav — this design uses links only at the top
648
+
649
+
650
+ ## 7b. Enforceable Brand Rules
651
+
652
+ *Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
653
+
654
+ ```yaml
655
+ rules:
656
+ - id: brand-canvas-001
657
+ type: do
658
+ rule: "Always use the page background `rgb(255,255,255)` as the base canvas"
659
+ why: "Every component is designed to composit against this exact tone"
660
+ test: "document.body.style.backgroundColor === 'rgb(255,255,255)'"
661
+ - id: brand-accent-001
662
+ type: do
663
+ rule: "Reserve `rgb(227, 214, 97)` for primary CTAs and brand-mark signals only"
664
+ why: "Single chromatic assertion device — overuse dilutes meaning"
665
+ test: "querySelectorAll('[style*=\"rgb(227, 214, 97)\"]').length <= 3 per fold"
666
+ ```
667
+
668
+ ## 9. Responsive Behavior
669
+
670
+ ### Breakpoints
671
+ | Name | Width | Key Changes |
672
+ |------|-------|-------------|
673
+ | Mobile | 350px | Single column, compact spacing |
674
+ | Mobile Large | 650px | Expanded mobile layout |
675
+ | Mobile Large | 767px | Expanded mobile layout |
676
+ | Tablet | 1024px | Multi-column grids begin |
677
+ | Desktop | 1110px | Full feature layout |
678
+ | Desktop | 1279px | Full feature layout |
679
+
680
+ ### Token Diff — Desktop vs Mobile
681
+
682
+ | Element | Property | Desktop | Mobile |
683
+ |---------|----------|---------|--------|
684
+ | heading | font-size | `72px` | `48px` |
685
+ | heading | line-height | `75.6px` | `50.4px` |
686
+ | nav | display | `flex` | `grid` |
687
+ | nav | padding | `0px 16px` | `8px 16px` |
688
+ | nav | height | `72px` | `58.1875px` |
689
+ | sidebar | width | `1440px` | `390px` |
690
+
691
+ ### Collapsing Strategy
692
+ - Headlines: 72px → 48px on mobile
693
+ - Navigation: flex → grid on mobile
694
+ - Cards: multi-column → stacked vertical on mobile
695
+ - Footer: multi-column → stacked single column on mobile
696
+
697
+ ### Touch Targets
698
+ - Buttons: 0px padding
699
+ - Navigation: adequate spacing between items
700
+ - Interactive elements: minimum 44px touch target recommended
701
+
702
+ ### Collapsing Narrative
703
+
704
+ How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
705
+
706
+ - **Hero collapses split-left-text → centered** — the side-by-side layout stacks vertically, with media moving above the text.
707
+ - **Navigation collapses to hamburger** — 8 links visible on desktop, 1 on mobile (the rest hide behind a menu toggle).
708
+
709
+
710
+ ## 7c. Visual Effects & Dynamic Behavior
711
+
712
+ *The live/dynamic layer beyond static CSS — reproduce these, not flat substitutes. This is often what separates a faithful clone from a wireframe.*
713
+
714
+ - **CSS-variable animations** (3) — animated custom properties.
715
+
716
+ > **Motion fingerprint**: standard CSS transitions only
717
+
718
+ ## 9b. Visual Tone & Photography
719
+
720
+ **Tone:** Illustration-driven
721
+
722
+ The site relies primarily on illustrations, vector art, and decorative SVG elements rather than photography. Use commissioned illustrations, icon sets, or generated graphics for clones — stock photos will feel off-brand.
723
+
724
+ **Hero Image (above-fold dominant visual):**
725
+ - Aspect: 1:1 (square / portrait)
726
+ - Rendered size: 56×56px
727
+ - Alt text: "Rapidly-advancing platform"
728
+ - *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
729
+
730
+ **Aspect Ratio Distribution:**
731
+ - Landscape (1.15–2.3): 0 (0%)
732
+ - Portrait (<0.87): 0 (0%)
733
+ - Square (0.87–1.15): 9 (100%)
734
+
735
+ **Media Format Mix:**
736
+ - PNG: 5 (logos, transparent UI elements, mockups)
737
+ - SVG: 5 (icons, illustrations, decorative geometry)
738
+
739
+ **Average rendered image size:** 105×105px
740
+ **Above-fold image count:** 0 / 9
741
+
742
+ **Decorative Patterns Detected:**
743
+ - 1 multi-stop linear gradient (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
744
+ - 2 radial gradients — circular color blooms used for spotlight/glow effects
745
+ - 1 large decorative SVG shape (≥200×200px, non-icon) — likely blob/illustration accents
746
+ - 6 background patterns (non-photo url() backgrounds) — textures/illustrations as backdrops
747
+
748
+ **Clone instruction for decorative work:** This is a gradient-rich design — invest in multi-stop CSS gradients (3+ color stops), not solid backgrounds.
749
+
750
+ **Imagery Guidance for clones:**
751
+ - Use vector illustration as the primary visual language — photos will read as off-brand.
752
+ - Maintain consistent illustration style (line weight, color palette) across the site.
753
+
754
+ ## 10. Agent Prompt Guide
755
+
756
+ ### Quick Reference
757
+ - Background: Pure White (`#ffffff`)
758
+ - Primary text: Charcoal (`#242424`)
759
+ - Accent: Citron (`#e3d661`)
760
+ - Border: Cloud (`#b1b1b1`)
761
+ - Font: aktiv-grotesk
762
+ - Body: 16px weight 400
763
+
764
+ ### Example Component Prompts
765
+ - "Create a hero section on Pure White background (#ffffff). Headline at 72px aktiv-grotesk weight 300, line-height 1.05, letter-spacing -0.9px, color #242424."
766
+ - "Create the primary CTA button: `#e3d661` background, `#000000` text, 50% border-radius, 12px 24px padding, 500 weight, aktiv-grotesk font."
767
+ - "Build navigation: absolute on `#ffffff`. aktiv-grotesk 16px weight 400 for links."
768
+
769
+ ### Iteration Guide
770
+ 1. **Canvas**: Set the light canvas to Pure White (`#ffffff`) — every component is composited against this exact base.
771
+ 2. **Typography**: All type in aktiv-grotesk, weight range 300–500. Never exceed 500 — heavier weights break the brand's tonal restraint.
772
+ 3. **Accent**: Citron (`#e3d661`) is the sole interactive color. On hover → Ultraviolet (`#86429a`). Use CSS transitions, not opacity/brightness filters.
773
+ 4. **Shape**: CTAs at `8px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
774
+ 5. **Spacing**: Use the `--ca-space-*` token scale (8px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
775
+ 6. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
776
+
777
+ ## 11. CSS Design Tokens Raw Export
778
+
779
+ *Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
780
+
781
+ ```css
782
+ /* Colors */
783
+ :root {
784
+ --ca-background: #ffffff;
785
+ --ca-surface-2: #f8f8f1;
786
+ --ca-ink: #242424;
787
+ --ca-primary: #e3d661;
788
+ --ca-on-primary: #111111;
789
+ --ca-primary-hover: #86429a;
790
+ --ca-hairline: #b1b1b1;
791
+ }
792
+
793
+ /* Typography */
794
+ :root {
795
+ --ca-font-primary: "pt-serif", system-ui, sans-serif;
796
+ --ca-text-display: 72px;
797
+ --ca-text-heading: 72px;
798
+ --ca-text-body: 16px;
799
+ --ca-text-small: 14px;
800
+ --ca-text-button: 16px;
801
+ --ca-text-mono: 18px;
802
+ }
803
+
804
+ /* Spacing & Radius */
805
+ :root {
806
+ --ca-space-xxs: 2px;
807
+ --ca-space-xs: 8px;
808
+ --ca-space-sm: 12px;
809
+ --ca-space-md: 16px;
810
+ --ca-space-base: 20px;
811
+ --ca-space-lg: 24px;
812
+ --ca-space-xl: 32px;
813
+ --ca-space-2xl: 48px;
814
+ --ca-space-3xl: 64px;
815
+ --ca-radius-none: 0px;
816
+ --ca-radius-xs: 6px;
817
+ --ca-radius-sm: 8px;
818
+ --ca-radius-md: 8px;
819
+ --ca-radius-lg: 30px;
820
+ --ca-radius-xl: 30px;
821
+ --ca-radius-full: 9999px;
822
+ }
823
+ ```
824
+
825
+
826
+ ## 13. Page Structure Skeleton
827
+
828
+ *The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
829
+
830
+ ```yaml
831
+ page-skeleton:
832
+ - section: hero
833
+ tag: div
834
+ height: 13429px
835
+ width: full-bleed
836
+ layout: block
837
+ children: 9
838
+ tone: dark
839
+ vertical-padding: ~164px (airy)
840
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
841
+ - section: header
842
+ tag: section
843
+ height: 900px
844
+ width: full-bleed
845
+ layout: grid: 4-col gap=24px
846
+ children: 3
847
+ bg: "rgb(57, 57, 57)"
848
+ tone: dark
849
+ vertical-padding: ~129px (airy)
850
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
851
+ padding: "167px 0px 91px 64px"
852
+ - section: header
853
+ tag: section
854
+ height: 125px
855
+ width: 676px
856
+ layout: flex-row justify=normal
857
+ children: 3
858
+ tone: dark
859
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
860
+ - section: feature-section
861
+ tag: div
862
+ height: 559px
863
+ width: full-bleed
864
+ layout: grid: 4-col gap=24px
865
+ children: 2
866
+ tone: dark
867
+ vertical-padding: ~75px (generous)
868
+ padding: "150px 64px 0px"
869
+ - section: feature-section
870
+ tag: section
871
+ classes: ["lazyloaded"]
872
+ height: 4456px
873
+ width: full-bleed
874
+ layout: block
875
+ children: 4
876
+ bg: "rgb(248, 248, 241)"
877
+ bg-treatment: image
878
+ vertical-padding: ~172px (airy)
879
+ - section: content-section
880
+ tag: div
881
+ height: 841px
882
+ width: 1312px
883
+ layout: grid: 4-col gap=24px
884
+ children: 2
885
+ tone: dark
886
+ vertical-padding: ~100px (airy)
887
+ padding: "0px 0px 200px"
888
+ - section: unknown
889
+ tag: div
890
+ height: 889px
891
+ width: 1312px
892
+ layout: grid: 4-col gap=24px
893
+ children: 2
894
+ tone: dark
895
+ vertical-padding: ~100px (airy)
896
+ padding: "0px 0px 200px"
897
+ - section: card-grid
898
+ tag: div
899
+ height: 888px
900
+ width: 1312px
901
+ layout: grid: 4-col gap=24px
902
+ children: 3
903
+ tone: dark
904
+ vertical-padding: ~100px (airy)
905
+ padding: "0px 0px 200px"
906
+ - section: content-section
907
+ tag: div
908
+ classes: ["CareerTest__features__four-dimensions"]
909
+ height: 1269px
910
+ width: full-bleed
911
+ layout: grid: 4-col gap=24px
912
+ children: 2
913
+ tone: dark
914
+ vertical-padding: ~32px
915
+ padding: "0px 64px 64px"
916
+ - section: feature-section
917
+ tag: section
918
+ height: 775px
919
+ width: full-bleed
920
+ layout: block
921
+ children: 1
922
+ bg: "rgb(57, 57, 57)"
923
+ tone: dark
924
+ vertical-padding: ~160px (airy)
925
+ padding: "160px 64px"
926
+ - section: feature-section
927
+ tag: section
928
+ classes: ["CareerTest__how-it-works"]
929
+ height: 860px
930
+ width: full-bleed
931
+ layout: grid: 4-col gap=24px
932
+ children: 4
933
+ bg: "rgb(248, 248, 241)"
934
+ vertical-padding: ~150px (airy)
935
+ padding: "140px 64px 160px"
936
+ - section: feature-section
937
+ tag: section
938
+ height: 1543px
939
+ width: full-bleed
940
+ layout: grid: 4-col gap=24px
941
+ children: 4
942
+ bg: "rgb(248, 248, 241)"
943
+ vertical-padding: ~60px (generous)
944
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
945
+ padding: "120px 64px 0px"
946
+ - section: feature-section
947
+ tag: section
948
+ height: 1057px
949
+ width: full-bleed
950
+ layout: block
951
+ children: 5
952
+ bg: "rgb(248, 248, 241)"
953
+ vertical-padding: ~120px (airy)
954
+ padding: "120px 0px"
955
+ - section: feature-section
956
+ tag: div
957
+ height: 160px
958
+ width: 4834px
959
+ layout: flex-row justify=normal
960
+ children: 1
961
+ tone: dark
962
+ - section: feature-section
963
+ tag: div
964
+ height: 160px
965
+ width: 5005px
966
+ layout: flex-row justify=normal
967
+ children: 1
968
+ tone: dark
969
+ - section: feature-section
970
+ tag: div
971
+ height: 160px
972
+ width: 5246px
973
+ layout: flex-row justify=normal
974
+ children: 1
975
+ tone: dark
976
+ - section: faq
977
+ tag: section
978
+ height: 2786px
979
+ width: full-bleed
980
+ layout: grid: 4-col gap=24px
981
+ children: 3
982
+ bg: "rgb(248, 248, 241)"
983
+ vertical-padding: ~88px (generous)
984
+ padding: "48px 64px 128px"
985
+ - section: faq
986
+ tag: div
987
+ height: 2245px
988
+ width: 978px
989
+ layout: block
990
+ children: 3
991
+ tone: dark
992
+ vertical-padding: ~128px (airy)
993
+ - section: navigation
994
+ tag: nav
995
+ height: 2245px
996
+ width: 310px
997
+ layout: block
998
+ children: 1
999
+ tone: dark
1000
+ - section: feature-section
1001
+ tag: section
1002
+ height: 479px
1003
+ width: full-bleed
1004
+ layout: block
1005
+ children: 1
1006
+ bg: "rgb(57, 57, 57)"
1007
+ tone: dark
1008
+ vertical-padding: ~160px (airy)
1009
+ - section: feature-section
1010
+ tag: section
1011
+ height: 692px
1012
+ width: full-bleed
1013
+ layout: block
1014
+ children: 2
1015
+ bg: "rgb(229, 224, 234)"
1016
+ vertical-padding: ~212px (airy)
1017
+ - section: feature-section
1018
+ tag: div
1019
+ height: 692px
1020
+ width: full-bleed
1021
+ layout: grid: 4-col gap=24px
1022
+ children: 3
1023
+ tone: dark
1024
+ vertical-padding: ~212px (airy)
1025
+ padding: "254px 64px 169px"
1026
+ - section: footer
1027
+ tag: footer
1028
+ classes: ["global-footer"]
1029
+ height: 364px
1030
+ width: full-bleed
1031
+ layout: grid: 4-col gap=20px
1032
+ children: 4
1033
+ bg: "rgb(22, 22, 22)"
1034
+ tone: dark
1035
+ vertical-padding: ~70px (generous)
1036
+ padding: "70px 42px"
1037
+ ```
1038
+
1039
+ **Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
1040
+
1041
+
1042
+ ## 14. Copy Library (Real Content from Source)
1043
+
1044
+ *Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
1045
+
1046
+ ```yaml
1047
+ copy:
1048
+ section-headings:
1049
+ - "BY THE NUMBERS"
1050
+ - "Discover your top career matches using CareerExplorer’s cutting-edge science"
1051
+ - "Whether you’re pursuing education, in the early career stages of your career, pivoting to a new path"
1052
+ - "How our career test works"
1053
+ - "What makes us unique"
1054
+ - "Engineer"
1055
+ sub-headings:
1056
+ - "Rapidly-advancing platform"
1057
+ - "GET PERSONALIZED RECOMMENDATIONS"
1058
+ - "Measure who you are"
1059
+ - "Questions we receive"
1060
+ - "© SOKANU INTERACTIVE INC. 2026"
1061
+ ctas:
1062
+ - "Take the
1063
+  free 
1064
+ test"
1065
+ - "Start the career test"
1066
+ - "Find your career matches"
1067
+ - "Let’s get started"
1068
+ - "Discover your matches"
1069
+ - "Manage Cookie Settings"
1070
+ navigation:
1071
+ - "CareerExplorer"
1072
+ - "Home"
1073
+ - "Career Test"
1074
+ - "For Organizations"
1075
+ - "Careers"
1076
+ - "Degrees"
1077
+ - "Community"
1078
+ - "More"
1079
+ - "Jobs"
1080
+ - "Blog"
1081
+ footer-links:
1082
+ - "Blog"
1083
+ ```
1084
+
1085
+ **Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
1086
+
1087
+
1088
+ ## 15. Asset Inventory (Image Roles & Ratios)
1089
+
1090
+ *Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
1091
+
1092
+ ```yaml
1093
+ assets:
1094
+ logo:
1095
+ count: 1
1096
+ avg-ratio: 4.00
1097
+ common-aspect: "~16:6 banner"
1098
+ sample-alts:
1099
+ - "Sokanu"
1100
+ product:
1101
+ count: 1
1102
+ avg-ratio: 1.00
1103
+ common-aspect: "~1:1 square"
1104
+ sample-alts:
1105
+ - "Four Dimensions"
1106
+ thumbnail:
1107
+ count: 8
1108
+ avg-ratio: 1.00
1109
+ common-aspect: "~1:1 square"
1110
+ sample-alts:
1111
+ - "Rapidly-advancing platform"
1112
+ - "Comprehensive model"
1113
+ - "Intelligent enhancements"
1114
+ ```
1115
+
1116
+ **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`.
1117
+
1118
+
1119
+ ## 16. Component HTML Templates
1120
+
1121
+ *Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
1122
+
1123
+ ### Button (primary action)
1124
+ ```html
1125
+ <button class="btn btn-primary">
1126
+ Take the
1127
+  free 
1128
+ test
1129
+ </button>
1130
+ ```
1131
+ _Source pattern detected: padding `10px 24px` · radius `8px` · weight `500`_
1132
+
1133
+ **Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
1134
+
1135
+
1136
+ ## 12. Known Extraction Gaps
1137
+
1138
+ *Auto-detected limitations of this extraction — understand before building:*
1139
+
1140
+ - **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.
1141
+
1142
+
1143
+ ---
1144
+ ## Extraction Completeness: 73/100 (C)
1145
+
1146
+ | Category | Score | Max | Detail |
1147
+ |----------|-------|-----|--------|
1148
+ | Colors & Palette | 22 | 25 | 16 named colors |
1149
+ | Typography | 20 | 20 | 10 roles defined |
1150
+ | Components | 12 | 20 | 3 specs extracted |
1151
+ | Motion & Interaction | 12 | 15 | Keyframes present |
1152
+ | CSS Custom Properties | 2 | 10 | 39 vars |
1153
+ | Responsive Breakpoints | 5 | 5 | 6 breakpoints |
1154
+ | Variable Fonts | 0 | 5 | None detected |
1155
+
1156
+ ## 12. Known Gaps & Confidence
1157
+
1158
+ 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.
1159
+
1160
+ *✅ No critical extraction gaps detected — high-confidence reproduction expected.*
1161
+
1162
+ ### Per-section confidence
1163
+
1164
+ | Section | Confidence | Reason |
1165
+ |---------|------------|--------|
1166
+ | §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
1167
+ | §2 Colors | Medium | 39 CSS vars (semantic naming requires ≥20 for high) |
1168
+ | §3 Typography | High | 10 typography roles inferred |
1169
+ | §4 Components | Medium | 3 component variants captured |
1170
+ | §7 Motion | High | Keyframes + transitions |
1171
+ | §8 Do's/Don'ts | High | 24 rules generated; design-decisions.json has evidence per rule |
1172
+ | §9 Responsive | High | 6 breakpoints detected |
1173
+ | §9b Photography | High | 9 images, hero present |
1174
+
1175
+ ---
1176
+ *Generated by Prism — automated Playwright extraction + design analysis.*
1177
+ *Source: https://www.careerexplorer.com/career-test/ | 2026-06-02T00:51:57.142Z*
1178
+ *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.*