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,1295 @@
1
+ ---
2
+ version: alpha
3
+ name: attio.com
4
+ description: "Light product system built on #ffffff with #266df0 as the primary CTA accent. Type anchored in interDisplay at 64px / weight 600. Extracted automatically from https://attio.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
5
+ narrative: |
6
+ attio.com is built on a mid-dark canvas (lab(99.9987 0.0337958 0.000309944)).
7
+ The system uses rgb(38, 109, 240) as the high-saturation accent for primary actions.
8
+ Moderately rounded CTAs (12px) — modern SaaS standard, neither sharp nor pill alongside interDisplay as the primary typeface.
9
+ InterDisplay is paired with inter Fallback 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 — 50 keyframe animations plus transition-driven interactions.
12
+
13
+ colors:
14
+ surface-1: "#eeeff1"
15
+ surface-2: "#e6e7ea"
16
+ ink-muted: "#23252a"
17
+ ink-subtle: "#23252a"
18
+ primary: "#266df0"
19
+ on-primary: "#111111"
20
+ primary-hover: "#9162f9"
21
+ hairline: "#cad0d9"
22
+
23
+ typography:
24
+ display-xl:
25
+ fontFamily: "interDisplay"
26
+ fontSize: 64px
27
+ fontWeight: 600
28
+ lineHeight: 1
29
+ letterSpacing: -1.28px
30
+ display-md:
31
+ fontFamily: "interDisplay"
32
+ fontSize: 32px
33
+ fontWeight: 600
34
+ lineHeight: 1.19
35
+ letterSpacing: -0.32px
36
+ body:
37
+ fontFamily: "inter"
38
+ fontSize: 16px
39
+ fontWeight: 500
40
+ lineHeight: 1.38
41
+ letterSpacing: -0.16px
42
+ button:
43
+ fontFamily: "inter"
44
+ fontSize: 15px
45
+ fontWeight: 500
46
+ lineHeight: 1.47
47
+ letterSpacing: -0.16px
48
+ eyebrow:
49
+ fontFamily: "interDisplay"
50
+ fontSize: 12px
51
+ fontWeight: 600
52
+ lineHeight: 1.17
53
+ letterSpacing: 0.72px
54
+
55
+ rounded:
56
+ none: 0px
57
+ xs: 4px
58
+ sm: 8px
59
+ md: 13px
60
+ lg: 16px
61
+ xl: 16px
62
+ xxl: 24px
63
+ pill: 9999px
64
+
65
+ spacing:
66
+ xxs: 2px
67
+ xs: 6px
68
+ sm: 10px
69
+ md: 13px
70
+ lg: 24px
71
+ xl: 32px
72
+ xxl: 64px
73
+ section: 80px
74
+
75
+ components:
76
+ button-ghost:
77
+ backgroundColor: "transparent"
78
+ textColor: "#000000"
79
+ typography: "{typography.body}"
80
+ rounded: "{rounded.sm}"
81
+ button-ghost-2:
82
+ backgroundColor: "transparent"
83
+ textColor: "#000000"
84
+ typography: "{typography.body}"
85
+ rounded: "{rounded.md}"
86
+ padding: 8px 4px
87
+ button-outline:
88
+ backgroundColor: "#000000"
89
+ textColor: "#000000"
90
+ typography: "{typography.button}"
91
+ rounded: "{rounded.sm}"
92
+ padding: 0px 12px
93
+ input-text-input:
94
+ backgroundColor: "#000000"
95
+ textColor: "#000000"
96
+ typography: "{typography.body}"
97
+ rounded: "{rounded.sm}"
98
+ padding: 10px 13px
99
+
100
+ extracted_at: "2026-05-31T04:12:13.025Z"
101
+ completeness: 76
102
+ scoreVersion: "v2"
103
+
104
+ ---
105
+
106
+ # Design System — attio.com
107
+ > Extracted automatically by Prism from https://attio.com
108
+ > Date: 2026-05-31
109
+ > Viewport: Desktop 1440x900 + Mobile 390x844
110
+ > 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).
111
+
112
+ > **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
113
+ >
114
+ > - **Canvas**: `lab(99.9987 0.0337958 0.000309944)` is the page background. Every component composits against this.
115
+ > - **Accent**: `rgb(38, 109, 240)` for primary CTAs ONLY. Never decorative.
116
+ > - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
117
+ > - **Section rhythm**: 48px between major bands. Card padding: 24px.
118
+ > - **Default radius**: 8px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
119
+ >
120
+ > **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
121
+
122
+ ## 1. Visual Theme & Atmosphere
123
+
124
+ attio.com sits on a unknown canvas (`#000000`), a neutral foundation calibrated for sustained reading and component contrast.
125
+
126
+ Headlines are set in **interDisplay**, a sans-serif display face (the dominant type signature, e.g. "The revenue platform engineered for scale." at 64px). A second display voice — **tiemposText** (serif) — appears in lower bands (e.g. "runs on Attio."), used for editorial accent. Body text is set in **inter**, deployed with OpenType features enabled globally (`"ss03"`). These aren't decorative — they're load-bearing: without them, the typeface reverts to its generic state and the design loses its specific texture. Headlines use weight 600 for confident, assertive presence — the brand wants to be heard. Negative letter-spacing at display sizes (-1.28px at 64px) compresses headlines into engineered blocks, dense and precise.
127
+
128
+ Body text reads in Unknown (`#000000`) (contrast ratio 21.0:1, well above WCAG AA). **Royal Blue** (`#266df0`) 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.
129
+ Motion design uses smooth easing curves for polished state transitions.
130
+
131
+ **Key Characteristics:**
132
+ - Background: Unknown (`#000000`)
133
+ - Primary typeface: JetBrains Mono
134
+ - Primary text: Unknown (`#000000`)
135
+ - Accent: Royal Blue (`#266df0`)
136
+ - Display: 64px weight 600, letter-spacing -1.28px
137
+ - Shadow system: 6 distinct elevation levels
138
+ - Custom fonts loaded: JetBrains Mono, JetBrains Mono Fallback, inter, inter Fallback, interDisplay, interDisplay Fallback, tiemposText, tiemposText Fallback
139
+
140
+ ## 2. Color Palette & Roles
141
+
142
+ ### Background & Surface
143
+ - **Unknown** (`#000000`): Page background (primary)
144
+ - **Off-White** (`#fbfbfb`): Surface / elevated background
145
+ - **Light Gray** (`#eeeff1`): Surface / elevated background
146
+ - **Light Gray** (`#e6e7ea`): Surface / elevated background
147
+ - **Pure White** (`#ffffff`): Surface / elevated background
148
+
149
+ ### Text & Content
150
+ - **Unknown** (`#000000`): Primary body text
151
+ - **Warm Brown** (`#23252a`): Secondary text
152
+ - **Warm Brown** (`#242629`): Secondary text
153
+ - **Warm Brown** (`#232529`): Secondary text
154
+ - **#4711bb** (`#4711bb`): Secondary text
155
+
156
+ ### Accent & Interactive
157
+ - **Royal Blue** (`#266df0`): Interactive / accent
158
+ - **#9162f9** (`#9162f9`): Interactive / accent
159
+ - **Coral** (`#fd9038`): Interactive / accent
160
+ - **Sky Bright** (`#17bde9`): Interactive / accent
161
+ - **Emerald** (`#0fc27b`): Interactive / accent
162
+ - **#a37bfa** (`#a37bfa`): Interactive / accent
163
+ - **Ring Blue** (`#407ff2`): Interactive / accent
164
+
165
+ ### Border & Divider
166
+ - **Silver** (`#cad0d9`): Borders / dividers
167
+ - **Silver** (`#d1d3d6`): Borders / dividers
168
+ - **Light Gray** (`#e7e7e7`): Borders / dividers
169
+ - **Light Gray** (`#e4e7ec`): Borders / dividers
170
+
171
+ ### Full Extracted Palette
172
+ **62 colors rendered on the page** + **1** more declared in design tokens (CSS custom properties — not necessarily painted). (20 categorized above + 43 additional below.)
173
+ Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
174
+
175
+ - `#5c5e63` — Dim Gray
176
+ - `#75777c` — Medium Gray
177
+ - `#505155` — Slate
178
+ - `#f4f5f6` — Warm Cream
179
+ - `#5e5e5e` — Dim Gray
180
+ - `#b8d0ff` — Light Blue
181
+ - `#969696` — Cool Gray
182
+ - `#faf9ff` — Ghost White
183
+ - `#f5eeff` — Ghost White
184
+ - `#e8ddfe` — Light Gray
185
+ - `#daf4fc` — Light Gray
186
+ - `#0a5a70` — #0a5a70
187
+ - `#c3edf9` — #c3edf9
188
+ - `#e5eeff` — Light Gray
189
+ - `#183c81` — #183c81
190
+ - `#d6e5ff` — Light Gray
191
+ - `#ddf9e4` — Light Gray
192
+ - `#075a39` — #075a39
193
+ - `#c7f4d3` — #c7f4d3
194
+ - `#feeee1` — Beige
195
+ - `#753501` — Chocolate
196
+ - `#fee0c8` — Vibrant Yellow
197
+ - `#fff3cc` — Vibrant Yellow
198
+ - `#705500` — Chocolate
199
+ - `#ffebad` — Vibrant Yellow
200
+ - `#06a0c6` — #06a0c6
201
+ - `#9fa1a7` — Cool Gray
202
+ - `#1c1d1f` — Near Black
203
+ - `#266eef` — Royal Blue
204
+ - `rgba(46, 50, 56, 0.07)` — Translucent Charcoal (7%)
205
+ - `#ffebeb` — Warm Cream
206
+ - `#ffdcdb` — Soft Pink
207
+ - *…+11 more in `raw-css.json` (`desktop.allColors`).*
208
+
209
+ ### CSS Custom Properties (Design Tokens)
210
+
211
+ **Shadow Token**
212
+ - `--tw-inset-shadow-alpha`: `100%`
213
+ - `--tw-inset-ring-shadow`: `0 0 #0000`
214
+ - `--tw-inset-shadow`: `0 0 #0000`
215
+ - `--tw-shadow-alpha`: `100%`
216
+
217
+ **Secondary Color**
218
+ - `--internal-color-muted-background`: `lab(94.3726% -.157326 -2.23036)`
219
+ - `--internal-color-secondary-background`: `lab(98.2947% .128329 -.513124)`
220
+ - `--color-subtle-stroke`: `lab(91.5182% -.365466 -2.84777)`
221
+ - `--internal-color-secondary-foreground`: `lab(14.599% -.159428 -2.99254)`
222
+
223
+ **Font Weight Token**
224
+ - `--text-heading-sm--font-weight`: `600`
225
+ - `--text-sm--font-weight`: `500`
226
+ - `--text-2xl--font-weight`: `500`
227
+ - `--font-weight-bold`: `700`
228
+
229
+ **Z-Index Token**
230
+ - `--context-menu-portal-z-index`: `200`
231
+ - `--mobile-nav-drawer-overlay-z-index`: `90`
232
+ - `--dialog-overlay-z-index`: `100`
233
+ - `--mobile-nav-drawer-content-z-index`: `91`
234
+
235
+ **Primary Brand Color**
236
+ - `--internal-color-primary-background`: `lab(99.9987% .0337958 .000309944)`
237
+ - `--color-primary-foreground`: `lab(10.7201% -.0959039 -1.54182)`
238
+ - `--color-accent-foreground`: `lab(50.3787% -1.31875 -9.56043)`
239
+ - `--internal-color-accent-foreground`: `lab(50.3787% -1.31875 -9.56043)`
240
+
241
+ **Success**
242
+ - `--color-green-500`: `lab(69.4503% -54.6161 23.889)`
243
+ - `--color-green-600`: `lab(64.8297% -51.5975 22.501)`
244
+
245
+ **Spacing Token**
246
+ - `--text-2xl--letter-spacing`: `-.01em`
247
+ - `--tw-space-x-reverse`: `0`
248
+ - `--text-sm--letter-spacing`: `-.005em`
249
+ - `--text-heading-xs--letter-spacing`: `-.01em`
250
+
251
+ **Border Radius Token**
252
+ - `--radius-sm`: `.25rem`
253
+ - `--radius-2xl`: `1rem`
254
+ - `--radius-md`: `.375rem`
255
+ - `--radius-lg`: `.5rem`
256
+
257
+ **Motion Token**
258
+ - `--default-transition-duration`: `.15s`
259
+ - `--default-transition-timing-function`: `cubic-bezier(.4, 0, .2, 1)`
260
+ - `--tw-duration`: `.25s`
261
+
262
+ **Background**
263
+ - `--color-surface`: `lab(94.3726% -.157326 -2.23036)`
264
+ - `--internal-color-surface`: `lab(94.3726% -.157326 -2.23036)`
265
+ - `--internal-color-surface-subtle`: `lab(96.1596% -.0828803 -1.13571)`
266
+
267
+ **Error / Destructive**
268
+ - `--color-red-600`: `lab(59.1651% 62.9685 37.6953)`
269
+ - `--color-red-500`: `lab(61.966% 63.1275 36.9452)`
270
+
271
+ **Warning**
272
+ - `--color-yellow-600`: `lab(71.6198% 11.7839 74.107)`
273
+ - `--color-yellow-500`: `lab(79.0964% 13.374 80.5465)`
274
+
275
+ **Font Family Token**
276
+ - `--default-font-family`: `"inter", "inter Fallback"`
277
+ - `--default-mono-font-family`: `"JetBrains Mono", "JetBrains Mono Fallback"`
278
+
279
+ **Other tokens**
280
+ - `--color-black-500`: `lab(25.9077% -.872329 -6.43952)`
281
+ - `--button-ghost-bg-hover`: `lab(96.1596% -.0828803 -1.13571)`
282
+ - `--button-ghost-text-active`: `lab(12.7212% .103362 -2.22102)`
283
+ - `--color-white-800`: `lab(83.208% -.844151 -5.26234)`
284
+ - `--tw-mask-bottom-to-color`: `transparent`
285
+ - `--tw-mask-bottom-from-color`: `black`
286
+ - `--text-heading-lg`: `3.5rem`
287
+ - `--text-heading-sm--line-height`: `2.375rem`
288
+
289
+ ## 3. Typography Rules
290
+
291
+ ### Font Families
292
+ - **Primary**: `inter`
293
+ - **Secondary**: `interDisplay`
294
+ - **Font 3**: `JetBrains Mono`
295
+ - **Font 4**: `JetBrains Mono Fallback`
296
+ - **Font 5**: `inter Fallback`
297
+
298
+ ### Custom Fonts Loaded
299
+ - **JetBrains Mono** weight 100 800 (normal)
300
+ - **JetBrains Mono Fallback** weight normal (normal)
301
+ - **inter** weight 400 (normal)
302
+ - **inter** weight 500 (normal)
303
+ - **inter** weight 600 (normal)
304
+ - **inter** weight 700 (normal)
305
+ - **inter Fallback** weight normal (normal)
306
+ - **interDisplay** weight 500 (normal)
307
+ - **interDisplay** weight 600 (normal)
308
+ - **interDisplay** weight 700 (normal)
309
+ - **interDisplay Fallback** weight normal (normal)
310
+ - **tiemposText** weight 400 (normal)
311
+ - **tiemposText Fallback** weight normal (normal)
312
+
313
+ ### Typography Hierarchy
314
+
315
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
316
+ |------|------|------|--------|-------------|----------------|-------|
317
+ | Display Hero | interDisplay | 64px | 600 | 1 | -1.28px | Main headline (h1) |
318
+ | Sub-heading | interDisplay | 32px | 600 | 1.19 | -0.32px | Third-level heading (h3) |
319
+ | Card Title | inter | 16px | 500 | 1.38 | -0.16px | Card headings |
320
+ | Button | inter | 15px | 500 | 1.47 | -0.16px | Button label (15px) |
321
+ | Button | inter | 14px | 500 | 1.43 | -0.07px | Button label (14px) |
322
+ | Eyebrow / Overline | interDisplay | 12px | 600 | 1.17 | 0.72px | Label above heading, uppercase tag |
323
+
324
+ ### Font Weight Scale
325
+
326
+ CSS custom properties define 15 explicit weight steps:
327
+ - `--font-weight-normal`: `400` — Regular
328
+ - `--text-sm--font-weight`: `500` — Medium
329
+ - `--text-2xl--font-weight`: `500` — Medium
330
+ - `--text-xl--font-weight`: `500` — Medium
331
+ - `--text-xs--font-weight`: `500` — Medium
332
+ - `--text-base--font-weight`: `500` — Medium
333
+ - `--text-lg--font-weight`: `500` — Medium
334
+ - `--font-weight-medium`: `500` — Medium
335
+ - `--text-heading-sm--font-weight`: `600` — SemiBold
336
+ - `--text-heading-lg--font-weight`: `600` — SemiBold
337
+ - `--text-heading-md--font-weight`: `600` — SemiBold
338
+ - `--text-heading-xl--font-weight`: `600` — SemiBold
339
+ - `--font-weight-semibold`: `600` — SemiBold
340
+ - `--text-heading-xs--font-weight`: `600` — SemiBold
341
+ - `--font-weight-bold`: `700` — Bold
342
+
343
+ ### Full Font Size Scale
344
+
345
+ Sizes detected in the design (descending): `64px`, `56px`, `32px`, `20px`, `16px`, `15px`, `14px`, `13px`, `12px`, `11.30px`, `11px`, `10px`
346
+
347
+ > 6 size(s) detected outside the sampled hierarchy (56px, 20px, 13px, 11.3px, 11px, 10px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
348
+
349
+ ### OpenType & Variable Font Features
350
+
351
+ The typography uses these OpenType features intentionally — this is a sophisticated type system, not a default fallback:
352
+
353
+ - **stylistic sets** (`ss0X`) — alternate letterforms enabled (often for brand-specific glyph variants)
354
+ - **contextual alternates** (`calt`) — connections between letters refined contextually
355
+
356
+ **Clone instruction:** Enable these in your CSS:
357
+ ```css
358
+ body {
359
+ font-feature-settings: "ss03", "calt";
360
+ }
361
+ ```
362
+
363
+ ## 4. Component Stylings
364
+
365
+ ### Buttons
366
+
367
+ **Ghost**
368
+ - Background: `transparent`
369
+ - Text: `#000000`
370
+ - Padding: 0px
371
+ - Radius: 10px
372
+ - Border: 1px solid rgba(0, 0, 0, 0)
373
+ - Font: 16px weight 500
374
+ - Use: Subtle action, toolbar, nav button
375
+
376
+ **Ghost**
377
+ - Background: `transparent`
378
+ - Text: `#000000`
379
+ - Padding: 8px 4px
380
+ - Radius: 12px
381
+ - Font: 16px weight 500
382
+ - Use: Subtle action, toolbar, nav button
383
+
384
+ **Outline**
385
+ - Background: `#000000`
386
+ - Text: `#000000`
387
+ - Padding: 0px 12px
388
+ - Radius: 10px
389
+ - Border: 1px solid lab(83.208 -0.844151 -5.26234)
390
+ - Font: 14px weight 500
391
+ - Use: Secondary action with border
392
+
393
+ **Outline**
394
+ - Background: `#000000`
395
+ - Text: `#000000`
396
+ - Padding: 0px 12px
397
+ - Radius: 10px
398
+ - Border: 1px solid lab(37.426 -1.09151 -9.33263)
399
+ - Font: 14px weight 500
400
+ - Use: Secondary action with border
401
+
402
+ **Outline**
403
+ - Background: `#000000`
404
+ - Text: `#000000`
405
+ - Padding: 0px 10px
406
+ - Radius: 10px
407
+ - Border: 1px solid lab(91.5182 -0.365466 -2.84777)
408
+ - Font: 14px weight 500
409
+ - Use: Secondary action with border
410
+
411
+ ### Inputs & Forms
412
+
413
+ **Text Input**
414
+ - Background: `#000000`
415
+ - Text: `#000000`
416
+ - Padding: 10px 13px
417
+ - Radius: 10px
418
+ - Border: 1px solid lab(86.0989 -0.77799 -4.0961)
419
+ - Font: 16px weight 500
420
+ - Use: Text fields, search inputs
421
+
422
+
423
+ ## 4b. Component Behaviors (State Matrix)
424
+
425
+ ### Interaction State Narrative
426
+
427
+ - **Card**:
428
+ - **hover:** opacity 0.990002
429
+
430
+ *State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
431
+
432
+ ```yaml
433
+ component-behaviors:
434
+ button:
435
+ default:
436
+ bg: "rgba(0, 0, 0, 0)"
437
+ fg: "lab(94.3726 -0.157326 -2.23036)"
438
+ border: "1px solid rgba(0, 0, 0, 0)"
439
+ input:
440
+ default:
441
+ bg: "lab(99.9987 0.0337958 0.000309944)"
442
+ fg: "lab(14.599 -0.159428 -2.99254)"
443
+ border: "1px solid lab(86.0989 -0.77799 -4.0961)"
444
+ link:
445
+ default:
446
+ bg: "rgba(0, 0, 0, 0)"
447
+ fg: "lab(99.9987 0.0337958 0.000309944)"
448
+ card:
449
+ default:
450
+ bg: "rgba(0, 0, 0, 0)"
451
+ fg: "lab(10.7201 -0.0959039 -1.54182)"
452
+ hover:
453
+ bg: "rgba(0, 0, 0, 0)"
454
+ fg: "lab(10.7201 -0.0959039 -1.54182)"
455
+ navLink:
456
+ default:
457
+ bg: "rgba(0, 0, 0, 0)"
458
+ fg: "lab(99.9987 0.0337958 0.000309944)"
459
+ badge:
460
+ default:
461
+ bg: "rgba(0, 0, 0, 0)"
462
+ fg: "lab(10.7201 -0.0959039 -1.54182)"
463
+ shadow: "rgb(128, 128, 128) 0px 0px 5px 0px"
464
+ footerLink:
465
+ default:
466
+ bg: "rgba(0, 0, 0, 0)"
467
+ fg: "lab(10.7201 -0.0959039 -1.54182)"
468
+ ```
469
+
470
+ **Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
471
+
472
+
473
+ ## 4c. Component Vocabulary (Closed System)
474
+
475
+ *This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
476
+
477
+ ### Buttons
478
+ - **2 shape(s)** in this system: `Ghost`, `Outline`
479
+ - **DO NOT introduce new buttons variants** without justification
480
+
481
+ ### Inputs & Forms
482
+ - **1 shape(s)** in this system: `Text Input`
483
+ - **DO NOT introduce new inputs & forms variants** without justification
484
+
485
+ ## 5. Layout Principles
486
+
487
+ ### Layout Type
488
+ **top-nav + content**
489
+
490
+ ### Grid
491
+ Single column, centered content
492
+
493
+ ### Max Width
494
+ 1200px
495
+
496
+ ### Spacing System
497
+ Compact spacing — information density prioritized
498
+
499
+ | Token | Value |
500
+ |-------|-------|
501
+ | xxs | 2px |
502
+ | xs | 6px |
503
+ | sm | 10px |
504
+ | md | 13px |
505
+ | base | 16px |
506
+ | lg | 24px |
507
+ | xl | 32px |
508
+ | 2xl | 48px |
509
+ | 3xl | 64px |
510
+
511
+ ### Border Radius Scale
512
+ | Name | Value | Use |
513
+ |------|-------|-----|
514
+ | None | 0px | No rounding |
515
+ | Xs | 4px | Tiny corners (badges, micro elements) |
516
+ | Sm | 8px | Buttons, inputs, small elements |
517
+ | Md | 13px | Cards, containers |
518
+ | Lg | 16px | Large rounded elements, pill segments |
519
+ | Xl | 16px | Category strips, featured containers |
520
+ | Full | 9999px | Pills, avatars, circular elements |
521
+
522
+ ### Shape Language
523
+
524
+ | Component | Border Radius |
525
+ |-----------|---------------|
526
+ | Buttons | `10px` |
527
+ | Inputs & Forms | `10px` |
528
+ | Page Body | `0px` |
529
+ | Navigation | `0px` |
530
+ | Primary Input | `10px` |
531
+
532
+ **Shape Personality**: Moderate Rounding — Medium corners (4–12px). Modern SaaS standard, neither sharp nor pill.
533
+
534
+ **Full Radius Spectrum**: 4px, 5px, 6px, 7px, 8px, 9px, 10px, 11px (from `allBorderRadii` scan)
535
+
536
+
537
+ ## 5b. Spacing Rhythm Names
538
+
539
+ **Measured section rhythm**: bands use ~64px vertical padding (up to 92px) — **generous**. Reproduce this generous vertical breathing room; cramped spacing is the #1 tell of a cheap clone.
540
+
541
+ *Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
542
+
543
+ | Name | Value | Use case |
544
+ |------|-------|----------|
545
+ | **hero** | `64px` | Top/bottom of full-bleed hero sections |
546
+ | **section** | `32px` | Between major bands (color change, content shift) |
547
+ | **subsection** | `24px` | Within a section, between content groups |
548
+ | **card** | `13px` | Card padding, list-item spacing |
549
+ | **compact** | `10px` | Form fields, tight clusters, badge padding |
550
+ | **micro** | `6px` | Icon-text gap, tag inner padding |
551
+
552
+ **Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
553
+
554
+ ## 5c. Widget & Structure Library
555
+
556
+ Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
557
+
558
+ **6/8 structural patterns detected.**
559
+
560
+ ### Hero Pattern
561
+
562
+ - **Composition:** centered — Centered composition — heading + subheading + CTAs stacked vertically, content centered horizontally. Common for SaaS marketing pages.
563
+ - **Viewport coverage:** full-viewport hero (≥70% screen height)
564
+ - **Heading:** "The revenue platform engineered for scale." — 64px center-aligned
565
+ - **Subheading:** "Attio is the AI CRM that builds pipeline, accelerates every deal, and compounds revenue around the clock."
566
+ - **Media:** present, positioned top
567
+ - **CTAs:** 6 (primary: "Start for free")
568
+ - **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. Place media top of text.
569
+
570
+ ### Navigation Pattern
571
+
572
+ - **Position:** static (scrolls with page)
573
+ - **Layout:** unknown — Layout not classified
574
+ - **Height:** 67px
575
+ - **Logo:** ✓ present
576
+ - **Nav links:** 0 primary items
577
+ - **CTAs in nav:** 4
578
+ - **Clone instruction:** Build a static unknown navigation. Reserve 4 slots for primary CTAs.
579
+
580
+ ### Card Grid Pattern
581
+
582
+ - **Card count:** 5 cards detected
583
+ - **Columns (desktop):** 1-up grid
584
+ - **Card dimensions:** 1392×600px (aspect 2.32:1)
585
+ - **Gap:** 0px between cards
586
+ - **Content:** ✗ no image
587
+ - **Clone instruction:** Build a 1-column grid (desktop) with cards at ~2.32:1 aspect ratio. Text/icon-only cards (no photography).
588
+
589
+ ### Pricing Table Pattern
590
+
591
+ - **Tier count:** 2 pricing tiers
592
+ - **Layout:** vertical stacked
593
+ - **Columns (desktop):** 2-up
594
+ - **Clone instruction:** Build a 2-column vertical-stack pricing comparison.
595
+
596
+ ### Testimonial Pattern
597
+
598
+ - **Count:** 1 testimonial blocks
599
+ - **Layout:** single-feature
600
+ - **Avg quote length:** 167 chars (medium quote)
601
+ - **Includes:** ✗ no avatars | ✗ no logos | ✗ no ratings
602
+ - **Clone instruction:** Build a single-feature of 1 testimonials.
603
+
604
+ ### Footer Pattern
605
+
606
+ - **Columns:** 1
607
+ - **Links:** 43 total
608
+ - **Height:** 657px
609
+ - **Includes:** ✗ no newsletter | ✓ social icons | ✓ copyright
610
+ - **Clone instruction:** Build a 1-column footer with ~43 links per column, social media links, and a copyright line.
611
+
612
+ ## 6. Depth & Elevation
613
+
614
+ | Level | Treatment | Use |
615
+ |-------|-----------|-----|
616
+ | Flat (Level 0) | No shadow | Page background, content blocks |
617
+ | Layered (Level 1) | <br>`oklch(0 0 0 / 0.01) 0px 1px 2px 0px`,<br>`oklch(0 0 0 / 0.02) 0px 2px 4px -1px`,<br>`oklch(0 0 0 / 0.03) 0px 4px 8px -2px` | Cards, elevated surfaces |
618
+ | Layered (Level 2) | <br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(28, 29, 31, 0.1) 0px 0px 0px 1px`,<br>`rgba(28, 29, 31, 0.05) 0px 1px 2px 0px`,<br>`rgba(28, 29, 31, 0.02) 0px 2px 4px -1px`,<br>`rgba(28, 29, 31, 0.03) 0px 4px 8px -2px`,<br>`rgba(28, 29, 31, 0.04) 0px 8px 16px -4px`,<br>`rgba(28, 29, 31, 0.05) 0px 16px 32px -8px`,<br>`rgba(28, 29, 31, 0.06) 0px 32px 64px -8px` | Cards, elevated surfaces |
619
+ | Layered (Level 3) | <br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(28, 40, 64, 0.06) 0px 2px 6px 0px`,<br>`rgba(28, 40, 64, 0.08) 0px 6px 20px -2px` | Cards, elevated surfaces |
620
+ | Layered (Level 4) | <br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(0, 0, 0, 0) 0px 0px 0px 0px`,<br>`rgba(28, 40, 64, 0.18) 0px 0px 2px 0px`,<br>`rgba(0, 0, 0, 0.04) 0px 1px 3px 0px` | Cards, elevated surfaces |
621
+
622
+ **Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
623
+
624
+ ## 7. Motion & Interaction
625
+
626
+ ### Easing System
627
+
628
+ | CSS Variable | Curve | Semantic Name |
629
+ |--------------|-------|---------------|
630
+ | `--ease-in` | `cubic-bezier(.3, 0, 1, 1)` | Custom Ease — Balanced |
631
+ | `--ease-in-out-cubic` | `cubic-bezier(.65, 0, .35, 1)` | Ease Out — Decelerating |
632
+ | `--default-transition-timing-function` | `cubic-bezier(.4, 0, .2, 1)` | Ease Out — Decelerating |
633
+ | `--ease-in-out-expo` | `cubic-bezier(1, 0, 0, 1)` | Expo In-Out — Mechanical Snap |
634
+ | `--ease-out` | `cubic-bezier(0, 0, 0, 1)` | Ease Out — Decelerating |
635
+ | `--ease-linear` | `cubic-bezier(0, 0, 1, 1)` | Custom Ease — Balanced |
636
+ | `--ease-emphasized-in-out` | `cubic-bezier(.2, 0, 0, 1)` | Ease Out — Decelerating |
637
+ | `--ease-in-out` | `cubic-bezier(.2, 0, 0, 1)` | Ease Out — Decelerating |
638
+ | `--ease-out-cubic` | `cubic-bezier(.33, 1, .68, 1)` | Custom Ease — Balanced |
639
+ | `--ease-in-out-quad` | `cubic-bezier(.45, .05, .55, .95)` | Custom Ease — Balanced |
640
+ | `--ease-in-cubic` | `cubic-bezier(.32, 0, .67, 0)` | Custom Ease — Balanced |
641
+
642
+ ### Duration Scale
643
+
644
+ | CSS Variable | Value | Tier |
645
+ |--------------|-------|------|
646
+ | `--default-transition-duration` | `.15s` | Fast |
647
+ | `--tw-duration` | `.25s` | Normal |
648
+
649
+ ### Copy-Paste Transition Snippets
650
+
651
+ **Color / Background**
652
+ ```css
653
+ transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cub...;
654
+ ```
655
+
656
+ **All Props**
657
+ ```css
658
+ transition: background-size 0.4s cubic-bezier(0.65, 0, 0.35, 1);
659
+ ```
660
+
661
+ **All Props**
662
+ ```css
663
+ transition: translate 0.4s cubic-bezier(0.2, 0, 0, 1);
664
+ ```
665
+
666
+ **Color / Background**
667
+ ```css
668
+ transition: color 0.3s cubic-bezier(0.2, 0, 0, 1), background-color 0.3s cubic-bezier(0.2, 0, 0, 1), border-color 0.3s cubic-bezi...;
669
+ ```
670
+
671
+ ### Keyframe Animation Catalog
672
+
673
+ | Animation Name | Type | Animated Props | Use Hint |
674
+ |----------------|------|----------------|----------|
675
+ | `ai-hero-box-gradient-spin` | Custom | --ai-hero-box-gradient-angle | Loading indicator |
676
+ | `rotate-reporting` | Custom | --reporting-hero-card-reports-gradient-angle | Loading indicator |
677
+ | `pricing-cards-grid-line-appear` | Custom | --pricing-cards-grid-line-position-start, --pricing-cards-grid-line-position-end | UI transition |
678
+ | `rotate` | Custom | --workflows-card-gradient-angle | Loading indicator |
679
+ | `connection` | Fade | opacity | UI transition |
680
+ | `running` | Fade | opacity, top | UI transition |
681
+ | `completed` | Fade | opacity, top | UI transition |
682
+ | `spin` | Rotate / Spin | transform | Loading indicator |
683
+ | `pulse` | Fade | opacity | Attention / status |
684
+ | `enter` | Fade + Move | opacity, transform | Element entrance |
685
+ | `exit` | Fade + Move | opacity, transform | Element exit |
686
+ | `navigation-enter-from-right` | Fade + Move | opacity, filter, transform | Element entrance |
687
+ | `navigation-enter-from-left` | Fade + Move | opacity, filter, transform | Element entrance |
688
+ | `navigation-exit-to-right` | Fade + Move | opacity, filter, transform | Element exit |
689
+ | `navigation-exit-to-left` | Fade + Move | opacity, filter, transform | Element exit |
690
+ | `dialog-scale-in` | Fade + Move | opacity, transform | Focus / emphasis |
691
+ | `dialog-scale-out` | Fade + Move | opacity, transform | Focus / emphasis |
692
+ | `search-shine` | Slide | transform | UI transition |
693
+ | `productivity-intro-width` | Fade | opacity, width | UI transition |
694
+ | `productivity-intro-height` | Fade | opacity, height | UI transition |
695
+
696
+ > *30 additional animations omitted (repetitive variants). See raw keyframes in `raw-css.json`.*
697
+
698
+ ### Motion Fingerprint
699
+
700
+ - **Speed Character**: Deliberate & Calm (median duration: `300ms`)
701
+ - **Dominant Easing**: custom cubic-bezier curves
702
+ - **Animation Library**: 50 unique animations (50 total including variants)
703
+
704
+ > This design moves with deliberate & calm timing using custom cubic-bezier curves, creating a UI that feels calm and controlled.
705
+
706
+ ## 8. Do's and Don'ts
707
+
708
+ ### Do
709
+ - Use inter as the primary typeface — it defines the brand personality
710
+ - Use negative letter-spacing (-1.28px) at display sizes for compressed, editorial headlines
711
+ - Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
712
+ - Use Royal Blue (`#266df0`) as the primary accent — it's the brand's signature interactive color
713
+ - Use 12px border-radius on buttons — the standard corner rounding for interactive elements
714
+ - Style form inputs with a `1px solid lab(86.0989 -0.77799 -4.0961)` border — use border-based inputs, not floating labels or underline-only
715
+ - Maintain nav height at 67px — consistent vertical space for the navigation bar
716
+ - Make the hero full-viewport (≥70% screen height) — this design uses an immersive hero, not a tall navbar
717
+ - Include exactly 6 CTAs in the hero (primary + secondary) — this design pattern is multi-action, not single-purpose
718
+
719
+ ### Don't
720
+ - Don't substitute with generic sans-serif or serif — the custom font carries the brand
721
+ - Don't increase letter-spacing on headings — the type is designed to run tight at scale
722
+ - Don't invent new shadow values — use only the extracted shadow levels
723
+ - Don't introduce additional saturated accent colors — the palette is intentionally controlled
724
+ - Don't remove the input border — the border is the primary affordance indicator for form fields
725
+ - Don't collapse or hide the nav on scroll without an explicit scroll-triggered animation — the design uses fixed nav presence
726
+ - Don't make the nav sticky — this design lets it scroll away to maximize content focus
727
+
728
+
729
+ ## 7b. Enforceable Brand Rules
730
+
731
+ *Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
732
+
733
+ ```yaml
734
+ rules:
735
+ - id: brand-canvas-001
736
+ type: do
737
+ rule: "Always use the page background `lab(99.9987 0.0337958 0.000309944)` as the base canvas"
738
+ why: "Every component is designed to composit against this exact tone"
739
+ test: "document.body.style.backgroundColor === 'lab(99.9987 0.0337958 0.000309944)'"
740
+ - id: brand-accent-001
741
+ type: do
742
+ rule: "Reserve `rgb(38, 109, 240)` for primary CTAs and brand-mark signals only"
743
+ why: "Single chromatic assertion device — overuse dilutes meaning"
744
+ test: "querySelectorAll('[style*=\"rgb(38, 109, 240)\"]').length <= 3 per fold"
745
+ ```
746
+
747
+ ## 9. Responsive Behavior
748
+
749
+ ### Breakpoints
750
+ | Name | Width | Key Changes |
751
+ |------|-------|-------------|
752
+ | Mobile Large | 600px | Expanded mobile layout |
753
+ | Tablet | 992px | Multi-column grids begin |
754
+ | Desktop | 1199px | Full feature layout |
755
+
756
+ ### Token Diff — Desktop vs Mobile
757
+
758
+ | Element | Property | Desktop | Mobile |
759
+ |---------|----------|---------|--------|
760
+ | heading | font-size | `64px` | `40px` |
761
+ | heading | line-height | `64px` | `44px` |
762
+ | heading | letter-spacing | `-1.28px` | `-0.4px` |
763
+ | nav | padding | `16px 0px 15px` | `8px 0px 7px` |
764
+ | nav | height | `67px` | `51px` |
765
+ | card | width | `1390px` | `390px` |
766
+
767
+ ### Collapsing Strategy
768
+ - Headlines: 64px → 40px on mobile
769
+ - Navigation: horizontal links → hamburger menu on mobile
770
+ - Cards: multi-column → stacked vertical on mobile
771
+ - Footer: multi-column → stacked single column on mobile
772
+
773
+ ### Touch Targets
774
+ - Buttons: 0px padding
775
+ - Navigation: adequate spacing between items
776
+ - Interactive elements: minimum 44px touch target recommended
777
+
778
+ ### Collapsing Narrative
779
+
780
+ How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
781
+
782
+ - **Nav CTAs reduced** on mobile (4 → 0) — the design prioritizes content over conversion buttons at small sizes.
783
+
784
+
785
+ ## 7c. Visual Effects & Dynamic Behavior
786
+
787
+ *The live/dynamic layer beyond static CSS — reproduce these, not flat substitutes. This is often what separates a faithful clone from a wireframe.*
788
+
789
+ - **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.
790
+ - **Glassmorphism** — 2 frosted/blur layer(s) (e.g. `blur(12px)`).
791
+ - **Mesh gradients** — 2 multi-stop organic color field(s) as background atmosphere.
792
+ - **Clip-path shapes** — 8 non-rectangular cut(s).
793
+ - **Blend modes** — 8 mix-blend layer(s).
794
+ - **CSS-variable animations** (5) — animated custom properties.
795
+
796
+ > **Motion fingerprint**: Canvas 2D, glassmorphism (2 layers), mesh gradients, non-rectangular shapes (10), blend modes
797
+
798
+ ## 9b. Visual Tone & Photography
799
+
800
+ **Tone:** Illustration-driven
801
+
802
+ 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.
803
+
804
+ **Canonical Brand Image (OG):**
805
+ - https://a.storyblok.com/f/234930/1200x630/df480627b4/attio-og-image.jpg
806
+ *This is the image shown when the site is shared on social media — represents the brand visual essence.*
807
+
808
+ **Aspect Ratio Distribution:**
809
+ - Landscape (1.15–2.3): 0 (0%)
810
+ - Portrait (<0.87): 0 (0%)
811
+ - Square (0.87–1.15): 3 (33%)
812
+ - Ultra-wide (>2.3): 6 (67%)
813
+
814
+ **Media Format Mix:**
815
+ - SVG: 20 (icons, illustrations, decorative geometry)
816
+
817
+ **Average rendered image size:** 173×108px
818
+ **Above-fold image count:** 0 / 9
819
+
820
+ **Decorative Patterns Detected:**
821
+ - 30 multi-stop linear gradients (mesh-like, 3+ color stops) — the brand leans on rich color transitions for visual depth
822
+ - 3 radial gradients — circular color blooms used for spotlight/glow effects
823
+ - 14 large decorative SVG shapes (≥200×200px, non-icon) — likely blob/illustration accents
824
+ - **Glassmorphism** detected (`backdrop-filter: blur`) — layered transparent surfaces with blur, modern OS-like aesthetic
825
+
826
+ **Clone instruction for decorative work:** This is a gradient-rich design — invest in multi-stop CSS gradients (3+ color stops), not solid backgrounds.
827
+
828
+ **Imagery Guidance for clones:**
829
+ - Use vector illustration as the primary visual language — photos will read as off-brand.
830
+ - Maintain consistent illustration style (line weight, color palette) across the site.
831
+
832
+ ## 10. Agent Prompt Guide
833
+
834
+ ### Quick Reference
835
+ - Background: Unknown (`#000000`)
836
+ - Primary text: Unknown (`#000000`)
837
+ - Accent: Royal Blue (`#266df0`)
838
+ - Border: Silver (`#cad0d9`)
839
+ - Font: inter
840
+ - Body: 16px weight 500
841
+
842
+ ### Example Component Prompts
843
+ - "Create a hero section on Unknown background (#000000). Headline at 64px inter weight 600, line-height 1, letter-spacing -1.28px, color #000000."
844
+ - "Create the primary CTA button: `#266df0` background, `#000000` text, 10px border-radius, 12px 24px padding, 500 weight, inter font."
845
+ - "Design a card on `transparent` background. Border: none. Radius: 0px. Shadow: none. Padding: 0px."
846
+ - "Build navigation: static on `#000000`. inter 16px weight 500 for links."
847
+
848
+ ### Iteration Guide
849
+ 1. **Canvas**: Set the light canvas to Unknown (`#000000`) — every component is composited against this exact base.
850
+ 2. **Typography**: All type in inter, weight range 400–700. Never exceed 700 — heavier weights break the brand's tonal restraint.
851
+ 3. **Accent**: Royal Blue (`#266df0`) is the sole interactive color. On hover → #9162f9 (`#9162f9`). Use CSS transitions, not opacity/brightness filters.
852
+ 4. **Motion**: All transitions use `cubic-bezier(0.4,0,0.2,1)`. Timing: 150ms for micro-interactions, 250ms for layout changes. Never use linear for UI transitions — preserve the brand's easing personality.
853
+ 5. **Shape**: CTAs at `12px`, cards at `0px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
854
+ 6. **Spacing**: Use the `--ca-space-*` token scale (6px–32px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
855
+ 7. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
856
+
857
+ ## 11. CSS Design Tokens Raw Export
858
+
859
+ *Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
860
+
861
+ ```css
862
+ /* Colors */
863
+ :root {
864
+ --ca-surface-1: #eeeff1;
865
+ --ca-surface-2: #e6e7ea;
866
+ --ca-ink-subtle: #23252a;
867
+ --ca-primary: #266df0;
868
+ --ca-on-primary: #111111;
869
+ --ca-primary-hover: #9162f9;
870
+ --ca-hairline: #cad0d9;
871
+ }
872
+
873
+ /* Typography */
874
+ :root {
875
+ --ca-font-primary: "interDisplay", system-ui, sans-serif;
876
+ --ca-text-display: 64px;
877
+ --ca-text-body: 16px;
878
+ --ca-text-button: 15px;
879
+ }
880
+
881
+ /* Spacing & Radius */
882
+ :root {
883
+ --ca-space-xxs: 2px;
884
+ --ca-space-xs: 6px;
885
+ --ca-space-sm: 10px;
886
+ --ca-space-md: 13px;
887
+ --ca-space-base: 16px;
888
+ --ca-space-lg: 24px;
889
+ --ca-space-xl: 32px;
890
+ --ca-space-2xl: 48px;
891
+ --ca-space-3xl: 64px;
892
+ --ca-radius-none: 0px;
893
+ --ca-radius-xs: 4px;
894
+ --ca-radius-sm: 8px;
895
+ --ca-radius-md: 13px;
896
+ --ca-radius-lg: 16px;
897
+ --ca-radius-xl: 16px;
898
+ --ca-radius-full: 9999px;
899
+ }
900
+
901
+ /* Motion */
902
+ :root {
903
+ --ca-ease-in: cubic-bezier(.3, 0, 1, 1);
904
+ --ca-ease-in-out-cubic: cubic-bezier(.65, 0, .35, 1);
905
+ --ca-ease-in-out-expo: cubic-bezier(1, 0, 0, 1);
906
+ --ca-ease-out: cubic-bezier(0, 0, 0, 1);
907
+ --ca-ease-linear: cubic-bezier(0, 0, 1, 1);
908
+ --ca-ease-emphasized-in-out: cubic-bezier(.2, 0, 0, 1);
909
+ --ca-ease-in-out: cubic-bezier(.2, 0, 0, 1);
910
+ --ca-ease-out-cubic: cubic-bezier(.33, 1, .68, 1);
911
+ --ca-ease-in-out-quad: cubic-bezier(.45, .05, .55, .95);
912
+ --ca-ease-in-cubic: cubic-bezier(.32, 0, .67, 0);
913
+ }
914
+ ```
915
+
916
+
917
+ ## 13. Page Structure Skeleton
918
+
919
+ *The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
920
+
921
+ ```yaml
922
+ page-skeleton:
923
+ - section: hero
924
+ tag: div
925
+ classes: ["flex", "flex-col", "justify-between", "overflow-x-clip"]
926
+ height: 12802px
927
+ width: full-bleed
928
+ layout: flex-column justify=space-between
929
+ children: 3
930
+ tone: dark
931
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
932
+ - section: feature-section
933
+ tag: div
934
+ classes: ["absolute", "inset-x-0", "top-0", "border-subtle-stroke"]
935
+ height: 1472px
936
+ width: full-bleed
937
+ layout: block
938
+ children: 2
939
+ bg: "lab(99.9987 0.0337958 0.000309944)"
940
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
941
+ - section: header
942
+ tag: div
943
+ classes: ["sticky", "top-[var(--site-header-height)]", "grid", "h-[calc(100vh-var(--site-header-height))]"]
944
+ height: 832px
945
+ width: 1390px
946
+ layout: grid: 1-col gap=52px
947
+ children: 3
948
+ tone: dark
949
+ vertical-padding: ~36px
950
+ padding: "72px 24px 0px"
951
+ - section: feature-section
952
+ tag: main
953
+ classes: ["bg-primary-background"]
954
+ height: 12077px
955
+ width: full-bleed
956
+ layout: block
957
+ children: 16
958
+ bg: "lab(99.9987 0.0337958 0.000309944)"
959
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
960
+ - section: section
961
+ tag: section
962
+ classes: ["flex", "w-full", "flex-col", "items-center"]
963
+ height: 3478px
964
+ width: full-bleed
965
+ layout: flex-column justify=center
966
+ children: 1
967
+ bg-treatment: linear-gradient
968
+ tone: dark
969
+ - section: unknown
970
+ tag: div
971
+ classes: ["container"]
972
+ height: 3478px
973
+ width: full-bleed
974
+ layout: block
975
+ children: 2
976
+ tone: dark
977
+ padding: "0px 24px"
978
+ - section: feature-section
979
+ tag: div
980
+ classes: ["container"]
981
+ height: 478px
982
+ width: full-bleed
983
+ layout: block
984
+ children: 1
985
+ tone: dark
986
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
987
+ padding: "0px 24px"
988
+ - section: content-section
989
+ tag: div
990
+ classes: ["container", "grid", "grid-cols-12"]
991
+ height: 740px
992
+ width: full-bleed
993
+ layout: grid: 12-col gap=normal
994
+ children: 2
995
+ tone: dark
996
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
997
+ padding: "0px 24px"
998
+ - section: unknown
999
+ tag: div
1000
+ classes: ["pointer-events-none", "fixed", "right-4", "bottom-4"]
1001
+ height: 154px
1002
+ width: 1408px
1003
+ layout: flex-row justify=flex-start
1004
+ children: 1
1005
+ tone: dark
1006
+ - section: unknown
1007
+ tag: div
1008
+ classes: ["container"]
1009
+ height: 252px
1010
+ width: full-bleed
1011
+ layout: block
1012
+ children: 1
1013
+ tone: dark
1014
+ padding: "0px 24px"
1015
+ - section: unknown
1016
+ tag: div
1017
+ classes: ["hidden", "lg:block", "pt-[60px]"]
1018
+ height: 95px
1019
+ width: 1392px
1020
+ layout: block
1021
+ children: 2
1022
+ tone: dark
1023
+ vertical-padding: ~30px
1024
+ padding: "60px 0px 0px"
1025
+ - section: feature-section
1026
+ tag: section
1027
+ classes: ["flex", "w-full", "flex-col", "items-center"]
1028
+ height: 3078px
1029
+ width: full-bleed
1030
+ layout: flex-column justify=center
1031
+ children: 1
1032
+ tone: dark
1033
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1034
+ - section: feature-section
1035
+ tag: div
1036
+ classes: ["container", "relative", "w-full", "lg:grid"]
1037
+ height: 298px
1038
+ width: 1392px
1039
+ layout: grid: 12-col gap=normal 24px
1040
+ children: 1
1041
+ tone: dark
1042
+ vertical-padding: ~92px (generous)
1043
+ - section: content-section
1044
+ tag: div
1045
+ classes: ["container", "px-0"]
1046
+ height: 2685px
1047
+ width: 1392px
1048
+ layout: block
1049
+ children: 6
1050
+ tone: dark
1051
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1052
+ - section: gallery-grid
1053
+ tag: div
1054
+ classes: ["container", "w-full", "lg:grid", "lg:grid-cols-12"]
1055
+ height: 626px
1056
+ width: 1392px
1057
+ layout: grid: 12-col gap=normal 24px
1058
+ children: 2
1059
+ tone: dark
1060
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1061
+ - section: pricing
1062
+ tag: div
1063
+ classes: ["container", "w-full", "lg:grid", "lg:grid-cols-12"]
1064
+ height: 626px
1065
+ width: 1392px
1066
+ layout: grid: 12-col gap=normal 24px
1067
+ children: 2
1068
+ tone: dark
1069
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1070
+ - section: gallery-grid
1071
+ tag: div
1072
+ classes: ["container", "w-full", "lg:grid", "lg:grid-cols-12"]
1073
+ height: 626px
1074
+ width: 1392px
1075
+ layout: grid: 12-col gap=normal 24px
1076
+ children: 2
1077
+ tone: dark
1078
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1079
+ - section: pricing
1080
+ tag: div
1081
+ classes: ["container", "w-full", "lg:grid", "lg:grid-cols-12"]
1082
+ height: 627px
1083
+ width: 1392px
1084
+ layout: grid: 12-col gap=normal 24px
1085
+ children: 3
1086
+ tone: dark
1087
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1088
+ - section: unknown
1089
+ tag: div
1090
+ classes: ["container", "relative", "w-full", "lg:grid"]
1091
+ height: 160px
1092
+ width: 1392px
1093
+ layout: grid: 12-col gap=normal 24px
1094
+ children: 1
1095
+ tone: dark
1096
+ - section: feature-section
1097
+ tag: div
1098
+ classes: ["bg-[#FAFAFB]"]
1099
+ height: 404px
1100
+ width: full-bleed
1101
+ layout: block
1102
+ children: 1
1103
+ bg: "rgb(250, 250, 251)"
1104
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1105
+ - section: feature-section
1106
+ tag: div
1107
+ classes: ["container"]
1108
+ height: 404px
1109
+ width: full-bleed
1110
+ layout: block
1111
+ children: 1
1112
+ tone: dark
1113
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1114
+ padding: "0px 24px"
1115
+ - section: feature-section
1116
+ tag: div
1117
+ height: 1318px
1118
+ width: full-bleed
1119
+ layout: block
1120
+ children: 2
1121
+ tone: dark
1122
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1123
+ - section: feature-section
1124
+ tag: div
1125
+ classes: ["container"]
1126
+ height: 433px
1127
+ width: full-bleed
1128
+ layout: block
1129
+ children: 2
1130
+ tone: dark
1131
+ vertical-padding: ~60px (generous)
1132
+ padding: "0px 24px"
1133
+ - section: content-section
1134
+ tag: div
1135
+ classes: ["lg:container"]
1136
+ height: 885px
1137
+ width: full-bleed
1138
+ layout: block
1139
+ children: 1
1140
+ tone: dark
1141
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1142
+ padding: "0px 24px"
1143
+ - section: content-section
1144
+ tag: div
1145
+ classes: ["data-model-cards-mobile-connection-container", "relative"]
1146
+ height: 729px
1147
+ width: 1390px
1148
+ layout: block
1149
+ children: 4
1150
+ tone: dark
1151
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1152
+ ```
1153
+
1154
+ **Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
1155
+
1156
+
1157
+ ## 14. Copy Library (Real Content from Source)
1158
+
1159
+ *Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
1160
+
1161
+ ```yaml
1162
+ copy:
1163
+ section-headings:
1164
+ - "[01]
1165
+ POWERFUL PLATFORM"
1166
+ - "Start with 14 days
1167
+ of Pro, for free."
1168
+ - "Enterprise-ready, out of the box."
1169
+ - "The next era of revenue
1170
+ runs on Attio."
1171
+ - "Platform"
1172
+ sub-headings:
1173
+ - "The intelligent system that never sleeps."
1174
+ - "Revenue agents at your command."
1175
+ - "The only CRM with Universal Context
1176
+
1177
+ ."
1178
+ ctas:
1179
+ - "Platform"
1180
+ - "Customers"
1181
+ - "Sign in"
1182
+ - "Start for free"
1183
+ - "Ask Attio"
1184
+ - "Data model"
1185
+ - "Explore agents"
1186
+ - "Scale-ups"
1187
+ navigation:
1188
+ - "Customers"
1189
+ - "Pricing"
1190
+ - "Ask AttioSearch and create with AI"
1191
+ - "AINative to your CRM"
1192
+ - "Data modelSync and enrich your data"
1193
+ - "AgentsAt your call"
1194
+ - "WorkflowsAutomate any process"
1195
+ - "SequencesPersonalized outreach"
1196
+ - "ReportingInsights in real time"
1197
+ - "Attio 101"
1198
+ footer-links:
1199
+ - "Refer a team
1200
+ New"
1201
+ - "Services Agreement"
1202
+ ```
1203
+
1204
+ **Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
1205
+
1206
+
1207
+ ## 15. Asset Inventory (Image Roles & Ratios)
1208
+
1209
+ *Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
1210
+
1211
+ ```yaml
1212
+ assets:
1213
+ logo:
1214
+ count: 5
1215
+ avg-ratio: 2.88
1216
+ common-aspect: "~16:6 banner"
1217
+ thumbnail:
1218
+ count: 17
1219
+ avg-ratio: 1.00
1220
+ common-aspect: "~1:1 square"
1221
+ sample-alts:
1222
+ - "Basepoint"
1223
+ ```
1224
+
1225
+ **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`.
1226
+
1227
+
1228
+ ## 16. Component HTML Templates
1229
+
1230
+ *Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
1231
+
1232
+ ### Button (primary action)
1233
+ ```html
1234
+ <button class="btn btn-primary">
1235
+ Action
1236
+ </button>
1237
+ ```
1238
+ _Source pattern detected: padding `8px 4px` · radius `12px` · weight `500`_
1239
+
1240
+ ### Generic Card
1241
+ ```html
1242
+ <div class="card">
1243
+ <!-- content -->
1244
+ </div>
1245
+ ```
1246
+ _Source pattern detected: padding `0px` · radius `0px` · shadow `none`_
1247
+
1248
+ **Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
1249
+
1250
+
1251
+ ## 12. Known Extraction Gaps
1252
+
1253
+ *Auto-detected limitations of this extraction — understand before building:*
1254
+
1255
+ - **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.
1256
+
1257
+
1258
+ ---
1259
+ ## Extraction Completeness: 76/100 (B)
1260
+
1261
+ | Category | Score | Max | Detail |
1262
+ |----------|-------|-----|--------|
1263
+ | Colors & Palette | 25 | 25 | 21 named colors |
1264
+ | Typography | 15 | 20 | 6 roles defined |
1265
+ | Components | 8 | 20 | 2 specs extracted |
1266
+ | Motion & Interaction | 15 | 15 | Keyframes present, easing vars |
1267
+ | CSS Custom Properties | 10 | 10 | 336 vars |
1268
+ | Responsive Breakpoints | 3 | 5 | 3 breakpoints |
1269
+ | Variable Fonts | 0 | 5 | None detected |
1270
+
1271
+ ## 12. Known Gaps & Confidence
1272
+
1273
+ 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.
1274
+
1275
+ | Category | What's missing | Fallback strategy |
1276
+ |----------|----------------|-------------------|
1277
+ | **Hero imagery** | No dominant hero image detected above the fold | Use the canonical brand visual from §9b (OG image) for hero composition |
1278
+
1279
+ ### Per-section confidence
1280
+
1281
+ | Section | Confidence | Reason |
1282
+ |---------|------------|--------|
1283
+ | §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
1284
+ | §2 Colors | High | 336 CSS vars (semantic naming requires ≥20 for high) |
1285
+ | §3 Typography | High | 6 typography roles inferred |
1286
+ | §4 Components | Low | 2 component variants captured |
1287
+ | §7 Motion | High | Keyframes + transitions |
1288
+ | §8 Do's/Don'ts | High | 16 rules generated; design-decisions.json has evidence per rule |
1289
+ | §9 Responsive | High | 3 breakpoints detected |
1290
+ | §9b Photography | Medium | 9 images, hero not detected |
1291
+
1292
+ ---
1293
+ *Generated by Prism — automated Playwright extraction + design analysis.*
1294
+ *Source: https://attio.com | 2026-05-31T04:12:13.052Z*
1295
+ *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.*