Pricing cards
Three centred price cards on a tinted band. The middle card is featured in the accent colour with a badge, and each card has a native show/hide list of what is included. Use it for fixed-price services or plans. The include lists use details/summary, so they open and close without JavaScript.
<section class="blk-section blk-price-band" aria-labelledby="blk-price-title">
<div class="blk-container">
<header class="blk-head">
<div class="blk-head__main">
<h2 id="blk-price-title">Simple, fixed prices</h2>
<p>Pick the level of support you need. Every price is agreed before we start.</p>
</div>
</header>
<div class="blk-prices">
<article class="blk-price">
<h3 class="blk-price__title">Starter</h3>
<p class="blk-price__amount"><span class="blk-price__cur">£</span><span class="blk-price__num">99</span><span class="blk-price__per">one-off</span></p>
<p class="blk-price__desc">A short session to answer your questions and agree a plan.</p>
<details class="blk-price__more">
<summary>What is included</summary>
<ul class="blk-price__list">
<li>A 30 minute call</li>
<li>A written summary</li>
<li>One follow-up question</li>
</ul>
</details>
<a class="blk-btn blk-btn--outline blk-price__btn" href="#">Choose Starter</a>
</article>
<article class="blk-price blk-price--featured">
<p class="blk-price__badge">Most popular</p>
<h3 class="blk-price__title">Standard</h3>
<p class="blk-price__amount"><span class="blk-price__cur">£</span><span class="blk-price__num">249</span><span class="blk-price__per">one-off</span></p>
<p class="blk-price__desc">Everything in Starter, plus the work done for you from start to finish.</p>
<details class="blk-price__more">
<summary>What is included</summary>
<ul class="blk-price__list">
<li>Everything in Starter</li>
<li>Document review</li>
<li>Preparation of your submission</li>
<li>Email support for 30 days</li>
</ul>
</details>
<a class="blk-btn blk-btn--primary blk-price__btn" href="#">Choose Standard</a>
</article>
<article class="blk-price">
<h3 class="blk-price__title">Complete</h3>
<p class="blk-price__amount"><span class="blk-price__cur">£</span><span class="blk-price__num">499</span><span class="blk-price__per">one-off</span></p>
<p class="blk-price__desc">Full support, including anything that comes up after you submit.</p>
<details class="blk-price__more">
<summary>What is included</summary>
<ul class="blk-price__list">
<li>Everything in Standard</li>
<li>Priority replies</li>
<li>Help with follow-up requests</li>
<li>Support for 90 days</li>
</ul>
</details>
<a class="blk-btn blk-btn--outline blk-price__btn" href="#">Choose Complete</a>
</article>
</div>
</div>
</section>.blk-price-band { background: var(--blk-band-b); }
.blk-prices { display: grid; gap: 28px; align-items: stretch; }
.blk-price { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 26px 28px; background: var(--blk-surface); border: 1px solid var(--blk-line); border-radius: var(--blk-radius-lg); transition: transform .3s ease, box-shadow .3s ease; }
.blk-price:hover { transform: translateY(-5px); box-shadow: var(--blk-shadow); }
.blk-price__title { font-size: 1.2rem; }
.blk-price__amount { display: inline-flex; align-items: flex-start; gap: 3px; margin: 10px 0 8px; font-family: var(--blk-font-heading); font-weight: 700; color: var(--blk-heading); line-height: 1; }
.blk-price__cur { font-size: 1.1rem; margin-top: .35em; }
.blk-price__num { font-size: 2.8rem; line-height: .9; }
.blk-price__per { align-self: flex-end; margin: 0 0 .3em 4px; font-size: .8rem; font-weight: 500; color: var(--blk-muted); }
.blk-price__desc { color: var(--blk-muted); font-size: .96rem; margin-bottom: 20px; }
.blk-price__more { width: 100%; margin-bottom: 24px; }
.blk-price__more summary { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--blk-line); border-radius: 999px; font-family: var(--blk-font-heading); font-weight: 600; font-size: .85rem; color: var(--blk-accent); cursor: pointer; list-style: none; }
.blk-price__more summary::-webkit-details-marker { display: none; }
.blk-price__more summary::after { content: "+"; font-size: 1.2em; line-height: 1; }
.blk-price__more[open] summary::after { content: "\2212"; }
.blk-price__more summary:hover { border-color: var(--blk-accent); }
.blk-price__list { list-style: none; margin: 18px auto 0; padding: 0; max-width: 260px; display: grid; gap: 12px; text-align: left; font-size: .93rem; }
.blk-price__list li { position: relative; padding-left: 28px; }
.blk-price__list li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; font-weight: 700; color: var(--blk-accent); background: color-mix(in srgb, var(--blk-accent) 12%, transparent); }
.blk-price__btn { margin-top: auto; }
.blk-price__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--blk-highlight); color: var(--blk-heading); font-family: var(--blk-font-heading); font-weight: 600; font-size: .72rem; letter-spacing: .04em; white-space: nowrap; }
.blk-price--featured { background: var(--blk-accent); border-color: var(--blk-accent); box-shadow: var(--blk-shadow); }
.blk-price--featured h3, .blk-price--featured .blk-price__amount { color: var(--blk-on-accent); }
.blk-price--featured .blk-price__per, .blk-price--featured .blk-price__desc { color: color-mix(in srgb, var(--blk-on-accent) 85%, transparent); }
.blk-price--featured .blk-price__more summary { color: var(--blk-on-accent); border-color: color-mix(in srgb, var(--blk-on-accent) 50%, transparent); }
.blk-price--featured .blk-price__more summary:hover { border-color: var(--blk-on-accent); }
.blk-price--featured .blk-price__list { color: var(--blk-on-accent); }
.blk-price--featured .blk-price__list li::before { color: var(--blk-on-accent); background: color-mix(in srgb, var(--blk-on-accent) 22%, transparent); }
.blk-price--featured .blk-btn--primary { background: var(--blk-on-accent); border-color: var(--blk-on-accent); color: var(--blk-accent); }
.blk-price--featured .blk-btn--primary:hover { background: color-mix(in srgb, var(--blk-on-accent) 88%, var(--blk-accent)); }
.blk-price--featured :focus-visible { outline-color: var(--blk-on-accent); }
.blk-price__more summary:focus-visible { outline: 3px solid var(--blk-accent); outline-offset: 3px; }
@media (min-width: 900px) { .blk-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .blk-price:hover { transform: none; } }How to customise it
- Change the three titles, prices and one-line descriptions. Keep the descriptions about the same length so the cards line up.
- Move the featured card by moving the
blk-price--featuredclass and the badge to another card. Keep only one featured card. - Add
opento a<details>element to show its list by default. - The featured card uses
--blk-accent, the badge uses--blk-highlight. On a phone the cards stack.
Tokens it reads
--blk-band-b--blk-surface--blk-line--blk-accent--blk-accent-dark--blk-on-accent--blk-highlight--blk-heading--blk-muted--blk-shadow--blk-radius-lg--blk-font-headingAdd the "Pricing cards" block from Product Scope Blocks (https://resources.productscope.uk/blocks/blocks/pricing-cards) to my page. Link https://resources.productscope.uk/blocks/blocks/kit/blocks.css once. Paste the HTML from https://resources.productscope.uk/blocks/blocks/kit/blocks/pricing-cards.html and replace the placeholder text with my real content. Do not change the class names, add inline styles or add scripts. To change colours or fonts, override the --blk- variables in my own CSS. Do not invent facts, clients or numbers.