.cz-google-reviews .cz-marketplace-feature-copy .cz-brand-cta {
  width: auto;
  margin-top: 28px;
}

.cz-google-reviews .cz-marketplace-feature-copy .cz-brand-cta:visited { color: #fff; }

.cz-google-reviews .cz-reviews-flow {
  aspect-ratio: 1170 / 2040;
  background: #faf6f8;
  color: #29232a;
  font-family: var(--cz-font);
}

.cz-reviews-flow__title {
  padding-top: 16cqw;
  text-align: center;
  font-size: 4.3cqw;
  font-weight: 700;
  letter-spacing: -.035em;
}

.cz-reviews-flow__diagram {
  position: relative;
  display: grid;
  grid-template: repeat(5, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr));
  height: 125cqw;
  margin: 3cqw 4cqw 0;
  isolation: isolate;
}

.cz-reviews-flow__diagram > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.cz-reviews-flow__diagram path {
  fill: none;
  stroke-width: .75;
  stroke-linejoin: round;
}

.cz-reviews-flow__wire { stroke: #dfd1d8; }
.cz-reviews-flow__trace { stroke: #e34387; stroke-linecap: round; }

.cz-reviews-flow.is-playing .cz-reviews-flow__trace {
  stroke-dasharray: 1 1;
  animation: cz-feature-trace .75s ease-out both;
}

.cz-reviews-flow.is-playing .cz-reviews-flow__trace--positive {
  animation: cz-feature-trace 2.35s .78s ease-out both;
}

.cz-reviews-flow.is-playing .cz-reviews-flow__trace--negative {
  animation: cz-feature-trace 1.7s 1.08s ease-out both;
}

.cz-reviews-flow__step {
  align-self: center;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6cqw;
  width: calc(100% - 2.5cqw);
  min-height: 10cqw;
  padding: 2cqw 1.7cqw;
  border: 1px solid #eadbe2;
  border-radius: 3.4cqw;
  background: #fff;
  box-shadow: 0 2px 9px #48132a0b;
  text-align: center;
  font-size: 3.45cqw;
  font-weight: 650;
  line-height: 1.22;
}

.cz-reviews-flow__step i {
  flex: 0 0 4.6cqw;
  color: #a4265d;
}
.cz-reviews-flow__step svg { display: block; width: 100%; }

.cz-reviews-flow__step--done,
.cz-reviews-flow__step--rating { grid-column: 1 / -1; width: 78%; }
.cz-reviews-flow__step--done { grid-row: 1; }
.cz-reviews-flow__step--rating { grid-row: 2; }
.cz-reviews-flow__step--positive,
.cz-reviews-flow__step--negative {
  grid-row: 3;
  width: auto;
  min-height: 0;
  padding: 1.4cqw 3cqw;
  border-radius: 20px;
}
.cz-reviews-flow__step--positive { background: #edf6f1; color: #205a40; }
.cz-reviews-flow__step--negative { background: #f6eced; color: #793941; }
.cz-reviews-flow__step--wait,
.cz-reviews-flow__step--retry { grid-row: 4; }
.cz-reviews-flow__step--review { grid-row: 5; border-color: #e39ab9; background: #fff5fa; }
.cz-reviews-flow__step--review i { display: none; }

.cz-feature-details__visual--reviews-clients,
.cz-feature-details__visual--reviews-notes { --phone-top: 10%; }

/* Slice the capture at its panel boundaries while preserving the original scale. */
.cz-feature-details__visual--reviews-clients .cz-review-capture {
  --capture-cut: 83.8cqw;
  --capture-tail: 83.8cqw;
  background: #181715;
}

.cz-feature-details__visual--reviews-notes .cz-review-capture {
  --capture-cut: 113.4cqw;
  --capture-tail: 154.6cqw;
  background: #181715;
}

.cz-google-reviews .cz-feature-visual__screen:has(.cz-review-capture) {
  container-type: inline-size;
}

.cz-review-capture__crop {
  position: relative;
  overflow: hidden;
}

.cz-review-capture__crop--top { height: var(--capture-cut); }
.cz-review-capture__crop--tail { height: calc(216.6667cqw - var(--capture-tail)); }
.cz-review-capture__crop--tail img {
  position: absolute;
  top: calc(-1 * var(--capture-tail));
}

.cz-review-capture__card {
  position: relative;
  margin: 0 5.1cqw 3cqw;
  padding: 3.5cqw 4cqw;
  border-radius: 5.7cqw;
  background: #24211f;
  color: #f5f1ee;
  font-size: 4.4cqw;
  line-height: 1.38;
}

.cz-review-capture__card p,
.cz-review-capture__card blockquote { margin: 0; }
.cz-review-capture__card p { font-weight: 650; }
.cz-review-capture__card strong {
  display: block;
  margin-top: 1.5cqw;
  font-size: 7.8cqw;
  line-height: 1.12;
  letter-spacing: -.045em;
}
.cz-review-capture__card blockquote { margin-top: 3cqw; }
.cz-review-capture__card small {
  display: block;
  margin-top: 2cqw;
  color: #c8bfb8;
  font-size: 3.55cqw;
}

.cz-feature-details__visual--reviews-notes .cz-review-capture__card {
  min-height: 38.2cqw;
  margin-bottom: 3cqw;
}

@media (max-width: 768px) {
  .cz-feature-details__visual--reviews-clients,
  .cz-feature-details__visual--reviews-notes { --phone-top: 7.5%; }
}

@media (prefers-reduced-motion: reduce) {
  .cz-reviews-flow.is-playing .cz-reviews-flow__trace { stroke-dasharray: none; animation: none; }
}
