glyph-ai 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/README.md +69 -0
  2. package/bundled/overlay/overlay.js +63 -0
  3. package/bundled/server/context/brand-references.d.ts +7 -0
  4. package/bundled/server/context/brand-references.d.ts.map +1 -0
  5. package/bundled/server/context/brand-references.js +20 -0
  6. package/bundled/server/context/brand-references.js.map +1 -0
  7. package/bundled/server/context/design-philosophy.d.ts +6 -0
  8. package/bundled/server/context/design-philosophy.d.ts.map +1 -0
  9. package/bundled/server/context/design-philosophy.js +82 -0
  10. package/bundled/server/context/design-philosophy.js.map +1 -0
  11. package/bundled/server/context/design-system-loader.d.ts +11 -0
  12. package/bundled/server/context/design-system-loader.d.ts.map +1 -0
  13. package/bundled/server/context/design-system-loader.js +169 -0
  14. package/bundled/server/context/design-system-loader.js.map +1 -0
  15. package/bundled/server/context/design-system.d.ts +7 -0
  16. package/bundled/server/context/design-system.d.ts.map +1 -0
  17. package/bundled/server/context/design-system.js +75 -0
  18. package/bundled/server/context/design-system.js.map +1 -0
  19. package/bundled/server/context/prompt-builder.d.ts +15 -0
  20. package/bundled/server/context/prompt-builder.d.ts.map +1 -0
  21. package/bundled/server/context/prompt-builder.js +123 -0
  22. package/bundled/server/context/prompt-builder.js.map +1 -0
  23. package/bundled/server/context/token-template.d.ts +36 -0
  24. package/bundled/server/context/token-template.d.ts.map +1 -0
  25. package/bundled/server/context/token-template.js +226 -0
  26. package/bundled/server/context/token-template.js.map +1 -0
  27. package/bundled/server/data/design-systems/apple-design-system.md +474 -0
  28. package/bundled/server/data/design-systems/arc-design-system.md +922 -0
  29. package/bundled/server/data/design-systems/claude-ai-design-system.md +1443 -0
  30. package/bundled/server/data/design-systems/elevenlabs-design-system.md +669 -0
  31. package/bundled/server/data/design-systems/generating_design.md +9 -0
  32. package/bundled/server/data/design-systems/linear-design-system.md +607 -0
  33. package/bundled/server/data/design-systems/notion-design-system.md +866 -0
  34. package/bundled/server/data/design-systems/raycast-design-system.md +709 -0
  35. package/bundled/server/data/design-systems/stripe-design-system.md +592 -0
  36. package/bundled/server/data/design-systems/vercel-design-system.md +824 -0
  37. package/bundled/server/data/design.md +971 -0
  38. package/bundled/server/index.d.ts +2 -0
  39. package/bundled/server/index.d.ts.map +1 -0
  40. package/bundled/server/index.js +310 -0
  41. package/bundled/server/index.js.map +1 -0
  42. package/bundled/server/mcp/tools/apply-variation.d.ts +3 -0
  43. package/bundled/server/mcp/tools/apply-variation.d.ts.map +1 -0
  44. package/bundled/server/mcp/tools/apply-variation.js +43 -0
  45. package/bundled/server/mcp/tools/apply-variation.js.map +1 -0
  46. package/bundled/server/mcp/tools/generate-variations.d.ts +3 -0
  47. package/bundled/server/mcp/tools/generate-variations.d.ts.map +1 -0
  48. package/bundled/server/mcp/tools/generate-variations.js +58 -0
  49. package/bundled/server/mcp/tools/generate-variations.js.map +1 -0
  50. package/bundled/server/mcp/tools/index.d.ts +3 -0
  51. package/bundled/server/mcp/tools/index.d.ts.map +1 -0
  52. package/bundled/server/mcp/tools/index.js +11 -0
  53. package/bundled/server/mcp/tools/index.js.map +1 -0
  54. package/bundled/server/mcp/tools/scan-design-system.d.ts +3 -0
  55. package/bundled/server/mcp/tools/scan-design-system.d.ts.map +1 -0
  56. package/bundled/server/mcp/tools/scan-design-system.js +27 -0
  57. package/bundled/server/mcp/tools/scan-design-system.js.map +1 -0
  58. package/bundled/server/mcp/tools/submit-variations.d.ts +3 -0
  59. package/bundled/server/mcp/tools/submit-variations.d.ts.map +1 -0
  60. package/bundled/server/mcp/tools/submit-variations.js +50 -0
  61. package/bundled/server/mcp/tools/submit-variations.js.map +1 -0
  62. package/bundled/server/mcp-entry.d.ts +2 -0
  63. package/bundled/server/mcp-entry.d.ts.map +1 -0
  64. package/bundled/server/mcp-entry.js +56 -0
  65. package/bundled/server/mcp-entry.js.map +1 -0
  66. package/bundled/server/preview/css-resolver.d.ts +6 -0
  67. package/bundled/server/preview/css-resolver.d.ts.map +1 -0
  68. package/bundled/server/preview/css-resolver.js +57 -0
  69. package/bundled/server/preview/css-resolver.js.map +1 -0
  70. package/bundled/server/preview/html-builder.d.ts +6 -0
  71. package/bundled/server/preview/html-builder.d.ts.map +1 -0
  72. package/bundled/server/preview/html-builder.js +85 -0
  73. package/bundled/server/preview/html-builder.js.map +1 -0
  74. package/bundled/server/telemetry.d.ts +4 -0
  75. package/bundled/server/telemetry.d.ts.map +1 -0
  76. package/bundled/server/telemetry.js +71 -0
  77. package/bundled/server/telemetry.js.map +1 -0
  78. package/bundled/server/types.d.ts +69 -0
  79. package/bundled/server/types.d.ts.map +1 -0
  80. package/bundled/server/types.js +2 -0
  81. package/bundled/server/types.js.map +1 -0
  82. package/bundled/server/variations/file-writer.d.ts +5 -0
  83. package/bundled/server/variations/file-writer.d.ts.map +1 -0
  84. package/bundled/server/variations/file-writer.js +29 -0
  85. package/bundled/server/variations/file-writer.js.map +1 -0
  86. package/bundled/server/variations/git-utils.d.ts +3 -0
  87. package/bundled/server/variations/git-utils.d.ts.map +1 -0
  88. package/bundled/server/variations/git-utils.js +23 -0
  89. package/bundled/server/variations/git-utils.js.map +1 -0
  90. package/bundled/server/variations/store.d.ts +11 -0
  91. package/bundled/server/variations/store.d.ts.map +1 -0
  92. package/bundled/server/variations/store.js +52 -0
  93. package/bundled/server/variations/store.js.map +1 -0
  94. package/dist/commands/init.d.ts +2 -0
  95. package/dist/commands/init.d.ts.map +1 -0
  96. package/dist/commands/init.js +299 -0
  97. package/dist/commands/init.js.map +1 -0
  98. package/dist/commands/stop.d.ts +2 -0
  99. package/dist/commands/stop.d.ts.map +1 -0
  100. package/dist/commands/stop.js +32 -0
  101. package/dist/commands/stop.js.map +1 -0
  102. package/dist/index.d.ts +3 -0
  103. package/dist/index.d.ts.map +1 -0
  104. package/dist/index.js +35 -0
  105. package/dist/index.js.map +1 -0
  106. package/package.json +35 -0
@@ -0,0 +1,474 @@
1
+ # Apple.com Design System & Section Boilerplates
2
+
3
+ > Source: https://www.apple.com/ (scraped 2026-03-22)
4
+
5
+ ---
6
+
7
+ ## Design System
8
+
9
+ ### Colors
10
+
11
+ | Role | Value | Usage |
12
+ |------|-------|-------|
13
+ | **Primary** | `#0071E3` / `rgb(0, 113, 227)` | Primary CTA buttons (filled), interactive elements |
14
+ | **Secondary** | `#0066CC` / `rgb(0, 102, 204)` | Text links, secondary button borders & text, "Buy" links |
15
+ | **Neutral - Dark** | `#1D1D1F` / `rgb(29, 29, 31)` | Body text, headings on light backgrounds |
16
+ | **Neutral - Light** | `#F5F5F7` / `rgb(245, 245, 247)` | Page background (light gray), footer background, headings on dark backgrounds |
17
+ | **Neutral - White** | `#FFFFFF` | Card backgrounds, nav background (at 80% opacity) |
18
+ | **Neutral - Black** | `#000000` | Entertainment section heading, dark card backgrounds |
19
+ | **Muted Text** | `rgba(0, 0, 0, 0.56)` | Footer body text, footnotes |
20
+ | **Muted Link** | `rgba(0, 0, 0, 0.72)` | Footer links |
21
+ | **Muted Heading** | `rgba(0, 0, 0, 0.88)` | Footer column headings |
22
+ | **Nav Link** | `rgba(0, 0, 0, 0.8)` | Navigation bar links |
23
+ | **Nav Dropdown Heading** | `#6E6E73` / `rgb(110, 110, 115)` | Dropdown category labels |
24
+
25
+ ### Typography
26
+
27
+ | Role | Size | Weight | Line Height | Letter Spacing | Font |
28
+ |------|------|--------|-------------|----------------|------|
29
+ | **Display / Hero Heading (h2)** | 56px | 600 (Semibold) | 60px | -0.28px | SF Pro Display |
30
+ | **Section Card Heading (h3)** | 40px | 600 (Semibold) | - | - | SF Pro Display |
31
+ | **Hero Subtitle / Body Large** | 28px | 400 (Regular) | 32px | - | SF Pro Text |
32
+ | **Card Subtitle** | 21px | 400 (Regular) | 25px | - | SF Pro Text |
33
+ | **Body / Button Text** | 17px | 400 (Regular) | 25px | - | SF Pro Text |
34
+ | **Card Text Link** | 14px | 400 (Regular) | - | - | SF Pro Text |
35
+ | **Nav Link** | 12px | 400 (Regular) | 16px | -0.12px | SF Pro Text |
36
+ | **Footer Text** | 12px | 400 (Regular) | - | - | SF Pro Text |
37
+
38
+ **Font Stack:** `"SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif`
39
+
40
+ > Apple uses SF Pro Display for large headings and SF Pro Text for body/UI text. On non-Apple devices, falls back to Helvetica Neue.
41
+
42
+ ### Buttons
43
+
44
+ #### Primary Button (Filled)
45
+ ```
46
+ background: #0071E3
47
+ color: #FFFFFF
48
+ font-size: 17px
49
+ font-weight: 400
50
+ padding: 11px 21px
51
+ border-radius: 980px (full pill)
52
+ border: 1px solid transparent
53
+ min-width: 26px
54
+ display: inline-block
55
+ line-height: 20px
56
+ cursor: pointer
57
+ ```
58
+ - Hover: slightly darker blue
59
+ - Used for: "Learn more", "Get your estimate"
60
+
61
+ #### Secondary Button (Outlined)
62
+ ```
63
+ background: transparent
64
+ color: #0066CC
65
+ font-size: 17px
66
+ font-weight: 400
67
+ padding: 11px 21px
68
+ border-radius: 980px (full pill)
69
+ border: 1px solid #0066CC
70
+ min-width: 26px
71
+ display: inline-block
72
+ cursor: pointer
73
+ ```
74
+ - On dark backgrounds: white text, white border
75
+ - Used for: "Shop iPhone", "Buy", "View pricing", "Apply now"
76
+
77
+ #### Text Link (Arrow)
78
+ ```
79
+ color: #0066CC
80
+ font-size: 14px-21px (varies by context)
81
+ font-weight: 400
82
+ text-decoration: none
83
+ ```
84
+ - Appended with a right-pointing chevron (`>`) on hover
85
+ - Used for: "Read the letter from Tim", footer links
86
+
87
+ ### Input Fields
88
+
89
+ #### Search Input
90
+ ```
91
+ background: transparent
92
+ font-size: ~28px (large, placeholder-style)
93
+ color: #1D1D1F
94
+ border: none
95
+ padding: 0
96
+ placeholder-color: #86868B (gray)
97
+ width: 100%
98
+ ```
99
+ - Full-width text input inside search overlay
100
+ - No visible border, large placeholder text "Search apple.com"
101
+ - Appears below nav when search icon is clicked
102
+
103
+ ### Spacing
104
+
105
+ | Token | Value | Usage |
106
+ |-------|-------|-------|
107
+ | **Section gap** | 12px | Gap between grid cards in product sections |
108
+ | **Nav height** | 44px | Fixed navigation bar |
109
+ | **Nav padding** | 0px | Nav uses flexbox centering, no padding |
110
+ | **Footer top padding** | 20px | Footer directory section |
111
+ | **Footnotes padding** | 17px top, 11px bottom | Footnotes area |
112
+ | **Footnotes border** | 1px solid rgba(0,0,0,0.16) | Bottom border separating footnotes from directory |
113
+ | **Page max-width** | ~1183px (content grid) | Main content container |
114
+ | **Button gap** | ~16px | Space between primary and secondary CTA buttons |
115
+
116
+ ---
117
+
118
+ ## Section Boilerplates
119
+
120
+ ### Navigation
121
+
122
+ **Structure:** Fixed top bar, 44px height, semi-transparent white with blur.
123
+
124
+ ```
125
+ [nav] position: fixed; top: 0; width: 100%; height: 44px;
126
+ background: rgba(255,255,255,0.8);
127
+ backdrop-filter: saturate(1.8) blur(20px);
128
+ z-index: high;
129
+
130
+ [container] max-width: ~1024px; margin: auto; display: flex; align-items: center; justify-content: space-between;
131
+
132
+ [left] Apple logo (link to /)
133
+ [center] Horizontal link list:
134
+ Store | Mac | iPad | iPhone | Watch | Vision | AirPods | TV & Home | Entertainment | Accessories | Support
135
+ - Each link: 12px, rgba(0,0,0,0.8), letter-spacing: -0.12px
136
+ - Each has a companion hidden "menu" button for mobile/accessibility
137
+ [right] Search icon button | Shopping Bag icon button
138
+ ```
139
+
140
+ **Interactions:**
141
+ - **Hover on nav link:** Text opacity increases to full black
142
+ - **Click Search icon:** Overlay expands below nav (white bg, fills ~400px height), pushes content down with dark overlay on page. Contains:
143
+ - Large search input ("Search apple.com" placeholder, ~28px)
144
+ - "Quick Links" heading (12px, gray `#6E6E73`)
145
+ - List of 5 quick links, each with arrow icon prefix (e.g., Find a Store, Apple Vision Pro, AirPods, Apple Intelligence, Apple Trade In)
146
+ - Live search results appear as you type
147
+ - Press Escape or click outside to close
148
+ - **Click Shopping Bag:** Dropdown with bag contents / "Your bag is empty" message
149
+ - **Nav dropdown menus (desktop):** Each product category has a mega-dropdown that slides down. Contains multi-column layout with categorized link lists (e.g., "Explore Mac", "Shop Mac", "More from Mac"). Headings are 12px gray, links are 12px darker text.
150
+ - **Mobile:** Hamburger menu replaces horizontal links; accordion-style expansion for each category
151
+
152
+ ### Hero
153
+
154
+ **Structure:** Full-width, single-column grid. Each hero card is a standalone block.
155
+
156
+ ```
157
+ [section] display: grid; grid-template-columns: 1fr; gap: 12px;
158
+
159
+ [hero-card] width: 100%; text-align: center; overflow: hidden;
160
+ background: #F5F5F7 or product-specific color;
161
+ padding-top: ~56px;
162
+
163
+ [content-area] position: relative; z-index: above image;
164
+ [h2] 56px, semibold 600, #1D1D1F, letter-spacing: -0.28px
165
+ [subtitle] 28px, regular 400, #1D1D1F, margin-top: ~8px
166
+ [cta-group] margin-top: ~16px; display: flex; gap: 16px; justify-content: center;
167
+ [primary-btn] Filled blue pill button ("Learn more")
168
+ [secondary-btn] Outlined blue pill button ("Shop [Product]" or "Buy")
169
+
170
+ [image-area] width: 100%; margin-top: ~24px;
171
+ [img] Large product hero image, edge-to-edge or centered
172
+ Images typically overflow bottom of card or are cropped
173
+ ```
174
+
175
+ **Repeats for each hero product (iPhone, MacBook Neo, iPad Air) as stacked full-width cards.**
176
+
177
+ ### Showcase (Product Grid - Half-Width Cards)
178
+
179
+ **Structure:** 2-column grid of product cards, each ~50% width.
180
+
181
+ ```
182
+ [section] display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
183
+
184
+ [card] overflow: hidden; text-align: center;
185
+ background: #FFFFFF (light) or #000000 (dark);
186
+ position: relative;
187
+
188
+ [content-area] padding-top: ~40px; position: relative; z-index: 1;
189
+ [h3] 40px, semibold 600, #1D1D1F or #F5F5F7 (dark cards)
190
+ [subtitle] 21px, regular 400, same color logic
191
+ [availability-text] 14px, #6E6E73 (optional, e.g., "Order 3.25")
192
+ [cta-group] margin-top: ~12px; display: flex; gap: 12px; justify-content: center;
193
+ [primary-btn] Filled blue pill (or white-filled on dark bg)
194
+ [secondary-btn] Outlined pill (blue on light, white on dark)
195
+
196
+ [image-area] margin-top: ~20px;
197
+ [img] Product image, often cropped at card edges
198
+ ```
199
+
200
+ **Cards in this section:** 50 Years of Thinking Different (text link only, rainbow logo), MacBook Pro (dark bg), AirPods Max 2 (light bg), Apple Watch Series 11 (dark bg), Apple Trade In (light bg, single CTA), Apple Card (light bg).
201
+
202
+ **Dark card variant:**
203
+ - Background: `#000000`
204
+ - Heading color: `#F5F5F7`
205
+ - Subtitle color: `#F5F5F7`
206
+ - Primary button: white bg, black text
207
+ - Secondary button: white border, white text
208
+
209
+ ### Store (CTA Cards)
210
+
211
+ **Structure:** Same as Showcase half-width cards but focused on services/commerce.
212
+
213
+ ```
214
+ [card] (same grid as Showcase)
215
+ [h3] 40px, semibold 600 -- uses Apple logo + "Trade In" or "Card" wordmark
216
+ [subtitle] 21px, regular 400, multi-line, text-align: center
217
+ [cta] Single or dual pill buttons
218
+ [image] Lifestyle/product photography, fills bottom of card
219
+ ```
220
+
221
+ **Examples:** Apple Trade In (single green CTA "Get your estimate"), Apple Card (dual: "Learn more" + "Apply now").
222
+
223
+ ### Features
224
+
225
+ **Not present as a dedicated section on apple.com homepage.** Product feature details are embedded within product-specific pages. The homepage communicates features through the hero/showcase card subtitles (e.g., "Now supercharged by M4", "Now with M5, M5 Pro, and M5 Max").
226
+
227
+ **If replicating as a standalone section:**
228
+ ```
229
+ [section] background: #F5F5F7; padding: 80px 0; text-align: center;
230
+ [h2] 56px, semibold, #1D1D1F
231
+ [subtitle] 28px, regular, #1D1D1F
232
+ [feature-grid] display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1024px; margin: 48px auto 0;
233
+ [feature]
234
+ [icon] Product icon or illustration
235
+ [h3] 21px-28px, semibold
236
+ [p] 17px, regular, #6E6E73
237
+ ```
238
+
239
+ ### CTA
240
+
241
+ **Apple uses inline CTA pairs within each card rather than a standalone CTA section.** The pattern:
242
+
243
+ ```
244
+ [cta-group] display: flex; gap: 16px; justify-content: center; align-items: center;
245
+ [primary] <a> pill button, filled blue, 17px, "Learn more"
246
+ [secondary] <a> pill button, outlined blue, 17px, "Buy" / "Shop [Product]"
247
+ ```
248
+
249
+ **Standalone CTA banner (if replicating):**
250
+ ```
251
+ [section] background: #F5F5F7; padding: 56px 0; text-align: center;
252
+ [h2] 40px, semibold, #1D1D1F
253
+ [p] 21px, regular, #6E6E73
254
+ [cta-group] margin-top: 24px;
255
+ [primary-btn]
256
+ [secondary-btn]
257
+ ```
258
+
259
+ ### Comparison
260
+
261
+ **Not present on homepage.** Apple uses comparison tables on product pages (e.g., /iphone/compare/). General pattern:
262
+
263
+ ```
264
+ [section] max-width: 1024px; margin: auto; padding: 80px 0;
265
+ [h2] 56px, semibold, centered
266
+ [table] display: grid; grid-template-columns: repeat(3-4, 1fr); gap: 24px;
267
+ [product-col] text-align: center;
268
+ [img] Product image
269
+ [name] 21px, semibold
270
+ [specs] List of spec rows, 14px, alternating alignment
271
+ [cta] Pill button
272
+ ```
273
+
274
+ ### Pricing
275
+
276
+ **Not present as a standalone section on homepage.** Apple embeds pricing in product pages and the Store. The homepage Trade In card is the closest proxy:
277
+
278
+ ```
279
+ [card] text-align: center; background: #F5F5F7;
280
+ [h3] Apple logo + "Trade In" wordmark, 40px
281
+ [price] 21px, regular, e.g., "Get up to $195-$685 in credit..."
282
+ [footnote] superscript reference
283
+ [cta] Single filled pill button "Get your estimate"
284
+ [image] Side-by-side product photography
285
+ ```
286
+
287
+ ### Blog / Newsroom
288
+
289
+ **Not present on homepage.** Apple links to /newsroom/ in footer. Pattern from Newsroom:
290
+
291
+ ```
292
+ [section] max-width: 1024px; margin: auto; padding: 48px 0;
293
+ [h2] Section heading
294
+ [card-grid] display: grid; grid-template-columns: repeat(2-3, 1fr); gap: 24px;
295
+ [card]
296
+ [img] Full-width thumbnail
297
+ [category] 12px, uppercase, #6E6E73
298
+ [h3] 21px, semibold, #1D1D1F
299
+ [date] 14px, #6E6E73
300
+ [link] "Read more >" text link, #0066CC
301
+ ```
302
+
303
+ ### About
304
+
305
+ **Not a standalone homepage section.** Apple's "About Apple" content lives in footer directory and links to dedicated pages. The "50 Years of Thinking Different" card on the homepage is the closest:
306
+
307
+ ```
308
+ [card] grid-column: span 1 (in 2-col grid); overflow: hidden;
309
+ background: #FFFFFF;
310
+
311
+ [content]
312
+ [h3] 40px, semibold, #1D1D1F
313
+ [text-link] 14px, #FFFFFF (or #0066CC), "Read the letter from Tim >"
314
+
315
+ [image] Full-bleed rainbow Apple logo / brand imagery
316
+ ```
317
+
318
+ ### How It Works
319
+
320
+ **Not present on homepage.** Apple uses step-by-step flows on product/service pages. Replicable pattern:
321
+
322
+ ```
323
+ [section] padding: 80px 0; text-align: center; background: #FFFFFF;
324
+ [h2] 56px, semibold, #1D1D1F
325
+ [steps] display: flex; gap: 48px; max-width: 1024px; margin: 48px auto 0;
326
+ [step] flex: 1; text-align: center;
327
+ [number] 28px, semibold, #0071E3 (or icon)
328
+ [h3] 21px, semibold, #1D1D1F
329
+ [p] 17px, regular, #6E6E73
330
+ ```
331
+
332
+ ### Social Proof / Stats
333
+
334
+ **Not present as a standalone section on homepage.** Apple doesn't use traditional testimonials. The closest is the entertainment carousel which acts as content social proof. Stats pattern (from product pages):
335
+
336
+ ```
337
+ [section] padding: 80px 0; text-align: center; background: #000000;
338
+ [stat-grid] display: grid; grid-template-columns: repeat(3-4, 1fr); gap: 24px;
339
+ [stat]
340
+ [number] 56px, semibold, #F5F5F7
341
+ [label] 17px, regular, #86868B
342
+ ```
343
+
344
+ ### Showcase (Entertainment Carousel)
345
+
346
+ **Structure:** Horizontal scrolling carousel with tabbed navigation.
347
+
348
+ ```
349
+ [section] background: #FFFFFF; padding: 56px 0;
350
+
351
+ [h2] 56px, semibold 600, #000000, text-align: center;
352
+ "Endless entertainment."
353
+
354
+ [carousel-controls] display: flex; justify-content: center; align-items: center;
355
+ [tablist] horizontal dots/indicators (9 items)
356
+ [tab] Small dot, selected state = filled
357
+ [play-btn] Play/pause button for auto-scroll
358
+
359
+ [gallery-row-1] "Apple TV shows, movies, and sports"
360
+ [horizontal-scroll] display: flex; overflow-x: scroll; scroll-snap-type: x mandatory;
361
+ [card] Large background image, full-bleed
362
+ [overlay-text] positioned bottom-left
363
+ [label] "Stream now" or "F1 on Apple TV" -- small caps style
364
+ [subtitle] "Genre + tagline" -- 14px
365
+
366
+ [gallery-row-2] "Apple services (Fitness+, Arcade, Music)"
367
+ [horizontal-scroll] same pattern
368
+ [card]
369
+ [service-logo] Apple Fitness+ / Music / Arcade logo
370
+ [label] "Watch now" / "Listen now" / "Play now"
371
+ [title] Content title
372
+ ```
373
+
374
+ ### FAQ
375
+
376
+ **Not present on homepage.** Apple uses expandable FAQ on support pages. Replicable pattern:
377
+
378
+ ```
379
+ [section] max-width: 800px; margin: auto; padding: 80px 0;
380
+ [h2] 56px, semibold, centered
381
+ [faq-list] margin-top: 48px;
382
+ [item] border-bottom: 1px solid rgba(0,0,0,0.16); padding: 16px 0;
383
+ [question] 17px, semibold, #1D1D1F; display: flex; justify-content: space-between;
384
+ [text] Question text
385
+ [icon] Chevron down (rotates on expand)
386
+ [answer] 17px, regular, #6E6E73; padding-top: 8px; (hidden by default, expands)
387
+ ```
388
+
389
+ ### Newsletter
390
+
391
+ **Not present on homepage.** Apple doesn't use a traditional newsletter signup. The closest is the Apple Store email preferences. Pattern:
392
+
393
+ ```
394
+ [section] background: #F5F5F7; padding: 56px 0; text-align: center;
395
+ [h2] 28px-40px, semibold, #1D1D1F
396
+ [p] 17px, regular, #6E6E73
397
+ [form] display: flex; gap: 8px; justify-content: center; margin-top: 24px;
398
+ [input] padding: 11px 16px; border: 1px solid rgba(0,0,0,0.24);
399
+ border-radius: 980px; font-size: 17px; width: 300px;
400
+ [button] Filled blue pill button, "Sign up"
401
+ ```
402
+
403
+ ### Contact
404
+
405
+ **Not present as a section on homepage.** Footer has "Contact Apple" link and "1-800-MY-APPLE" phone number. Pattern:
406
+
407
+ ```
408
+ [section] max-width: 800px; margin: auto; padding: 80px 0; text-align: center;
409
+ [h2] 40px, semibold, #1D1D1F
410
+ [p] 17px, regular, #6E6E73
411
+ [contact-options] display: grid; grid-template-columns: repeat(2-3, 1fr); gap: 24px; margin-top: 48px;
412
+ [option]
413
+ [icon] 24px icon
414
+ [h3] 17px, semibold
415
+ [p] 14px, regular, #6E6E73
416
+ [link] Text link, #0066CC
417
+ ```
418
+
419
+ ### Downloads
420
+
421
+ **Not present on homepage.** Apple links to app downloads via App Store badges. Pattern:
422
+
423
+ ```
424
+ [section] padding: 56px 0; text-align: center;
425
+ [h2] 40px, semibold
426
+ [p] 17px, regular, #6E6E73
427
+ [badges] display: flex; gap: 16px; justify-content: center; margin-top: 24px;
428
+ [badge] App Store badge image (standardized Apple badge), height: ~40px
429
+ ```
430
+
431
+ ### Footer
432
+
433
+ **Structure:** Light gray background, 5-column directory, footnotes, bottom bar.
434
+
435
+ ```
436
+ [footer] background: #F5F5F7; color: rgba(0,0,0,0.56); font-size: 12px;
437
+ max-width: ~980px; margin: auto;
438
+
439
+ [footnotes] padding: 17px 0 11px; border-bottom: 1px solid rgba(0,0,0,0.16);
440
+ [ol] Numbered list of legal footnotes
441
+ font-size: 12px; color: rgba(0,0,0,0.56); line-height: ~18px;
442
+
443
+ [directory] display: flex; padding-top: 20px; gap: 0;
444
+ 5 equal columns (~196px each)
445
+
446
+ [column]
447
+ [group] (multiple per column)
448
+ [h3] 12px, font-weight: 600, color: rgba(0,0,0,0.88); margin-bottom: 8px;
449
+ Text: "Shop and Learn", "Account", "Apple Store", etc.
450
+ [ul] list-style: none;
451
+ [li]
452
+ [a] 12px, color: rgba(0,0,0,0.72); hover: underline;
453
+ line-height: ~28px (generous spacing between links)
454
+
455
+ [bottom-bar] padding: 16px 0; border-top: 1px solid rgba(0,0,0,0.16);
456
+ [row-1] display: flex; justify-content: space-between;
457
+ [left] "More ways to shop: [Find an Apple Store] or [other retailer] near you.
458
+ Or call [1-800-MY-APPLE]."
459
+ font-size: 12px; color: rgba(0,0,0,0.56);
460
+ Links: color: #0066CC
461
+ [right] [United States] (country selector link)
462
+
463
+ [row-2] display: flex; justify-content: space-between; margin-top: 4px;
464
+ [left] "Copyright (c) 2026 Apple Inc. All rights reserved."
465
+ [right] Privacy Policy | Terms of Use | Sales and Refunds | Legal | Site Map
466
+ Separated by " | ", 12px, links: rgba(0,0,0,0.72)
467
+ ```
468
+
469
+ **Footer Directory Columns:**
470
+ 1. Shop and Learn (Store, Mac, iPad, iPhone, Watch, Vision, AirPods, TV & Home, AirTag, Accessories, Gift Cards) + Apple Wallet (Wallet, Apple Card, Apple Pay, Apple Cash)
471
+ 2. Account (Manage Your Apple Account, Apple Store Account, iCloud.com) + Entertainment (Apple One, Apple TV, Apple Music, Apple Arcade, Apple Fitness+, Apple News+, Apple Podcasts, Apple Books, App Store)
472
+ 3. Apple Store (Find a Store, Genius Bar, Today at Apple, Group Reservations, Apple Camp, Apple Store App, Certified Refurbished, Apple Trade In, Financing, Carrier Deals at Apple, Order Status, Shopping Help)
473
+ 4. For Business + For Education + For Healthcare + For Government
474
+ 5. Apple Values (Accessibility, Education, Environment, Inclusion and Diversity, Privacy, Racial Equity and Justice, Supply Chain Innovation) + About Apple (Newsroom, Apple Leadership, Career Opportunities, Investors, Ethics & Compliance, Events, Contact Apple)