.cz-dark-flow__step--due { --row: 10; --step-at: .1s; }
.cz-dark-flow__step--notice { --row: 31; --step-at: .63s; }
.cz-dark-flow__step--offer { --row: 51; --step-at: 1.15s; }

.cz-dark-flow__step--pending,
.cz-dark-flow__step--signed {
  --row: 79;
  --step-width: 39%;
  --step-height: 9cqw;
  border-radius: 20px;
  font-size: 3.46cqw;
}
.cz-dark-flow__step--pending { --column: 26%; --step-at: 1.94s; color: #eac2d5; }
.cz-dark-flow__step--signed { --column: 74%; --step-at: 4.28s; color: #b2e3ca; }

.cz-dark-flow__step--reminder,
.cz-dark-flow__step--extended {
  --step-width: 37%;
  --step-height: 19cqw;
  font-size: 3.55cqw;
}
.cz-dark-flow__step--reminder { --row: 106; --column: 26%; --step-at: 2.35s; }
.cz-dark-flow__step--extended {
  --row: 106;
  --column: 74%;
  --step-at: 4.72s;
}

.cz-dark-flow--renewal .cz-dark-flow__note {
  position: absolute;
  inset: 89% 0 auto;
  margin: 0;
  color: #c8bfc1;
  font-size: 3.08cqw;
  line-height: 1.2;
  text-align: center;
}

.cz-dark-flow__trace--start { --trace-duration: 1.2s; --trace-at: 0s; }
.cz-dark-flow__trace--pending { --trace-duration: 1.18s; --trace-at: 1.32s; }
.cz-dark-flow__trace--return { --trace-duration: 1.2s; --trace-at: 2.55s; }
.cz-dark-flow__trace--signed { --trace-duration: 1.15s; --trace-at: 3.8s; }

.cz-feature-details__visual--contract-renewal { --phone-top: 8%; }
.cz-feature-details__visual--contract-renewal .cz-feature-visual__phone { width: 65%; }

.cz-feature-details__visual--contract-renewal .cz-renewal-notice {
  left: 4%;
  bottom: 7%;
  max-width: 43%;
  animation: none;
  padding: .65em .9em;
  font-size: clamp(10px, 2.7cqi, 14px);
}
.cz-renewal-notice .cz-feature-visual__icon,
.cz-renewal-notice small.cz-feature-visual__badge {
  background: #234735;
  color: #a7efc1;
}
.cz-renewal-notice b { margin-top: .28em; }

.cz-upsell {
  position: absolute;
  inset: 0;
  display: grid;
  isolation: isolate;
  color: #211d21;
  font-size: clamp(15px, 4.3cqi, 22px);
  line-height: 1.42;
}

.cz-upsell__scene {
  grid-area: 1 / 1;
  display: grid;
  align-items: center;
  justify-items: center;
  min-width: 0;
  padding: 5%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px) scale(.985);
  transition: opacity .32s ease, transform .35s ease, visibility 0s .35s;
}

[data-scene="opportunities"] .cz-upsell__scene--opportunities,
[data-scene="conversation"] .cz-upsell__scene--conversation,
[data-scene="confirmed"] .cz-upsell__scene--confirmed {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.cz-upsell__grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 3cqi;
  width: min(100%, 420px);
}

.cz-upsell__opportunity {
  overflow: hidden;
  border: 1px solid #e8e3df;
  border-radius: 3.7cqi;
  background: #fff;
  box-shadow: 0 7px 18px #2921160d;
  font-size: .72em;
  font-weight: 650;
}
.cz-upsell__opportunity img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}
.cz-upsell__opportunity span { display: block; padding: 2.2cqi 2.65cqi; }

[data-scene="opportunities"] .cz-upsell__opportunity {
  animation: cz-upsell-reveal .56s var(--appear-at, .12s) cubic-bezier(.2,.75,.25,1) both;
}
.cz-upsell__opportunity:nth-child(2) { --appear-at: .42s; }
.cz-upsell__opportunity:nth-child(3) { --appear-at: .72s; }
.cz-upsell__opportunity:nth-child(4) { --appear-at: 1.02s; }

.cz-upsell__conversation,
.cz-upsell__confirmation {
  width: min(100%, 420px);
  padding: clamp(17px, 5cqi, 28px);
  border: 1px solid #e7e2e5;
  border-radius: clamp(18px, 5cqi, 26px);
  background: #fff;
  box-shadow: 0 13px 28px #22192112;
}

.cz-upsell__sender {
  display: flex;
  gap: .58em;
  align-items: center;
  font-weight: 700;
}
.cz-upsell__sender img {
  width: 2.25em;
  height: 2.25em;
  border-radius: 50%;
  object-fit: cover;
  background: #f3e9e6;
}

.cz-upsell__message {
  position: relative;
  margin: .92em 0;
  padding: .78em;
  border-radius: .78em;
  background: #f6f2f4;
  overflow-wrap: anywhere;
}
.cz-upsell__message-space { visibility: hidden; }
.cz-upsell__typing { position: absolute; inset: .78em; }

.cz-upsell__offer {
  display: grid;
  justify-items: start;
  gap: .63em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .25s ease, transform .25s ease;
}
.cz-upsell.has-offer .cz-upsell__offer { opacity: 1; transform: none; }
.cz-upsell__offer strong { font-size: .92em; }

.cz-upsell__accept {
  padding: .46em 1.05em;
  border-radius: .65em;
  background: #f44a88;
  color: #201018;
  font-size: .89em;
  font-weight: 750;
}
.cz-upsell.is-pressing .cz-upsell__accept { animation: cz-upsell-press .62s ease-in-out both; }

.cz-upsell__confirmation {
  display: grid;
  justify-items: center;
  gap: .4em;
  max-width: 360px;
  text-align: center;
}
.cz-upsell__confirmation strong { font-size: 1.13em; line-height: 1.2; }
.cz-upsell__confirmation > span:not(.cz-upsell__check) { color: #635c61; }
.cz-upsell__confirmation b { color: #176247; font-size: 1.12em; }
.cz-upsell__check {
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  margin-bottom: .14em;
  border-radius: 50%;
  background: #e7f4eb;
  color: #20704f;
}
.cz-upsell__check svg { width: 1.26em; height: 1.26em; }

.cz-upsell.is-paused .cz-upsell__scene { transition: none; }
.cz-upsell.is-paused :is(.cz-upsell__opportunity, .cz-upsell__accept) { animation-play-state: paused; }

@keyframes cz-upsell-reveal {
  from { opacity: 0; transform: translateY(11px) scale(.975); }
  to { opacity: 1; transform: none; }
}
@keyframes cz-upsell-press {
  0%, 100% { transform: scale(1); }
  44%, 65% { transform: scale(.94); background: #c72c66; color: #fff; }
}

@media (max-width: 480px) {
  .cz-upsell__scene { padding: 6%; }
  .cz-upsell__grid { gap: 3.5cqi; }
  .cz-upsell__opportunity { font-size: .86em; }
  .cz-upsell__conversation { font-size: clamp(15px, 4.65cqi, 18px); }
}

@media (prefers-reduced-motion: reduce) {
  .cz-upsell * { transition: none; animation: none; }
}
