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,996 @@
1
+ ---
2
+ version: alpha
3
+ name: instagram.com
4
+ description: "Light product system built on #ffffff with #4150f7 as the primary CTA accent. Type anchored in -apple-system at 24px / weight 700. Extracted automatically from https://instagram.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
5
+ narrative: |
6
+ instagram.com is built on a pure-white canvas (rgb(255, 255, 255)).
7
+ The system uses rgb(65, 80, 247) as the high-saturation accent for primary actions.
8
+ Sharp 0px corners on CTAs — architectural restraint, engineering precision alongside -apple-system as the primary typeface.
9
+ Depth comes from borders and surface contrast rather than shadows — a flat, structural elevation model.
10
+ Motion is a first-class concern — 148 keyframe animations plus transition-driven interactions.
11
+
12
+ colors:
13
+ background: "#ffffff"
14
+ surface-1: "#f3f5f7"
15
+ surface-2: "#efefef"
16
+ ink-muted: "#262626"
17
+ ink-subtle: "#8e8e8e"
18
+ primary: "#4150f7"
19
+ on-primary: "#ffffff"
20
+ primary-hover: "#4a5df9"
21
+ hairline: "rgba(43, 48, 54, 0.8)"
22
+ accent-glow: "#65676b"
23
+ semantic-success: "#31a24c"
24
+
25
+ typography:
26
+ display-xl:
27
+ fontFamily: "Instagram Sans Condensed"
28
+ fontSize: 24px
29
+ fontWeight: 700
30
+ lineHeight: normal
31
+ letterSpacing: 0
32
+ body:
33
+ fontFamily: "Instagram Sans Condensed"
34
+ fontSize: 14px
35
+ fontWeight: 400
36
+ lineHeight: 1.29
37
+ letterSpacing: 0
38
+ body-sm:
39
+ fontFamily: "Instagram Sans Condensed"
40
+ fontSize: 14px
41
+ fontWeight: 600
42
+ lineHeight: 1.29
43
+ letterSpacing: 0
44
+ button:
45
+ fontFamily: "Instagram Sans Condensed"
46
+ fontSize: 14px
47
+ fontWeight: 500
48
+ lineHeight: 1.29
49
+ letterSpacing: 0
50
+ mono:
51
+ fontFamily: "Instagram Sans Condensed"
52
+ fontSize: 12px
53
+ fontWeight: 400
54
+ lineHeight: normal
55
+ letterSpacing: 0
56
+
57
+ rounded:
58
+ none: 0px
59
+ xs: 2px
60
+ sm: 8px
61
+ md: 12px
62
+ lg: 20px
63
+ xl: 32px
64
+ pill: 9999px
65
+
66
+ spacing:
67
+ xxs: 2px
68
+ xs: 8px
69
+ sm: 16px
70
+ md: 12px
71
+ lg: 24px
72
+ xl: 32px
73
+ xxl: 64px
74
+ section: 80px
75
+
76
+ components:
77
+ button-icon-button:
78
+ backgroundColor: "transparent"
79
+ textColor: "#000000"
80
+ typography: "{typography.body}"
81
+ rounded: "{rounded.none}"
82
+ padding: 8px
83
+ button-ghost:
84
+ backgroundColor: "transparent"
85
+ textColor: "#000000"
86
+ typography: "{typography.body}"
87
+ rounded: "{rounded.none}"
88
+ padding: 16px 8px
89
+ button-ghost-2:
90
+ backgroundColor: "transparent"
91
+ textColor: "#3143e3"
92
+ typography: "{typography.body}"
93
+ rounded: "{rounded.xs}"
94
+
95
+ extracted_at: "2026-05-31T05:50:51.014Z"
96
+ completeness: 69
97
+ scoreVersion: "v2"
98
+
99
+ ---
100
+
101
+ # Design System — instagram.com
102
+ > Extracted automatically by Prism from https://www.instagram.com/p/DY936iSjPPd/
103
+ > Date: 2026-05-31
104
+ > Viewport: Desktop 1440x900 + Mobile 390x844
105
+ > 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).
106
+
107
+ > **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
108
+ >
109
+ > - **Canvas**: `rgb(255, 255, 255)` is the page background. Every component composits against this.
110
+ > - **Accent**: `rgb(65, 80, 247)` for primary CTAs ONLY. Never decorative.
111
+ > - **Body type**: 14px (token: `typography.body`). Default for ALL text not in a heading role.
112
+ > - **Section rhythm**: 48px between major bands. Card padding: 24px.
113
+ > - **Default radius**: 8px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
114
+ > - **Forbidden**: Do NOT introduce heavy box-shadows — this system relies on borders for separation
115
+ >
116
+ > **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
117
+
118
+ ## 1. Visual Theme & Atmosphere
119
+
120
+ instagram.com uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight.
121
+
122
+ Headlines are set in **-apple-system**, a sans-serif display face (the dominant type signature, e.g. "Ne manquez aucune publication de rondesignlab" at 24px). Body text is set in **Roboto**.
123
+
124
+ Body text reads in Pure Black (`#000000`) (contrast ratio 21.0:1, well above WCAG AA). **Deep Purple** (`#4150f7`) 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. Shadow is absent by design — depth is conveyed through borders, spacing, and color differentiation rather than light simulation.
125
+ Motion design uses smooth easing curves for polished state transitions.
126
+
127
+ **Key Characteristics:**
128
+ - Background: Pure White (`#ffffff`)
129
+ - Primary typeface: Instagram Sans Condensed
130
+ - Accent: Deep Purple (`#4150f7`)
131
+ - Custom fonts loaded: Instagram Sans Condensed, Instagram Sans Condensed Regular, Instagram Sans, Segoe UI Historic, Fix for Mac Chrome 80, Optimistic Text Light, Optimistic Text Light Swap, Optimistic Text Normal, Optimistic Text Normal Swap, Optimistic Text Medium, Optimistic Text Medium Swap, Optimistic Text Bold, Optimistic Text Bold Swap, Optimistic Text ExtraBold, Optimistic Text ExtraBold Swap, Optimistic Text Viet Light, Optimistic Text Viet Light Swap, Optimistic Text Viet Normal, Optimistic Text Viet Normal Swap, Optimistic Text Viet Bold, Optimistic Text Viet Bold Swap, Optimistic Text Arbc Light, Optimistic Text Arbc Light Swap, Optimistic Text Arbc Normal, Optimistic Text Arbc Normal Swap, Optimistic Text Arbc Bold, Optimistic Text Arbc Bold Swap, Optimistic Display Light, Optimistic Display Light Swap, Optimistic Display Medium, Optimistic Display Medium Swap, Optimistic Display Semibold, Optimistic Display Semibold Swap, Optimistic Display Bold, Optimistic Display Bold Swap, Optimistic Display Viet Light, Optimistic Display Viet Light Swap, Optimistic Display Viet Medium, Optimistic Display Viet Medium Swap, Optimistic Display Viet Bold, Optimistic Display Viet Bold Swap, Optimistic Display Arbc Light, Optimistic Display Arbc Light Swap, Optimistic Display Arbc Medium, Optimistic Display Arbc Medium Swap, Optimistic Display Arbc Bold, Optimistic Display Arbc Bold Swap, Optimistic, Optimistic DM, Optimistic 95
132
+
133
+ ## 2. Color Palette & Roles
134
+
135
+ ### Background & Surface
136
+ - **Pure White** (`#ffffff`): Page background (primary)
137
+ - **Light Gray** (`#f3f5f7`): Surface / elevated background
138
+ - **#dbdbdb** (`#dbdbdb`): Surface / elevated background
139
+ - **Light Gray** (`#efefef`): Surface / elevated background
140
+ - **Light Gray** (`#dadde1`): Surface / elevated background
141
+
142
+ ### Text & Content
143
+ - **Pure Black** (`#000000`): Primary body text
144
+ - **Text Badge Success Background** (`#31a24c`): Text (CSS var)
145
+ - **Text Highlight** (`rgba(24, 119, 242, 0.2)`): Text (CSS var)
146
+ - **Text Badge Critical Background** (`#e41e3f`): Text (CSS var)
147
+ - **Translucent Charcoal (80%)** (`rgba(43, 48, 54, 0.8)`): Secondary text
148
+
149
+ ### Accent & Interactive
150
+ - **Primary Button Background** (`#0095f6`): Accent / interactive (CSS var)
151
+ - **Primary Web Focus Indicator** (`#d24294`): Accent / interactive (CSS var)
152
+ - **Primary Icon** (`#262626`): Accent / interactive (CSS var)
153
+ - **Primary Button Pressed** (`#77a7ff`): Accent / interactive (CSS var)
154
+ - **Deep Purple** (`#4150f7`): Interactive / accent
155
+ - **Brand Indigo** (`#4a5df9`): Interactive / accent
156
+ - **#3143e3** (`#3143e3`): Interactive / accent
157
+
158
+ ### Border & Divider
159
+ - **Border Focused** (`#65676b`): Border (CSS var)
160
+ - **Divider On Color** (`#ced0d4`): Border (CSS var)
161
+ - **Silver** (`#ccd0d5`): Borders / dividers
162
+
163
+ ### Full Extracted Palette
164
+ **17 colors rendered on the page** + **161** more declared in design tokens (CSS custom properties — not necessarily painted). (20 categorized above + 158 additional below.)
165
+ Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
166
+
167
+ - `rgba(12, 16, 20, 0.7)` — Translucent Jet Black (70%)
168
+ - `#737373` — Stone
169
+ - `#00376b` — #00376b
170
+ - `#1c1e21` — Near Black
171
+ - `#483b0c` — #483b0c *(token)*
172
+ - `rgba(68, 73, 80, 0.15)` — Translucent Dark Gray (15%) *(token)*
173
+ - `#fff6a1` — Vibrant Yellow *(token)*
174
+ - `#2851a3` — #2851a3 *(token)*
175
+ - `#5e310e` — Chocolate *(token)*
176
+ - `#0866ff` — #0866ff *(token)*
177
+ - `#1a441b` — #1a441b *(token)*
178
+ - `#00987c` — #00987c *(token)*
179
+ - `#080809` — Pure Black *(token)*
180
+ - `#ff66bf` — Hot Pink *(token)*
181
+ - `#147b29` — Forest Green *(token)*
182
+ - `rgba(45, 136, 255, 0.1)` — Translucent Ring Blue (10%) *(token)*
183
+ - `rgba(190, 195, 201, 0.2)` — Translucent Silver (20%) *(token)*
184
+ - `#4507a9` — #4507a9 *(token)*
185
+ - `#f0f2f5` — Light Gray *(token)*
186
+ - `#fef2d1` — Beige *(token)*
187
+ - `#cdcfd1` — Silver *(token)*
188
+ - `#fb724b` — Coral *(token)*
189
+ - `#043b72` — #043b72 *(token)*
190
+ - `#0a4438` — #0a4438 *(token)*
191
+ - `#1c1c1c` — Near Black *(token)*
192
+ - `#1455b0` — Cobalt Blue *(token)*
193
+ - `#e7f3ff` — Light Gray *(token)*
194
+ - `#ccd3db` — Light Blue *(token)*
195
+ - `#5d2e04` — Chocolate *(token)*
196
+ - `#d2f0ea` — Light Gray *(token)*
197
+ - `#0a1317` — Jet Black *(token)*
198
+ - `#fcdec5` — Vibrant Yellow *(token)*
199
+ - *…+126 more in `raw-css.json` (`desktop.allColors`).*
200
+
201
+ ### Gradients & Decorative Fills
202
+
203
+ - `linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.6))` — (--always-dark-gradient)
204
+ - `linear-gradient(to top, #FFFFFF, rgba(255,255,255.9), rgba(255,255,255,.7), rgba(255,255,255,.4), rg…` — (--nav-bar-background-gradient)
205
+ - `linear-gradient(to top, #F0F2F5, rgba(240,242,245.9), rgba(240,242,245,.7), rgba(240,242,245,.4), rg…` — (--nav-bar-background-gradient-wash)
206
+
207
+ ### CSS Custom Properties (Design Tokens)
208
+
209
+ **Font Size Token**
210
+ - `--system-26-font-size`: `26px`
211
+ - `--system-13-font-size`: `12px`
212
+ - `--text-input-field-font-size`: `1rem`
213
+ - `--system-18-font-size`: `18px`
214
+
215
+ **Border Radius Token**
216
+ - `--card-corner-radius`: `4px`
217
+ - `--button-corner-radius-large`: `12px`
218
+ - `--live-video-border-radius`: `4px`
219
+ - `--igds-dialog-border-radius`: `24px`
220
+
221
+ **Spacing Token**
222
+ - `--creation-padding-y`: `112px`
223
+ - `--chat-bubble-padding-vertical`: `8px`
224
+ - `--messenger-card-spacing`: `16px`
225
+ - `--polaris-site-padding-top`: `30px`
226
+
227
+ **Font Family Token**
228
+ - `--font-family-default`: `Helvetica, Arial, sans-serif`
229
+ - `--font-family-segoe`: `Segoe UI Historic, Segoe UI, Helvetica, Arial, sans-serif`
230
+ - `--font-family-code`: `ui-monospace, Menlo, Consolas, Monaco, monospace`
231
+ - `--font-family-apple`: `system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif`
232
+
233
+ **Shadow Token**
234
+ - `--card-box-shadow`: `0 12px 28px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1)`
235
+ - `--shadow-base`: `0 1px 2px rgba(0, 0, 0, 0.2)`
236
+ - `--shadow-2`: `rgba(0, 0, 0, 0.2)`
237
+ - `--scroll-shadow`: `0 1px 2px rgba(0, 0, 0, 0.1), 0 -1px rgba(0, 0, 0, 0.1) inset`
238
+
239
+ **Font Weight Token**
240
+ - `--font-weight-system-medium`: `500`
241
+ - `--font-weight-system-light`: `300`
242
+ - `--font-weight-system-bold`: `700`
243
+ - `--font-weight-system-regular`: `400`
244
+
245
+ **Motion Token**
246
+ - `--fds-animation-swap-shuffle-in`: `cubic-bezier(0.14, 1, 0.34, 1)`
247
+ - `--glimmer-animation-duration`: `1000ms`
248
+ - `--glimmer-animation-timing-function`: `steps(10, end)`
249
+
250
+ **Error / Destructive**
251
+ - `--input-label-color-error`: `hsl(350, 87%, 55%)`
252
+ - `--badge-background-color-red`: `#e41e3f`
253
+
254
+ **Success**
255
+ - `--badge-background-color-green`: `#31A24C`
256
+
257
+ **Warning**
258
+ - `--badge-background-color-yellow`: `#F7B928`
259
+
260
+ **Z-Index Token**
261
+ - `--modal-z-index`: `100`
262
+
263
+ **Text Color**
264
+ - `--chat-text-blockquote-color-text-primary-media`: `rgba(255, 255, 255, 0.7)`
265
+
266
+ **Background**
267
+ - `--chat-text-blockquote-color-background-line`: `rgba(0, 0, 0, 0.12)`
268
+
269
+ **Other tokens**
270
+ - `--ig-colors-button-primary-background--pressed`: `65, 80, 247`
271
+ - `--ig-menu-text-color`: `12, 16, 20`
272
+ - `--text-badge-success-background`: `#31A24C`
273
+ - `--text-secondary`: `153, 153, 153`
274
+ - `--teal-primary`: `rgb(0,152,124)`
275
+ - `--ig-text-input-border-hover-prism`: `12, 16, 20`
276
+ - `--ig-colors-button-primary-text--disabled`: `white-00`
277
+ - `--text-input-outside-label`: `#000000`
278
+
279
+ ## 3. Typography Rules
280
+
281
+ ### Font Families
282
+ - **Primary**: `-apple-system`
283
+ - **Secondary**: `Instagram Sans Condensed`
284
+ - **Font 3**: `Instagram Sans Condensed Regular`
285
+ - **Font 4**: `Instagram Sans`
286
+ - **Font 5**: `Segoe UI Historic`
287
+
288
+ ### Custom Fonts Loaded
289
+ - **Instagram Sans Condensed** weight 400 (normal)
290
+ - **Instagram Sans Condensed Regular** weight 400 (normal)
291
+ - **Instagram Sans** weight 400 (normal)
292
+ - **Segoe UI Historic** weight normal (normal)
293
+ - **Segoe UI Historic** weight 700 (normal)
294
+ - **Fix for Mac Chrome 80** weight 500 (normal)
295
+ - **Optimistic Text Light** weight 300 (normal)
296
+ - **Optimistic Text Light Swap** weight 300 (normal)
297
+ - **Optimistic Text Normal** weight 400 (normal)
298
+ - **Optimistic Text Normal Swap** weight 400 (normal)
299
+ - **Optimistic Text Medium** weight 500 (normal)
300
+ - **Optimistic Text Medium Swap** weight 500 (normal)
301
+ - **Optimistic Text Bold** weight 700 (normal)
302
+ - **Optimistic Text Bold Swap** weight 700 (normal)
303
+ - **Optimistic Text ExtraBold** weight 800 (normal)
304
+ - **Optimistic Text ExtraBold Swap** weight 800 (normal)
305
+ - **Optimistic Text Viet Light** weight 300 (normal)
306
+ - **Optimistic Text Viet Light Swap** weight 300 (normal)
307
+ - **Optimistic Text Viet Normal** weight 400 (normal)
308
+ - **Optimistic Text Viet Normal Swap** weight 400 (normal)
309
+ - **Optimistic Text Viet Bold** weight 700 (normal)
310
+ - **Optimistic Text Viet Bold Swap** weight 700 (normal)
311
+ - **Optimistic Text Arbc Light** weight 300 (normal)
312
+ - **Optimistic Text Arbc Light Swap** weight 300 (normal)
313
+ - **Optimistic Text Arbc Normal** weight 400 (normal)
314
+ - **Optimistic Text Arbc Normal Swap** weight 400 (normal)
315
+ - **Optimistic Text Arbc Bold** weight 700 (normal)
316
+ - **Optimistic Text Arbc Bold Swap** weight 700 (normal)
317
+ - **Optimistic Display Light** weight 300 (normal)
318
+ - **Optimistic Display Light Swap** weight 300 (normal)
319
+ - **Optimistic Display Medium** weight 500 (normal)
320
+ - **Optimistic Display Medium Swap** weight 500 (normal)
321
+ - **Optimistic Display Semibold** weight 600 (normal)
322
+ - **Optimistic Display Semibold Swap** weight 600 (normal)
323
+ - **Optimistic Display Bold** weight 700 (normal)
324
+ - **Optimistic Display Bold Swap** weight 700 (normal)
325
+ - **Optimistic Display Viet Light** weight 300 (normal)
326
+ - **Optimistic Display Viet Light Swap** weight 300 (normal)
327
+ - **Optimistic Display Viet Medium** weight 500 (normal)
328
+ - **Optimistic Display Viet Medium Swap** weight 500 (normal)
329
+ - **Optimistic Display Viet Bold** weight 700 (normal)
330
+ - **Optimistic Display Viet Bold Swap** weight 700 (normal)
331
+ - **Optimistic Display Arbc Light** weight 300 (normal)
332
+ - **Optimistic Display Arbc Light Swap** weight 300 (normal)
333
+ - **Optimistic Display Arbc Medium** weight 500 (normal)
334
+ - **Optimistic Display Arbc Medium Swap** weight 500 (normal)
335
+ - **Optimistic Display Arbc Bold** weight 700 (normal)
336
+ - **Optimistic Display Arbc Bold Swap** weight 700 (normal)
337
+ - **Optimistic** weight 300 800 (normal)
338
+ - **Optimistic DM** weight 300 800 (normal)
339
+ - **Optimistic 95** weight 300 800 (normal)
340
+
341
+ ### Typography Hierarchy
342
+
343
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
344
+ |------|------|------|--------|-------------|----------------|-------|
345
+ | Display Hero | Instagram Sans Condensed | 24px | 700 | normal | normal | Display face (visual prominence — no h1/h2 in DOM) |
346
+ | Body | Instagram Sans Condensed | 14px | 400 | 1.29 | normal | Standard reading text |
347
+ | Button | Instagram Sans Condensed | 14px | 500 | 1.29 | normal | Button label (14px) |
348
+ | Link | Instagram Sans Condensed | 14px | 600 | 1.29 | normal | Link (14px) — Decoration: none |
349
+ | Input | Instagram Sans Condensed | 12px | 400 | normal | normal | Form input (12px) |
350
+
351
+ ### Font Weight Scale
352
+
353
+ CSS custom properties define 9 explicit weight steps:
354
+ - `--font-weight-system-extra-light`: `200` — ExtraLight
355
+ - `--font-weight-system-light`: `300` — Light
356
+ - `--font-weight-system-regular`: `400` — Regular
357
+ - `--text-input-label-font-weight`: `400` — Regular
358
+ - `--font-weight-system-medium`: `500` — Medium
359
+ - `--text-input-field-font-weight`: `500` — Medium
360
+ - `--font-weight-system-semibold`: `600` — SemiBold
361
+ - `--font-weight-system-bold`: `700` — Bold
362
+ - `--font-weight-system-extra-bold`: `800` — ExtraBold
363
+
364
+ ### Full Font Size Scale
365
+
366
+ Sizes detected in the design (descending): `24px`, `16px`, `14px`, `12px`
367
+
368
+ > 1 size(s) detected outside the sampled hierarchy (16px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
369
+
370
+ ### OpenType & Variable Font Features
371
+
372
+ The typography uses these OpenType features intentionally — this is a sophisticated type system, not a default fallback:
373
+
374
+ - **stylistic sets** (`ss0X`) — alternate letterforms enabled (often for brand-specific glyph variants)
375
+
376
+ **Clone instruction:** Enable these in your CSS:
377
+ ```css
378
+ body {
379
+ font-feature-settings: "ss02", "ss01";
380
+ }
381
+ ```
382
+
383
+ ## 4. Component Stylings
384
+
385
+ ### Buttons
386
+
387
+ **Icon Button**
388
+ - Background: `transparent`
389
+ - Text: `#000000`
390
+ - Padding: 8px
391
+ - Radius: 0px
392
+ - Font: 14px weight 400
393
+ - Use: Toolbar/UI icons
394
+
395
+ **Ghost**
396
+ - Background: `transparent`
397
+ - Text: `#000000`
398
+ - Padding: 16px 8px
399
+ - Radius: 0px
400
+ - Font: 14px weight 400
401
+ - Use: Subtle action, toolbar, nav button
402
+
403
+ **Ghost**
404
+ - Background: `transparent`
405
+ - Text: `#3143e3`
406
+ - Padding: 0px
407
+ - Radius: 2px
408
+ - Font: 14px weight 500
409
+ - Use: Subtle action, toolbar, nav button
410
+
411
+ **Primary Brand**
412
+ - Background: `#4a5df9` `{colors.primary-hover}`
413
+ - Text: `#ffffff` `{colors.on-primary}`
414
+ - Padding: 0px 16px
415
+ - Radius: 8px
416
+ - Font: 14px weight 600
417
+ - Use: Primary CTA / brand action
418
+
419
+ **Primary Brand**
420
+ - Background: `#4a5df9` `{colors.primary-hover}`
421
+ - Text: `#ffffff` `{colors.on-primary}`
422
+ - Padding: 12px 20px
423
+ - Radius: 12px
424
+ - Font: 14px weight 600
425
+ - Use: Primary CTA / brand action
426
+
427
+
428
+ ## 4b. Component Behaviors (State Matrix)
429
+
430
+ ### Interaction State Narrative
431
+
432
+
433
+ *State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
434
+
435
+ ```yaml
436
+ component-behaviors:
437
+ button:
438
+ default:
439
+ bg: "rgba(0, 0, 0, 0)"
440
+ fg: "rgb(0, 0, 0)"
441
+ link:
442
+ default:
443
+ bg: "rgba(0, 0, 0, 0)"
444
+ fg: "rgb(65, 80, 247)"
445
+ footerLink:
446
+ default:
447
+ bg: "rgba(0, 0, 0, 0)"
448
+ fg: "rgb(115, 115, 115)"
449
+ ```
450
+
451
+ **Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
452
+
453
+
454
+ ## 4c. Component Vocabulary (Closed System)
455
+
456
+ *This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
457
+
458
+ ### Buttons
459
+ - **3 shape(s)** in this system: `Icon Button`, `Ghost`, `Primary Brand`
460
+ - **DO NOT introduce new buttons variants** without justification
461
+
462
+ ## 5. Layout Principles
463
+
464
+ ### Layout Type
465
+ **top-nav + content**
466
+
467
+ ### Grid
468
+ Flexbox column
469
+
470
+ ### Max Width
471
+ 935px
472
+
473
+ ### Spacing System
474
+ Compact spacing — information density prioritized
475
+
476
+ | Token | Value |
477
+ |-------|-------|
478
+ | xxs | 2px |
479
+ | xs | 8px |
480
+ | sm | 16px |
481
+ | md | 12px |
482
+ | base | 16px |
483
+ | lg | 24px |
484
+ | xl | 32px |
485
+ | 2xl | 48px |
486
+ | 3xl | 64px |
487
+
488
+ ### Border Radius Scale
489
+ | Name | Value | Use |
490
+ |------|-------|-----|
491
+ | None | 0px | No rounding |
492
+ | Xs | 2px | Tiny corners (badges, micro elements) |
493
+ | Sm | 8px | Buttons, inputs, small elements |
494
+ | Md | 12px | Cards, containers |
495
+ | Lg | 20px | Large rounded elements, pill segments |
496
+ | Xl | 32px | Category strips, featured containers |
497
+ | Full | 9999px | Pills, avatars, circular elements |
498
+
499
+ ### Shape Language
500
+
501
+ | Component | Border Radius |
502
+ |-----------|---------------|
503
+ | Buttons | `0px` |
504
+ | Page Body | `0px` |
505
+
506
+ **Shape Personality**: Sharp & Angular — No rounding. Precise, editorial, enterprise feel.
507
+
508
+ **Full Radius Spectrum**: 0px, 2px, 8px, 12px, 20px, 32px, 38px (from `allBorderRadii` scan)
509
+
510
+
511
+ ## 5b. Spacing Rhythm Names
512
+
513
+ *Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
514
+
515
+ | Name | Value | Use case |
516
+ |------|-------|----------|
517
+ | **hero** | `64px` | Top/bottom of full-bleed hero sections |
518
+ | **section** | `32px` | Between major bands (color change, content shift) |
519
+ | **subsection** | `24px` | Within a section, between content groups |
520
+ | **card** | `12px` | Card padding, list-item spacing |
521
+ | **compact** | `16px` | Form fields, tight clusters, badge padding |
522
+ | **micro** | `8px` | Icon-text gap, tag inner padding |
523
+
524
+ **Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
525
+
526
+ ## 5c. Widget & Structure Library
527
+
528
+ Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
529
+
530
+ **2/8 structural patterns detected.**
531
+
532
+ ### Card Grid Pattern
533
+
534
+ - **Card count:** 3 cards detected
535
+ - **Columns (desktop):** 2-up grid
536
+ - **Card dimensions:** 935×414px (aspect 2.26:1)
537
+ - **Gap:** 1px between cards
538
+ - **Content:** ✓ image
539
+ - **Image position:** top
540
+ - **Clone instruction:** Build a 2-column grid (desktop) with cards at ~2.26:1 aspect ratio. Each card has an image at the top.
541
+
542
+ ### Footer Pattern
543
+
544
+ - **Columns:** 1
545
+ - **Links:** 16 total
546
+ - **Height:** 135px
547
+ - **Includes:** ✗ no newsletter | ✓ social icons | ✓ copyright
548
+ - **Clone instruction:** Build a 1-column footer with ~16 links per column, social media links, and a copyright line.
549
+
550
+ ## 6. Depth & Elevation
551
+
552
+ | Level | Treatment | Use |
553
+ |-------|-----------|-----|
554
+ | Flat (Level 0) | No shadow | Page background, content blocks |
555
+
556
+ **Shadow Philosophy**: Flat design — no shadows used. Borders and spacing define structure.
557
+
558
+ ## 7. Motion & Interaction
559
+
560
+ ### Dominant Easing Curves
561
+
562
+ | Curve | Semantic Name |
563
+ |-------|---------------|
564
+ | `ease` | CSS ease — Default |
565
+ | `ease-out` | Ease Out — Decelerating |
566
+ | `ease-in-out` | Ease In-Out — Symmetric |
567
+
568
+ ### Duration Scale
569
+
570
+ | CSS Variable | Value | Tier |
571
+ |--------------|-------|------|
572
+ | `--glimmer-animation-duration` | `1000ms` | Cinematic |
573
+ | `--ig-duration-extra-extra-short-in` | `100ms` | Fast |
574
+ | `--fds-duration-extra-short-out` | `150ms` | Fast |
575
+ | `--fds-duration-extra-short-in` | `200ms` | Normal |
576
+ | `--fds-duration-extra-long-in` | `1000ms` | Cinematic |
577
+ | `--fds-duration-short-out` | `200ms` | Normal |
578
+ | `--fds-duration-none` | `0ms` | Instant |
579
+ | `--fds-duration-short-in` | `280ms` | Normal |
580
+ | `--fds-duration-long-out` | `350ms` | Slow |
581
+ | `--fds-duration-extra-long-out` | `1000ms` | Cinematic |
582
+
583
+ ### Copy-Paste Transition Snippets
584
+
585
+ **All Props**
586
+ ```css
587
+ transition: height 0.2s ease-in-out;
588
+ ```
589
+
590
+ **Opacity**
591
+ ```css
592
+ transition: opacity 0.1s ease-out;
593
+ ```
594
+
595
+ **Transform**
596
+ ```css
597
+ transition: transform 0.15s ease-out;
598
+ ```
599
+
600
+ **All Props**
601
+ ```css
602
+ transition: 0.2s ease-in-out;
603
+ ```
604
+
605
+ ### Keyframe Animation Catalog
606
+
607
+ | Animation Name | Type | Animated Props | Use Hint |
608
+ |----------------|------|----------------|----------|
609
+ | `x10tv6ar-B` | Slide | transform | UI transition |
610
+ | `x122imku-B` | Fade | height, opacity | UI transition |
611
+ | `x127erq4-B` | Fade | opacity | UI transition |
612
+ | `x12cjf5l-B` | Custom | background-position-x | UI transition |
613
+ | `x12ve19h-B` | Fade | opacity | UI transition |
614
+ | `x1397pin-B` | Slide | transform | UI transition |
615
+ | `x13sqfrp-B` | Slide | transform | UI transition |
616
+ | `x16auqsx-B` | Fade | opacity | UI transition |
617
+ | `x16ddlwn-B` | Slide | transform | UI transition |
618
+ | `x16e58t8-B` | Rotate / Spin | transform | UI transition |
619
+ | `x17f32z3-B` | Fade | opacity | UI transition |
620
+ | `x17qceat-B` | Fade | opacity | UI transition |
621
+ | `x17t1eie-B` | Custom | height | UI transition |
622
+ | `x18ppsx7-B` | Fade | box-shadow, opacity | UI transition |
623
+ | `x18re5ia-B` | Fade | opacity | UI transition |
624
+ | `x18x0dr7-B` | Fade + Move | opacity, transform | UI transition |
625
+ | `x190dji-B` | Custom | height | UI transition |
626
+ | `x19100ke-B` | Custom | background-position-x, background-position-y | UI transition |
627
+ | `x1941mlr-B` | Rotate / Spin | stroke-dashoffset, transform | UI transition |
628
+ | `x1acst8a-B` | Custom | animation-timing-function, stroke-dasharray, stroke-dashoffset | UI transition |
629
+
630
+ > *128 additional animations omitted (repetitive variants). See raw keyframes in `raw-css.json`.*
631
+
632
+ ### Motion Fingerprint
633
+
634
+ - **Speed Character**: Deliberate & Calm (median duration: `350ms`)
635
+ - **Dominant Easing**: custom cubic-bezier curves
636
+ - **Animation Library**: 148 unique animations (148 total including variants)
637
+
638
+ > This design moves with deliberate & calm timing using custom cubic-bezier curves, creating a UI that feels calm and controlled.
639
+
640
+ ## 8. Do's and Don'ts
641
+
642
+ ### Do
643
+ - Use -apple-system as the primary typeface — it defines the brand personality
644
+ - Use Deep Purple (`#4150f7`) as the primary accent — it's the brand's signature interactive color
645
+ - Use small 2px radius for buttons — this design system uses subtle rounding, not pill shapes
646
+ - Each card includes a top image — imagery is part of the card identity, not optional
647
+
648
+ ### Don't
649
+ - Don't substitute with generic sans-serif or serif — the custom font carries the brand
650
+ - Don't introduce additional saturated accent colors — the palette is intentionally controlled
651
+ - Don't over-round buttons with pill or large radius — the system uses restrained, sharp-ish corners
652
+
653
+
654
+ ## 7b. Enforceable Brand Rules
655
+
656
+ *Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
657
+
658
+ ```yaml
659
+ rules:
660
+ - id: brand-canvas-001
661
+ type: do
662
+ rule: "Always use the page background `rgb(255, 255, 255)` as the base canvas"
663
+ why: "Every component is designed to composit against this exact tone"
664
+ test: "document.body.style.backgroundColor === 'rgb(255, 255, 255)'"
665
+ - id: brand-accent-001
666
+ type: do
667
+ rule: "Reserve `rgb(65, 80, 247)` for primary CTAs and brand-mark signals only"
668
+ why: "Single chromatic assertion device — overuse dilutes meaning"
669
+ test: "querySelectorAll('[style*=\"rgb(65, 80, 247)\"]').length <= 3 per fold"
670
+ - id: brand-depth-001
671
+ type: dont
672
+ rule: "Do NOT introduce drop shadows on cards or sections"
673
+ why: "Containment is achieved via borders, not elevation — adding shadows breaks the depth contract"
674
+ test: "getComputedStyle(card).boxShadow === 'none'"
675
+ ```
676
+
677
+ ## 9. Responsive Behavior
678
+
679
+ ### Breakpoints
680
+ | Name | Width | Key Changes |
681
+ |------|-------|-------------|
682
+ | Mobile | 375px | Single column, compact spacing |
683
+ | Mobile | 480px | Single column, compact spacing |
684
+ | Mobile Large | 639px | Expanded mobile layout |
685
+ | Mobile Large | 735px | Expanded mobile layout |
686
+ | Mobile Large | 767px | Expanded mobile layout |
687
+ | Tablet | 1024px | Multi-column grids begin |
688
+ | Desktop | 1263px | Full feature layout |
689
+ | Large Desktop | 1439px | Maximum content width |
690
+
691
+ ### Token Diff — Desktop vs Mobile
692
+
693
+ | Element | Property | Desktop | Mobile |
694
+ |---------|----------|---------|--------|
695
+ | button | padding | `8px` | `8px 0px 8px 8px` |
696
+ | button | width | `34px` | `32px` |
697
+
698
+ ### Collapsing Strategy
699
+ - Navigation: horizontal links → hamburger menu on mobile
700
+ - Cards: multi-column → stacked vertical on mobile
701
+ - Footer: multi-column → stacked single column on mobile
702
+
703
+ ### Touch Targets
704
+ - Buttons: 8px padding
705
+ - Navigation: adequate spacing between items
706
+ - Interactive elements: minimum 44px touch target recommended
707
+
708
+ ### Collapsing Narrative
709
+
710
+ How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
711
+
712
+ *No major structural differences detected between desktop and mobile widgets. The same blueprints scale rather than collapse — verify by inspecting actual mobile render.*
713
+
714
+
715
+ ## 7c. Visual Effects & Dynamic Behavior
716
+
717
+ *The live/dynamic layer beyond static CSS — reproduce these, not flat substitutes. This is often what separates a faithful clone from a wireframe.*
718
+
719
+ - **Canvas / 2D rendering** — animated/interactive canvas (charts, graphs, particle fields). Reproduce as live data-viz (e.g. an animated SVG/Canvas line chart), NOT a static image.
720
+ - **CSS-variable animations** (5) — animated custom properties.
721
+
722
+ > **Motion fingerprint**: Canvas 2D
723
+
724
+ ## 9b. Visual Tone & Photography
725
+
726
+ **Tone:** Photography-driven
727
+
728
+ The site is dominated by photography (JPG/WebP). Photos carry the brand voice as much as the typography. Use authentic, brand-appropriate imagery — generic stock will degrade quality.
729
+
730
+ **Canonical Brand Image (OG):**
731
+ - https://scontent-cdg4-1.cdninstagram.com/v/t51.82787-15/709864061_18594382267056352_782038829959996209_n.jpg?stp=c640.0.1920.1920a_dst-jpg_e35_s640x640_tt6&_nc_cat=105&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0FST1VTRUxfSVRFTS5iZXN0X2ltYWdlX3VybGdlbi5DMyJ9&_nc_ohc=q4-XeQJNor4Q7kNvwGklCW3&_nc_oc=AdpOdIf864s9w-YljZwLWO0WTkD7BsGkRuP7Aww7UUT50PB-yqpL_auu2i9G-9bNjYlPint6WfAYoOWynZDHLqci&_nc_zt=23&_nc_ht=scontent-cdg4-1.cdninstagram.com&_nc_gid=9VW4g9KjXBQypPbIHBsk7Q&_nc_ss=79689&oh=00_Af-kr9bzhB8unOlv2_uc-Cg8G812aFezhJ0KtGg1shmgOQ&oe=6A2193E9
732
+ *This is the image shown when the site is shared on social media — represents the brand visual essence.*
733
+
734
+ **Hero Image (above-fold dominant visual):**
735
+ - Aspect: 0.8:1 (portrait / vertical)
736
+ - Rendered size: 479×599px
737
+ - *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
738
+
739
+ **Aspect Ratio Distribution:**
740
+ - Landscape (1.15–2.3): 1 (8%)
741
+ - Portrait (<0.87): 10 (83%)
742
+ - Square (0.87–1.15): 1 (8%)
743
+
744
+ **Media Format Mix:**
745
+ - JPG: 11 (typically photographic content)
746
+ - GIF: 1 (animated content)
747
+
748
+ **Average rendered image size:** 316×423px
749
+ **Above-fold image count:** 6 / 12
750
+
751
+ **Decorative Patterns Detected:**
752
+ - 1 multi-stop linear gradient (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
753
+
754
+ **Clone instruction for decorative work:** Decorative details are subtle — don't over-style; the design relies on restraint.
755
+
756
+ **Imagery Guidance for clones:**
757
+ - Source authentic photography (or licensed stock that matches the brand mood) — placeholders will visibly degrade the clone.
758
+ - Match the dominant aspect ratio (see above) so card grids and hero compositions hold.
759
+
760
+ ## 10. Agent Prompt Guide
761
+
762
+ ### Quick Reference
763
+ - Background: Pure White (`#ffffff`)
764
+ - Primary text: Pure Black (`#000000`)
765
+ - Accent: Deep Purple (`#4150f7`)
766
+ - Border: Translucent Charcoal (80%) (`rgba(43, 48, 54, 0.8)`)
767
+ - Font: Instagram Sans Condensed
768
+ - Body: 14px weight 400
769
+
770
+ ### Example Component Prompts
771
+ - "Create the primary CTA button: `#4150f7` background, `#000000` text, 9999px border-radius, 8px padding, 600 weight, Instagram Sans Condensed font."
772
+ - "Build navigation: sticky on `#ffffff`. Instagram Sans Condensed 16px weight 400 for links."
773
+
774
+ ### Iteration Guide
775
+ 1. **Canvas**: Set the light canvas to Pure White (`#ffffff`) — every component is composited against this exact base.
776
+ 2. **Typography**: All type in Instagram Sans Condensed, weight range 200–800. Never exceed 800 — heavier weights break the brand's tonal restraint.
777
+ 3. **Accent**: Deep Purple (`#4150f7`) is the sole interactive color. On hover → Brand Indigo (`#4a5df9`). Use CSS transitions, not opacity/brightness filters.
778
+ 4. **Motion**: All transitions use `cubic-bezier(0,0,1,1)`. Timing: 100ms for micro-interactions, 350ms for layout changes. Never use linear for UI transitions — preserve the brand's easing personality.
779
+ 5. **Shape**: CTAs at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
780
+ 6. **Spacing**: Use the `--ca-space-*` token scale (8px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
781
+ 7. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
782
+
783
+ ## 11. CSS Design Tokens Raw Export
784
+
785
+ *Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
786
+
787
+ ```css
788
+ /* Colors */
789
+ :root {
790
+ --ca-on-primary: #ffffff;
791
+ --ca-surface-1: #f3f5f7;
792
+ --ca-surface-2: #efefef;
793
+ --ca-ink-muted: #262626;
794
+ --ca-ink-subtle: #8e8e8e;
795
+ --ca-primary: #4150f7;
796
+ --ca-primary-hover: #4a5df9;
797
+ --ca-hairline: #2b3036;
798
+ --ca-accent-glow: #65676b;
799
+ --ca-semantic-success: #31a24c;
800
+ }
801
+
802
+ /* Typography */
803
+ :root {
804
+ --ca-font-primary: "Instagram Sans Condensed", system-ui, sans-serif;
805
+ --ca-text-display: 24px;
806
+ --ca-text-body: 14px;
807
+ --ca-text-small: 14px;
808
+ --ca-text-button: 14px;
809
+ --ca-text-mono: 12px;
810
+ }
811
+
812
+ /* Spacing & Radius */
813
+ :root {
814
+ --ca-space-xxs: 2px;
815
+ --ca-space-xs: 8px;
816
+ --ca-space-sm: 16px;
817
+ --ca-space-md: 12px;
818
+ --ca-space-base: 16px;
819
+ --ca-space-lg: 24px;
820
+ --ca-space-xl: 32px;
821
+ --ca-space-2xl: 48px;
822
+ --ca-space-3xl: 64px;
823
+ --ca-radius-none: 0px;
824
+ --ca-radius-xs: 2px;
825
+ --ca-radius-sm: 8px;
826
+ --ca-radius-md: 12px;
827
+ --ca-radius-lg: 20px;
828
+ --ca-radius-xl: 32px;
829
+ --ca-radius-full: 9999px;
830
+ }
831
+ ```
832
+
833
+
834
+ ## 13. Page Structure Skeleton
835
+
836
+ *The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
837
+
838
+ ```yaml
839
+ page-skeleton:
840
+ - section: content-section
841
+ tag: div
842
+ height: 1374px
843
+ width: full-bleed
844
+ layout: block
845
+ children: 1
846
+ tone: dark
847
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
848
+ - section: content-section
849
+ tag: div
850
+ height: 1374px
851
+ width: full-bleed
852
+ layout: block
853
+ children: 1
854
+ tone: dark
855
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
856
+ - section: content-section
857
+ tag: main
858
+ classes: ["xvbhtw8", "x78zum5", "xdt5ytf", "x1iyjqo2"]
859
+ height: 2083px
860
+ width: full-bleed
861
+ layout: flex-column justify=center
862
+ children: 2
863
+ bg: "rgb(255, 255, 255)"
864
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
865
+ - section: content-section
866
+ tag: section
867
+ classes: ["x78zum5", "xdt5ytf", "x1iyjqo2", "xg6iff7"]
868
+ height: 2218px
869
+ width: full-bleed
870
+ layout: flex-column justify=normal
871
+ children: 3
872
+ tone: dark
873
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
874
+ - section: footer
875
+ tag: footer
876
+ classes: ["x1qjc9v5", "x9f619", "x78zum5", "xdt5ytf"]
877
+ height: 135px
878
+ width: full-bleed
879
+ layout: flex-column justify=normal
880
+ children: 1
881
+ bg: "rgb(255, 255, 255)"
882
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
883
+ padding: "0px 16px"
884
+ ```
885
+
886
+ **Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
887
+
888
+
889
+ ## 14. Copy Library (Real Content from Source)
890
+
891
+ *Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
892
+
893
+ ```yaml
894
+ copy:
895
+ ctas:
896
+ - "Suivre"
897
+ - "J’aime"
898
+ - "Répondre"
899
+ - "355"
900
+ footer-links:
901
+ - "Meta"
902
+ ```
903
+
904
+ **Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
905
+
906
+
907
+ ## 15. Asset Inventory (Image Roles & Ratios)
908
+
909
+ *Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
910
+
911
+ ```yaml
912
+ assets:
913
+ editorial:
914
+ count: 2
915
+ avg-ratio: 0.56
916
+ common-aspect: "~9:16 portrait"
917
+ sample-alts:
918
+ - "Hi guys❣️Don’t miss our #Behance case tommorow 💙
919
+
920
+ Veri came"
921
+ - "Hi guys❣️Meet our upcoming #Behance case 💙
922
+
923
+ Moverta needed "
924
+ thumbnail:
925
+ count: 8
926
+ avg-ratio: 1.00
927
+ common-aspect: "~1:1 square"
928
+ sample-alts:
929
+ - "Photo de profil de rondesignlab"
930
+ - "Photo de profil de rondesignlab"
931
+ - "Photo de profil de rondesignlab"
932
+ ```
933
+
934
+ **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`.
935
+
936
+
937
+ ## 16. Component HTML Templates
938
+
939
+ *Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
940
+
941
+ ### Button (primary action)
942
+ ```html
943
+ <button class="btn btn-primary">
944
+ Action
945
+ </button>
946
+ ```
947
+ _Source pattern detected: padding `8px` · radius `0px` · weight `400`_
948
+
949
+ **Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
950
+
951
+
952
+ ## 12. Known Extraction Gaps
953
+
954
+ *Auto-detected limitations of this extraction — understand before building:*
955
+
956
+ - **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.
957
+
958
+
959
+ ---
960
+ ## Extraction Completeness: 69/100 (C)
961
+
962
+ | Category | Score | Max | Detail |
963
+ |----------|-------|-----|--------|
964
+ | Colors & Palette | 25 | 25 | 20 named colors |
965
+ | Typography | 13 | 20 | 5 roles defined |
966
+ | Components | 4 | 20 | 1 specs extracted |
967
+ | Motion & Interaction | 12 | 15 | Keyframes present |
968
+ | CSS Custom Properties | 10 | 10 | 1141 vars |
969
+ | Responsive Breakpoints | 5 | 5 | 8 breakpoints |
970
+ | Variable Fonts | 0 | 5 | None detected |
971
+
972
+ ## 12. Known Gaps & Confidence
973
+
974
+ 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.
975
+
976
+ | Category | What's missing | Fallback strategy |
977
+ |----------|----------------|-------------------|
978
+ | **Form inputs** | No text input fields detected on this page | Use the documented border-radius + accent border on focus; 12-16px padding inside |
979
+
980
+ ### Per-section confidence
981
+
982
+ | Section | Confidence | Reason |
983
+ |---------|------------|--------|
984
+ | §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
985
+ | §2 Colors | High | 1141 CSS vars (semantic naming requires ≥20 for high) |
986
+ | §3 Typography | High | 5 typography roles inferred |
987
+ | §4 Components | Low | 1 component variants captured |
988
+ | §7 Motion | High | Keyframes + transitions |
989
+ | §8 Do's/Don'ts | Medium | 7 rules generated; design-decisions.json has evidence per rule |
990
+ | §9 Responsive | High | 8 breakpoints detected |
991
+ | §9b Photography | High | 12 images, hero present |
992
+
993
+ ---
994
+ *Generated by Prism — automated Playwright extraction + design analysis.*
995
+ *Source: https://www.instagram.com/p/DY936iSjPPd/ | 2026-05-31T05:50:51.306Z*
996
+ *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.*