/* The copy follows the type scale and spacing of the Ménage Airbnb hero. */
.cz-marketplace-feature-hero {
  padding: clamp(44px, 5.5vw, 84px) 0 clamp(48px, 6.5vw, 96px);
  background: #fff;
  color: #111413;
}

.cz-marketplace-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  width: min(1140px, calc(100% - 72px));
  margin-inline: auto;
}

.cz-marketplace-feature-eyebrow {
  display: block;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: .02em;
}

.cz-marketplace-feature-title {
  margin: 0;
  font-size: clamp(42px, 4vw, 66px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.cz-marketplace-feature-subtitle {
  max-width: 560px;
  margin: 26px 0 0;
  color: #454947;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.48;
  letter-spacing: -.012em;
}

.cz-marketplace-feature-cta,
.cz-marketplace-feature-cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  padding: 15px 23px;
  border: 1px solid #fb4d8d;
  border-radius: 9px;
  background: #fb4d8d;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.cz-marketplace-feature-cta:hover {
  border-color: #e63377;
  background: #e63377;
}

.cz-marketplace-feature-cta:focus-visible {
  outline: 2px solid #fb4d8d;
  outline-offset: 4px;
}

.cz-marketplace-feature-cta span {
  font-size: 19px;
  line-height: 1;
}

.cz-marketplace-feature-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
  border-bottom: 1px solid #d4d5d8;
}

.cz-marketplace-shape {
  position: absolute;
  bottom: -48px;
  border-radius: clamp(18px, 3vw, 36px);
}

.cz-marketplace-shape--violet {
  left: 2%;
  width: 47%;
  height: 62%;
  background: #c5b2f1;
}

.cz-marketplace-shape--blue {
  left: 12%;
  width: 83%;
  height: 86%;
  background: #197ff5;
}

.cz-marketplace-shape--yellow {
  right: 2%;
  width: 38%;
  height: 46%;
  background: #ffda86;
}

.cz-marketplace-phone {
  --phone-radius: clamp(24px, 3.8vw, 48px);
  --screen-radius: clamp(19px, 3.2vw, 40px);
  position: absolute;
  top: 3%;
  left: 50%;
  width: 68%;
  padding: clamp(4px, .6vw, 8px);
  transform: translateX(-50%);
  border: 1px solid #454048;
  border-radius: var(--phone-radius) var(--phone-radius) 0 0;
  background: linear-gradient(140deg, #413b45, #161319 30%, #211d26);
  box-shadow: 0 14px 34px #46112740, inset 0 0 0 1px #ffffff20;
}

.cz-marketplace-phone-screen {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  border-radius: var(--screen-radius) var(--screen-radius) 0 0;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

.cz-marketplace-phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* Place the requested replacements over their original positions in the capture. */
.cz-marketplace-statusbar {
  position: absolute;
  inset: 0 0 auto;
  height: 12cqw;
  background: #fff;
  color: #111;
  font-size: 3.6cqw;
  font-weight: 650;
  line-height: 1;
}

.cz-marketplace-statusbar > span:first-child,
.cz-marketplace-status-indicators {
  position: absolute;
  top: 5.2cqw;
}

.cz-marketplace-statusbar > span:first-child { left: 8.5%; }

.cz-marketplace-island {
  position: absolute;
  top: 2.5cqw;
  left: 50%;
  width: 29%;
  height: 7.6cqw;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #101014;
}

.cz-marketplace-status-indicators {
  right: 8%;
  display: flex;
  align-items: center;
  gap: 1.35cqw;
}

.cz-marketplace-signal {
  display: flex;
  align-items: end;
  gap: .42cqw;
  height: 3.2cqw;
}

.cz-marketplace-signal i {
  width: .95cqw;
  border-radius: .22cqw;
  background: currentColor;
}

.cz-marketplace-signal i:nth-child(1) { height: 37%; }
.cz-marketplace-signal i:nth-child(2) { height: 56%; }
.cz-marketplace-signal i:nth-child(3) { height: 77%; }
.cz-marketplace-signal i:nth-child(4) { height: 100%; }

.cz-marketplace-battery {
  position: relative;
  width: 6.2cqw;
  height: 3.2cqw;
  border: .23cqw solid #727272;
  border-radius: .75cqw;
}

.cz-marketplace-battery::before,
.cz-marketplace-battery::after {
  position: absolute;
  content: "";
}

.cz-marketplace-battery::before {
  inset: .38cqw;
  border-radius: .32cqw;
  background: currentColor;
}

.cz-marketplace-battery::after {
  inset: 28% -.78cqw 28% auto;
  width: .36cqw;
  border-radius: 0 .3cqw .3cqw 0;
  background: #727272;
}

.cz-marketplace-price-value,
.cz-marketplace-price-difference {
  position: absolute;
  left: 37%;
  width: 26%;
  background: #f3f4f4;
  color: #565e60;
  text-align: center;
  white-space: nowrap;
}

.cz-marketplace-price-value {
  top: 36.15%;
  font-size: 4.65cqw;
  font-weight: 750;
  line-height: 1.09;
  letter-spacing: -.035em;
}

.cz-marketplace-price-difference {
  top: 41.05%;
  font-size: 3.4cqw;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .cz-marketplace-feature-inner { width: calc(100% - 64px); }
  .cz-marketplace-feature-title { font-size: clamp(42px, 5vw, 56px); }
}

@media (max-width: 767px) {
  .cz-marketplace-feature-hero { padding: 50px 0 42px; }
  .cz-marketplace-feature-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    width: min(480px, calc(100% - 44px));
  }
  .cz-marketplace-feature-eyebrow { margin-bottom: 18px; font-size: 12px; }
  .cz-marketplace-feature-title {
    font-size: clamp(36px, 9vw, 47px);
    line-height: 1.08;
    letter-spacing: -.045em;
  }
  .cz-marketplace-feature-subtitle {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.5;
  }
  .cz-marketplace-feature-cta {
    margin-top: 28px;
    padding: 15px 20px;
    font-size: 14px;
  }
  .cz-marketplace-phone {
    --phone-radius: clamp(24px, 8vw, 44px);
    --screen-radius: clamp(19px, 7vw, 39px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cz-marketplace-feature-cta { transition: none; }
}

@keyframes cz-feature-trace {
  from { stroke-dashoffset: var(--trace-from, 1); }
  to { stroke-dashoffset: var(--trace-to, 0); }
}
