.cz-billing {
  --billing-ink: #222027;
  --billing-muted: #605b64;
  --billing-line: #e9e5ec;
  --billing-pink: #b72664;
  --billing-blush: #faeaf2;
  --billing-green: #236443;
  --billing-mint: #e0f2e8;
}

.cz-billing-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cz-billing :is(.cz-billing-phone, .cz-billing-visual-scene, .cz-billing-evidence) svg { display: block; }
.cz-billing-confirm { display: inline-flex; align-items: center; gap: .45em; color: var(--billing-green); font-weight: 650; }
.cz-billing-confirm svg { flex: none; width: 1.2em; height: 1.2em; }

.cz-billing-phone { bottom: -10%; display: flex; flex-direction: column; }
.cz-billing-phone__screen { flex: 1; min-height: 0; background: #f5f2f8; color: var(--billing-ink); }
.cz-billing-phone__screen .cz-marketplace-statusbar { z-index: 1; background: #f5f2f8; }
.cz-billing-phone__scenes { position: absolute; display: grid; inset: 13cqw 0 0; align-content: start; padding: 4.5cqw; font-size: max(10px, 4cqw); line-height: 1.24; }
.cz-billing-phone__scenes > * { grid-area: 1 / 1; }
.cz-billing-phone__scenes .cz-billing-email { opacity: 0; translate: 0 -8px; visibility: hidden; }
.cz-billing-phone[data-phase="email"] .cz-billing-email,
.cz-billing-phone[data-phase="accepted"] .cz-billing-email { opacity: 1; translate: 0; visibility: visible; }
.cz-billing-phone[data-phase="email"] .cz-billing-plan,
.cz-billing-phone[data-phase="accepted"] .cz-billing-plan { opacity: 0; translate: 0 8px; visibility: hidden; }
.cz-billing-phone__scenes > * { transition: opacity .34s, translate .34s, visibility .34s; }

.cz-billing-email { display: grid; align-content: start; gap: 3.25cqw; }
.cz-billing-email__icon { display: grid; width: 12cqw; height: 12cqw; place-items: center; border-radius: 28%; background: var(--billing-blush); color: var(--billing-pink); }
.cz-billing-email__icon svg { width: 6.2cqw; height: 6.2cqw; }
.cz-billing-email > strong { font-size: 7cqw; letter-spacing: -.037em; line-height: 1.1; }
.cz-billing-email__envelope { display: grid; gap: 1cqw; color: var(--billing-muted); font-size: max(10px, 3.7cqw); }
.cz-billing-email__envelope b { color: var(--billing-ink); }
.cz-billing-email__quote { display: grid; gap: 1.65cqw; padding: 3.7cqw; border: 1px solid var(--billing-line); border-radius: 4cqw; background: #fff; }
.cz-billing-email__quote span { color: var(--billing-muted); }
.cz-billing-email__quote > b { padding-top: 1.5cqw; border-top: 1px solid var(--billing-line); }
.cz-billing-email__action, .cz-billing-transmit__send { position: relative; display: grid; place-items: center; padding: .8em; border-radius: .75em; background: var(--billing-pink); color: #fff; font-weight: 650; }
.cz-billing-email__action > span { grid-area: 1 / 1; }
.cz-billing-email__action > span:nth-child(2) { visibility: hidden; }
.cz-billing-phone[data-phase="accepted"] .cz-billing-email__action { background: var(--billing-mint); color: var(--billing-green); }
.cz-billing-phone[data-phase="accepted"] .cz-billing-email__action > span:first-child { visibility: hidden; }
.cz-billing-phone[data-phase="accepted"] .cz-billing-email__action > span:nth-child(2) { visibility: visible; }
.cz-billing-tap { position: absolute; top: 55%; left: 64%; width: 1.9em; height: 1.9em; border: 2px solid #fff; border-radius: 50%; background: #be3d77a1; opacity: var(--tap, 0); transform: translate(-50%,-50%) scale(var(--tap-scale, .6)); pointer-events: none; }

.cz-billing-plan { display: grid; align-content: start; gap: .75em; min-width: 0; }
.cz-billing-plan__intro { display: grid; justify-items: start; gap: .25em; }
.cz-billing-plan__intro .cz-billing-confirm { padding: .35em .6em; border-radius: 999px; background: var(--billing-mint); font-size: .85em; }
.cz-billing-plan__intro > strong { margin-top: .15em; font-size: 1.55em; letter-spacing: -.035em; }
.cz-billing-plan__intro > span:last-child { color: var(--billing-muted); }
.cz-billing-plan__stack { display: grid; grid-template-rows: repeat(4,minmax(0,1fr)); gap: .36em; height: 13.2em; overflow: hidden; }
.cz-billing-plan__card { display: grid; grid-template-columns: 1.9em minmax(0,1fr) auto; align-items: center; gap: .48em; padding: .35em .5em; min-width: 0; border: 1px solid #e7e0e9; border-radius: .75em; background: #fff; }
.cz-billing-plan__icon { display: grid; place-items: center; width: 1.82em; height: 1.82em; border-radius: .55em; background: #f2e9f7; color: #78489a; }
.cz-billing-plan__icon svg { width: 1.13em; height: 1.13em; }
.cz-billing-plan__card b { display: block; font-size: .94em; line-height: 1.1; }
.cz-billing-plan__card small { color: var(--billing-muted); font-size: .86em; }
.cz-billing-plan__last { display: flex; align-items: center; gap: .35em; white-space: nowrap; }
.cz-billing-plan__last i { color: var(--billing-green); opacity: var(--check, 1); transform: scale(var(--check-scale, 1)); }
.cz-billing-plan__last svg { width: 1.1em; height: 1.1em; }
.cz-billing-plan.is-animated .cz-billing-plan__stack { position: relative; display: block; }
.cz-billing-plan.is-animated .cz-billing-plan__card { position: absolute; inset: auto 0 .45em; min-height: 3em; box-shadow: 0 5px 15px #27152f12; opacity: var(--slot-opacity, 0); transform: translateY(var(--slot-y, 40px)) scale(var(--slot-scale, 1)); }
.cz-billing-plan__total { position: relative; display: grid; justify-items: center; gap: .22em; min-height: 5.55em; padding: .65em .3em; border-radius: 1em; background: #135938; color: #fff; text-align: center; }
.cz-billing-plan__total > span { font-size: .95em; font-weight: 650; }
.cz-billing-plan__total > b { font-size: 2em; font-variant-numeric: tabular-nums; letter-spacing: -.035em; line-height: 1; }
.cz-billing-plan__total > small { color: #d3f1dd; font-size: .82em; }
.cz-billing-plan__total::before { content: ""; position: absolute; width: .45em; height: .45em; left: calc(50% - .22em); top: -.8em; border-radius: 50%; background: #42a475; opacity: var(--flow-opacity, 0); transform: translateY(var(--flow-y, -1em)); }

.cz-billing-visual-scene { position: absolute; inset: 0; display: grid; place-items: center; padding: 8% 7% 13%; color: var(--billing-ink); font-size: clamp(12px, 3.03cqi, 15px); line-height: 1.2; }
.cz-billing-planning-demo { background: #edf5ef; }
.cz-billing-planning-demo > .cz-billing-plan { width: min(100%, 365px); }

.cz-billing-pricing { background: #f2edf7; }
.cz-billing-price-sheet { position: relative; display: grid; gap: .7em; width: min(100%, 365px); padding: .9em; }
.cz-billing-price-sheet::before { position: absolute; inset: 0; border: 1px solid #e8e1ec; border-radius: 1.25em; background: #fff; box-shadow: 0 12px 30px #2616330d; content: ""; opacity: var(--assemble, 1); }
.cz-billing-price-sheet > * { position: relative; }
.cz-billing-price-heading { font-size: 1.28em; letter-spacing: -.026em; opacity: var(--assemble, 1); }
.cz-billing-prices { display: grid; gap: .36em; margin: 0; padding: 0; list-style: none; }
.cz-billing-prices li { display: grid; min-height: 2.7em; grid-template-columns: 2em minmax(0,1fr) auto; align-items: center; gap: .55em; padding: .3em .48em; border: 1px solid #eee8f0; border-radius: .6em; background: #f9f7fa; opacity: var(--item-opacity, 1); transform: translate(var(--item-x, 0),var(--item-y, 0)) scale(var(--item-scale, 1)); }
.cz-billing-prices li span { display: grid; place-items: center; width: 1.86em; height: 1.86em; border-radius: .5em; background: #f0e4f5; color: #75478f; }
.cz-billing-prices li:nth-child(2) span { background: #f8e6ee; color: #9f3769; }
.cz-billing-prices li:nth-child(3) span { background: #e3eeff; color: #315da0; }
.cz-billing-prices svg { width: 1.13em; height: 1.13em; }
.cz-billing-prices b, .cz-billing-prices strong { font-size: .92em; }
.cz-billing-prices strong { white-space: nowrap; }
.cz-billing-price-ready { margin: .1em 0 0; font-size: .89em; opacity: var(--price-ready, 1); }

.cz-billing-transmit { background: #f3edf6; }
.cz-billing-transmit__flow { position: relative; display: grid; gap: .72em; width: min(100%, 365px); }
.cz-billing-transmit__invoice, .cz-billing-transmit__node { position: relative; display: grid; grid-template-columns: 2.45em minmax(0,1fr) auto; align-items: center; gap: .62em; min-height: 3.45em; padding: .5em .7em; border: 1px solid #eae2ed; border-radius: .86em; background: #fff; box-shadow: 0 6px 14px #3819400b; }
.cz-billing-transmit__invoice > span:first-child, .cz-billing-transmit__node > span { display: grid; place-items: center; width: 2.25em; height: 2.25em; border-radius: .65em; background: #f1e5f6; color: #8b4e9f; }
.cz-billing-transmit__invoice svg, .cz-billing-transmit__node svg { width: 1.35em; height: 1.35em; }
.cz-billing-transmit__invoice small { display: block; color: var(--billing-muted); }
.cz-billing-transmit__send { grid-column: 2 / -1; justify-self: start; padding: .58em .7em; font-size: .87em; }
.cz-billing-transmit[data-phase="final"] .cz-billing-transmit__send { background: #fce7ef; color: var(--billing-pink); }
.cz-billing-transmit__node > i { color: var(--billing-green); }
.cz-billing-transmit__node--relay > i { opacity: var(--relayed, 1); }
.cz-billing-transmit__node--client > i, .cz-billing-transmit__done { opacity: var(--transmitted, 1); }
.cz-billing-transmit__done { justify-self: center; padding: .45em .7em; border-radius: 99px; background: var(--billing-mint); }
.cz-billing-transmit__track { position: absolute; z-index: 2; top: 27%; bottom: 13%; right: 1.6em; width: 1px; pointer-events: none; }
.cz-billing-transmit__track span { position: absolute; display: grid; place-items: center; inset: 0 auto auto 0; width: 1.75em; height: 1.75em; border: 1px solid #c86194; border-radius: .45em; background: #fce9f2; color: var(--billing-pink); opacity: var(--document-opacity, 0); transform: translate(-50%,var(--document-y,0)); }
.cz-billing-transmit__track svg { width: 1.05em; height: 1.05em; }

.cz-billing-evidence .cz-feature-visual__screen { position: relative; container-type: inline-size; }
.cz-billing-evidence .cz-marketplace-statusbar { pointer-events: none; background: #eff0f4; }
.cz-billing-evidence--tools .cz-marketplace-statusbar { color: #fff; background: #171615; }
.cz-billing-evidence--tools .cz-marketplace-statusbar :is(.cz-marketplace-signal i,.cz-marketplace-battery::before) { background-color: currentColor; }
.cz-billing-tools-row { position: absolute; top: 83.55%; left: 6%; right: 6%; min-height: 8.15%; display: grid; grid-template-columns: 7cqw minmax(0, 1fr) 4cqw; align-items: center; gap: 3cqw; padding: 1.5cqw 3.5cqw; border-radius: 4.2cqw; background: #fff; color: #201e22; }
.cz-billing-tools-row > span { display: grid; place-items: center; width: 7cqw; height: 7cqw; border-radius: 50%; background: #f4f1f4; }
.cz-billing-tools-row svg { width: 5.1cqw; height: 5.1cqw; }
.cz-billing-tools-row b, .cz-billing-tools-row small { display: block; line-height: 1.18; }
.cz-billing-tools-row b { font-weight: 550; font-size: 4cqw; }
.cz-billing-tools-row small { color: #59555a; font-size: 2.85cqw; }
.cz-billing-tools-row i { width: 2cqw; height: 2cqw; border-top: 1px solid #5e5960; border-right: 1px solid #5e5960; transform: rotate(45deg); }

@media (max-width: 767px) {
  .cz-billing-phone { width: 76%; }
  .cz-billing-phone__scenes { inset-block-start: 12cqw; }
  .cz-billing-visual-scene { padding-inline: 6%; }
}
@media (prefers-reduced-motion: reduce) {
  .cz-billing-phone__scenes > * { transition: none; }
}
