@dloizides/marketing-astro-kit 1.3.3 → 1.4.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.
- package/package.json +54 -53
- package/src/DemoFrame.astro +268 -264
- package/src/PricingComparison.astro +433 -428
- package/src/PrimaryCta.astro +146 -138
- package/src/TrustSection.astro +524 -516
- package/src/a11y.css +22 -0
|
@@ -1,428 +1,433 @@
|
|
|
1
|
-
---
|
|
2
|
-
// Reusable "Free-vs-Pro" pricing comparison table for product marketing sites.
|
|
3
|
-
// Data-driven (see schema.ts → PricingComparisonData); themed purely through
|
|
4
|
-
// the host site's CSS custom properties. Drop-in for any Astro marketing site.
|
|
5
|
-
//
|
|
6
|
-
// <PricingComparison data={pricing} id="pricing" />
|
|
7
|
-
//
|
|
8
|
-
// The host page must provide the `[data-contact]` mailto-reveal handler for any
|
|
9
|
-
// CTA with `kind: 'contact'` (the scaffold + kefi-marketing already do).
|
|
10
|
-
//
|
|
11
|
-
// `ctaAttrs` (link vs spam-safe contact + analytics wiring) is shared from
|
|
12
|
-
// schema.ts so PrimaryCta.astro renders CTAs identically.
|
|
13
|
-
import type { PricingComparisonData } from './schema';
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<span class="pmk-
|
|
42
|
-
<span class="pmk-tier-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
<
|
|
102
|
-
<
|
|
103
|
-
|
|
104
|
-
<
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
</
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
.
|
|
119
|
-
|
|
120
|
-
--_brand
|
|
121
|
-
--
|
|
122
|
-
--
|
|
123
|
-
--
|
|
124
|
-
--
|
|
125
|
-
--_bg
|
|
126
|
-
--
|
|
127
|
-
--
|
|
128
|
-
--
|
|
129
|
-
--_r-
|
|
130
|
-
--
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
font-
|
|
140
|
-
font-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
font-
|
|
149
|
-
font-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
border-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
.pmk-
|
|
177
|
-
.pmk-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
border-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
border-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
font-
|
|
210
|
-
font-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
font-
|
|
219
|
-
font-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
.pmk-tier-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
font-
|
|
233
|
-
font-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
font-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
.is-featured .pmk-tier-price
|
|
244
|
-
.is-featured .pmk-tier-price
|
|
245
|
-
.pmk-tier-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
.pmk-cta
|
|
276
|
-
.
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
.pmk-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
border-
|
|
311
|
-
|
|
312
|
-
}
|
|
313
|
-
.pmk-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
.pmk-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
margin
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
.pmk-callout-price
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
}
|
|
428
|
-
|
|
1
|
+
---
|
|
2
|
+
// Reusable "Free-vs-Pro" pricing comparison table for product marketing sites.
|
|
3
|
+
// Data-driven (see schema.ts → PricingComparisonData); themed purely through
|
|
4
|
+
// the host site's CSS custom properties. Drop-in for any Astro marketing site.
|
|
5
|
+
//
|
|
6
|
+
// <PricingComparison data={pricing} id="pricing" />
|
|
7
|
+
//
|
|
8
|
+
// The host page must provide the `[data-contact]` mailto-reveal handler for any
|
|
9
|
+
// CTA with `kind: 'contact'` (the scaffold + kefi-marketing already do).
|
|
10
|
+
//
|
|
11
|
+
// `ctaAttrs` (link vs spam-safe contact + analytics wiring) is shared from
|
|
12
|
+
// schema.ts so PrimaryCta.astro renders CTAs identically.
|
|
13
|
+
import type { PricingComparisonData } from './schema';
|
|
14
|
+
import './a11y.css';
|
|
15
|
+
import { ctaAttrs } from './schema';
|
|
16
|
+
|
|
17
|
+
interface Props {
|
|
18
|
+
data: PricingComparisonData;
|
|
19
|
+
id?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const { data, id = 'pricing' } = Astro.props as Props;
|
|
23
|
+
|
|
24
|
+
const { tiers, groups } = data;
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
<section class={`pmk-pricing`} id={id} aria-labelledby={`${id}-title`}>
|
|
28
|
+
<div class="pmk-container">
|
|
29
|
+
<p class="pmk-eyebrow" data-reveal>{data.eyebrow}</p>
|
|
30
|
+
<h2 class="pmk-title" id={`${id}-title`} data-reveal>{data.title}</h2>
|
|
31
|
+
{data.subtitle && <p class="pmk-sub" data-reveal>{data.subtitle}</p>}
|
|
32
|
+
|
|
33
|
+
<div class="pmk-tablewrap" data-reveal>
|
|
34
|
+
<table class="pmk-table">
|
|
35
|
+
<caption class="pmk-visually-hidden">Plan feature comparison</caption>
|
|
36
|
+
<thead>
|
|
37
|
+
<tr>
|
|
38
|
+
<th scope="col" class="pmk-th-corner"><span class="pmk-visually-hidden">Feature</span></th>
|
|
39
|
+
{tiers.map((t) => (
|
|
40
|
+
<th scope="col" class={`pmk-th${t.featured ? ' is-featured' : ''}`}>
|
|
41
|
+
{t.badge && <span class="pmk-ribbon">{t.badge}</span>}
|
|
42
|
+
<span class="pmk-tier-name">{t.name}</span>
|
|
43
|
+
<span class="pmk-tier-price">
|
|
44
|
+
<b>{t.price}</b><i>{t.priceUnit}</i>
|
|
45
|
+
</span>
|
|
46
|
+
{t.tagline && <span class="pmk-tier-tag">{t.tagline}</span>}
|
|
47
|
+
<a class={`pmk-cta${t.featured ? ' pmk-cta--brand' : ' pmk-cta--ink'}`} {...ctaAttrs(t.cta)}>
|
|
48
|
+
{t.cta.label}
|
|
49
|
+
</a>
|
|
50
|
+
</th>
|
|
51
|
+
))}
|
|
52
|
+
</tr>
|
|
53
|
+
</thead>
|
|
54
|
+
<tbody>
|
|
55
|
+
{groups.map((group) => (
|
|
56
|
+
<>
|
|
57
|
+
{group.heading && (
|
|
58
|
+
<tr class="pmk-grouprow">
|
|
59
|
+
<th scope="colgroup" colspan={tiers.length + 1}>{group.heading}</th>
|
|
60
|
+
</tr>
|
|
61
|
+
)}
|
|
62
|
+
{group.rows.map((row) => (
|
|
63
|
+
<tr class="pmk-row">
|
|
64
|
+
<th scope="row" class="pmk-rowlabel">
|
|
65
|
+
<span class="pmk-rowlabel-t">{row.label}</span>
|
|
66
|
+
{row.hint && <span class="pmk-rowlabel-h">{row.hint}</span>}
|
|
67
|
+
</th>
|
|
68
|
+
{row.cells.map((cell, ci) => (
|
|
69
|
+
<td
|
|
70
|
+
class={`pmk-cell${tiers[ci]?.featured ? ' is-featured' : ''}`}
|
|
71
|
+
data-label={tiers[ci]?.name}
|
|
72
|
+
>
|
|
73
|
+
{typeof cell === 'boolean' ? (
|
|
74
|
+
cell ? (
|
|
75
|
+
<span class="pmk-yes" role="img" aria-label="Included">
|
|
76
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7" /></svg>
|
|
77
|
+
</span>
|
|
78
|
+
) : (
|
|
79
|
+
<span class="pmk-no" role="img" aria-label="Not included">
|
|
80
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M7 7l10 10M17 7L7 17" /></svg>
|
|
81
|
+
</span>
|
|
82
|
+
)
|
|
83
|
+
) : (
|
|
84
|
+
<span class="pmk-val">{cell}</span>
|
|
85
|
+
)}
|
|
86
|
+
</td>
|
|
87
|
+
))}
|
|
88
|
+
</tr>
|
|
89
|
+
))}
|
|
90
|
+
</>
|
|
91
|
+
))}
|
|
92
|
+
</tbody>
|
|
93
|
+
</table>
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
{data.footnote && <p class="pmk-footnote" data-reveal>{data.footnote}</p>}
|
|
97
|
+
|
|
98
|
+
{data.callout && (
|
|
99
|
+
<aside class="pmk-callout" data-reveal>
|
|
100
|
+
<div class="pmk-callout-body">
|
|
101
|
+
{data.callout.badge && <span class="pmk-callout-badge">{data.callout.badge}</span>}
|
|
102
|
+
<h3 class="pmk-callout-name">{data.callout.name}</h3>
|
|
103
|
+
<p class="pmk-callout-price"><b>{data.callout.price}</b> <i>{data.callout.priceUnit}</i></p>
|
|
104
|
+
{data.callout.tagline && <p class="pmk-callout-tag">{data.callout.tagline}</p>}
|
|
105
|
+
<ul class="pmk-callout-list">
|
|
106
|
+
{data.callout.bullets.map((b) => <li>{b}</li>)}
|
|
107
|
+
</ul>
|
|
108
|
+
</div>
|
|
109
|
+
<a class="pmk-cta pmk-cta--ink pmk-callout-cta" {...ctaAttrs(data.callout.cta)}>
|
|
110
|
+
{data.callout.cta.label}
|
|
111
|
+
</a>
|
|
112
|
+
</aside>
|
|
113
|
+
)}
|
|
114
|
+
</div>
|
|
115
|
+
</section>
|
|
116
|
+
|
|
117
|
+
<style>
|
|
118
|
+
/* Themed via host CSS vars (fallbacks keep it rendering standalone). */
|
|
119
|
+
.pmk-pricing {
|
|
120
|
+
--_brand: var(--brand, #d8332a);
|
|
121
|
+
--_brand-deep: var(--brand-deep, #a8231c);
|
|
122
|
+
--_accent: var(--accent, #f5a300);
|
|
123
|
+
--_ink: var(--ink, #0a0a1f);
|
|
124
|
+
--_paper: var(--paper, #fff);
|
|
125
|
+
--_bg: var(--bg, #fbf9f4);
|
|
126
|
+
--_bg-tint: var(--bg-tint, #f1ede1);
|
|
127
|
+
--_muted: var(--muted, rgba(10, 10, 31, 0.62));
|
|
128
|
+
--_hairline: var(--hairline, rgba(10, 10, 31, 0.1));
|
|
129
|
+
--_r-lg: var(--radius-lg, 24px);
|
|
130
|
+
--_r-md: var(--radius-md, 14px);
|
|
131
|
+
--_shadow: var(--shadow, 0 30px 60px -30px rgba(10, 10, 31, 0.4));
|
|
132
|
+
padding: 96px 0;
|
|
133
|
+
}
|
|
134
|
+
.pmk-container {
|
|
135
|
+
width: min(1200px, 100% - 48px);
|
|
136
|
+
margin-inline: auto;
|
|
137
|
+
}
|
|
138
|
+
.pmk-eyebrow {
|
|
139
|
+
font-family: 'Oswald', sans-serif;
|
|
140
|
+
font-size: 12px;
|
|
141
|
+
font-weight: 600;
|
|
142
|
+
letter-spacing: 0.22em;
|
|
143
|
+
text-transform: uppercase;
|
|
144
|
+
color: var(--_brand);
|
|
145
|
+
margin: 0;
|
|
146
|
+
}
|
|
147
|
+
.pmk-title {
|
|
148
|
+
font-family: 'Oswald', 'Inter', sans-serif;
|
|
149
|
+
font-size: clamp(30px, 3.8vw, 46px);
|
|
150
|
+
font-weight: 700;
|
|
151
|
+
line-height: 1.08;
|
|
152
|
+
letter-spacing: -0.01em;
|
|
153
|
+
margin: 12px 0 14px;
|
|
154
|
+
max-width: 22ch;
|
|
155
|
+
color: var(--_ink);
|
|
156
|
+
}
|
|
157
|
+
.pmk-sub {
|
|
158
|
+
color: var(--_muted);
|
|
159
|
+
max-width: 60ch;
|
|
160
|
+
margin: 0 0 40px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* Table --------------------------------------------------------------- */
|
|
164
|
+
.pmk-tablewrap {
|
|
165
|
+
overflow-x: auto;
|
|
166
|
+
border-radius: var(--_r-lg);
|
|
167
|
+
-webkit-overflow-scrolling: touch;
|
|
168
|
+
}
|
|
169
|
+
.pmk-table {
|
|
170
|
+
width: 100%;
|
|
171
|
+
min-width: 640px;
|
|
172
|
+
border-collapse: separate;
|
|
173
|
+
border-spacing: 0;
|
|
174
|
+
table-layout: fixed;
|
|
175
|
+
}
|
|
176
|
+
.pmk-table caption { text-align: left; }
|
|
177
|
+
.pmk-th-corner,
|
|
178
|
+
.pmk-rowlabel {
|
|
179
|
+
width: 34%;
|
|
180
|
+
text-align: left;
|
|
181
|
+
}
|
|
182
|
+
.pmk-th {
|
|
183
|
+
position: relative;
|
|
184
|
+
vertical-align: bottom;
|
|
185
|
+
padding: 22px 18px 20px;
|
|
186
|
+
text-align: center;
|
|
187
|
+
background: var(--_paper);
|
|
188
|
+
border-top: 1px solid var(--_hairline);
|
|
189
|
+
border-bottom: 2px solid var(--_hairline);
|
|
190
|
+
}
|
|
191
|
+
.pmk-th.is-featured {
|
|
192
|
+
background: var(--_ink);
|
|
193
|
+
border-radius: var(--_r-md) var(--_r-md) 0 0;
|
|
194
|
+
border-color: var(--_ink);
|
|
195
|
+
}
|
|
196
|
+
.pmk-th-corner {
|
|
197
|
+
background: transparent;
|
|
198
|
+
border-bottom: 2px solid var(--_hairline);
|
|
199
|
+
}
|
|
200
|
+
.pmk-ribbon {
|
|
201
|
+
position: absolute;
|
|
202
|
+
top: -11px;
|
|
203
|
+
left: 50%;
|
|
204
|
+
transform: translateX(-50%);
|
|
205
|
+
background: var(--_brand);
|
|
206
|
+
color: var(--_paper);
|
|
207
|
+
padding: 4px 12px;
|
|
208
|
+
border-radius: 999px;
|
|
209
|
+
font-family: 'Oswald', sans-serif;
|
|
210
|
+
font-size: 10.5px;
|
|
211
|
+
font-weight: 600;
|
|
212
|
+
letter-spacing: 0.16em;
|
|
213
|
+
text-transform: uppercase;
|
|
214
|
+
white-space: nowrap;
|
|
215
|
+
}
|
|
216
|
+
.pmk-tier-name {
|
|
217
|
+
display: block;
|
|
218
|
+
font-family: 'Oswald', sans-serif;
|
|
219
|
+
font-size: 16px;
|
|
220
|
+
font-weight: 600;
|
|
221
|
+
letter-spacing: 0.06em;
|
|
222
|
+
text-transform: uppercase;
|
|
223
|
+
color: var(--_ink);
|
|
224
|
+
}
|
|
225
|
+
.is-featured .pmk-tier-name { color: var(--_paper); }
|
|
226
|
+
.pmk-tier-price {
|
|
227
|
+
display: block;
|
|
228
|
+
margin: 8px 0 2px;
|
|
229
|
+
color: var(--_ink);
|
|
230
|
+
}
|
|
231
|
+
.pmk-tier-price b {
|
|
232
|
+
font-family: 'Oswald', sans-serif;
|
|
233
|
+
font-size: 34px;
|
|
234
|
+
font-weight: 700;
|
|
235
|
+
line-height: 1;
|
|
236
|
+
}
|
|
237
|
+
.pmk-tier-price i {
|
|
238
|
+
font-style: normal;
|
|
239
|
+
font-size: 13px;
|
|
240
|
+
color: var(--_muted);
|
|
241
|
+
margin-left: 4px;
|
|
242
|
+
}
|
|
243
|
+
.is-featured .pmk-tier-price,
|
|
244
|
+
.is-featured .pmk-tier-price b { color: var(--_paper); }
|
|
245
|
+
.is-featured .pmk-tier-price i { color: rgba(255, 255, 255, 0.7); }
|
|
246
|
+
.pmk-tier-tag {
|
|
247
|
+
display: block;
|
|
248
|
+
font-size: 12.5px;
|
|
249
|
+
color: var(--_muted);
|
|
250
|
+
margin-bottom: 14px;
|
|
251
|
+
min-height: 1.4em;
|
|
252
|
+
}
|
|
253
|
+
.is-featured .pmk-tier-tag { color: rgba(255, 255, 255, 0.72); }
|
|
254
|
+
|
|
255
|
+
/* CTA (self-contained — does not depend on host .btn) ----------------- */
|
|
256
|
+
.pmk-cta {
|
|
257
|
+
box-sizing: border-box;
|
|
258
|
+
min-height: var(--tmk-min-target);
|
|
259
|
+
min-width: var(--tmk-min-target);
|
|
260
|
+
display: inline-flex;
|
|
261
|
+
align-items: center;
|
|
262
|
+
justify-content: center;
|
|
263
|
+
gap: 8px;
|
|
264
|
+
padding: 11px 18px;
|
|
265
|
+
border-radius: 999px;
|
|
266
|
+
font-family: 'Inter', system-ui, sans-serif;
|
|
267
|
+
font-weight: 600;
|
|
268
|
+
font-size: 13.5px;
|
|
269
|
+
letter-spacing: 0.02em;
|
|
270
|
+
border: 1px solid transparent;
|
|
271
|
+
cursor: pointer;
|
|
272
|
+
transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
|
|
273
|
+
text-decoration: none;
|
|
274
|
+
}
|
|
275
|
+
.pmk-cta:hover { transform: translateY(-1px); }
|
|
276
|
+
.pmk-cta:focus-visible { outline: 2px solid var(--_brand); outline-offset: 3px; }
|
|
277
|
+
.pmk-cta--ink { background: var(--_ink); color: var(--_paper); }
|
|
278
|
+
.pmk-cta--ink:hover { background: var(--_brand); }
|
|
279
|
+
.pmk-cta--brand { background: var(--_brand); color: var(--_paper); }
|
|
280
|
+
.pmk-cta--brand:hover { background: var(--_brand-deep); }
|
|
281
|
+
.is-featured .pmk-cta--brand { box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
|
|
282
|
+
|
|
283
|
+
/* Group + rows -------------------------------------------------------- */
|
|
284
|
+
.pmk-grouprow th {
|
|
285
|
+
text-align: left;
|
|
286
|
+
padding: 22px 18px 8px;
|
|
287
|
+
font-family: 'Oswald', sans-serif;
|
|
288
|
+
font-size: 11px;
|
|
289
|
+
font-weight: 600;
|
|
290
|
+
letter-spacing: 0.18em;
|
|
291
|
+
text-transform: uppercase;
|
|
292
|
+
color: var(--_brand);
|
|
293
|
+
}
|
|
294
|
+
.pmk-row:hover .pmk-rowlabel,
|
|
295
|
+
.pmk-row:hover .pmk-cell:not(.is-featured) {
|
|
296
|
+
background: var(--_bg-tint);
|
|
297
|
+
}
|
|
298
|
+
.pmk-rowlabel {
|
|
299
|
+
padding: 15px 18px;
|
|
300
|
+
vertical-align: middle;
|
|
301
|
+
border-bottom: 1px solid var(--_hairline);
|
|
302
|
+
font-weight: 500;
|
|
303
|
+
}
|
|
304
|
+
.pmk-rowlabel-t { display: block; color: var(--_ink); font-size: 15px; }
|
|
305
|
+
.pmk-rowlabel-h { display: block; color: var(--_muted); font-size: 12.5px; margin-top: 2px; }
|
|
306
|
+
.pmk-cell {
|
|
307
|
+
padding: 15px 18px;
|
|
308
|
+
text-align: center;
|
|
309
|
+
vertical-align: middle;
|
|
310
|
+
border-bottom: 1px solid var(--_hairline);
|
|
311
|
+
color: var(--_ink);
|
|
312
|
+
}
|
|
313
|
+
.pmk-cell.is-featured {
|
|
314
|
+
background: color-mix(in srgb, var(--_ink) 5%, transparent);
|
|
315
|
+
border-left: 1px solid var(--_hairline);
|
|
316
|
+
border-right: 1px solid var(--_hairline);
|
|
317
|
+
}
|
|
318
|
+
.pmk-val {
|
|
319
|
+
font-family: 'Oswald', sans-serif;
|
|
320
|
+
font-weight: 600;
|
|
321
|
+
font-size: 14px;
|
|
322
|
+
letter-spacing: 0.01em;
|
|
323
|
+
}
|
|
324
|
+
.pmk-yes,
|
|
325
|
+
.pmk-no {
|
|
326
|
+
display: inline-grid;
|
|
327
|
+
place-items: center;
|
|
328
|
+
width: 24px;
|
|
329
|
+
height: 24px;
|
|
330
|
+
border-radius: 50%;
|
|
331
|
+
}
|
|
332
|
+
.pmk-yes {
|
|
333
|
+
background: color-mix(in srgb, var(--_accent) 20%, transparent);
|
|
334
|
+
color: var(--_brand-deep);
|
|
335
|
+
}
|
|
336
|
+
.pmk-yes svg { width: 15px; height: 15px; }
|
|
337
|
+
.pmk-no { color: var(--_muted); opacity: 0.5; }
|
|
338
|
+
.pmk-no svg { width: 15px; height: 15px; }
|
|
339
|
+
/* last row of the featured column gets a rounded bottom */
|
|
340
|
+
.pmk-table tbody tr:last-child .pmk-cell.is-featured {
|
|
341
|
+
border-radius: 0 0 var(--_r-md) var(--_r-md);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.pmk-footnote {
|
|
345
|
+
color: var(--_muted);
|
|
346
|
+
font-size: 13.5px;
|
|
347
|
+
margin: 18px 2px 0;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/* Concierge / one-time callout --------------------------------------- */
|
|
351
|
+
.pmk-callout {
|
|
352
|
+
margin-top: 26px;
|
|
353
|
+
display: flex;
|
|
354
|
+
align-items: center;
|
|
355
|
+
justify-content: space-between;
|
|
356
|
+
gap: 28px;
|
|
357
|
+
flex-wrap: wrap;
|
|
358
|
+
padding: 26px 30px;
|
|
359
|
+
border-radius: var(--_r-lg);
|
|
360
|
+
background: var(--_bg-tint);
|
|
361
|
+
border: 1px solid var(--_hairline);
|
|
362
|
+
}
|
|
363
|
+
.pmk-callout-badge {
|
|
364
|
+
display: inline-block;
|
|
365
|
+
font-family: 'Oswald', sans-serif;
|
|
366
|
+
font-size: 11px;
|
|
367
|
+
font-weight: 600;
|
|
368
|
+
letter-spacing: 0.16em;
|
|
369
|
+
text-transform: uppercase;
|
|
370
|
+
color: var(--_ink);
|
|
371
|
+
background: var(--_accent);
|
|
372
|
+
padding: 4px 10px;
|
|
373
|
+
border-radius: 999px;
|
|
374
|
+
margin-bottom: 12px;
|
|
375
|
+
}
|
|
376
|
+
.pmk-callout-name {
|
|
377
|
+
font-family: 'Oswald', sans-serif;
|
|
378
|
+
font-size: 22px;
|
|
379
|
+
font-weight: 700;
|
|
380
|
+
margin: 0;
|
|
381
|
+
display: inline-block;
|
|
382
|
+
}
|
|
383
|
+
.pmk-callout-price {
|
|
384
|
+
margin: 4px 0 8px;
|
|
385
|
+
color: var(--_ink);
|
|
386
|
+
}
|
|
387
|
+
.pmk-callout-price b { font-family: 'Oswald', sans-serif; font-size: 26px; }
|
|
388
|
+
.pmk-callout-price i { font-style: normal; font-size: 13px; color: var(--_muted); }
|
|
389
|
+
.pmk-callout-tag { color: var(--_muted); margin: 0 0 10px; font-size: 14.5px; }
|
|
390
|
+
.pmk-callout-list {
|
|
391
|
+
list-style: none;
|
|
392
|
+
padding: 0;
|
|
393
|
+
margin: 0;
|
|
394
|
+
display: flex;
|
|
395
|
+
flex-wrap: wrap;
|
|
396
|
+
gap: 6px 22px;
|
|
397
|
+
max-width: 62ch;
|
|
398
|
+
}
|
|
399
|
+
.pmk-callout-list li {
|
|
400
|
+
position: relative;
|
|
401
|
+
padding-left: 18px;
|
|
402
|
+
color: var(--_muted);
|
|
403
|
+
font-size: 13.5px;
|
|
404
|
+
}
|
|
405
|
+
.pmk-callout-list li::before {
|
|
406
|
+
content: '';
|
|
407
|
+
position: absolute;
|
|
408
|
+
left: 0;
|
|
409
|
+
top: 8px;
|
|
410
|
+
width: 7px;
|
|
411
|
+
height: 7px;
|
|
412
|
+
border-radius: 50%;
|
|
413
|
+
background: var(--_brand);
|
|
414
|
+
}
|
|
415
|
+
.pmk-callout-cta { white-space: nowrap; flex-shrink: 0; }
|
|
416
|
+
|
|
417
|
+
.pmk-visually-hidden {
|
|
418
|
+
position: absolute;
|
|
419
|
+
width: 1px;
|
|
420
|
+
height: 1px;
|
|
421
|
+
padding: 0;
|
|
422
|
+
margin: -1px;
|
|
423
|
+
overflow: hidden;
|
|
424
|
+
clip: rect(0 0 0 0);
|
|
425
|
+
white-space: nowrap;
|
|
426
|
+
border: 0;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
@media (max-width: 640px) {
|
|
430
|
+
.pmk-pricing { padding: 64px 0; }
|
|
431
|
+
.pmk-callout { flex-direction: column; align-items: flex-start; }
|
|
432
|
+
}
|
|
433
|
+
</style>
|