.fee-scene {
  --fee-paper: #f2f4ed;
  --fee-ink: #102e32;
  --fee-mint: #9ee2c6;
  --fee-amber: #f3bb59;
  --fee-mono: "IBM Plex Mono", Consolas, monospace;
  width: 100%;
  height: 100%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  container: fee-shot / size;
  color: var(--fee-ink);
  background: var(--fee-paper);
  font-family: Figtree, Calibri, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}

.fee-scene :where(p, h2) { margin: 0; }

.fee-content {
  --fee-padding: clamp(24px, 7.4cqw, 120px);
  --fee-vertical: clamp(19px, 8cqh, 65px);
  position: relative;
  z-index: 1;
  max-width: 1540px;
  height: 100%;
  margin: auto;
  padding: var(--fee-vertical) var(--fee-padding);
}

.fee-kicker {
  display: flex;
  align-items: center;
  gap: .7em;
  font-family: var(--fee-mono);
  font-size: clamp(11px, 1.08cqw, 16px);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.fee-kicker::before {
  content: "";
  flex: 0 0 1.65em;
  height: 2px;
  background: currentColor;
  transform: scaleX(var(--fee-entry, 0));
  transform-origin: left;
}

.fee-kicker-lead {
  opacity: var(--fee-entry, 0);
  transform: translateX(calc((1 - var(--fee-entry, 0)) * -15px));
}

.fee-plan { position: absolute; pointer-events: none; }
.fee-trace { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--fee-trace, 0)); }
.fee-plan-details { opacity: var(--fee-trace, 0); }

.fee-investment {
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, #102e320b 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, #102e320b 31px 32px),
    radial-gradient(ellipse at 90% 27%, #d7eee1, transparent 66%),
    var(--fee-paper);
}

.fee-investment-plan {
  inset: -12% -5% auto auto;
  width: 63%;
  height: 86%;
  stroke: #557d73;
  stroke-width: .9;
  opacity: .48;
  transform: translate(calc((1 - var(--fee-trace, 0)) * 5cqw - var(--fee-drift, 0) * 2.5cqw), calc(var(--fee-drift, 0) * 3cqh)) rotate(calc(var(--fee-drift, 0) * 2deg));
}

.fee-investment-content {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(16px, 4cqh, 46px);
}

.fee-investment-head { align-self: center; }
.fee-investment-head .fee-kicker { color: #356354; }
.fee-amount-mask { overflow: hidden; padding-block: .12em; }

.fee-investment-price {
  display: flex;
  align-items: baseline;
  gap: .16em;
  color: var(--fee-ink);
  font-size: clamp(58px, min(12.6cqw, 31cqh), 190px);
  font-weight: 810;
  line-height: .96;
  letter-spacing: -.068em;
  white-space: nowrap;
  opacity: var(--fee-price, 0);
  transform: translateY(calc((1 - var(--fee-price, 0)) * 112%));
}

.fee-investment-price small {
  color: #41675b;
  font-size: .245em;
  font-weight: 680;
  letter-spacing: -.025em;
}

.fee-split { opacity: var(--fee-split, 0); }
.fee-split-title { color: #356354; margin-bottom: .32em; }
.fee-bar { position: relative; }
.fee-budget { display: block; width: 100%; height: clamp(37px, 10cqh, 70px); overflow: visible; }
.fee-budget-base { fill: #d8e4db; }
.fee-tick { stroke: #708e82; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.fee-bar-marker { stroke: var(--fee-ink); stroke-width: 1.3px; vector-effect: non-scaling-stroke; }
.fee-division { opacity: var(--fee-engagement, 0); }
.fee-mint-segment, .fee-amber-segment { transform-box: fill-box; transform-origin: left; }
.fee-mint-segment { transform: scaleX(var(--fee-engagement, 0)); }
.fee-amber-segment { transform: scaleX(var(--fee-completion, 0)); }

.fee-budget-cursor {
  position: absolute;
  top: 3%;
  bottom: 4%;
  width: 1px;
  left: calc(var(--fee-cursor, 0) * 100%);
  background: #1c4a3f;
  opacity: var(--fee-scan, 0);
}

.fee-budget-cursor::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  left: -3px;
  top: 0;
  background: #1c4a3f;
  transform: rotate(45deg);
}

.fee-payment-notes {
  display: grid;
  grid-template-columns: var(--fee-engagement-share) minmax(0, 1fr);
  padding-top: clamp(6px, 1.45cqh, 14px);
}

.fee-payment {
  padding-inline-start: clamp(8px, 1.5cqw, 20px);
  border-left: 3px solid #4b9d78;
  transform: translateY(calc((1 - var(--fee-note, 0)) * 16px));
  opacity: var(--fee-note, 0);
}

.fee-engagement { --fee-note: var(--fee-first, 0); }
.fee-completion { --fee-note: var(--fee-last, 0); border-color: #bc7a16; }
.fee-payment p { font-size: clamp(13px, 1.5cqw, 21px); line-height: 1.3; font-weight: 670; }
.fee-payment strong { font-size: clamp(25px, min(4.6cqw, 10cqh), 64px); line-height: 1.02; font-weight: 800; letter-spacing: -.06em; white-space: nowrap; }
.fee-payment small { font-size: .38em; font-weight: 700; letter-spacing: 0; }

.fee-hosting {
  color: var(--fee-paper);
  background:
    radial-gradient(ellipse at 74% 68%, #34745b59, transparent 59%),
    repeating-linear-gradient(90deg, transparent 0 51px, #9ee2c60d 51px 52px),
    #102e32;
}

.fee-hosting::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 76% 67%, #875d37, transparent 70%), #302a25;
  opacity: var(--fee-tier, 0);
}

.fee-hosting::after {
  content: "";
  position: absolute;
  inset: -35% auto;
  width: 24%;
  left: calc(115% - var(--fee-expansion, 0) * 123%);
  transform: skewX(-26deg);
  background: linear-gradient(90deg, transparent, #f3bb5942, transparent);
  opacity: var(--fee-sweep, 0);
  pointer-events: none;
}

.fee-hosting-plan {
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: color-mix(in srgb, #82c9ad, #f3bb59 calc(var(--fee-expansion, 0) * 100%));
  stroke-width: 1.15;
  opacity: .28;
  transform: translate(calc(var(--fee-drift, 0) * -3cqw), calc(var(--fee-drift, 0) * 3cqh - var(--fee-tier, 0) * 3.2cqh));
}

.fee-hosting-content {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(18px, 4.7cqw, 72px);
}

.fee-hosting-copy > .fee-kicker { margin-bottom: clamp(12px, 3.8cqh, 40px); }
.fee-hosting .fee-kicker { color: color-mix(in srgb, var(--fee-mint), var(--fee-amber) calc(var(--fee-tier, 0) * 100%)); }
.fee-tier-switch { display: grid; opacity: var(--fee-entry, 0); }

.fee-tier {
  display: grid;
  align-content: start;
  gap: clamp(7px, 1.7cqh, 17px);
  grid-area: 1 / 1;
  min-width: 0;
}

.fee-tier h2 {
  font-size: clamp(33px, min(5.15cqw, 15cqh), 82px);
  font-weight: 780;
  line-height: .98;
  letter-spacing: -.052em;
  white-space: nowrap;
}

.fee-plus {
  color: var(--fee-mint);
  opacity: calc(1 - var(--fee-tier, 0));
  transform: translateY(calc(var(--fee-tier, 0) * -30px));
}

.fee-pro {
  --fee-price-show: var(--fee-pro-price, 0);
  color: var(--fee-amber);
  opacity: var(--fee-tier, 0);
  transform: translateY(calc((1 - var(--fee-tier, 0)) * 34px - var(--fee-tier, 0) * 2.6cqh));
}

.fee-hosting-price {
  --fee-price-visibility: var(--fee-price-show, var(--fee-price, 0));
  display: flex;
  flex-wrap: wrap;
  gap: .07em .14em;
  align-items: baseline;
  font-size: clamp(57px, min(8.35cqw, 20cqh), 137px);
  line-height: .9;
  font-weight: 810;
  letter-spacing: -.065em;
  color: var(--fee-paper);
  opacity: var(--fee-price-visibility);
  transform: translateY(calc((1 - var(--fee-price-visibility)) * 18px));
  clip-path: inset(0 0 calc((1 - var(--fee-price-visibility)) * 100%) 0);
}

.fee-hosting-price small {
  font-size: clamp(13px, min(1.55cqw, 4cqh), 23px);
  font-weight: 690;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.fee-hosting-fine {
  font-size: clamp(13px, 1.36cqw, 19px);
  font-weight: 590;
  line-height: 1.35;
  color: #e0ede6;
  opacity: var(--fee-price-show, var(--fee-price, 0));
}

.fee-capacity {
  --fee-map-ink: color-mix(in srgb, var(--fee-mint), var(--fee-amber) calc(var(--fee-tier, 0) * 100%));
  min-width: 0;
  opacity: var(--fee-map, 0);
  transform: translateY(calc((1 - var(--fee-map, 0)) * 3cqh + (1 - var(--fee-expansion, 0)) * 3.3cqh));
}

.fee-capacity-label {
  display: flex;
  align-items: end;
  gap: clamp(10px, 1.2cqw, 23px);
  margin-bottom: clamp(9px, 2.2cqh, 22px);
}

.fee-capacity-number { display: grid; }

.fee-capacity-label strong {
  min-width: 3.15em;
  color: var(--fee-map-ink);
  font-family: var(--fee-mono);
  font-size: clamp(32px, min(5.1cqw, 12cqh), 78px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.085em;
}

.fee-capacity-label span { font-size: clamp(13px, 1.58cqw, 23px); font-weight: 610; line-height: 1.18; }
.fee-capacity-label .fee-capacity-limit { font-size: clamp(11px, 1.13cqw, 16px); color: var(--fee-map-ink); font-family: var(--fee-mono); }

.fee-capacity-field {
  display: grid;
  gap: calc(var(--fee-expansion, 0) * clamp(5px, .7cqw, 13px));
  padding-block: clamp(8px, 2.35cqh, 19px);
  border-block: 1px solid #f2f4ed47;
}

.fee-capacity-tray {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: clamp(5px, .7cqw, 13px);
}

.fee-capacity-extension {
  display: grid;
  grid-template-rows: var(--fee-extension-track, 0fr);
  overflow: hidden;
}

.fee-capacity-extension .fee-capacity-tray { min-height: 0; }

.fee-cell {
  display: block;
  width: 100%;
  max-width: 54px;
  max-height: 8cqh;
  color: var(--fee-mint);
  overflow: visible;
  transform: translateY(calc((1 - var(--fee-fill, 0)) * 4px));
}

.fee-capacity-extension .fee-cell {
  color: var(--fee-amber);
  opacity: var(--fee-expansion, 0);
  transform: translateY(calc((1 - var(--fee-expansion, 0)) * 19px + (1 - var(--fee-fill, 0)) * 4px));
}

.fee-cell-bubble {
  fill: color-mix(in srgb, currentColor calc(var(--fee-fill, 0) * 100%), transparent);
  stroke: currentColor;
  stroke-opacity: calc(.48 + .52 * var(--fee-fill, 0));
  stroke-width: 1.3;
}

.fee-cell-lines {
  fill: none;
  stroke: color-mix(in srgb, currentColor, #102e32 calc(var(--fee-fill, 0) * 100%));
  stroke-opacity: calc(.45 + .55 * var(--fee-fill, 0));
  stroke-linecap: round;
  stroke-width: 2;
}

.fee-capacity-key {
  display: flex;
  align-items: center;
  gap: .55em;
  margin-top: clamp(8px, 1.45cqh, 14px);
  color: #e0ede6;
  font-family: var(--fee-mono);
  font-size: clamp(11px, 1.1cqw, 15px);
  line-height: 1.4;
}

.fee-capacity-key i {
  flex: 0 0 .55em;
  height: .55em;
  background: var(--fee-map-ink);
  transform: rotate(45deg);
}

.fee-options {
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, #102e3209 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, #102e3209 31px 32px),
    radial-gradient(ellipse at 75% 40%, #cbecdd, transparent 66%),
    var(--fee-paper);
}

.fee-options::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 77% 55%, #f3bb5963, transparent 63%);
  opacity: var(--fee-search, 0);
}

.fee-options-content {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
  align-items: center;
  gap: clamp(12px, 3.8cqw, 54px);
}

.fee-option-copy > .fee-kicker { color: #356354; margin-bottom: clamp(12px, 3.5cqh, 30px); }
.fee-options-stack { display: grid; }
.fee-option-intro, .fee-extras { grid-area: 1 / 1; align-self: center; min-width: 0; }

.fee-option-intro {
  opacity: calc(var(--fee-entry, 0) * (1 - var(--fee-extras, 0)));
  transform: translateY(calc((1 - var(--fee-entry, 0)) * 28px - var(--fee-extras, 0) * 35px));
}

.fee-option-intro h2, .fee-extra h2 {
  font-size: clamp(46px, min(7.8cqw, 20cqh), 114px);
  font-weight: 790;
  line-height: .94;
  letter-spacing: -.06em;
}

.fee-option-intro p {
  color: #356354;
  font-size: clamp(16px, 1.8cqw, 28px);
  font-weight: 670;
  line-height: 1.25;
  margin-top: .62em;
  opacity: var(--fee-voice, 0);
}

.fee-extras {
  display: grid;
  opacity: var(--fee-extras, 0);
  transform: translateY(calc((1 - var(--fee-extras, 0)) * 26px));
}

.fee-extras .fee-option-voice {
  color: #356354;
  font-size: clamp(12px, 1.48cqw, 19px);
  font-weight: 660;
  line-height: 1.2;
  margin-bottom: clamp(8px, 2.7cqh, 25px);
}

.fee-extra {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-block: clamp(7px, 2.1cqh, 20px);
  border-top: 1px solid #5a796e7a;
  opacity: var(--fee-extra, 0);
  transform: translateX(calc((1 - var(--fee-extra, 0)) * 20px));
}

.fee-care { --fee-extra: var(--fee-care, 0); }
.fee-found { --fee-extra: var(--fee-found, 0); border-bottom: 1px solid #5a796e7a; }
.fee-extra h2 { font-size: clamp(28px, min(4.4cqw, 11cqh), 69px); letter-spacing: -.055em; }
.fee-extra p { font-size: clamp(14px, min(2.15cqw, 5cqh), 26px); font-weight: 650; line-height: 1.23; color: #36574e; }
.fee-extra p strong { color: var(--fee-ink); font-weight: 815; }
.fee-extra small, .fee-options-tax { font-size: clamp(12px, 1.35cqw, 18px); font-weight: 630; line-height: 1.18; color: #36574e; }
.fee-options-tax { margin-top: clamp(5px, 1.1cqh, 11px); }

.fee-option-diagram {
  width: 100%;
  max-height: 75cqh;
  justify-self: center;
  color: #397961;
  overflow: visible;
  opacity: var(--fee-entry, 0);
  transform: translateX(calc((1 - var(--fee-entry, 0)) * 3.2cqw));
}

.fee-option-plate { stroke: currentColor; stroke-width: 1; opacity: .38; }

.fee-option-art {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-box: view-box;
  transform-origin: center;
}

.fee-option-art path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--fee-draw, 0)); }
.fee-art-text { --fee-draw: var(--fee-text, 0); opacity: calc(1 - var(--fee-voice, 0)); transform: scale(calc(1 - var(--fee-voice, 0) * .14)); }
.fee-art-voice { --fee-draw: var(--fee-voice, 0); opacity: calc(var(--fee-voice, 0) * (1 - var(--fee-extras, 0))); }
.fee-art-care { --fee-draw: var(--fee-care, 0); opacity: calc(var(--fee-care, 0) * (1 - var(--fee-search, 0))); transform: scale(calc(1 - var(--fee-search, 0) * .14)); }
.fee-art-found { --fee-draw: var(--fee-search, 0); opacity: var(--fee-search, 0); color: #98652b; }

@container fee-shot (max-width: 680px) {
  .fee-content { --fee-padding: clamp(20px, 6.5cqw, 43px); --fee-vertical: clamp(15px, 5.2cqh, 41px); }
  .fee-content .fee-kicker { font-size: clamp(11px, 2.9cqw, 15px); }
  .fee-investment-content { padding-bottom: clamp(22px, 11cqh, 71px); }
  .fee-investment-plan { width: 104%; right: -28%; height: 77%; top: -7%; }
  .fee-investment-price { font-size: clamp(45px, 15.5cqw, 96px); }
  .fee-payment-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fee-payment strong { font-size: clamp(23px, 7.9cqw, 45px); }
  .fee-payment p { font-size: clamp(12px, 3.55cqw, 18px); }
  .fee-hosting-content { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; gap: clamp(14px, 3.9cqh, 34px); }
  .fee-hosting-copy > .fee-kicker { margin-bottom: clamp(9px, 2.45cqh, 19px); }
  .fee-tier h2 { font-size: clamp(31px, min(11cqw, 11cqh), 60px); }
  .fee-tier { gap: clamp(5px, 1cqh, 14px); }
  .fee-hosting-price { font-size: clamp(43px, min(17cqw, 15cqh), 94px); }
  .fee-hosting-price small { font-size: clamp(13px, 3.75cqw, 19px); }
  .fee-hosting-fine { font-size: clamp(13px, 3.5cqw, 19px); }
  .fee-pro { transform: translateY(calc((1 - var(--fee-tier, 0)) * 27px)); }
  .fee-capacity-label { margin-bottom: clamp(6px, 1.35cqh, 13px); }
  .fee-capacity-label strong { font-size: clamp(28px, min(9.5cqw, 8.5cqh), 49px); }
  .fee-capacity-label span { font-size: clamp(12px, 3.4cqw, 18px); }
  .fee-capacity-field { padding-block: clamp(5px, 1.2cqh, 11px); }
  .fee-capacity-tray { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(4px, 1cqh, 10px) 12px; }
  .fee-cell { max-height: 6.5cqh; }
  .fee-capacity { transform: translateY(calc((1 - var(--fee-map, 0)) * 3cqh + (1 - var(--fee-expansion, 0)) * 1.1cqh)); }
  .fee-options-content { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: clamp(5px, 2cqh, 20px); }
  .fee-option-copy { align-self: start; z-index: 1; }
  .fee-option-copy > .fee-kicker { margin-bottom: clamp(10px, 2.3cqh, 22px); }
  .fee-option-intro { align-self: start; }
  .fee-option-intro h2 { font-size: clamp(39px, min(12.6cqw, 13cqh), 72px); }
  .fee-option-intro p { font-size: clamp(16px, 3.9cqw, 21px); }
  .fee-option-voice { font-size: clamp(12px, 3.4cqw, 17px); }
  .fee-extra h2 { font-size: clamp(27px, 7.8cqw, 45px); }
  .fee-extra p { font-size: clamp(15px, 4.3cqw, 24px); }
  .fee-extra small, .fee-options-tax { font-size: clamp(12px, 3.25cqw, 16px); }
  .fee-option-diagram { width: 82%; height: 100%; max-height: 38cqh; align-self: center; }
}

@container fee-shot (max-width: 400px) and (max-height: 425px) {
  .fee-hosting-content { gap: 9px; }
  .fee-hosting-copy > .fee-kicker { margin-bottom: 7px; }
  .fee-capacity-key { margin-top: 6px; }
  .fee-options-content .fee-option-diagram { max-height: 30cqh; }
}
