.cz-prescription {
  width: min(calc(100% - 64px), 1120px);
  margin-inline: auto;
  padding-block: clamp(30px, 5.4vh, 64px) 72px;
  color: #151416;
}

.cz-prescription + .cz-home-final { padding-block-end: 72px; }

.cz-prescription h1 {
  max-width: 1100px;
  margin: 0 0 clamp(24px, 4.3vh, 45px);
  font-size: clamp(44px, 5.05vw, 72px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.cz-prescription__arguments {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5.8vw, 84px);
  align-items: start;
}

.cz-prescription__reason + .cz-prescription__reason { border-top: 1px solid #e9e7e9; }

.cz-prescription__reason summary {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 12px;
  min-height: 49px;
  padding-block: 7px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

.cz-prescription summary::-webkit-details-marker { display: none; }

.cz-prescription__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #ebe8eb;
  border-radius: 10px;
  color: var(--cz-header-pink);
}

.cz-prescription__icon > svg { grid-area: 1 / 1; width: 16px; height: 16px; }
.cz-prescription__icon > .cz-prescription__progress { width: 24px; height: 24px; display: none; }
.cz-prescription__progress circle { fill: none; stroke-width: 1.6; }
.cz-prescription__track { stroke: #f9dce8; }

.cz-prescription__sweep {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transform: rotate(-90deg);
  transform-origin: center;
}

.cz-prescription__arguments[data-rotating] .cz-prescription__reason[open] .cz-prescription__icon > svg:first-child { visibility: hidden; }
.cz-prescription__arguments[data-rotating] .cz-prescription__reason[open] .cz-prescription__progress { display: block; }

.cz-prescription__chevron {
  justify-self: center;
  width: 6px;
  height: 6px;
  border: solid #656168;
  border-width: 0 1.4px 1.4px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 240ms ease;
}

.cz-prescription__reason[open] .cz-prescription__chevron { transform: translateY(1px) rotate(225deg); }

.cz-prescription__copy {
  padding: 0 20px 12px 44px;
  color: #403c43;
  font-size: 14px;
  line-height: 1.45;
}

.cz-prescription__copy p { margin: 0; }
.cz-prescription__copy p + p { margin-top: 7px; }

@supports selector(details::details-content) {
  .cz-prescription__arguments[data-enhanced] .cz-prescription__reason::details-content {
    block-size: 0;
    overflow: clip;
    opacity: 0;
    transition: block-size 280ms ease, opacity 220ms ease, content-visibility 280ms allow-discrete;
  }
  .cz-prescription__arguments[data-enhanced] .cz-prescription__reason[open]::details-content {
    block-size: var(--copy-height, auto);
    opacity: 1;
  }
}

.cz-feature-visual.cz-prescription__visual {
  aspect-ratio: auto;
  height: 432px;
  background: #f2f2f2;
}

.cz-feature-visual.cz-prescription__visual::after { content: none; }

.cz-prescription__scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms allow-discrete;
}

.cz-prescription__arguments:not(:has(details[open])) .cz-prescription__scene:first-child,
.cz-prescription__arguments:has(details:nth-child(1)[open]) .cz-prescription__scene:nth-child(1),
.cz-prescription__arguments:has(details:nth-child(2)[open]) .cz-prescription__scene:nth-child(2),
.cz-prescription__arguments:has(details:nth-child(3)[open]) .cz-prescription__scene:nth-child(3),
.cz-prescription__arguments:has(details:nth-child(4)[open]) .cz-prescription__scene:nth-child(4),
.cz-prescription__arguments:has(details:nth-child(5)[open]) .cz-prescription__scene:nth-child(5) {
  opacity: 1;
  visibility: visible;
}

.cz-prescription__scene .cz-feature-visual__phone { box-shadow: 0 14px 34px #12101438, inset 0 0 0 1px #ffffff18; }
.cz-prescription__scene .cz-marketplace-statusbar { position: relative; background: #181715; color: #fff; }
.cz-prescription__scene:nth-child(2) .cz-feature-visual__screen img {
  /* Bring the existing preparation list, including Linge, into the viewport. */
  margin-top: -18cqi;
}

.cz-prescription__share { margin-top: 18px; }
.cz-prescription__share .cz-brand-cta { gap: 9px; max-width: 100%; }
.cz-prescription__share svg { width: 17px; height: 17px; }
.cz-prescription__share [hidden] { display: none; }
.cz-prescription__status { margin: 5px 0 0; font-size: 13px; }
.cz-prescription__status:empty { margin: 0; }
.cz-prescription__fallback label { display: block; margin-block: 10px 5px; font-size: 14px; }
.cz-prescription__fallback textarea { display: block; width: min(100%, 540px); font: inherit; font-size: 14px; }
.cz-prescription :focus-visible { outline: 2px solid #b62363; outline-offset: 3px; }

@media (min-width: 861px) and (max-height: 800px) {
  .cz-prescription { padding-top: 25px; }
  .cz-prescription h1 { font-size: clamp(48px, 4.9vw, 67px); margin-bottom: 23px; }
}

@media (max-width: 860px) {
  .cz-prescription { width: min(calc(100% - 40px), 570px); padding-top: 25px; }
  .cz-prescription h1 { max-width: 21ch; font-size: clamp(33px, 7vw, 54px); margin-bottom: 22px; text-wrap: wrap; }
  .cz-prescription__arguments { grid-template-columns: 1fr; gap: 12px; }
  .cz-feature-visual.cz-prescription__visual { height: auto; aspect-ratio: 1.16; }
}

@media (max-width: 380px) {
  .cz-prescription { width: calc(100% - 32px); }
  .cz-prescription__reason summary { font-size: 14px; gap: 9px; }
  .cz-prescription__copy { padding-left: 41px; padding-right: 4px; }
  .cz-prescription__share .cz-brand-cta { white-space: normal; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .cz-prescription *, .cz-prescription__reason::details-content { transition: none; }
}
