@lets-ship/site 1.0.1 → 3.0.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 (211) hide show
  1. package/dist/blog/article-view.d.ts.map +1 -1
  2. package/dist/blog/article-view.js +2 -1
  3. package/dist/blog/article-view.js.map +1 -1
  4. package/dist/blog/batches.d.ts +13 -0
  5. package/dist/blog/batches.d.ts.map +1 -0
  6. package/dist/blog/batches.js +17 -0
  7. package/dist/blog/batches.js.map +1 -0
  8. package/dist/blog/index-view.d.ts +5 -0
  9. package/dist/blog/index-view.d.ts.map +1 -1
  10. package/dist/blog/index-view.js +25 -8
  11. package/dist/blog/index-view.js.map +1 -1
  12. package/dist/blog/more-posts.d.ts +17 -0
  13. package/dist/blog/more-posts.d.ts.map +1 -0
  14. package/dist/blog/more-posts.js +65 -0
  15. package/dist/blog/more-posts.js.map +1 -0
  16. package/dist/config/site-config.d.ts +49 -2
  17. package/dist/config/site-config.d.ts.map +1 -1
  18. package/dist/config/site-config.js +46 -1
  19. package/dist/config/site-config.js.map +1 -1
  20. package/dist/i18n/tables/de.d.ts.map +1 -1
  21. package/dist/i18n/tables/de.js +17 -0
  22. package/dist/i18n/tables/de.js.map +1 -1
  23. package/dist/i18n/tables/en.d.ts.map +1 -1
  24. package/dist/i18n/tables/en.js +17 -0
  25. package/dist/i18n/tables/en.js.map +1 -1
  26. package/dist/i18n/tables/es.d.ts.map +1 -1
  27. package/dist/i18n/tables/es.js +17 -0
  28. package/dist/i18n/tables/es.js.map +1 -1
  29. package/dist/i18n/tables/fr.d.ts.map +1 -1
  30. package/dist/i18n/tables/fr.js +17 -0
  31. package/dist/i18n/tables/fr.js.map +1 -1
  32. package/dist/i18n/tables/nl.d.ts.map +1 -1
  33. package/dist/i18n/tables/nl.js +17 -0
  34. package/dist/i18n/tables/nl.js.map +1 -1
  35. package/dist/i18n/tables/pt.d.ts.map +1 -1
  36. package/dist/i18n/tables/pt.js +17 -0
  37. package/dist/i18n/tables/pt.js.map +1 -1
  38. package/dist/i18n/tables/tr.d.ts.map +1 -1
  39. package/dist/i18n/tables/tr.js +17 -0
  40. package/dist/i18n/tables/tr.js.map +1 -1
  41. package/dist/i18n/types.d.ts +27 -0
  42. package/dist/i18n/types.d.ts.map +1 -1
  43. package/dist/layout/footer.d.ts +9 -5
  44. package/dist/layout/footer.d.ts.map +1 -1
  45. package/dist/layout/footer.js +71 -8
  46. package/dist/layout/footer.js.map +1 -1
  47. package/dist/layout/frame.d.ts +14 -0
  48. package/dist/layout/frame.d.ts.map +1 -0
  49. package/dist/layout/frame.js +15 -0
  50. package/dist/layout/frame.js.map +1 -0
  51. package/dist/layout/header-menu.d.ts +27 -0
  52. package/dist/layout/header-menu.d.ts.map +1 -0
  53. package/dist/layout/header-menu.js +89 -0
  54. package/dist/layout/header-menu.js.map +1 -0
  55. package/dist/layout/header.d.ts +12 -0
  56. package/dist/layout/header.d.ts.map +1 -0
  57. package/dist/layout/header.js +101 -0
  58. package/dist/layout/header.js.map +1 -0
  59. package/dist/layout/nav-width.d.ts +29 -0
  60. package/dist/layout/nav-width.d.ts.map +1 -0
  61. package/dist/layout/nav-width.js +32 -0
  62. package/dist/layout/nav-width.js.map +1 -0
  63. package/dist/layout/nav.d.ts +13 -0
  64. package/dist/layout/nav.d.ts.map +1 -0
  65. package/dist/layout/nav.js +5 -0
  66. package/dist/layout/nav.js.map +1 -0
  67. package/dist/layout/root.d.ts.map +1 -1
  68. package/dist/layout/root.js +8 -1
  69. package/dist/layout/root.js.map +1 -1
  70. package/dist/mdx/allow-list.d.ts +10 -2
  71. package/dist/mdx/allow-list.d.ts.map +1 -1
  72. package/dist/mdx/allow-list.js +12 -2
  73. package/dist/mdx/allow-list.js.map +1 -1
  74. package/dist/mdx/components.d.ts +4 -1
  75. package/dist/mdx/components.d.ts.map +1 -1
  76. package/dist/mdx/components.js +18 -4
  77. package/dist/mdx/components.js.map +1 -1
  78. package/dist/mdx/tones.d.ts +11 -0
  79. package/dist/mdx/tones.d.ts.map +1 -0
  80. package/dist/mdx/tones.js +43 -0
  81. package/dist/mdx/tones.js.map +1 -0
  82. package/dist/node/build.js +1 -1
  83. package/dist/node/build.js.map +1 -1
  84. package/dist/node/content.d.ts +7 -2
  85. package/dist/node/content.d.ts.map +1 -1
  86. package/dist/node/content.js +17 -7
  87. package/dist/node/content.js.map +1 -1
  88. package/dist/node/errors.d.ts +1 -0
  89. package/dist/node/errors.d.ts.map +1 -1
  90. package/dist/node/errors.js +2 -1
  91. package/dist/node/errors.js.map +1 -1
  92. package/dist/site/app.d.ts.map +1 -1
  93. package/dist/site/app.js +3 -2
  94. package/dist/site/app.js.map +1 -1
  95. package/dist/site/site-page.d.ts.map +1 -1
  96. package/dist/site/site-page.js +4 -4
  97. package/dist/site/site-page.js.map +1 -1
  98. package/dist/website/blocks/announcement-dismiss.d.ts +13 -0
  99. package/dist/website/blocks/announcement-dismiss.d.ts.map +1 -0
  100. package/dist/website/blocks/announcement-dismiss.js +49 -0
  101. package/dist/website/blocks/announcement-dismiss.js.map +1 -0
  102. package/dist/website/blocks/announcement-views.d.ts +24 -0
  103. package/dist/website/blocks/announcement-views.d.ts.map +1 -0
  104. package/dist/website/blocks/announcement-views.js +31 -0
  105. package/dist/website/blocks/announcement-views.js.map +1 -0
  106. package/dist/website/blocks/button.d.ts +21 -0
  107. package/dist/website/blocks/button.d.ts.map +1 -0
  108. package/dist/website/blocks/button.js +32 -0
  109. package/dist/website/blocks/button.js.map +1 -0
  110. package/dist/website/blocks/call-to-action-views.d.ts +15 -0
  111. package/dist/website/blocks/call-to-action-views.d.ts.map +1 -0
  112. package/dist/website/blocks/call-to-action-views.js +36 -0
  113. package/dist/website/blocks/call-to-action-views.js.map +1 -0
  114. package/dist/website/blocks/card-grid-views.d.ts +41 -0
  115. package/dist/website/blocks/card-grid-views.d.ts.map +1 -0
  116. package/dist/website/blocks/card-grid-views.js +94 -0
  117. package/dist/website/blocks/card-grid-views.js.map +1 -0
  118. package/dist/website/blocks/carousel-controls.d.ts +13 -0
  119. package/dist/website/blocks/carousel-controls.d.ts.map +1 -0
  120. package/dist/website/blocks/carousel-controls.js +48 -0
  121. package/dist/website/blocks/carousel-controls.js.map +1 -0
  122. package/dist/website/blocks/carousel.d.ts +16 -0
  123. package/dist/website/blocks/carousel.d.ts.map +1 -0
  124. package/dist/website/blocks/carousel.js +12 -0
  125. package/dist/website/blocks/carousel.js.map +1 -0
  126. package/dist/website/blocks/catalog.d.ts +45 -0
  127. package/dist/website/blocks/catalog.d.ts.map +1 -0
  128. package/dist/website/blocks/catalog.js +35 -0
  129. package/dist/website/blocks/catalog.js.map +1 -0
  130. package/dist/website/blocks/commerce.d.ts +10 -16
  131. package/dist/website/blocks/commerce.d.ts.map +1 -1
  132. package/dist/website/blocks/commerce.js +12 -13
  133. package/dist/website/blocks/commerce.js.map +1 -1
  134. package/dist/website/blocks/contact-views.d.ts +28 -0
  135. package/dist/website/blocks/contact-views.d.ts.map +1 -0
  136. package/dist/website/blocks/contact-views.js +55 -0
  137. package/dist/website/blocks/contact-views.js.map +1 -0
  138. package/dist/website/blocks/content.d.ts +15 -20
  139. package/dist/website/blocks/content.d.ts.map +1 -1
  140. package/dist/website/blocks/content.js +20 -9
  141. package/dist/website/blocks/content.js.map +1 -1
  142. package/dist/website/blocks/empty-state-views.d.ts +32 -0
  143. package/dist/website/blocks/empty-state-views.d.ts.map +1 -0
  144. package/dist/website/blocks/empty-state-views.js +39 -0
  145. package/dist/website/blocks/empty-state-views.js.map +1 -0
  146. package/dist/website/blocks/faq-views.d.ts +20 -0
  147. package/dist/website/blocks/faq-views.d.ts.map +1 -0
  148. package/dist/website/blocks/faq-views.js +38 -0
  149. package/dist/website/blocks/faq-views.js.map +1 -0
  150. package/dist/website/blocks/feature-views.d.ts +17 -0
  151. package/dist/website/blocks/feature-views.d.ts.map +1 -0
  152. package/dist/website/blocks/feature-views.js +40 -0
  153. package/dist/website/blocks/feature-views.js.map +1 -0
  154. package/dist/website/blocks/hero-views.d.ts +18 -0
  155. package/dist/website/blocks/hero-views.d.ts.map +1 -0
  156. package/dist/website/blocks/hero-views.js +27 -0
  157. package/dist/website/blocks/hero-views.js.map +1 -0
  158. package/dist/website/blocks/icons.d.ts +63 -0
  159. package/dist/website/blocks/icons.d.ts.map +1 -0
  160. package/dist/website/blocks/icons.js +63 -0
  161. package/dist/website/blocks/icons.js.map +1 -0
  162. package/dist/website/blocks/list.d.ts +20 -0
  163. package/dist/website/blocks/list.d.ts.map +1 -0
  164. package/dist/website/blocks/list.js +29 -0
  165. package/dist/website/blocks/list.js.map +1 -0
  166. package/dist/website/blocks/local-views.d.ts +60 -0
  167. package/dist/website/blocks/local-views.d.ts.map +1 -0
  168. package/dist/website/blocks/local-views.js +38 -0
  169. package/dist/website/blocks/local-views.js.map +1 -0
  170. package/dist/website/blocks/local.d.ts +15 -0
  171. package/dist/website/blocks/local.d.ts.map +1 -0
  172. package/dist/website/blocks/local.js +15 -0
  173. package/dist/website/blocks/local.js.map +1 -0
  174. package/dist/website/blocks/logo-stats-views.d.ts +29 -0
  175. package/dist/website/blocks/logo-stats-views.d.ts.map +1 -0
  176. package/dist/website/blocks/logo-stats-views.js +51 -0
  177. package/dist/website/blocks/logo-stats-views.js.map +1 -0
  178. package/dist/website/blocks/marketing.d.ts +11 -22
  179. package/dist/website/blocks/marketing.d.ts.map +1 -1
  180. package/dist/website/blocks/marketing.js +12 -14
  181. package/dist/website/blocks/marketing.js.map +1 -1
  182. package/dist/website/blocks/media-views.d.ts +17 -0
  183. package/dist/website/blocks/media-views.d.ts.map +1 -0
  184. package/dist/website/blocks/media-views.js +24 -0
  185. package/dist/website/blocks/media-views.js.map +1 -0
  186. package/dist/website/blocks/newsletter-views.d.ts +26 -0
  187. package/dist/website/blocks/newsletter-views.d.ts.map +1 -0
  188. package/dist/website/blocks/newsletter-views.js +44 -0
  189. package/dist/website/blocks/newsletter-views.js.map +1 -0
  190. package/dist/website/blocks/parts.d.ts +45 -2
  191. package/dist/website/blocks/parts.d.ts.map +1 -1
  192. package/dist/website/blocks/parts.js +31 -4
  193. package/dist/website/blocks/parts.js.map +1 -1
  194. package/dist/website/blocks/sections.d.ts +27 -0
  195. package/dist/website/blocks/sections.d.ts.map +1 -0
  196. package/dist/website/blocks/sections.js +27 -0
  197. package/dist/website/blocks/sections.js.map +1 -0
  198. package/dist/website/blocks/team-views.d.ts +24 -0
  199. package/dist/website/blocks/team-views.d.ts.map +1 -0
  200. package/dist/website/blocks/team-views.js +45 -0
  201. package/dist/website/blocks/team-views.js.map +1 -0
  202. package/dist/website/blocks/testimonial-views.d.ts +24 -0
  203. package/dist/website/blocks/testimonial-views.d.ts.map +1 -0
  204. package/dist/website/blocks/testimonial-views.js +68 -0
  205. package/dist/website/blocks/testimonial-views.js.map +1 -0
  206. package/dist/website/blocks/variant.d.ts +35 -0
  207. package/dist/website/blocks/variant.d.ts.map +1 -0
  208. package/dist/website/blocks/variant.js +74 -0
  209. package/dist/website/blocks/variant.js.map +1 -0
  210. package/package.json +3 -2
  211. package/styles.css +1291 -42
package/styles.css CHANGED
@@ -23,9 +23,11 @@
23
23
  /* A call to action in text form, and the colour it turns on hover. */
24
24
  --site-cta: var(--color-fd-primary);
25
25
  --site-link: var(--color-fd-primary);
26
- /* The height of a sticky site header, which the contents rail and anchors clear. No engine
27
- header is sticky yet, so nothing needs clearing. */
28
- --site-header-height: 0px;
26
+ /* The headline emphasis of the surface; a band points it at its own solved values. */
27
+ --site-emphasis-color: var(--dna-emphasis-color);
28
+ --site-emphasis-bg: var(--dna-emphasis-bg);
29
+ /* The height of the sticky site header (h-14), which the contents rail and anchors clear. */
30
+ --site-header-height: 3.5rem;
29
31
  --site-container-width: var(--fd-layout-width);
30
32
  }
31
33
 
@@ -132,6 +134,170 @@
132
134
  color: var(--site-fg);
133
135
  }
134
136
 
137
+ /* The site header (HyperUI's header layouts): it stays at the top over a blur of the page. The
138
+ ground is mostly opaque, so the links keep their contrast over any block. */
139
+ .site-header {
140
+ border-bottom: var(--dna-border-width-thin) solid var(--site-border);
141
+ background: color-mix(in oklab, var(--color-fd-background) 88%, transparent);
142
+ backdrop-filter: blur(12px);
143
+ font-family: var(--font-sans);
144
+ }
145
+
146
+ .site-header-brand {
147
+ font-weight: 600;
148
+ color: var(--site-fg);
149
+ text-decoration: none;
150
+ }
151
+
152
+ .site-header-link {
153
+ font-size: var(--dna-type-body-sm-size);
154
+ color: var(--site-fg-muted);
155
+ text-decoration: none;
156
+ }
157
+
158
+ .site-header-link:hover {
159
+ color: var(--site-fg);
160
+ }
161
+
162
+ .site-header-action {
163
+ padding: 6px 14px;
164
+ font-size: var(--dna-type-body-sm-size);
165
+ /* One line: the config keeps the label short (HEADER_ACTION_MAX), so the bar never squeezes it. */
166
+ white-space: nowrap;
167
+ }
168
+
169
+ /* A group of links in the bar (layout/header.tsx): a native disclosure whose links drop under its
170
+ label, over the page. In the end layout the bar ends at the window's edge, so the panel opens
171
+ towards the start from there. */
172
+ .site-header-group {
173
+ position: relative;
174
+ }
175
+
176
+ .site-header-group-toggle {
177
+ list-style: none;
178
+ cursor: pointer;
179
+ }
180
+
181
+ .site-header-group-toggle::-webkit-details-marker {
182
+ display: none;
183
+ }
184
+
185
+ .site-header-group-caret {
186
+ transition: transform 200ms ease;
187
+ }
188
+
189
+ .site-header-group[open] .site-header-group-caret {
190
+ transform: rotate(180deg);
191
+ }
192
+
193
+ /* The label sits in the middle of the bar, so half the bar's height below the label's middle is
194
+ the header's lower edge; the panel opens just under it. */
195
+ .site-header-dropdown {
196
+ position: absolute;
197
+ top: calc(50% + var(--site-header-height) / 2 + 6px);
198
+ inset-inline-start: -12px;
199
+ z-index: 50;
200
+ min-width: 12rem;
201
+ max-width: 20rem;
202
+ padding: 6px;
203
+ border: var(--dna-border-width-thin) solid var(--site-border);
204
+ border-radius: var(--dna-radius-md);
205
+ background: var(--color-fd-background);
206
+ box-shadow: 0 12px 32px -12px color-mix(in oklab, var(--site-fg) 30%, transparent);
207
+ }
208
+
209
+ .site-header[data-layout="end"] .site-header-dropdown {
210
+ inset-inline-start: auto;
211
+ inset-inline-end: -12px;
212
+ }
213
+
214
+ .site-header-dropdown-link {
215
+ display: block;
216
+ padding: 8px 12px;
217
+ border-radius: var(--dna-radius-sm);
218
+ font-size: var(--dna-type-body-sm-size);
219
+ color: var(--site-fg);
220
+ text-decoration: none;
221
+ }
222
+
223
+ .site-header-dropdown-link:hover {
224
+ background: var(--site-surface-muted);
225
+ }
226
+
227
+ .site-header-dropdown-link:focus-visible {
228
+ outline: 2px solid var(--color-fd-ring);
229
+ outline-offset: -2px;
230
+ }
231
+
232
+ /* A group in the small-screen menu: its label over its links. */
233
+ .site-header-group-label {
234
+ font-size: var(--dna-type-body-sm-size);
235
+ font-weight: 600;
236
+ color: var(--site-fg);
237
+ }
238
+
239
+ @media (prefers-reduced-motion: reduce) {
240
+ .site-header-group-caret {
241
+ transition: none;
242
+ }
243
+ }
244
+
245
+ /* No display here: the toggle and the action hide at a width through Tailwind's utilities, which
246
+ an unlayered display rule would beat. */
247
+ .site-header-toggle {
248
+ padding: 8px;
249
+ border-radius: var(--dna-radius-sm);
250
+ color: var(--site-fg);
251
+ cursor: pointer;
252
+ }
253
+
254
+ .site-header-toggle:focus-visible,
255
+ .site-header-link:focus-visible,
256
+ .site-header-brand:focus-visible {
257
+ outline: 2px solid var(--color-fd-ring);
258
+ outline-offset: 2px;
259
+ }
260
+
261
+ /* The small-screen links: closed until the menu button marks the header open. */
262
+ .site-header-menu {
263
+ display: none;
264
+ border-top: var(--dna-border-width-thin) solid var(--site-border);
265
+ }
266
+
267
+ /* The panel opens up to the width from which the bar shows the links (data-nav-from, set from
268
+ the length of the links), and at every width when the bar never has room for them. The widths
269
+ are the header's own, a container query, as for the links and the button. */
270
+ @container (width < 48rem) {
271
+ .site-header[data-menu-open] .site-header-menu {
272
+ display: block;
273
+ }
274
+ }
275
+
276
+ @container (width < 64rem) {
277
+ .site-header:is([data-nav-from="lg"], [data-nav-from="xl"])[data-menu-open] .site-header-menu {
278
+ display: block;
279
+ }
280
+ }
281
+
282
+ @container (width < 80rem) {
283
+ .site-header[data-nav-from="xl"][data-menu-open] .site-header-menu {
284
+ display: block;
285
+ }
286
+ }
287
+
288
+ .site-header[data-nav-from="menu"][data-menu-open] .site-header-menu {
289
+ display: block;
290
+ }
291
+
292
+ .site-footer-text {
293
+ color: var(--site-fg-muted);
294
+ line-height: var(--dna-type-body-line-height);
295
+ }
296
+
297
+ .site-footer-base {
298
+ border-top: var(--dna-border-width-thin) solid var(--site-border);
299
+ }
300
+
135
301
  /* The "Built with" badge: footer-sized text in the site's own muted colour (D42). */
136
302
  .site-badge {
137
303
  font-family: var(--font-sans);
@@ -147,76 +313,324 @@
147
313
 
148
314
  /* Website blocks (D21): bands of content, each from the DNA's type scale and component tokens. */
149
315
  .site-block {
150
- padding-block: 64px;
316
+ padding-block: var(--dna-section-md);
317
+ }
318
+
319
+ /* A long word (a German compound, a pasted URL) breaks at the edge of its box instead of running
320
+ out of it. "anywhere" also lowers the word's minimum width, so a grid or flex column can still
321
+ shrink around it. */
322
+ .site-block,
323
+ .site-announcement,
324
+ .site-header,
325
+ .site-footer {
326
+ overflow-wrap: anywhere;
327
+ }
328
+
329
+ /* A link to a block's id ("#pricing") stops with the block's top under the sticky header and
330
+ its bottom border. */
331
+ .site-block,
332
+ .site-announcement {
333
+ scroll-margin-top: calc(var(--site-header-height) + var(--dna-border-width-thin));
334
+ }
335
+
336
+ /* A grid that fits its count (gridColumns in blocks/list.ts): data-cols columns on a wide screen,
337
+ fewer on a narrow one, and a short last row centred. It is a wrapping flex row, because a CSS
338
+ grid cannot centre its last row. */
339
+ .site-grid {
340
+ --site-grid-cols: 1;
341
+ --site-grid-gap: 1.5rem;
342
+ display: flex;
343
+ flex-wrap: wrap;
344
+ justify-content: center;
345
+ gap: var(--site-grid-gap);
346
+ }
347
+
348
+ .site-grid > * {
349
+ flex: 0 0 calc((100% - (var(--site-grid-cols) - 1) * var(--site-grid-gap)) / var(--site-grid-cols));
350
+ min-width: 0;
351
+ }
352
+
353
+ .site-grid-roomy {
354
+ --site-grid-gap: 2rem;
355
+ }
356
+
357
+ .site-grid-tight {
358
+ --site-grid-gap: 1rem;
359
+ }
360
+
361
+ .site-grid-hairline {
362
+ --site-grid-gap: 1px;
363
+ }
364
+
365
+ .site-grid-flush {
366
+ --site-grid-gap: 0px;
367
+ }
368
+
369
+ /* Small items (figures, logos, faces) keep two columns on a phone. */
370
+ .site-grid[data-phone="2"] {
371
+ --site-grid-cols: 2;
372
+ }
373
+
374
+ @media (min-width: 40rem) {
375
+ .site-grid:not([data-cols="1"]) {
376
+ --site-grid-cols: 2;
377
+ }
378
+ }
379
+
380
+ @media (min-width: 48rem) {
381
+ .site-grid:is([data-cols="3"], [data-cols="5"], [data-cols="6"]) {
382
+ --site-grid-cols: 3;
383
+ }
384
+
385
+ .site-grid[data-cols="4"] {
386
+ --site-grid-cols: 4;
387
+ }
388
+ }
389
+
390
+ @media (min-width: 64rem) {
391
+ .site-grid[data-cols="5"] {
392
+ --site-grid-cols: 5;
393
+ }
394
+
395
+ .site-grid[data-cols="6"] {
396
+ --site-grid-cols: 6;
397
+ }
398
+ }
399
+
400
+ /* The carousel's frame: the row and its buttons, which find the row through it. */
401
+ .site-carousel {
402
+ min-width: 0;
403
+ }
404
+
405
+ /* A carousel (blocks/carousel.tsx): one row that scrolls sideways and snaps to each item. It
406
+ scrolls by touch, trackpad and keyboard with no script; the buttons under it are the client
407
+ part. The row pads above and below by the width of a focus ring and takes it back with a
408
+ margin, so a ring on a link in it is not cut off by the scrolling box; it keeps the width of
409
+ the container, so its first item lines up with the heading. */
410
+ .site-carousel-track {
411
+ --site-carousel-gap: 1.5rem;
412
+ display: flex;
413
+ gap: var(--site-carousel-gap);
414
+ margin-block: -4px;
415
+ padding-block: 4px;
416
+ overflow-x: auto;
417
+ overscroll-behavior-x: contain;
418
+ scroll-snap-type: x mandatory;
419
+ scrollbar-width: none;
420
+ }
421
+
422
+ .site-carousel-track::-webkit-scrollbar {
423
+ display: none;
424
+ }
425
+
426
+ .site-carousel-track:focus-visible {
427
+ outline: 2px solid var(--color-fd-ring);
428
+ outline-offset: 2px;
429
+ }
430
+
431
+ @media (prefers-reduced-motion: no-preference) {
432
+ .site-carousel-track {
433
+ scroll-behavior: smooth;
434
+ }
435
+ }
436
+
437
+ .site-carousel-item {
438
+ flex: 0 0 auto;
439
+ min-width: 0;
440
+ scroll-snap-align: start;
441
+ }
442
+
443
+ /* Cards: one with the next peeking on a phone, two from 40rem, three from 64rem. */
444
+ .site-carousel-track[data-kind="cards"] > .site-carousel-item {
445
+ flex-basis: 85%;
151
446
  }
152
447
 
448
+ @media (min-width: 40rem) {
449
+ .site-carousel-track[data-kind="cards"] > .site-carousel-item {
450
+ flex-basis: calc((100% - var(--site-carousel-gap)) / 2);
451
+ }
452
+ }
453
+
454
+ @media (min-width: 64rem) {
455
+ .site-carousel-track[data-kind="cards"] > .site-carousel-item {
456
+ flex-basis: calc((100% - 2 * var(--site-carousel-gap)) / 3);
457
+ }
458
+ }
459
+
460
+ /* Logos keep their own width and sit in the middle while the row has room for all of them. */
461
+ .site-carousel-track[data-kind="logos"] {
462
+ --site-carousel-gap: 2.5rem;
463
+ justify-content: safe center;
464
+ align-items: center;
465
+ }
466
+
467
+ /* A logo that links keeps room for its focus ring inside the row. */
468
+ .site-carousel-track[data-kind="logos"] > .site-carousel-item {
469
+ padding: 8px 4px;
470
+ }
471
+
472
+ /* The buttons keep their space while the row fits, so nothing below moves when they hide. */
473
+ .site-carousel-controls {
474
+ display: flex;
475
+ justify-content: flex-end;
476
+ gap: 8px;
477
+ margin-top: 16px;
478
+ }
479
+
480
+ /* Under a centred row of logos the buttons sit in the middle too, under the heading. */
481
+ .site-carousel-track[data-kind="logos"] + .site-carousel-controls {
482
+ justify-content: center;
483
+ }
484
+
485
+ .site-carousel-controls[data-fits] {
486
+ visibility: hidden;
487
+ }
488
+
489
+ .site-carousel-button {
490
+ display: inline-flex;
491
+ align-items: center;
492
+ justify-content: center;
493
+ width: 40px;
494
+ height: 40px;
495
+ border: var(--dna-border-width-thin) solid var(--site-border);
496
+ border-radius: var(--dna-radius-full);
497
+ background: var(--color-fd-background);
498
+ color: var(--site-fg);
499
+ cursor: pointer;
500
+ }
501
+
502
+ .site-carousel-button:disabled {
503
+ opacity: 0.4;
504
+ cursor: default;
505
+ }
506
+
507
+ .site-carousel-button:focus-visible {
508
+ outline: 2px solid var(--color-fd-ring);
509
+ outline-offset: 2px;
510
+ }
511
+
512
+ /* A section heading follows the brand's alignment (composition.align); a variant that centres
513
+ its heading adds .site-block-head-center, which comes later and wins. */
153
514
  .site-block-title {
154
- margin-bottom: 12px;
515
+ margin-bottom: var(--dna-space-md);
155
516
  font-family: var(--dna-type-h2-family);
156
517
  font-size: var(--dna-type-h2-size);
157
518
  font-weight: var(--dna-type-h2-weight);
158
519
  line-height: var(--dna-type-h2-line-height);
520
+ letter-spacing: var(--dna-type-h2-tracking);
159
521
  color: var(--site-fg);
522
+ text-align: var(--dna-head-align);
523
+ text-wrap: balance;
160
524
  }
161
525
 
162
526
  .site-block-intro {
163
- max-width: 42rem;
164
- margin-bottom: 32px;
527
+ max-width: var(--dna-measure-lead);
528
+ margin-inline: var(--dna-head-margin);
529
+ margin-bottom: var(--dna-space-xl);
165
530
  font-size: var(--dna-type-body-size);
166
531
  line-height: var(--dna-type-body-line-height);
167
532
  color: var(--site-fg-muted);
533
+ text-align: var(--dna-head-align);
534
+ text-wrap: pretty;
168
535
  }
169
536
 
170
537
  .site-hero {
171
- padding-block: 96px;
538
+ padding-block: var(--dna-section-lg);
172
539
  }
173
540
 
541
+ /* The opening headline is the brand's largest role, fluid from a phone to a wide screen. */
174
542
  .site-hero-title {
175
- font-family: var(--dna-type-display-family);
176
- font-size: clamp(2.25rem, 5vw, var(--dna-type-display-size));
177
- font-weight: var(--dna-type-display-weight);
178
- line-height: var(--dna-type-display-line-height);
179
- letter-spacing: var(--dna-type-display-tracking);
543
+ font-family: var(--dna-type-display-xl-family);
544
+ font-size: var(--dna-type-display-xl-size);
545
+ font-weight: var(--dna-type-display-xl-weight);
546
+ line-height: var(--dna-type-display-xl-line-height);
547
+ letter-spacing: var(--dna-type-display-xl-tracking);
180
548
  color: var(--site-fg);
549
+ text-wrap: balance;
181
550
  }
182
551
 
183
552
  .site-hero-subtitle {
184
- margin-top: 16px;
553
+ max-width: var(--dna-measure-lead);
554
+ margin-top: var(--dna-space-lg);
185
555
  font-size: var(--dna-type-h4-size);
186
556
  line-height: var(--dna-type-body-line-height);
187
557
  color: var(--site-fg-muted);
558
+ text-wrap: pretty;
559
+ }
560
+
561
+ .text-center > .site-hero-subtitle {
562
+ margin-inline: auto;
188
563
  }
189
564
 
565
+ /* A button takes the brand's control height and button role, darkens toward the text colour on
566
+ hover by the brand's mix, and shows the brand's focus ring. */
190
567
  .site-button {
568
+ --site-button-bg: var(--dna-component-button-primary-bg);
191
569
  display: inline-flex;
192
570
  align-items: center;
571
+ justify-content: center;
572
+ min-height: var(--dna-control-height-md);
193
573
  padding: var(--dna-component-button-primary-padding-y) var(--dna-component-button-primary-padding-x);
194
574
  border: var(--dna-border-width-thin) solid var(--dna-component-button-primary-border);
195
575
  border-radius: var(--dna-component-button-primary-radius);
196
- background: var(--dna-component-button-primary-bg);
576
+ background: var(--site-button-bg);
197
577
  color: var(--dna-component-button-primary-fg);
198
- font-family: var(--font-sans);
199
- font-weight: 600;
578
+ font-family: var(--dna-type-button-family);
579
+ font-size: var(--dna-type-button-size);
580
+ font-weight: var(--dna-type-button-weight);
581
+ letter-spacing: var(--dna-type-button-tracking);
582
+ line-height: var(--dna-type-button-line-height);
200
583
  text-decoration: none;
584
+ transition: background-color var(--dna-motion-fast) var(--dna-motion-ease);
585
+ /* A long label wraps inside the button instead of pushing it past its column. */
586
+ max-width: 100%;
587
+ }
588
+
589
+ .site-button:hover {
590
+ background: color-mix(in oklab, var(--site-button-bg), var(--site-fg) var(--dna-hover-mix));
591
+ }
592
+
593
+ .site-button:focus-visible,
594
+ .site-text-link:focus-visible,
595
+ .site-input:focus-visible {
596
+ outline: var(--dna-focus-width) solid var(--dna-focus-color);
597
+ outline-offset: var(--dna-focus-offset);
598
+ }
599
+
600
+ .site-button-lg {
601
+ min-height: var(--dna-control-height-lg);
602
+ padding-inline: calc(var(--dna-component-button-primary-padding-x) * 1.5);
201
603
  }
202
604
 
203
605
  .site-button-secondary {
204
- background: transparent;
606
+ --site-button-bg: transparent;
205
607
  color: var(--site-fg);
206
608
  border-color: var(--site-border);
207
609
  }
208
610
 
611
+ /* An item of a list (features, steps, quotes, people, questions) in the brand's container: a
612
+ card, a rule over the item, or space alone (containers.list). */
209
613
  .site-card {
614
+ padding: var(--dna-list-padding-y) var(--dna-list-padding-x);
615
+ border-style: solid;
616
+ border-color: var(--dna-component-card-border);
617
+ border-width: var(--dna-list-border-width);
618
+ border-radius: var(--dna-list-radius);
619
+ background: var(--dna-list-bg);
620
+ color: var(--site-fg);
621
+ }
622
+
623
+ /* A call to action is one object, not an item of a list: it keeps the card look. */
624
+ .site-card.site-cta {
210
625
  padding: var(--dna-component-card-padding-y) var(--dna-component-card-padding-x);
211
- border: var(--dna-border-width-thin) solid var(--dna-component-card-border);
626
+ border-width: var(--dna-border-width-thin);
212
627
  border-radius: var(--dna-component-card-radius);
213
628
  background: var(--dna-component-card-bg);
214
- color: var(--dna-component-card-fg);
215
629
  }
216
630
 
217
631
  .site-card-highlight {
218
632
  border-color: var(--site-brand);
219
- border-width: var(--dna-border-width-thick);
633
+ border-top-width: var(--dna-border-width-thick);
220
634
  }
221
635
 
222
636
  .site-card-title {
@@ -251,6 +665,7 @@
251
665
  }
252
666
 
253
667
  .site-stat-value {
668
+ font-variant-numeric: var(--dna-numerals);
254
669
  font-family: var(--dna-type-h2-family);
255
670
  font-size: var(--dna-type-h2-size);
256
671
  font-weight: var(--dna-type-h2-weight);
@@ -266,11 +681,17 @@
266
681
 
267
682
  .site-step-number {
268
683
  display: block;
269
- margin-bottom: 8px;
684
+ margin-bottom: var(--dna-space-sm);
685
+ font-family: var(--dna-type-h3-family);
686
+ font-size: var(--dna-type-h3-size);
687
+ font-weight: var(--dna-type-h3-weight);
688
+ line-height: 1;
689
+ font-variant-numeric: var(--dna-numerals);
270
690
  color: var(--site-brand-text);
271
691
  }
272
692
 
273
693
  .site-price {
694
+ font-variant-numeric: var(--dna-numerals);
274
695
  margin-block: 8px;
275
696
  font-family: var(--dna-type-h3-family);
276
697
  font-size: var(--dna-type-h3-size);
@@ -289,38 +710,866 @@
289
710
  color: var(--site-link);
290
711
  }
291
712
 
292
- /* Markdown between the blocks of a website page sits in the container, like the blocks' content. */
293
- .site-website > :not(.site-block) {
294
- max-width: var(--site-container-width);
713
+ /* Block variants (HyperUI layouts, MIT, Copyright (c) Mark Mead), themed by the brand. */
714
+ :root {
715
+ /* A quiet panel behind a block's content: a CTA panel, a logo tile. */
716
+ --site-surface-muted: var(--color-fd-muted);
717
+ /* A faint wash of the brand colour, light enough for body text on it in either mode. */
718
+ --site-brand-tint: color-mix(in oklab, var(--site-brand) 7%, var(--color-fd-background));
719
+ }
720
+
721
+ .site-block-head-center {
295
722
  margin-inline: auto;
296
- padding-inline: 32px;
723
+ text-align: center;
724
+ }
725
+
726
+ /* The key words of a headline, in the brand's emphasis: a colour, a marker stroke behind them,
727
+ an underline, italic, or nothing at all (emphasis). */
728
+ .site-highlight {
729
+ font-weight: inherit;
730
+ font-style: var(--dna-emphasis-style);
731
+ color: var(--site-emphasis-color);
732
+ background: var(--site-emphasis-bg);
733
+ text-decoration-line: var(--dna-emphasis-decoration);
734
+ text-decoration-color: var(--dna-emphasis-decoration-color);
735
+ text-decoration-thickness: 0.08em;
736
+ text-underline-offset: 0.12em;
737
+ box-decoration-break: clone;
738
+ -webkit-box-decoration-break: clone;
739
+ }
740
+
741
+ .site-cta-panel,
742
+ .site-cta-photo,
743
+ .site-team-photo,
744
+ .site-logo-tiles {
745
+ border-radius: var(--dna-radius-lg);
746
+ }
747
+
748
+ .site-cta-panel {
749
+ background: var(--site-surface-muted);
297
750
  color: var(--site-fg);
298
- line-height: var(--dna-type-body-line-height);
299
751
  }
300
752
 
301
- @media (max-width: 760px) {
302
- .site-website > :not(.site-block) {
303
- padding-inline: 20px;
753
+ /* The inset picture: one large rounded corner toward the words, flush with the panel's edges. */
754
+ .site-cta-inset {
755
+ border-start-start-radius: calc(var(--dna-radius-lg) * 4);
756
+ }
757
+
758
+ /* A face sits in the upper part of most portraits, so a wide crop keeps it. */
759
+ .site-team-photo {
760
+ object-position: center 25%;
761
+ }
762
+
763
+ .site-logo-tile {
764
+ background: var(--site-surface-muted);
765
+ }
766
+
767
+ /* Logos in grey until a pointer rests on one. */
768
+ .site-logo-muted {
769
+ filter: grayscale(1);
770
+ opacity: 0.8;
771
+ transition:
772
+ filter 150ms ease,
773
+ opacity 150ms ease;
774
+ }
775
+
776
+ .site-logo-muted:hover {
777
+ filter: none;
778
+ opacity: 1;
779
+ }
780
+
781
+ .site-stat-figure {
782
+ font-family: var(--dna-type-display-family);
783
+ font-size: var(--dna-type-h1-size);
784
+ font-weight: var(--dna-type-display-weight);
785
+ line-height: var(--dna-type-h1-line-height);
786
+ color: var(--site-brand-text);
787
+ }
788
+
789
+ .site-stat-caption {
790
+ font-size: var(--dna-type-body-size);
791
+ font-weight: 500;
792
+ color: var(--site-fg-muted);
793
+ }
794
+
795
+ .site-stat-outlined {
796
+ border: var(--dna-border-width-thin) solid var(--site-border);
797
+ border-radius: var(--dna-radius-lg);
798
+ }
799
+
800
+ .site-stat-tinted {
801
+ border-radius: var(--dna-radius-lg);
802
+ background: var(--site-brand-tint);
803
+ }
804
+
805
+ /* A rule between two figures. A phone stacks them, so the rule sits above each one but the first.
806
+ From 40rem a rule sits before each figure but the first of its row, and a row starts at every
807
+ second figure, then from 48rem at every data-cols-th (the stats grid has 2, 3 or 4 columns). */
808
+ .site-stat-divided + .site-stat-divided {
809
+ border-top: var(--dna-border-width-thin) solid var(--site-border);
810
+ }
811
+
812
+ @media (min-width: 40rem) {
813
+ .site-stat-divided + .site-stat-divided {
814
+ border-top: 0;
304
815
  }
305
816
  }
306
817
 
307
- /* Article prose: the DNA's body face and leading, display headings, links in the brand colour. */
308
- .site-blog .prose {
309
- font-family: var(--dna-type-body-family);
310
- line-height: var(--dna-type-body-line-height);
818
+ @media (min-width: 40rem) and (max-width: 47.99rem) {
819
+ .site-grid > .site-stat-divided:not(:nth-child(2n + 1)) {
820
+ border-inline-start: var(--dna-border-width-thin) solid var(--site-border);
821
+ }
311
822
  }
312
823
 
313
- .site-blog .prose :is(h1, h2, h3, h4) {
314
- font-family: var(--font-display);
315
- scroll-margin-top: calc(var(--site-header-height) + 1.5rem);
824
+ @media (min-width: 48rem) {
825
+ .site-grid[data-cols="2"] > .site-stat-divided:not(:nth-child(2n + 1)),
826
+ .site-grid[data-cols="3"] > .site-stat-divided:not(:nth-child(3n + 1)),
827
+ .site-grid[data-cols="4"] > .site-stat-divided:not(:nth-child(4n + 1)) {
828
+ border-inline-start: var(--dna-border-width-thin) solid var(--site-border);
829
+ }
316
830
  }
317
831
 
318
- .site-blog .prose :is(p, li, blockquote, td, th) a {
832
+ .site-icon-box {
833
+ display: inline-flex;
834
+ flex: none;
835
+ padding: 12px;
836
+ border-radius: var(--dna-radius-md);
837
+ background: var(--site-brand-tint);
838
+ color: var(--site-brand-text);
839
+ }
840
+
841
+ .site-icon-link {
842
+ display: inline-flex;
843
+ color: var(--site-fg-muted);
844
+ }
845
+
846
+ .site-icon-link:hover {
319
847
  color: var(--site-link);
320
848
  }
321
849
 
322
- /* Table cells hold labels and figures, not prose, so they keep to one line and the scroller
323
- fumadocs puts around each table carries the overflow. */
324
- .site-blog .prose :is(th, td) {
325
- white-space: nowrap;
850
+ .site-avatar-round {
851
+ border-radius: var(--dna-radius-full);
852
+ }
853
+
854
+ .site-person-name {
855
+ font-size: var(--dna-type-body-sm-size);
856
+ font-weight: 600;
857
+ color: var(--site-fg);
858
+ }
859
+
860
+ /* The rule over the person at the foot of a quote card. */
861
+ .site-testimonial-foot {
862
+ border-top: var(--dna-border-width-thin) solid var(--site-border);
863
+ }
864
+
865
+ .site-quote-mark,
866
+ .site-rating {
867
+ color: var(--site-brand-text);
868
+ }
869
+
870
+ .site-star-off {
871
+ color: var(--site-border);
872
+ }
873
+
874
+ /* A quote on its own, in the brand's quote container (containers.quote), with the opening mark
875
+ hung outside the text edge when the brand hangs punctuation (details.hangingPunctuation). */
876
+ .site-quote-large {
877
+ padding: var(--dna-quote-padding);
878
+ border-style: solid;
879
+ border-color: var(--dna-quote-border-color);
880
+ border-width: var(--dna-quote-border-width);
881
+ border-radius: var(--dna-quote-radius);
882
+ background: var(--dna-quote-bg);
883
+ font-family: var(--dna-type-h3-family);
884
+ font-size: var(--dna-type-h3-size);
885
+ font-weight: 500;
886
+ line-height: var(--dna-type-h3-line-height);
887
+ letter-spacing: var(--dna-type-h3-tracking);
888
+ text-indent: var(--dna-quote-hang);
889
+ color: var(--site-fg);
890
+ text-wrap: pretty;
891
+ }
892
+
893
+ /* A question whose caret turns when it opens. */
894
+ .site-faq-summary {
895
+ display: flex;
896
+ align-items: center;
897
+ justify-content: space-between;
898
+ gap: 6px;
899
+ cursor: pointer;
900
+ list-style: none;
901
+ font-family: var(--dna-type-h4-family);
902
+ font-size: var(--dna-type-h4-size);
903
+ font-weight: var(--dna-type-h4-weight);
904
+ color: var(--site-fg);
905
+ }
906
+
907
+ .site-faq-summary::-webkit-details-marker {
908
+ display: none;
909
+ }
910
+
911
+ .site-faq-box {
912
+ padding: 16px;
913
+ border: var(--dna-border-width-thin) solid var(--site-border);
914
+ border-radius: var(--dna-radius-md);
915
+ background: var(--site-surface-muted);
916
+ }
917
+
918
+ .site-faq-answer {
919
+ line-height: var(--dna-type-body-line-height);
920
+ color: var(--site-fg-muted);
921
+ }
922
+
923
+ .site-faq-divided + .site-faq-divided {
924
+ border-top: var(--dna-border-width-thin) solid var(--site-border);
925
+ }
926
+
927
+ /* A quiet rule on the start edge: the border colour, not the brand's, so the questions read
928
+ as one list and the caret carries the state. */
929
+ .site-faq-bar {
930
+ border-inline-start: var(--dna-border-width-thick) solid var(--site-border);
931
+ background: var(--site-surface-muted);
932
+ }
933
+
934
+ .site-faq-caret {
935
+ transition: transform 300ms ease;
936
+ }
937
+
938
+ details[open] > .site-faq-summary .site-faq-caret {
939
+ transform: rotate(180deg);
940
+ }
941
+
942
+ @media (prefers-reduced-motion: reduce) {
943
+ .site-faq-caret,
944
+ .site-logo-muted {
945
+ transition: none;
946
+ }
947
+ }
948
+
949
+ .site-form {
950
+ font-family: var(--font-sans);
951
+ }
952
+
953
+ .site-label {
954
+ display: block;
955
+ margin-bottom: 4px;
956
+ font-size: var(--dna-type-body-sm-size);
957
+ font-weight: 600;
958
+ color: var(--site-fg);
959
+ }
960
+
961
+ .site-input {
962
+ width: 100%;
963
+ padding: 10px 12px;
964
+ border: var(--dna-border-width-thin) solid var(--site-border);
965
+ border-radius: var(--dna-radius-md);
966
+ background: var(--color-fd-background);
967
+ color: var(--site-fg);
968
+ font: inherit;
969
+ }
970
+
971
+ .site-input:focus-visible {
972
+ outline: 2px solid var(--color-fd-ring);
973
+ outline-offset: 1px;
974
+ }
975
+
976
+ .site-contact-detail {
977
+ color: var(--site-fg);
978
+ font-weight: 500;
979
+ }
980
+
981
+ /* A button's quiet forms: words alone (ghost), and an icon alone in a square (icon). */
982
+ .site-button-ghost {
983
+ background: transparent;
984
+ border-color: transparent;
985
+ color: var(--site-link);
986
+ text-decoration: underline;
987
+ text-underline-offset: 4px;
988
+ }
989
+
990
+ .site-button-icon {
991
+ justify-content: center;
992
+ padding: 12px;
993
+ }
994
+
995
+ .site-button:focus-visible {
996
+ outline: 2px solid var(--color-fd-ring);
997
+ outline-offset: 2px;
998
+ }
999
+
1000
+ /* A short notice: a band in a wash of the brand colour, or a box at the foot of the window. */
1001
+ .site-announcement {
1002
+ font-family: var(--font-sans);
1003
+ font-size: var(--dna-type-body-sm-size);
1004
+ color: var(--site-fg);
1005
+ }
1006
+
1007
+ .site-announcement-bar {
1008
+ border-bottom: var(--dna-border-width-thin) solid var(--site-border);
1009
+ background: var(--site-brand-tint);
1010
+ }
1011
+
1012
+ /* Only the box takes the pointer, so the page under the empty margin stays usable. */
1013
+ .site-announcement-floating {
1014
+ position: fixed;
1015
+ inset-inline: 0;
1016
+ bottom: 0;
1017
+ z-index: 40;
1018
+ padding: 16px;
1019
+ pointer-events: none;
1020
+ }
1021
+
1022
+ .site-announcement-box {
1023
+ border: var(--dna-border-width-thin) solid var(--site-border);
1024
+ border-radius: var(--dna-radius-md);
1025
+ background: var(--site-surface);
1026
+ box-shadow: var(--dna-shadow-md);
1027
+ pointer-events: auto;
1028
+ }
1029
+
1030
+ .site-announcement-link {
1031
+ color: inherit;
1032
+ font-weight: 600;
1033
+ text-decoration: underline;
1034
+ text-underline-offset: 3px;
1035
+ }
1036
+
1037
+ .site-announcement-close {
1038
+ display: inline-flex;
1039
+ padding: 6px;
1040
+ border: var(--dna-border-width-thin) solid var(--site-border);
1041
+ border-radius: var(--dna-radius-sm);
1042
+ background: var(--color-fd-background);
1043
+ color: var(--site-fg);
1044
+ cursor: pointer;
1045
+ }
1046
+
1047
+ .site-announcement-close:focus-visible {
1048
+ outline: 2px solid var(--color-fd-ring);
1049
+ outline-offset: 1px;
1050
+ }
1051
+
1052
+ /* A block on a quiet band that runs edge to edge. */
1053
+ .site-band-muted {
1054
+ background: var(--site-surface-muted);
1055
+ }
1056
+
1057
+ .site-media-text {
1058
+ font-size: var(--dna-type-body-size);
1059
+ line-height: var(--dna-type-body-line-height);
1060
+ color: var(--site-fg-muted);
1061
+ text-wrap: pretty;
1062
+ }
1063
+
1064
+ .site-card-overlay {
1065
+ border-radius: var(--dna-radius-lg);
1066
+ }
1067
+
1068
+ .site-thumb {
1069
+ border-radius: var(--dna-radius-md);
1070
+ }
1071
+
1072
+ /* A card that leads somewhere: the title's link covers the card, and the edge turns the brand
1073
+ colour under the pointer. No lift or scale: the card stays where the reader's eye is. */
1074
+ .site-card-frame {
1075
+ border: var(--dna-border-width-thin) solid var(--dna-component-card-border);
1076
+ border-radius: var(--dna-component-card-radius);
1077
+ background: var(--dna-component-card-bg);
1078
+ color: var(--dna-component-card-fg);
1079
+ transition: border-color 150ms ease;
1080
+ }
1081
+
1082
+ .site-card-linked:hover {
1083
+ border-color: var(--site-brand);
1084
+ }
1085
+
1086
+ .site-card-link {
1087
+ color: inherit;
1088
+ text-decoration: none;
1089
+ }
1090
+
1091
+ .site-card-link::after {
1092
+ content: "";
1093
+ position: absolute;
1094
+ inset: 0;
1095
+ border-radius: inherit;
1096
+ }
1097
+
1098
+ .site-card-link:focus-visible {
1099
+ outline: none;
1100
+ }
1101
+
1102
+ .site-card-link:focus-visible::after {
1103
+ outline: 2px solid var(--color-fd-ring);
1104
+ outline-offset: 2px;
1105
+ }
1106
+
1107
+ .site-card-meta {
1108
+ font-size: var(--dna-type-caption-size);
1109
+ color: var(--site-fg-muted);
1110
+ }
1111
+
1112
+ .site-card-eyebrow {
1113
+ font-weight: 600;
1114
+ letter-spacing: 0.08em;
1115
+ text-transform: uppercase;
1116
+ color: var(--site-brand-text);
1117
+ }
1118
+
1119
+ .site-card-more {
1120
+ font-size: var(--dna-type-body-sm-size);
1121
+ font-weight: 600;
1122
+ color: var(--site-link);
1123
+ }
1124
+
1125
+ /* The text colour, not the brand's: brand text on its own tint is too close to AA for small type
1126
+ on some brands (4.48:1 on one fixture brand). */
1127
+ .site-tag {
1128
+ padding: 2px 10px;
1129
+ border-radius: var(--dna-radius-full);
1130
+ background: var(--site-brand-tint);
1131
+ color: var(--site-fg);
1132
+ font-size: var(--dna-type-caption-size);
1133
+ white-space: nowrap;
1134
+ }
1135
+
1136
+ /* The words of an overlay card sit on the brand colour, a pair the brand keeps readable, and
1137
+ the band fades into the picture above them. */
1138
+ .site-card-overlay-fade {
1139
+ background: linear-gradient(to top, var(--color-fd-primary), transparent);
1140
+ }
1141
+
1142
+ .site-card-overlay-words,
1143
+ .site-card-overlay-words :is(.site-card-meta, .site-card-eyebrow) {
1144
+ background: var(--color-fd-primary);
1145
+ color: var(--color-fd-primary-foreground);
1146
+ }
1147
+
1148
+ .site-empty-icon {
1149
+ color: var(--site-fg-muted);
1150
+ }
1151
+
1152
+ .site-empty-text {
1153
+ font-size: var(--dna-type-body-size);
1154
+ line-height: var(--dna-type-body-line-height);
1155
+ color: var(--site-fg-muted);
1156
+ text-wrap: pretty;
1157
+ }
1158
+
1159
+ @media (prefers-reduced-motion: reduce) {
1160
+ .site-card-frame {
1161
+ transition: none;
1162
+ }
1163
+ }
1164
+
1165
+ /* Markdown between the blocks of a website page sits in the container, like the blocks' content.
1166
+ An announcement is a band of its own, edge to edge. */
1167
+ .site-website > :not(.site-block, .site-announcement) {
1168
+ max-width: var(--site-container-width);
1169
+ margin-inline: auto;
1170
+ padding-inline: 32px;
1171
+ color: var(--site-fg);
1172
+ line-height: var(--dna-type-body-line-height);
1173
+ }
1174
+
1175
+ @media (max-width: 760px) {
1176
+ .site-website > :not(.site-block, .site-announcement) {
1177
+ padding-inline: 20px;
1178
+ }
1179
+ }
1180
+
1181
+ /* A blog listing's later posts wait for their batch (blog/batches.ts); the listing's client part
1182
+ shows the next batch, and a <noscript> style shows them all. */
1183
+ [data-post-item][data-later] {
1184
+ display: none;
1185
+ }
1186
+
1187
+ /* The words and spinner under a listing while the next posts' cover pictures load (more-posts.tsx).
1188
+ With less motion the spinner turns slowly; the words carry the state either way. */
1189
+ .site-loading {
1190
+ display: flex;
1191
+ align-items: center;
1192
+ gap: 10px;
1193
+ margin: 0;
1194
+ font-family: var(--font-sans);
1195
+ font-size: var(--dna-type-body-sm-size);
1196
+ line-height: 1;
1197
+ color: var(--site-fg-muted);
1198
+ }
1199
+
1200
+ .site-spinner {
1201
+ flex-shrink: 0;
1202
+ width: 16px;
1203
+ height: 16px;
1204
+ border: 2px solid var(--site-border);
1205
+ border-top-color: var(--site-brand);
1206
+ border-radius: 50%;
1207
+ animation: site-spin 700ms linear infinite;
1208
+ }
1209
+
1210
+ @keyframes site-spin {
1211
+ to {
1212
+ transform: rotate(360deg);
1213
+ }
1214
+ }
1215
+
1216
+ @media (prefers-reduced-motion: reduce) {
1217
+ .site-spinner {
1218
+ animation-duration: 2400ms;
1219
+ }
1220
+ }
1221
+
1222
+ /* Article prose: the DNA's body face and leading, display headings, links in the brand colour. */
1223
+ .site-blog .prose {
1224
+ font-family: var(--dna-type-body-family);
1225
+ line-height: var(--dna-type-body-line-height);
1226
+ }
1227
+
1228
+ .site-blog .prose :is(h1, h2, h3, h4) {
1229
+ font-family: var(--font-display);
1230
+ scroll-margin-top: calc(var(--site-header-height) + 1.5rem);
1231
+ }
1232
+
1233
+ .site-blog .prose :is(p, li, blockquote, td, th) a {
1234
+ color: var(--site-link);
1235
+ }
1236
+
1237
+ /* Table cells hold labels and figures, not prose, so they keep to one line and the scroller
1238
+ fumadocs puts around each table carries the overflow. */
1239
+ .site-blog .prose :is(th, td) {
1240
+ white-space: nowrap;
1241
+ }
1242
+
1243
+ /*
1244
+ * The design language (theme contract minor 1): section tones, the brand's split, media, the
1245
+ * blocks of a business people visit, the browser's own surfaces and the opening reveal. Every
1246
+ * value comes from the brand DNA's design primitives through the --dna-* variables.
1247
+ */
1248
+
1249
+ /* Section tones: a block's `tone` prop sets data-tone. A band re-points the engine's colours, so
1250
+ everything inside it (cards, buttons, links, Tailwind's fd colours) follows the band. */
1251
+ .site-block[data-tone="tint"] {
1252
+ background: var(--dna-texture-tint), var(--dna-color-surface-tint);
1253
+ }
1254
+
1255
+ /* Muted text on an inverse band is a mix toward the band, which keeps AA on its high contrast. A
1256
+ brand band starts near AA, so its secondary text keeps the band's full text colour. */
1257
+ .site-block[data-tone="inverse"] {
1258
+ --site-band-bg: var(--dna-color-surface-inverse);
1259
+ --site-band-fg: var(--dna-color-on-surface-inverse);
1260
+ --site-band-muted: color-mix(in oklab, var(--site-band-fg) 80%, var(--site-band-bg));
1261
+ --site-band-surface: color-mix(in oklab, var(--site-band-fg) 8%, var(--site-band-bg));
1262
+ --site-emphasis-color: var(--dna-emphasis-color-inverse);
1263
+ --site-emphasis-bg: var(--dna-emphasis-bg-inverse);
1264
+ --site-band-texture: var(--dna-texture-inverse);
1265
+ }
1266
+
1267
+ .site-block[data-tone="brand"] {
1268
+ --site-band-bg: var(--dna-color-surface-brand);
1269
+ --site-band-fg: var(--dna-color-on-surface-brand);
1270
+ --site-band-muted: var(--site-band-fg);
1271
+ --site-band-surface: var(--site-band-bg);
1272
+ --site-emphasis-color: var(--dna-emphasis-color-brand);
1273
+ --site-emphasis-bg: var(--dna-emphasis-bg-brand);
1274
+ --site-band-texture: var(--dna-texture-brand);
1275
+ }
1276
+
1277
+ .site-block[data-tone="inverse"],
1278
+ .site-block[data-tone="brand"] {
1279
+ --site-fg: var(--site-band-fg);
1280
+ --site-fg-muted: var(--site-band-muted);
1281
+ --site-border: color-mix(in oklab, var(--site-band-fg) 24%, var(--site-band-bg));
1282
+ --site-surface: var(--site-band-surface);
1283
+ --site-surface-muted: var(--site-surface);
1284
+ --site-brand: var(--dna-cta-inverse-bg);
1285
+ --site-brand-text: var(--dna-cta-inverse-bg);
1286
+ --site-link: var(--dna-cta-inverse-bg);
1287
+ --color-fd-foreground: var(--site-fg);
1288
+ --color-fd-muted-foreground: var(--site-fg-muted);
1289
+ --color-fd-border: var(--site-border);
1290
+ --color-fd-card: var(--site-surface);
1291
+ --color-fd-muted: var(--site-surface);
1292
+ --color-fd-background: var(--site-band-bg);
1293
+ /* The DNA's texture for this tone, if any, over the band's colour (contract minor 3). */
1294
+ background: var(--site-band-texture), var(--site-band-bg);
1295
+ color: var(--site-fg);
1296
+ }
1297
+
1298
+ .site-block[data-tone="inverse"] .site-card,
1299
+ .site-block[data-tone="brand"] .site-card {
1300
+ border-color: var(--site-border);
1301
+ background: color-mix(in oklab, var(--site-surface) calc(var(--dna-list-fill) * 100%), transparent);
1302
+ }
1303
+
1304
+ .site-block[data-tone="inverse"] .site-button,
1305
+ .site-block[data-tone="brand"] .site-button {
1306
+ --site-button-bg: var(--dna-cta-inverse-bg);
1307
+ border-color: var(--dna-cta-inverse-bg);
1308
+ color: var(--dna-cta-inverse-fg);
1309
+ }
1310
+
1311
+ .site-block[data-tone="inverse"] .site-button-secondary,
1312
+ .site-block[data-tone="brand"] .site-button-secondary {
1313
+ --site-button-bg: transparent;
1314
+ border-color: var(--site-border);
1315
+ color: var(--site-fg);
1316
+ }
1317
+
1318
+ /* On a band the step numbers take the accent when the brand allows it (colorPolicy.accent). */
1319
+ .site-block[data-tone="inverse"] .site-step-number,
1320
+ .site-block[data-tone="brand"] .site-step-number {
1321
+ color: var(--dna-accent-numerals);
1322
+ }
1323
+
1324
+ /* The brand's split (composition.split): the first column the wider one, or the last. */
1325
+ .site-split,
1326
+ .site-split-end {
1327
+ display: grid;
1328
+ grid-template-columns: minmax(0, 1fr);
1329
+ gap: var(--dna-space-xl);
1330
+ }
1331
+
1332
+ @media (min-width: 48rem) {
1333
+ .site-split {
1334
+ grid-template-columns: minmax(0, var(--dna-split-wide)) minmax(0, var(--dna-split-narrow));
1335
+ column-gap: clamp(var(--dna-space-xl), 6vw, calc(var(--dna-space-2xl) * 1.5));
1336
+ }
1337
+
1338
+ .site-split-end {
1339
+ grid-template-columns: minmax(0, var(--dna-split-narrow)) minmax(0, var(--dna-split-wide));
1340
+ column-gap: clamp(var(--dna-space-xl), 6vw, calc(var(--dna-space-2xl) * 1.5));
1341
+ }
1342
+ }
1343
+
1344
+ /* Media (containers.media, imagery.media): a frame or none, the media radius, the brand's aspect
1345
+ ratio, and a two-colour treatment made of a grey picture between two brand colours. */
1346
+ .site-media {
1347
+ margin: 0;
1348
+ width: 100%;
1349
+ padding: var(--dna-media-frame-padding);
1350
+ border: var(--dna-media-frame-border-width) solid var(--dna-component-card-border);
1351
+ border-radius: calc(var(--dna-media-radius) + var(--dna-media-frame-padding));
1352
+ background: var(--dna-media-frame-bg);
1353
+ }
1354
+
1355
+ .site-media-picture {
1356
+ position: relative;
1357
+ isolation: isolate;
1358
+ overflow: hidden;
1359
+ border-radius: var(--dna-media-radius);
1360
+ background: var(--dna-media-highlight);
1361
+ }
1362
+
1363
+ .site-media-img {
1364
+ display: block;
1365
+ width: 100%;
1366
+ height: 100%;
1367
+ aspect-ratio: var(--dna-media-aspect);
1368
+ object-fit: cover;
1369
+ filter: var(--dna-media-filter);
1370
+ mix-blend-mode: var(--dna-media-blend);
1371
+ }
1372
+
1373
+ .site-media-picture::after {
1374
+ content: "";
1375
+ position: absolute;
1376
+ inset: 0;
1377
+ background: var(--dna-media-shadow);
1378
+ mix-blend-mode: lighten;
1379
+ pointer-events: none;
1380
+ }
1381
+
1382
+ .site-hero-image,
1383
+ .site-media-image {
1384
+ width: 100%;
1385
+ }
1386
+
1387
+ .site-hero-media {
1388
+ align-self: stretch;
1389
+ }
1390
+
1391
+ /* A picture that runs to the edge of its band on a wide screen, when the brand bleeds media
1392
+ (containers.media). The band is a size container, so 100cqw is its own width: the window on a
1393
+ site, the canvas in a preview. A split that holds such a picture spans the band: its start
1394
+ padding lines the words up with the page column, and its end padding is that gutter times
1395
+ (1 - the flag), so for every other brand the picture keeps its column and its corners. */
1396
+ .site-block:has(.site-media-bleed) {
1397
+ container-type: inline-size;
1398
+ }
1399
+
1400
+ @media (min-width: 48rem) {
1401
+ .site-container:has(> .site-media-bleed) {
1402
+ --site-gutter: max(32px, calc((100cqw - var(--site-container-width)) / 2 + 32px));
1403
+ max-width: none;
1404
+ padding-inline-start: var(--site-gutter);
1405
+ padding-inline-end: calc(var(--site-gutter) * (1 - var(--dna-media-bleed)));
1406
+ }
1407
+
1408
+ .site-media-bleed .site-media-picture {
1409
+ border-start-end-radius: calc(var(--dna-media-radius) * (1 - var(--dna-media-bleed)));
1410
+ border-end-end-radius: calc(var(--dna-media-radius) * (1 - var(--dna-media-bleed)));
1411
+ height: 100%;
1412
+ }
1413
+ }
1414
+
1415
+ /* A price list: each line a name and a note on one side, the price on the other. */
1416
+ .site-price-list {
1417
+ border-top: var(--dna-border-width-thick) solid var(--site-fg);
1418
+ }
1419
+
1420
+ .site-price-row {
1421
+ display: flex;
1422
+ align-items: baseline;
1423
+ justify-content: space-between;
1424
+ gap: var(--dna-space-lg);
1425
+ padding-block: var(--dna-space-lg);
1426
+ border-bottom: var(--dna-border-width-thin) solid var(--site-border);
1427
+ }
1428
+
1429
+ .site-price-name {
1430
+ margin-bottom: var(--dna-space-xs);
1431
+ font-family: var(--dna-type-h4-family);
1432
+ font-size: var(--dna-type-h4-size);
1433
+ font-weight: var(--dna-type-h4-weight);
1434
+ line-height: var(--dna-type-h4-line-height);
1435
+ color: var(--site-fg);
1436
+ }
1437
+
1438
+ .site-price-amount {
1439
+ flex: 0 1 auto;
1440
+ min-width: 0;
1441
+ max-width: 50%;
1442
+ text-align: end;
1443
+ font-family: var(--dna-type-h4-family);
1444
+ font-size: var(--dna-type-h4-size);
1445
+ font-weight: var(--dna-type-h4-weight);
1446
+ font-variant-numeric: var(--dna-numerals);
1447
+ color: var(--site-fg);
1448
+ }
1449
+
1450
+ .site-price-note {
1451
+ display: block;
1452
+ font-family: var(--dna-type-caption-family);
1453
+ font-size: var(--dna-type-caption-size);
1454
+ font-weight: var(--dna-type-caption-weight);
1455
+ color: var(--site-fg-muted);
1456
+ }
1457
+
1458
+ @media (min-width: 64rem) {
1459
+ .site-price-columns .site-price-list {
1460
+ columns: 2;
1461
+ column-gap: var(--dna-space-2xl);
1462
+ }
1463
+
1464
+ .site-price-columns .site-price-row {
1465
+ break-inside: avoid;
1466
+ }
1467
+ }
1468
+
1469
+ /* Opening hours and the facts of a place: a label and a value on each line. */
1470
+ .site-hours {
1471
+ display: grid;
1472
+ font-size: var(--dna-type-body-size);
1473
+ line-height: var(--dna-type-body-line-height);
1474
+ font-variant-numeric: var(--dna-numerals);
1475
+ }
1476
+
1477
+ .site-hours-row {
1478
+ display: flex;
1479
+ justify-content: space-between;
1480
+ gap: var(--dna-space-lg);
1481
+ padding-block: var(--dna-space-sm);
1482
+ border-bottom: var(--dna-border-width-thin) solid var(--site-border);
1483
+ }
1484
+
1485
+ .site-hours-row > dt {
1486
+ color: var(--site-fg);
1487
+ }
1488
+
1489
+ .site-hours-row > dd {
1490
+ margin: 0;
1491
+ text-align: end;
1492
+ color: var(--site-fg-muted);
1493
+ }
1494
+
1495
+ .site-hours-table {
1496
+ max-width: var(--dna-measure-body);
1497
+ }
1498
+
1499
+ /* A location: the address in the display face, and a picture or a plan of streets beside it. */
1500
+ .site-location-words {
1501
+ min-width: 0;
1502
+ }
1503
+
1504
+ .site-location-address {
1505
+ font-style: normal;
1506
+ font-family: var(--dna-type-h3-family);
1507
+ font-size: var(--dna-type-h3-size);
1508
+ font-weight: var(--dna-type-h3-weight);
1509
+ line-height: var(--dna-type-h3-line-height);
1510
+ letter-spacing: var(--dna-type-h3-tracking);
1511
+ color: var(--site-fg);
1512
+ }
1513
+
1514
+ .site-location-media {
1515
+ align-self: stretch;
1516
+ }
1517
+
1518
+ .site-location-plan {
1519
+ position: relative;
1520
+ min-height: 16rem;
1521
+ aspect-ratio: 4 / 3;
1522
+ border-radius: var(--dna-media-radius);
1523
+ --site-plan-street: var(--color-fd-background);
1524
+ background:
1525
+ linear-gradient(100deg, transparent 46%, var(--site-plan-street) 46%, var(--site-plan-street) 54%, transparent 54%),
1526
+ linear-gradient(8deg, transparent 37%, var(--site-plan-street) 37%, var(--site-plan-street) 43%, transparent 43%),
1527
+ linear-gradient(-4deg, transparent 69%, var(--site-plan-street) 69%, var(--site-plan-street) 73%, transparent 73%),
1528
+ color-mix(in oklab, var(--site-border) 55%, var(--dna-color-surface-tint));
1529
+ border: var(--dna-border-width-thin) solid var(--site-border);
1530
+ overflow: hidden;
1531
+ }
1532
+
1533
+ .site-location-pin {
1534
+ position: absolute;
1535
+ inset-block-start: 44%;
1536
+ inset-inline-start: 50%;
1537
+ width: 18px;
1538
+ height: 18px;
1539
+ border-radius: var(--dna-radius-full);
1540
+ background: var(--site-brand);
1541
+ box-shadow: 0 0 0 8px color-mix(in oklab, var(--site-brand) 22%, transparent);
1542
+ transform: translate(-50%, -50%);
1543
+ }
1544
+
1545
+ /* The browser's own surfaces take the brand: a text selection, the caret, checkboxes and radio
1546
+ buttons, and the scroll bar. */
1547
+ ::selection {
1548
+ background: color-mix(in oklab, var(--dna-color-primary) 26%, transparent);
1549
+ }
1550
+
1551
+ :root {
1552
+ accent-color: var(--dna-color-primary);
1553
+ caret-color: var(--dna-color-primary);
1554
+ scrollbar-color: color-mix(in oklab, var(--dna-color-on-surface) 32%, transparent) transparent;
1555
+ }
1556
+
1557
+ /* The opening section enters once when the brand has a reveal (motion.pageReveal); every other
1558
+ section is still. With duration 0 and opacity 1 the rule does nothing. */
1559
+ @keyframes site-reveal {
1560
+ from {
1561
+ opacity: var(--dna-reveal-opacity);
1562
+ transform: translateY(var(--dna-reveal-distance));
1563
+ }
1564
+ }
1565
+
1566
+ @media (prefers-reduced-motion: no-preference) {
1567
+ .site-hero-words,
1568
+ .site-hero-media {
1569
+ animation: site-reveal var(--dna-reveal-duration) var(--dna-motion-ease) both;
1570
+ }
1571
+
1572
+ .site-hero-media {
1573
+ animation-delay: var(--dna-motion-fast);
1574
+ }
326
1575
  }