/* Conversion Rate Optimisation illustration: heatmapped page, funnel and before/after (.cr). Built on the shared .vz system. */
.cr__body {
  padding-bottom: 1.3rem;
}
.cr__page {
  overflow: hidden;
  border: 1px solid var(--vz-line);
  border-radius: 0.9rem;
  background-color: #fff;
}
.cr__nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--vz-line);
  padding: 0.6rem 0.8rem;
}
.cr__logo {
  width: 3rem;
  margin-right: auto;
}
.cr__link {
  width: 1.8rem;
  height: 0.3rem;
}
.cr__bag {
  display: grid;
  place-items: center;
  color: var(--primary);
}
.cr__prod {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0.9rem;
  padding: 0.85rem;
}
.cr__img {
  position: relative;
  overflow: hidden;
  border-radius: 0.7rem;
  background: linear-gradient(145deg, #12406e, #001f3f);
  aspect-ratio: 1;
}
.cr__img:before {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
}
.cr__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
}
.cr__info .vz__bar {
  height: 0.4rem;
}
.cr__t1 {
  height: 0.6rem;
}
.cr__price {
  font-family: var(--headerFont);
  font-size: 1.375rem;
  line-height: 1em;
  font-weight: 700;
  color: var(--headerColor);
}
.cr__delivery {
  position: relative;
  display: block;
  border: 1.5px dashed var(--secondary);
  border-radius: 0.5rem;
  padding: 0.35rem 0.5rem;
}
.cr__delivery .vz__bar {
  height: 0.3rem;
  width: 70%;
}
.cr__cta {
  position: relative;
  display: block;
  border: 1.5px dashed var(--secondary);
  border-radius: 3.75rem;
  background-color: #dfe6ee;
  padding: 0.45rem 0.6rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.2em;
  font-weight: 700;
  color: #6b7889;
}
.cr__pin {
  position: absolute;
  top: -0.55rem;
  right: -0.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: var(--primary);
  height: 1.15rem;
  width: 1.15rem;
  font-style: normal;
  font-size: 0.625rem;
  line-height: 1em;
  font-weight: 700;
  color: #fff;
}

/* Click heat: soft blue glows on the areas people click most. */
.cr__heat {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}
.cr__heat--img {
  top: 18%;
  left: 20%;
  background: radial-gradient(circle, rgba(67, 183, 255, 0.75), rgba(67, 183, 255, 0) 68%);
  height: 70%;
  width: 70%;
}
.cr__heat--del {
  top: -80%;
  left: 12%;
  background: radial-gradient(circle, rgba(67, 183, 255, 0.5), rgba(67, 183, 255, 0) 70%);
  height: 260%;
  width: 55%;
}
.cr__heat--cta {
  top: -60%;
  left: 20%;
  background: radial-gradient(circle, rgba(67, 183, 255, 0.28), rgba(67, 183, 255, 0) 70%);
  height: 220%;
  width: 60%;
}
.cr__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-top: 0.7rem;
  font-size: 0.6875rem;
  line-height: 1.2em;
  color: #5b6b7d;
}
.cr__scale,
.cr__opps {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cr__scale i,
.cr__scale b {
  display: block;
  border-radius: 1rem;
  height: 0.4rem;
  width: 2.2rem;
  background: linear-gradient(90deg, rgba(67, 183, 255, 0.12), rgba(67, 183, 255, 0.85));
}
.cr__scale i {
  display: none;
}
.cr__opps em {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: var(--primary);
  height: 1rem;
  width: 1rem;
  font-style: normal;
  font-size: 0.5625rem;
  line-height: 1em;
  font-weight: 700;
  color: #fff;
}
.cr__opps em + em {
  margin-left: 0.4rem;
}

/* Funnel */
.cr__funnel,
.cr__ba {
  padding: 0.85rem 0.95rem 0.95rem;
}
.cr__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.cr__funnel ul {
  display: grid;
  gap: 0.4rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}
.cr__step {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.2em;
  font-weight: 600;
  color: #5b6b7d;
}
.cr__step i {
  display: block;
  font-style: normal;
  border-radius: 0.35rem;
  background: linear-gradient(90deg, var(--secondary), rgba(67, 183, 255, 0.55));
  height: 1.15rem;
  min-width: 2.2rem;
}
.cr__step b {
  display: block;
  padding: 0.2rem 0.4rem;
  font-size: 0.6875rem;
  line-height: 1em;
  font-weight: 700;
  color: var(--primary);
}
.cr__f100 {
  width: 100%;
}
.cr__f46 {
  width: 46%;
}
.cr__f18 {
  width: 18%;
}
.cr__f6 {
  width: 6%;
}

/* Before and after */
.cr__pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.cr__mini {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  border: 1px solid var(--vz-line);
  border-radius: 0.65rem;
  padding: 0.45rem;
}
.cr__mini .vz__pill {
  align-self: flex-start;
  padding: 0.1rem 0.4rem;
  font-size: 0.5625rem;
}
.cr__mini .vz__bar {
  height: 0.3rem;
}
.cr__mini--after {
  border-color: rgba(67, 183, 255, 0.5);
  background-color: rgba(67, 183, 255, 0.06);
}
.cr__btn {
  display: block;
  margin-top: auto;
  border-radius: 3.75rem;
  height: 0.7rem;
}
.cr__btn--weak {
  background-color: #dfe6ee;
  width: 45%;
}
.cr__btn--strong {
  background-color: var(--secondary);
  height: 0.95rem;
  width: 100%;
}
.cr__trust {
  display: flex;
  gap: 0.2rem;
}
.cr__trust s {
  display: block;
  border-radius: 50%;
  background-color: var(--vz-bar);
  height: 0.5rem;
  width: 0.5rem;
}
.cr__to {
  align-self: center;
  font-size: 1.25rem;
  line-height: 1em;
  font-weight: 700;
  color: var(--vz-text-blue);
}
@media only screen and (min-width: 64rem) {
  .cr__body {
    padding-bottom: 3.6rem;
  }
  .cr .vz__stage {
    padding-bottom: 7.5rem;
  }
  .cr__funnel {
    bottom: 0;
    left: -1.5rem;
    width: 14.5rem;
  }
  .cr__ba {
    right: -1.5rem;
    bottom: 1.25rem;
    width: 14.5rem;
  }
}

/* Phones and tablets: the two cards sit side by side over the lower edge of the page preview. */
@media only screen and (max-width: 63.999rem) {
  .cr .vz__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 0 0.65rem;
    padding: 0 0.25rem;
  }
  .cr .vz__card {
    grid-column: 1 / -1;
  }
  .cr__funnel,
  .cr__ba {
    position: relative;
    z-index: 2;
    margin-top: -0.9rem;
    padding: 0.7rem 0.7rem 0.8rem;
  }
  .cr__funnel {
    margin-left: 0.4rem;
  }
  .cr__ba {
    margin-right: 0.4rem;
  }
  .cr__step {
    grid-template-columns: 2.9rem minmax(0, 1fr);
    gap: 0.35rem;
    font-size: 0.625rem;
  }
  .cr__funnel .vz__badge {
    display: none;
  }
}
@media only screen and (max-width: 30rem) {
  .cr .vz__body {
    padding: 0.8rem 0.8rem 1.5rem;
  }
  .cr__prod {
    gap: 0.65rem;
    padding: 0.65rem;
  }
  .cr__price {
    font-size: 1.125rem;
  }
  .cr__legend {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Dark mode */
html.dark-mode .cr__page {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: #0a1824;
}
html.dark-mode .cr__nav {
  border-color: rgba(255, 255, 255, 0.1);
}
html.dark-mode .cr__bag,
html.dark-mode .cr__price {
  color: #fff;
}
html.dark-mode .cr__cta {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}
html.dark-mode .cr__pin,
html.dark-mode .cr__opps em {
  background-color: #fff;
  color: var(--primary);
}
html.dark-mode .cr__legend,
html.dark-mode .cr__step {
  color: rgba(255, 255, 255, 0.7);
}
html.dark-mode .cr__step b {
  color: var(--primary);
}
html.dark-mode .cr__mini {
  border-color: rgba(255, 255, 255, 0.12);
}
html.dark-mode .cr__mini--after {
  border-color: rgba(67, 183, 255, 0.5);
  background-color: rgba(67, 183, 255, 0.1);
}
html.dark-mode .cr__btn--weak {
  background-color: rgba(255, 255, 255, 0.16);
}
