Preview links stay in the example. Copy the source to use your own destinations. Form previews never send information.
Copy the source HTML CSS JavaScript Astro
Copy HTML <section
class="fct-harbor-usage-pricing"
data-snippet="harbor-usage-pricing"
aria-labelledby="fct-harbor-usage-pricing-title"
>
<div class="m-inner">
<header>
<p class="m-kicker">HARBOR / TRANSACTION PRICING</p>
<h2 id="fct-harbor-usage-pricing-title">A clear rate.<br />A route for every stage.</h2>
<p class="m-lead">
Start with standard transaction pricing. Talk through a custom arrangement when your volume
or requirements change.
</p>
</header>
<div class="m-offer-grid">
<article class="m-standard">
<div>
<p class="m-kicker">STANDARD</p>
<h3>Pay as you go.</h3>
<p>A percentage and a fixed amount for each successful transaction.</p>
<a class="m-button" href="signup.html"
>Choose Standard <span aria-hidden="true">→</span></a
>
</div>
<dl class="m-rates">
<div>
<dt>Domestic cards</dt>
<dd>
<strong>2.2% <span>+ €0.20</span></strong
><span>per transaction</span>
</dd>
</div>
<div>
<dt>International cards</dt>
<dd>
<strong>3.2% <span>+ €0.20</span></strong
><span>per transaction</span>
</dd>
</div>
</dl>
</article>
<article class="m-custom">
<p class="m-kicker">CUSTOM</p>
<h3>A rate for your business.</h3>
<p>Discuss volume, payment mix and the operational support your team needs.</p>
<ul>
<li>Volume-based agreements</li>
<li>Defined service requirements</li>
<li>Multi-market requirements</li>
</ul>
<a class="m-button" href="contact.html"
>Talk to the team <span aria-hidden="true">→</span></a
>
</article>
</div>
<section class="m-estimator" aria-labelledby="fct-harbor-usage-pricing-estimate">
<div class="m-estimator-intro">
<p class="m-kicker">CHECK THE NUMBERS</p>
<h3 id="fct-harbor-usage-pricing-estimate">Estimate a month.</h3>
<p>Try a transaction count and average value using the illustrative rates above.</p>
</div>
<div>
<form data-fee-form>
<fieldset disabled>
<legend>Example transaction inputs</legend>
<div class="m-input-grid">
<label
>Transactions per month<input
name="transactions"
type="number"
min="0"
max="1000000"
step="1"
value="200"
required
inputmode="numeric" /></label
><label
>Average transaction (€)<input
name="average"
type="number"
min="1"
max="100000"
step="0.01"
value="45"
required
inputmode="decimal" /></label
><label class="m-card-kind"
>Card category<select name="category">
<option value="domestic">Domestic · 2.2% + €0.20</option>
<option value="international">International · 3.2% + €0.20</option>
</select></label
>
</div>
</fieldset>
</form>
<div class="m-estimate-results">
<div><span>Transaction volume</span><output data-volume>€9,000.00</output></div>
<div><span>Illustrative fees</span><output data-fees>€238.00</output></div>
<div><span>After these fees</span><output data-net>€8,762.00</output></div>
</div>
<p class="m-estimate-status m-note" role="status">
Example: 200 domestic transactions averaging €45.
</p>
<noscript
><p class="m-note">
The calculator needs JavaScript. The static example above uses 200 domestic transactions
at €45 each.
</p></noscript
>
<details>
<summary>How this estimate is calculated</summary>
<p>
The percentage fee is rounded to the nearest cent for each identical average-value
transaction; €0.20 is then added. That result is multiplied by the transaction count.
Refunds, tax, currency conversion and other charges are excluded. This is a sample
model, not a payment-provider quote.
</p>
</details>
</div>
</section>
<p class="m-note m-disclaimer">
Demonstration rates and offers. Replace prices and terms before publication. This component
does not process payments.
</p>
</div>
</section>
Copy CSS .fct-harbor-usage-pricing {
--ink: #202a36;
--muted: #526174;
--line: #d6dfe6;
--accent: #1d55ac;
color: var(--ink);
background: #fff;
font:
16px/1.55 Arial,
Helvetica,
sans-serif;
}
.fct-harbor-usage-pricing,
.fct-harbor-usage-pricing * {
box-sizing: border-box;
}
.fct-harbor-usage-pricing :is(h2, h3, h4, p, ul, dl, dd, figure) {
margin: 0;
}
.fct-harbor-usage-pricing :is(h2, h3, h4) {
line-height: 1.12;
letter-spacing: -0.035em;
}
.fct-harbor-usage-pricing h2 {
font-size: clamp(2rem, 4.5vw, 3.75rem);
}
.fct-harbor-usage-pricing h3 {
font-size: 1.5rem;
}
.fct-harbor-usage-pricing .m-inner {
max-width: 1200px;
margin: auto;
padding: 60px clamp(20px, 4vw, 60px);
}
.fct-harbor-usage-pricing .m-kicker {
font-size: 0.8125rem;
letter-spacing: 0.04em;
font-weight: 700;
margin-bottom: 18px;
}
.fct-harbor-usage-pricing .m-lead {
font-size: 1.125rem;
color: var(--muted);
max-width: 57ch;
margin-top: 20px;
}
.fct-harbor-usage-pricing a {
color: var(--accent);
text-underline-offset: 4px;
}
.fct-harbor-usage-pricing :is(input, select, button) {
font: inherit;
color: inherit;
}
.fct-harbor-usage-pricing :is(a, button, input, select, summary):focus-visible {
outline: 3px solid #b44b03;
outline-offset: 4px;
}
.fct-harbor-usage-pricing .m-button {
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: 18px;
padding: 12px 20px;
min-height: 48px;
border: 1px solid transparent;
border-radius: 4px;
background: var(--accent);
color: white;
font-size: 0.9375rem;
font-weight: 700;
text-decoration: none;
}
.fct-harbor-usage-pricing .m-note {
font-size: 0.8125rem;
color: var(--muted);
}
.fct-harbor-usage-pricing summary {
min-height: 48px;
align-content: center;
cursor: pointer;
font-size: 0.9375rem;
font-weight: 700;
}
.fct-harbor-usage-pricing details > p {
padding: 12px 0 20px;
color: var(--muted);
font-size: 0.9375rem;
}
.fct-harbor-usage-pricing [hidden] {
display: none !important;
}
@media (max-width: 700px) {
.fct-harbor-usage-pricing .m-inner {
padding-block: 36px;
}
}
.fct-harbor-usage-pricing {
--ink: #123047;
--muted: #49637b;
--accent: #1358a0;
background: #f4f8fb;
position: relative;
isolation: isolate;
}
.fct-harbor-usage-pricing:before {
content: "";
position: absolute;
left: 0;
right: 0;
top: 250px;
height: 290px;
background: #d2e7ee;
transform: skewY(-5deg);
z-index: -1;
}
.fct-harbor-usage-pricing header {
margin-bottom: 38px;
}
.fct-harbor-usage-pricing h2 {
max-width: 780px;
}
.fct-harbor-usage-pricing .m-offer-grid {
display: grid;
grid-template-columns: 1.6fr 1fr;
gap: 18px;
align-items: stretch;
}
.fct-harbor-usage-pricing .m-standard {
display: grid;
grid-template-columns: 1fr 1fr;
background: white;
border: 1px solid #dbe5ec;
box-shadow: 0 6px 18px #1230470a;
border-radius: 6px;
overflow: hidden;
}
.fct-harbor-usage-pricing .m-standard > div {
padding: 28px;
}
.fct-harbor-usage-pricing .m-standard .m-kicker {
margin-bottom: 12px;
font-size: 0.75rem;
}
.fct-harbor-usage-pricing .m-standard p:not(.m-kicker) {
font-size: 0.9375rem;
color: var(--muted);
margin-top: 16px;
}
.fct-harbor-usage-pricing .m-standard .m-button {
margin-top: 24px;
}
.fct-harbor-usage-pricing .m-rates {
background: #edf4fa;
border-left: 1px solid #dbe5ec;
display: flex;
flex-direction: column;
justify-content: center;
}
.fct-harbor-usage-pricing .m-rates > div {
padding: 25px 22px;
}
.fct-harbor-usage-pricing .m-rates > div + div {
border-top: 1px solid #dbe5ec;
}
.fct-harbor-usage-pricing dt {
font-size: 0.8125rem;
color: var(--muted);
margin-bottom: 8px;
}
.fct-harbor-usage-pricing dd {
display: grid;
gap: 8px;
}
.fct-harbor-usage-pricing dd strong {
font-size: clamp(1.6rem, 2.4vw, 2rem);
letter-spacing: -0.05em;
line-height: 1.2;
white-space: nowrap;
}
.fct-harbor-usage-pricing dd strong span {
font-size: 0.8em;
font-weight: 400;
letter-spacing: -0.03em;
}
.fct-harbor-usage-pricing dd > span {
font-size: 0.75rem;
color: var(--muted);
}
.fct-harbor-usage-pricing .m-custom {
background: #123047;
color: #fff;
padding: 28px;
border-radius: 6px;
}
.fct-harbor-usage-pricing .m-custom p:not(.m-kicker) {
font-size: 0.9375rem;
color: #c2d6e8;
margin-top: 16px;
}
.fct-harbor-usage-pricing .m-custom ul {
list-style: none;
padding: 24px 0;
display: grid;
gap: 10px;
font-size: 0.875rem;
border-bottom: 1px solid #668197;
margin-bottom: 24px;
}
.fct-harbor-usage-pricing .m-custom li:before {
content: "—";
color: #9ecde2;
margin-right: 10px;
}
.fct-harbor-usage-pricing .m-custom .m-button {
background: #b8edf4;
color: #123047;
}
.fct-harbor-usage-pricing .m-custom a:focus-visible {
outline-color: white;
}
.fct-harbor-usage-pricing .m-estimator {
display: grid;
grid-template-columns: 0.8fr 1.4fr;
gap: 45px;
margin-top: 50px;
padding: 32px 0;
border-top: 1px solid #c7d8e4;
}
.fct-harbor-usage-pricing .m-estimator-intro p:last-child {
font-size: 0.9375rem;
color: var(--muted);
margin-top: 15px;
max-width: 30ch;
}
.fct-harbor-usage-pricing form {
margin: 0;
}
.fct-harbor-usage-pricing fieldset {
padding: 0;
border: 0;
margin: 0;
min-width: 0;
}
.fct-harbor-usage-pricing legend {
font-size: 0.8125rem;
color: var(--muted);
margin-bottom: 14px;
}
.fct-harbor-usage-pricing .m-input-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
}
.fct-harbor-usage-pricing label {
display: grid;
gap: 8px;
font-size: 0.8125rem;
font-weight: 700;
}
.fct-harbor-usage-pricing :is(input, select) {
min-height: 48px;
padding: 10px 12px;
background: white;
border: 1px solid #a7bdcf;
border-radius: 4px;
min-width: 0;
width: 100%;
font-size: 1rem;
font-weight: 400;
}
.fct-harbor-usage-pricing input[aria-invalid="true"] {
border-color: #a93215;
}
.fct-harbor-usage-pricing .m-card-kind {
grid-column: 1/-1;
}
.fct-harbor-usage-pricing .m-estimate-results {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
border-top: 1px solid #c7d8e4;
border-bottom: 1px solid #c7d8e4;
padding: 20px 0;
margin-top: 24px;
}
.fct-harbor-usage-pricing .m-estimate-results > div {
min-width: 0;
display: grid;
gap: 7px;
}
.fct-harbor-usage-pricing .m-estimate-results span {
font-size: 0.75rem;
color: var(--muted);
}
.fct-harbor-usage-pricing output {
font-size: 1.25rem;
font-weight: 700;
letter-spacing: -0.04em;
overflow-wrap: anywhere;
}
.fct-harbor-usage-pricing .m-estimate-status {
margin-top: 14px;
min-height: 3em;
}
.fct-harbor-usage-pricing details {
border-top: 1px solid #c7d8e4;
margin-top: 10px;
}
.fct-harbor-usage-pricing .m-disclaimer {
padding-top: 20px;
border-top: 1px solid #c7d8e4;
}
@media (max-width: 1000px) {
.fct-harbor-usage-pricing .m-offer-grid {
grid-template-columns: 1fr;
}
.fct-harbor-usage-pricing .m-custom {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0 35px;
}
.fct-harbor-usage-pricing .m-custom .m-kicker {
grid-column: 1/-1;
}
.fct-harbor-usage-pricing .m-custom ul {
grid-column: 2;
grid-row: 2/4;
padding-top: 0;
margin: 0;
}
.fct-harbor-usage-pricing .m-custom .m-button {
width: fit-content;
margin-top: 24px;
}
}
@media (max-width: 700px) {
.fct-harbor-usage-pricing:before {
top: 260px;
height: 400px;
}
.fct-harbor-usage-pricing .m-standard,
.fct-harbor-usage-pricing .m-estimator,
.fct-harbor-usage-pricing .m-custom {
display: block;
}
.fct-harbor-usage-pricing .m-rates {
border-left: 0;
border-top: 1px solid #dbe5ec;
display: grid;
grid-template-columns: 1fr 1fr;
}
.fct-harbor-usage-pricing .m-rates > div {
padding: 22px 18px;
}
.fct-harbor-usage-pricing .m-rates > div + div {
border-top: 0;
border-left: 1px solid #dbe5ec;
}
.fct-harbor-usage-pricing dd strong {
font-size: 1.4rem;
}
.fct-harbor-usage-pricing dd strong span {
display: block;
margin-top: 5px;
}
.fct-harbor-usage-pricing .m-custom ul {
padding: 24px 0;
margin-bottom: 0;
}
.fct-harbor-usage-pricing .m-custom .m-button {
width: 100%;
}
.fct-harbor-usage-pricing .m-estimator-intro {
margin-bottom: 25px;
}
.fct-harbor-usage-pricing .m-estimator-intro p:last-child {
max-width: none;
}
.fct-harbor-usage-pricing .m-input-grid {
grid-template-columns: 1fr;
}
.fct-harbor-usage-pricing .m-estimate-results {
grid-template-columns: 1fr;
gap: 15px;
}
.fct-harbor-usage-pricing .m-estimate-results > div {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 20px;
}
.fct-harbor-usage-pricing .m-estimate-results output {
font-size: 1.4rem;
}
}
Copy JavaScript (() => {
for (const root of document.querySelectorAll('[data-snippet="harbor-usage-pricing"]')) {
if (root.dataset.initialized) continue;
root.dataset.initialized = "true";
const form = root.querySelector("form"),
money = (cents) =>
new Intl.NumberFormat("en-IE", { style: "currency", currency: "EUR" }).format(cents / 100);
form.querySelector("fieldset").disabled = false;
const update = () => {
const valid = form.checkValidity();
for (const input of form.querySelectorAll("input"))
input.setAttribute("aria-invalid", String(!input.validity.valid));
if (!valid) {
for (const out of root.querySelectorAll("output")) out.textContent = "—";
root.querySelector(".m-estimate-status").textContent =
"Use a whole transaction count from 0 to 1,000,000 and an average from €1 to €100,000 in cent increments.";
return;
}
const count = Number(form.elements.transactions.value),
average = Math.round(Number(form.elements.average.value) * 100),
rate = form.elements.category.value === "domestic" ? 0.022 : 0.032,
feePerTransaction = Math.round(average * rate) + 20,
volume = count * average,
fees = count * feePerTransaction;
root.querySelector("[data-volume]").textContent = money(volume);
root.querySelector("[data-fees]").textContent = money(fees);
root.querySelector("[data-net]").textContent = money(volume - fees);
root.querySelector(".m-estimate-status").textContent =
"Example: " +
count.toLocaleString("en-IE") +
" " +
form.elements.category.value +
" transactions averaging " +
money(average) +
". Percentage fee rounded per transaction; other charges excluded.";
};
form.addEventListener("submit", (e) => e.preventDefault());
form.addEventListener("input", update);
form.addEventListener("change", update);
update();
}
})();
Copy Astro ---
// Original reusable section. Use unique IDs, selectors and radio names before duplicating.
---
<section
class="fct-harbor-usage-pricing"
data-snippet="harbor-usage-pricing"
aria-labelledby="fct-harbor-usage-pricing-title"
>
<div class="m-inner">
<header>
<p class="m-kicker">HARBOR / TRANSACTION PRICING</p>
<h2 id="fct-harbor-usage-pricing-title">A clear rate.<br />A route for every stage.</h2>
<p class="m-lead">
Start with standard transaction pricing. Talk through a custom arrangement when your volume
or requirements change.
</p>
</header>
<div class="m-offer-grid">
<article class="m-standard">
<div>
<p class="m-kicker">STANDARD</p>
<h3>Pay as you go.</h3>
<p>A percentage and a fixed amount for each successful transaction.</p>
<a class="m-button" href="signup.html"
>Choose Standard <span aria-hidden="true">→</span></a
>
</div>
<dl class="m-rates">
<div>
<dt>Domestic cards</dt>
<dd>
<strong>2.2% <span>+ €0.20</span></strong
><span>per transaction</span>
</dd>
</div>
<div>
<dt>International cards</dt>
<dd>
<strong>3.2% <span>+ €0.20</span></strong
><span>per transaction</span>
</dd>
</div>
</dl>
</article>
<article class="m-custom">
<p class="m-kicker">CUSTOM</p>
<h3>A rate for your business.</h3>
<p>Discuss volume, payment mix and the operational support your team needs.</p>
<ul>
<li>Volume-based agreements</li>
<li>Defined service requirements</li>
<li>Multi-market requirements</li>
</ul>
<a class="m-button" href="contact.html"
>Talk to the team <span aria-hidden="true">→</span></a
>
</article>
</div>
<section class="m-estimator" aria-labelledby="fct-harbor-usage-pricing-estimate">
<div class="m-estimator-intro">
<p class="m-kicker">CHECK THE NUMBERS</p>
<h3 id="fct-harbor-usage-pricing-estimate">Estimate a month.</h3>
<p>Try a transaction count and average value using the illustrative rates above.</p>
</div>
<div>
<form data-fee-form>
<fieldset disabled>
<legend>Example transaction inputs</legend>
<div class="m-input-grid">
<label
>Transactions per month<input
name="transactions"
type="number"
min="0"
max="1000000"
step="1"
value="200"
required
inputmode="numeric" /></label
><label
>Average transaction (€)<input
name="average"
type="number"
min="1"
max="100000"
step="0.01"
value="45"
required
inputmode="decimal" /></label
><label class="m-card-kind"
>Card category<select name="category">
<option value="domestic">Domestic · 2.2% + €0.20</option>
<option value="international">International · 3.2% + €0.20</option>
</select></label
>
</div>
</fieldset>
</form>
<div class="m-estimate-results">
<div><span>Transaction volume</span><output data-volume>€9,000.00</output></div>
<div><span>Illustrative fees</span><output data-fees>€238.00</output></div>
<div><span>After these fees</span><output data-net>€8,762.00</output></div>
</div>
<p class="m-estimate-status m-note" role="status">
Example: 200 domestic transactions averaging €45.
</p>
<noscript
><p class="m-note">
The calculator needs JavaScript. The static example above uses 200 domestic transactions
at €45 each.
</p></noscript
>
<details>
<summary>How this estimate is calculated</summary>
<p>
The percentage fee is rounded to the nearest cent for each identical average-value
transaction; €0.20 is then added. That result is multiplied by the transaction count.
Refunds, tax, currency conversion and other charges are excluded. This is a sample
model, not a payment-provider quote.
</p>
</details>
</div>
</section>
<p class="m-note m-disclaimer">
Demonstration rates and offers. Replace prices and terms before publication. This component
does not process payments.
</p>
</div>
</section>
<style is:global>
.fct-harbor-usage-pricing {
--ink: #202a36;
--muted: #526174;
--line: #d6dfe6;
--accent: #1d55ac;
color: var(--ink);
background: #fff;
font:
16px/1.55 Arial,
Helvetica,
sans-serif;
}
.fct-harbor-usage-pricing,
.fct-harbor-usage-pricing * {
box-sizing: border-box;
}
.fct-harbor-usage-pricing :is(h2, h3, h4, p, ul, dl, dd, figure) {
margin: 0;
}
.fct-harbor-usage-pricing :is(h2, h3, h4) {
line-height: 1.12;
letter-spacing: -0.035em;
}
.fct-harbor-usage-pricing h2 {
font-size: clamp(2rem, 4.5vw, 3.75rem);
}
.fct-harbor-usage-pricing h3 {
font-size: 1.5rem;
}
.fct-harbor-usage-pricing .m-inner {
max-width: 1200px;
margin: auto;
padding: 60px clamp(20px, 4vw, 60px);
}
.fct-harbor-usage-pricing .m-kicker {
font-size: 0.8125rem;
letter-spacing: 0.04em;
font-weight: 700;
margin-bottom: 18px;
}
.fct-harbor-usage-pricing .m-lead {
font-size: 1.125rem;
color: var(--muted);
max-width: 57ch;
margin-top: 20px;
}
.fct-harbor-usage-pricing a {
color: var(--accent);
text-underline-offset: 4px;
}
.fct-harbor-usage-pricing :is(input, select, button) {
font: inherit;
color: inherit;
}
.fct-harbor-usage-pricing :is(a, button, input, select, summary):focus-visible {
outline: 3px solid #b44b03;
outline-offset: 4px;
}
.fct-harbor-usage-pricing .m-button {
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: 18px;
padding: 12px 20px;
min-height: 48px;
border: 1px solid transparent;
border-radius: 4px;
background: var(--accent);
color: white;
font-size: 0.9375rem;
font-weight: 700;
text-decoration: none;
}
.fct-harbor-usage-pricing .m-note {
font-size: 0.8125rem;
color: var(--muted);
}
.fct-harbor-usage-pricing summary {
min-height: 48px;
align-content: center;
cursor: pointer;
font-size: 0.9375rem;
font-weight: 700;
}
.fct-harbor-usage-pricing details > p {
padding: 12px 0 20px;
color: var(--muted);
font-size: 0.9375rem;
}
.fct-harbor-usage-pricing [hidden] {
display: none !important;
}
@media (max-width: 700px) {
.fct-harbor-usage-pricing .m-inner {
padding-block: 36px;
}
}
.fct-harbor-usage-pricing {
--ink: #123047;
--muted: #49637b;
--accent: #1358a0;
background: #f4f8fb;
position: relative;
isolation: isolate;
}
.fct-harbor-usage-pricing:before {
content: "";
position: absolute;
left: 0;
right: 0;
top: 250px;
height: 290px;
background: #d2e7ee;
transform: skewY(-5deg);
z-index: -1;
}
.fct-harbor-usage-pricing header {
margin-bottom: 38px;
}
.fct-harbor-usage-pricing h2 {
max-width: 780px;
}
.fct-harbor-usage-pricing .m-offer-grid {
display: grid;
grid-template-columns: 1.6fr 1fr;
gap: 18px;
align-items: stretch;
}
.fct-harbor-usage-pricing .m-standard {
display: grid;
grid-template-columns: 1fr 1fr;
background: white;
border: 1px solid #dbe5ec;
box-shadow: 0 6px 18px #1230470a;
border-radius: 6px;
overflow: hidden;
}
.fct-harbor-usage-pricing .m-standard > div {
padding: 28px;
}
.fct-harbor-usage-pricing .m-standard .m-kicker {
margin-bottom: 12px;
font-size: 0.75rem;
}
.fct-harbor-usage-pricing .m-standard p:not(.m-kicker) {
font-size: 0.9375rem;
color: var(--muted);
margin-top: 16px;
}
.fct-harbor-usage-pricing .m-standard .m-button {
margin-top: 24px;
}
.fct-harbor-usage-pricing .m-rates {
background: #edf4fa;
border-left: 1px solid #dbe5ec;
display: flex;
flex-direction: column;
justify-content: center;
}
.fct-harbor-usage-pricing .m-rates > div {
padding: 25px 22px;
}
.fct-harbor-usage-pricing .m-rates > div + div {
border-top: 1px solid #dbe5ec;
}
.fct-harbor-usage-pricing dt {
font-size: 0.8125rem;
color: var(--muted);
margin-bottom: 8px;
}
.fct-harbor-usage-pricing dd {
display: grid;
gap: 8px;
}
.fct-harbor-usage-pricing dd strong {
font-size: clamp(1.6rem, 2.4vw, 2rem);
letter-spacing: -0.05em;
line-height: 1.2;
white-space: nowrap;
}
.fct-harbor-usage-pricing dd strong span {
font-size: 0.8em;
font-weight: 400;
letter-spacing: -0.03em;
}
.fct-harbor-usage-pricing dd > span {
font-size: 0.75rem;
color: var(--muted);
}
.fct-harbor-usage-pricing .m-custom {
background: #123047;
color: #fff;
padding: 28px;
border-radius: 6px;
}
.fct-harbor-usage-pricing .m-custom p:not(.m-kicker) {
font-size: 0.9375rem;
color: #c2d6e8;
margin-top: 16px;
}
.fct-harbor-usage-pricing .m-custom ul {
list-style: none;
padding: 24px 0;
display: grid;
gap: 10px;
font-size: 0.875rem;
border-bottom: 1px solid #668197;
margin-bottom: 24px;
}
.fct-harbor-usage-pricing .m-custom li:before {
content: "—";
color: #9ecde2;
margin-right: 10px;
}
.fct-harbor-usage-pricing .m-custom .m-button {
background: #b8edf4;
color: #123047;
}
.fct-harbor-usage-pricing .m-custom a:focus-visible {
outline-color: white;
}
.fct-harbor-usage-pricing .m-estimator {
display: grid;
grid-template-columns: 0.8fr 1.4fr;
gap: 45px;
margin-top: 50px;
padding: 32px 0;
border-top: 1px solid #c7d8e4;
}
.fct-harbor-usage-pricing .m-estimator-intro p:last-child {
font-size: 0.9375rem;
color: var(--muted);
margin-top: 15px;
max-width: 30ch;
}
.fct-harbor-usage-pricing form {
margin: 0;
}
.fct-harbor-usage-pricing fieldset {
padding: 0;
border: 0;
margin: 0;
min-width: 0;
}
.fct-harbor-usage-pricing legend {
font-size: 0.8125rem;
color: var(--muted);
margin-bottom: 14px;
}
.fct-harbor-usage-pricing .m-input-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
}
.fct-harbor-usage-pricing label {
display: grid;
gap: 8px;
font-size: 0.8125rem;
font-weight: 700;
}
.fct-harbor-usage-pricing :is(input, select) {
min-height: 48px;
padding: 10px 12px;
background: white;
border: 1px solid #a7bdcf;
border-radius: 4px;
min-width: 0;
width: 100%;
font-size: 1rem;
font-weight: 400;
}
.fct-harbor-usage-pricing input[aria-invalid="true"] {
border-color: #a93215;
}
.fct-harbor-usage-pricing .m-card-kind {
grid-column: 1/-1;
}
.fct-harbor-usage-pricing .m-estimate-results {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
border-top: 1px solid #c7d8e4;
border-bottom: 1px solid #c7d8e4;
padding: 20px 0;
margin-top: 24px;
}
.fct-harbor-usage-pricing .m-estimate-results > div {
min-width: 0;
display: grid;
gap: 7px;
}
.fct-harbor-usage-pricing .m-estimate-results span {
font-size: 0.75rem;
color: var(--muted);
}
.fct-harbor-usage-pricing output {
font-size: 1.25rem;
font-weight: 700;
letter-spacing: -0.04em;
overflow-wrap: anywhere;
}
.fct-harbor-usage-pricing .m-estimate-status {
margin-top: 14px;
min-height: 3em;
}
.fct-harbor-usage-pricing details {
border-top: 1px solid #c7d8e4;
margin-top: 10px;
}
.fct-harbor-usage-pricing .m-disclaimer {
padding-top: 20px;
border-top: 1px solid #c7d8e4;
}
@media (max-width: 1000px) {
.fct-harbor-usage-pricing .m-offer-grid {
grid-template-columns: 1fr;
}
.fct-harbor-usage-pricing .m-custom {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0 35px;
}
.fct-harbor-usage-pricing .m-custom .m-kicker {
grid-column: 1/-1;
}
.fct-harbor-usage-pricing .m-custom ul {
grid-column: 2;
grid-row: 2/4;
padding-top: 0;
margin: 0;
}
.fct-harbor-usage-pricing .m-custom .m-button {
width: fit-content;
margin-top: 24px;
}
}
@media (max-width: 700px) {
.fct-harbor-usage-pricing:before {
top: 260px;
height: 400px;
}
.fct-harbor-usage-pricing .m-standard,
.fct-harbor-usage-pricing .m-estimator,
.fct-harbor-usage-pricing .m-custom {
display: block;
}
.fct-harbor-usage-pricing .m-rates {
border-left: 0;
border-top: 1px solid #dbe5ec;
display: grid;
grid-template-columns: 1fr 1fr;
}
.fct-harbor-usage-pricing .m-rates > div {
padding: 22px 18px;
}
.fct-harbor-usage-pricing .m-rates > div + div {
border-top: 0;
border-left: 1px solid #dbe5ec;
}
.fct-harbor-usage-pricing dd strong {
font-size: 1.4rem;
}
.fct-harbor-usage-pricing dd strong span {
display: block;
margin-top: 5px;
}
.fct-harbor-usage-pricing .m-custom ul {
padding: 24px 0;
margin-bottom: 0;
}
.fct-harbor-usage-pricing .m-custom .m-button {
width: 100%;
}
.fct-harbor-usage-pricing .m-estimator-intro {
margin-bottom: 25px;
}
.fct-harbor-usage-pricing .m-estimator-intro p:last-child {
max-width: none;
}
.fct-harbor-usage-pricing .m-input-grid {
grid-template-columns: 1fr;
}
.fct-harbor-usage-pricing .m-estimate-results {
grid-template-columns: 1fr;
gap: 15px;
}
.fct-harbor-usage-pricing .m-estimate-results > div {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 20px;
}
.fct-harbor-usage-pricing .m-estimate-results output {
font-size: 1.4rem;
}
}
</style>
<script is:inline>
(() => {
for (const root of document.querySelectorAll('[data-snippet="harbor-usage-pricing"]')) {
if (root.dataset.initialized) continue;
root.dataset.initialized = "true";
const form = root.querySelector("form"),
money = (cents) =>
new Intl.NumberFormat("en-IE", { style: "currency", currency: "EUR" }).format(cents / 100);
form.querySelector("fieldset").disabled = false;
const update = () => {
const valid = form.checkValidity();
for (const input of form.querySelectorAll("input"))
input.setAttribute("aria-invalid", String(!input.validity.valid));
if (!valid) {
for (const out of root.querySelectorAll("output")) out.textContent = "—";
root.querySelector(".m-estimate-status").textContent =
"Use a whole transaction count from 0 to 1,000,000 and an average from €1 to €100,000 in cent increments.";
return;
}
const count = Number(form.elements.transactions.value),
average = Math.round(Number(form.elements.average.value) * 100),
rate = form.elements.category.value === "domestic" ? 0.022 : 0.032,
feePerTransaction = Math.round(average * rate) + 20,
volume = count * average,
fees = count * feePerTransaction;
root.querySelector("[data-volume]").textContent = money(volume);
root.querySelector("[data-fees]").textContent = money(fees);
root.querySelector("[data-net]").textContent = money(volume - fees);
root.querySelector(".m-estimate-status").textContent =
"Example: " +
count.toLocaleString("en-IE") +
" " +
form.elements.category.value +
" transactions averaging " +
money(average) +
". Percentage fee rounded per transaction; other charges excluded.";
};
form.addEventListener("submit", (e) => e.preventDefault());
form.addEventListener("input", update);
form.addEventListener("change", update);
update();
}
})();
</script>
Code tabs need JavaScript. All source formats are included in the open downloads.