Pricing Tiers
Side-by-side plans with one tier highlighted to guide the choice.
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#18181b, #fafafa);
--color-accent: light-dark(#4f46e5, #818cf8);
--color-bg: light-dark(#ffffff, #0b0b0d);
--color-surface: light-dark(#f7f7f8, #161619);
--color-text: light-dark(#0a0a0c, #f5f5f6);
--color-text-muted: light-dark(#52525b, #a1a1aa);
--color-border: light-dark(#e4e4e7, #26262b);
--font-heading: 'Inter', system-ui, sans-serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.1;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 0.625rem;
--shadow: 0 1px 2px rgb(10 10 12 / 0.05), 0 4px 12px rgb(10 10 12 / 0.06), 0 16px 40px rgb(10 10 12 / 0.06);
--container-width: 1120px;
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#4f46e5, #818cf8);
--color-accent: light-dark(#a855f7, #c084fc);
--color-bg: light-dark(#ffffff, #0c0c18);
--color-surface: light-dark(#f5f5ff, #16162b);
--color-text: light-dark(#111127, #ececf6);
--color-text-muted: light-dark(#5a5a72, #9d9dbd);
--color-border: light-dark(#e4e4f2, #28284a);
--font-heading: 'Inter', system-ui, sans-serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.1;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 0.75rem;
--shadow: 0 1px 2px rgb(79 70 229 / 0.06), 0 6px 16px rgb(79 70 229 / 0.10), 0 20px 48px rgb(79 70 229 / 0.10);
--container-width: 1120px;
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#0d9488, #2dd4bf);
--color-accent: light-dark(#f97316, #fb923c);
--color-bg: light-dark(#fbfaf8, #171412);
--color-surface: light-dark(#f3f0ea, #221e1a);
--color-text: light-dark(#292524, #ece7e0);
--color-text-muted: light-dark(#6b6560, #a8a099);
--color-border: light-dark(#e5dfd6, #37312a);
--font-heading: Georgia, 'Times New Roman', serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.15;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 1rem;
--shadow: 0 2px 6px rgb(90 75 60 / 0.06), 0 10px 28px rgb(90 75 60 / 0.10);
--container-width: 1120px;
}
HTML
<section class="s-pricing-tiers-two-tier">
<div class="pt-inner">
<div class="pt-head"><span class="pt-eyebrow">Pricing</span><h2 class="pt-title">Simple, honest pricing</h2><p class="pt-sub">Pay once. Own it forever.</p></div>
<div class="pt-grid">
<article class="pt-card"><h3>Personal</h3><div class="pt-price">$49<span>one-time</span></div><ul><li>All sections</li><li>Unlimited exports</li><li>Lifetime updates</li></ul><a class="pt-btn pt-btn-ghost" href="#">Get Personal</a></article>
<article class="pt-card pt-featured"><span class="pt-badge">Best value</span><h3>Team</h3><div class="pt-price">$149<span>one-time</span></div><ul><li>Everything in Personal</li><li>Use across your team</li><li>Priority email support</li></ul><a class="pt-btn pt-btn-primary" href="#">Get Team</a></article>
</div>
</div>
</section>CSS block only, works with any theme's tokens
.s-pricing-tiers-two-tier {
background:
radial-gradient(44rem 22rem at 50% -12%, color-mix(in srgb, var(--color-primary) 6%, transparent), transparent 60%),
var(--color-bg);
color: var(--color-text);
font-family: var(--font-body);
padding-block: var(--space-2xl);
}
.s-pricing-tiers-two-tier .pt-inner {
max-width: 880px;
margin-inline: auto;
padding-inline: var(--space-lg);
}
.s-pricing-tiers-two-tier .pt-head {
text-align: center;
margin-bottom: var(--space-xl);
}
.s-pricing-tiers-two-tier .pt-eyebrow {
display: inline-block;
font-size: var(--text-sm);
font-weight: var(--weight-medium);
color: var(--color-primary);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: var(--space-sm);
}
.s-pricing-tiers-two-tier .pt-title {
font-family: var(--font-heading);
text-wrap: balance;
font-size: var(--text-3xl);
font-weight: var(--weight-bold);
line-height: var(--leading-tight);
letter-spacing: -0.02em;
margin: 0 0 var(--space-sm);
}
.s-pricing-tiers-two-tier .pt-sub {
font-size: var(--text-lg);
color: var(--color-text-muted);
margin: 0;
}
.s-pricing-tiers-two-tier .pt-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: var(--space-lg);
align-items: start;
}
.s-pricing-tiers-two-tier .pt-card {
padding: var(--space-xl);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
position: relative;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.s-pricing-tiers-two-tier .pt-card:hover {
transform: translateY(-3px);
box-shadow: var(--shadow);
}
.s-pricing-tiers-two-tier .pt-featured {
background: var(--color-bg);
border-color: color-mix(in srgb, var(--color-primary) 55%, var(--color-border));
box-shadow: 0 1px 2px color-mix(in srgb, var(--color-text) 8%, transparent), 0 12px 32px color-mix(in srgb, var(--color-primary) 16%, transparent);
}
.s-pricing-tiers-two-tier .pt-badge {
position: absolute;
top: calc(var(--space-md) * -1);
left: var(--space-xl);
padding: var(--space-xs) var(--space-md);
border-radius: 999px;
background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 55%, var(--color-accent)));
color: var(--color-bg);
font-size: var(--text-sm);
font-weight: var(--weight-medium);
box-shadow: 0 4px 12px color-mix(in srgb, var(--color-primary) 30%, transparent);
}
.s-pricing-tiers-two-tier .pt-card h3 {
font-family: var(--font-heading);
text-wrap: balance;
font-size: var(--text-xl);
font-weight: var(--weight-bold);
margin: 0 0 var(--space-sm);
}
.s-pricing-tiers-two-tier .pt-price {
font-family: var(--font-heading);
text-wrap: balance;
font-size: var(--text-4xl);
font-weight: var(--weight-bold);
letter-spacing: -0.02em;
margin-bottom: var(--space-lg);
}
.s-pricing-tiers-two-tier .pt-price span {
display: inline-block;
margin-left: var(--space-xs);
font-size: var(--text-base);
font-weight: var(--weight-normal);
letter-spacing: 0;
color: var(--color-text-muted);
}
.s-pricing-tiers-two-tier .pt-card ul {
list-style: none;
margin: 0 0 var(--space-lg);
padding: 0;
display: grid;
gap: var(--space-sm);
}
.s-pricing-tiers-two-tier .pt-card li {
font-size: var(--text-base);
color: var(--color-text-muted);
padding-left: var(--space-xl);
position: relative;
}
.s-pricing-tiers-two-tier .pt-card li::before {
content: '✓';
position: absolute;
left: 0;
top: 0.05em;
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.2rem;
height: 1.2rem;
border-radius: 999px;
background: color-mix(in srgb, var(--color-accent) 14%, var(--color-bg));
color: var(--color-accent);
font-size: var(--text-sm);
font-weight: var(--weight-bold);
}
.s-pricing-tiers-two-tier .pt-btn {
display: block;
text-align: center;
padding: var(--space-sm) var(--space-lg);
border-radius: var(--radius);
font-size: var(--text-base);
font-weight: var(--weight-medium);
text-decoration: none;
transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.s-pricing-tiers-two-tier .pt-btn-primary {
background: var(--color-primary);
color: var(--color-bg);
box-shadow: 0 1px 2px color-mix(in srgb, var(--color-text) 14%, transparent), 0 8px 20px color-mix(in srgb, var(--color-primary) 25%, transparent);
}
.s-pricing-tiers-two-tier .pt-btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 2px 4px color-mix(in srgb, var(--color-text) 14%, transparent), 0 12px 28px color-mix(in srgb, var(--color-primary) 32%, transparent);
}
.s-pricing-tiers-two-tier .pt-btn-ghost {
color: var(--color-text);
border: 1px solid var(--color-border);
background: var(--color-bg);
}
.s-pricing-tiers-two-tier .pt-btn-ghost:hover {
border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border));
background: var(--color-surface);
}
@media (max-width: 640px) {
.s-pricing-tiers-two-tier .pt-grid {
grid-template-columns: 1fr;
}
}
.s-pricing-tiers-two-tier .pt-grid:has(.pt-card:hover) .pt-card:not(:hover) {
opacity: 0.55;
transition: opacity 0.2s ease;
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#18181b, #fafafa);
--color-accent: light-dark(#4f46e5, #818cf8);
--color-bg: light-dark(#ffffff, #0b0b0d);
--color-surface: light-dark(#f7f7f8, #161619);
--color-text: light-dark(#0a0a0c, #f5f5f6);
--color-text-muted: light-dark(#52525b, #a1a1aa);
--color-border: light-dark(#e4e4e7, #26262b);
--font-heading: 'Inter', system-ui, sans-serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.1;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 0.625rem;
--shadow: 0 1px 2px rgb(10 10 12 / 0.05), 0 4px 12px rgb(10 10 12 / 0.06), 0 16px 40px rgb(10 10 12 / 0.06);
--container-width: 1120px;
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#4f46e5, #818cf8);
--color-accent: light-dark(#a855f7, #c084fc);
--color-bg: light-dark(#ffffff, #0c0c18);
--color-surface: light-dark(#f5f5ff, #16162b);
--color-text: light-dark(#111127, #ececf6);
--color-text-muted: light-dark(#5a5a72, #9d9dbd);
--color-border: light-dark(#e4e4f2, #28284a);
--font-heading: 'Inter', system-ui, sans-serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.1;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 0.75rem;
--shadow: 0 1px 2px rgb(79 70 229 / 0.06), 0 6px 16px rgb(79 70 229 / 0.10), 0 20px 48px rgb(79 70 229 / 0.10);
--container-width: 1120px;
}
Theme tokens add once per site, shared by every block
:root {
color-scheme: light dark;
--color-primary: light-dark(#0d9488, #2dd4bf);
--color-accent: light-dark(#f97316, #fb923c);
--color-bg: light-dark(#fbfaf8, #171412);
--color-surface: light-dark(#f3f0ea, #221e1a);
--color-text: light-dark(#292524, #ece7e0);
--color-text-muted: light-dark(#6b6560, #a8a099);
--color-border: light-dark(#e5dfd6, #37312a);
--font-heading: Georgia, 'Times New Roman', serif;
--font-body: 'Inter', system-ui, sans-serif;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.375rem;
--text-2xl: 1.75rem;
--text-3xl: 2.375rem;
--text-4xl: 3.5rem;
--weight-normal: 400;
--weight-medium: 500;
--weight-bold: 700;
--leading-tight: 1.15;
--leading-normal: 1.6;
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 2rem;
--space-xl: 4rem;
--space-2xl: 6rem;
--space-3xl: 8rem;
--radius: 1rem;
--shadow: 0 2px 6px rgb(90 75 60 / 0.06), 0 10px 28px rgb(90 75 60 / 0.10);
--container-width: 1120px;
}
HTML
<section class="s-pricing-tiers-three-tier">
<div class="pt-inner">
<div class="pt-head"><span class="pt-eyebrow">Pricing</span><h2 class="pt-title">Simple, honest pricing</h2><p class="pt-sub">Pay once. Own it forever.</p></div>
<div class="pt-grid">
<article class="pt-card"><h3>Starter</h3><div class="pt-price">$29<span>one-time</span></div><ul><li>10 sections</li><li>Unlimited exports</li><li>Personal use</li></ul><a class="pt-btn pt-btn-ghost" href="#">Get Starter</a></article>
<article class="pt-card pt-featured"><span class="pt-badge">Most popular</span><h3>Personal</h3><div class="pt-price">$49<span>one-time</span></div><ul><li>All sections</li><li>Lifetime updates</li><li>Project files</li></ul><a class="pt-btn pt-btn-primary" href="#">Get Personal</a></article>
<article class="pt-card"><h3>Team</h3><div class="pt-price">$149<span>one-time</span></div><ul><li>Everything in Personal</li><li>Use across your team</li><li>Priority support</li></ul><a class="pt-btn pt-btn-ghost" href="#">Get Team</a></article>
</div>
</div>
</section>CSS block only, works with any theme's tokens
.s-pricing-tiers-three-tier {
background:
radial-gradient(44rem 22rem at 50% -12%, color-mix(in srgb, var(--color-primary) 6%, transparent), transparent 60%),
var(--color-bg);
color: var(--color-text);
font-family: var(--font-body);
padding-block: var(--space-2xl);
}
.s-pricing-tiers-three-tier .pt-inner {
max-width: var(--container-width);
margin-inline: auto;
padding-inline: var(--space-lg);
}
.s-pricing-tiers-three-tier .pt-head {
text-align: center;
margin-bottom: var(--space-xl);
}
.s-pricing-tiers-three-tier .pt-eyebrow {
display: inline-block;
font-size: var(--text-sm);
font-weight: var(--weight-medium);
color: var(--color-primary);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: var(--space-sm);
}
.s-pricing-tiers-three-tier .pt-title {
font-family: var(--font-heading);
text-wrap: balance;
font-size: var(--text-3xl);
font-weight: var(--weight-bold);
line-height: var(--leading-tight);
letter-spacing: -0.02em;
margin: 0 0 var(--space-sm);
}
.s-pricing-tiers-three-tier .pt-sub {
font-size: var(--text-lg);
color: var(--color-text-muted);
margin: 0;
}
.s-pricing-tiers-three-tier .pt-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--space-lg);
align-items: start;
}
.s-pricing-tiers-three-tier .pt-card {
padding: var(--space-xl);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
position: relative;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.s-pricing-tiers-three-tier .pt-card:hover {
transform: translateY(-3px);
box-shadow: var(--shadow);
}
.s-pricing-tiers-three-tier .pt-featured {
background: var(--color-bg);
border-color: color-mix(in srgb, var(--color-primary) 55%, var(--color-border));
box-shadow: 0 1px 2px color-mix(in srgb, var(--color-text) 8%, transparent), 0 12px 32px color-mix(in srgb, var(--color-primary) 16%, transparent);
}
.s-pricing-tiers-three-tier .pt-badge {
position: absolute;
top: calc(var(--space-md) * -1);
left: var(--space-xl);
padding: var(--space-xs) var(--space-md);
border-radius: 999px;
background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 55%, var(--color-accent)));
color: var(--color-bg);
font-size: var(--text-sm);
font-weight: var(--weight-medium);
box-shadow: 0 4px 12px color-mix(in srgb, var(--color-primary) 30%, transparent);
}
.s-pricing-tiers-three-tier .pt-card h3 {
font-family: var(--font-heading);
text-wrap: balance;
font-size: var(--text-xl);
font-weight: var(--weight-bold);
margin: 0 0 var(--space-sm);
}
.s-pricing-tiers-three-tier .pt-price {
font-family: var(--font-heading);
text-wrap: balance;
font-size: var(--text-4xl);
font-weight: var(--weight-bold);
letter-spacing: -0.02em;
margin-bottom: var(--space-lg);
}
.s-pricing-tiers-three-tier .pt-price span {
display: inline-block;
margin-left: var(--space-xs);
font-size: var(--text-base);
font-weight: var(--weight-normal);
letter-spacing: 0;
color: var(--color-text-muted);
}
.s-pricing-tiers-three-tier .pt-card ul {
list-style: none;
margin: 0 0 var(--space-lg);
padding: 0;
display: grid;
gap: var(--space-sm);
}
.s-pricing-tiers-three-tier .pt-card li {
font-size: var(--text-base);
color: var(--color-text-muted);
padding-left: var(--space-xl);
position: relative;
}
.s-pricing-tiers-three-tier .pt-card li::before {
content: '✓';
position: absolute;
left: 0;
top: 0.05em;
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.2rem;
height: 1.2rem;
border-radius: 999px;
background: color-mix(in srgb, var(--color-accent) 14%, var(--color-bg));
color: var(--color-accent);
font-size: var(--text-sm);
font-weight: var(--weight-bold);
}
.s-pricing-tiers-three-tier .pt-btn {
display: block;
text-align: center;
padding: var(--space-sm) var(--space-lg);
border-radius: var(--radius);
font-size: var(--text-base);
font-weight: var(--weight-medium);
text-decoration: none;
transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.s-pricing-tiers-three-tier .pt-btn-primary {
background: var(--color-primary);
color: var(--color-bg);
box-shadow: 0 1px 2px color-mix(in srgb, var(--color-text) 14%, transparent), 0 8px 20px color-mix(in srgb, var(--color-primary) 25%, transparent);
}
.s-pricing-tiers-three-tier .pt-btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 2px 4px color-mix(in srgb, var(--color-text) 14%, transparent), 0 12px 28px color-mix(in srgb, var(--color-primary) 32%, transparent);
}
.s-pricing-tiers-three-tier .pt-btn-ghost {
color: var(--color-text);
border: 1px solid var(--color-border);
background: var(--color-bg);
}
.s-pricing-tiers-three-tier .pt-btn-ghost:hover {
border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border));
background: var(--color-surface);
}
@media (max-width: 900px) {
.s-pricing-tiers-three-tier .pt-grid {
grid-template-columns: 1fr;
max-width: 440px;
margin-inline: auto;
}
}
.s-pricing-tiers-three-tier .pt-grid:has(.pt-card:hover) .pt-card:not(:hover) {
opacity: 0.55;
transition: opacity 0.2s ease;
}
Modern CSS in this block
Baseline 2023 — works in every up-to-date browser.
- color-mix()Newly availableMixing colors without a preprocessor
- :has()Newly availableSelecting parent elements without JavaScript
- text-wrap: balanceNewly availableBalanced headlines without manual line breaks
Plus universally supported features: logical properties, custom properties. Baseline status is pulled from each feature's reference snippet.
More pricing blocks