/* Phone showcase. Mobile first: one phone per row on a handset, a three-up
   rail from 900px. Nothing here may exceed the viewport — the whole point of
   the section is that the product behaves on a phone. */

.pv-showcase {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
  color: #e6f2ee;
}

.pv-showcase__head {
  max-width: 46rem;
}

.pv-showcase__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4fd1b0;
}

.pv-showcase__title {
  margin: 0;
  font-size: clamp(1.6rem, 6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.pv-showcase__lede {
  margin: 0.9rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #a9c2bb;
}

.pv-showcase__rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.pv-showcase__phone {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* The device frame is CSS, not an image: it scales with the column and adds
   no weight. */
.pv-showcase__device {
  position: relative;
  width: min(100%, 15rem);
  aspect-ratio: 402 / 874;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2rem;
  background: linear-gradient(180deg, #16302a, #061511);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.pv-showcase__notch {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  z-index: 2;
}

.pv-showcase__screen {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1.6rem;
  object-fit: cover;
  object-position: top center;
  background: #04110f;
}

.pv-showcase__caption {
  text-align: center;
  max-width: 22rem;
}

.pv-showcase__step {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.pv-showcase__note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #a9c2bb;
}

.pv-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.pv-showcase__share {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(94, 234, 212, 0.45);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #d7fff4;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.pv-showcase__share:hover,
.pv-showcase__share:focus-visible {
  background: rgba(16, 185, 129, 0.2);
}

.pv-showcase__fineprint {
  flex: 1 1 18rem;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #7f9a94;
}

@media (min-width: 640px) {
  .pv-showcase {
    padding: 4.5rem 2rem 5rem;
  }
}

@media (min-width: 900px) {
  .pv-showcase__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .pv-showcase__device {
    width: min(100%, 17rem);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .pv-showcase__phone {
    transition: transform 0.4s ease;
  }

  .pv-showcase__phone:hover {
    transform: translateY(-4px);
  }
}

/* --- Share this page ------------------------------------------------------ */
.pv-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.85rem;
  margin-top: 1.5rem;
}

.pv-share--footer {
  justify-content: center;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
}

.pv-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 22, 18, 0.55);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.pv-share__btn:hover,
.pv-share__btn:focus-visible {
  border-color: rgba(94, 234, 212, 0.6);
  background: rgba(16, 185, 129, 0.16);
}

.pv-share__btn:focus-visible {
  outline: 2px solid #5eead4;
  outline-offset: 3px;
}

.pv-share__icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.pv-share__status {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #a9c2bb;
  min-height: 1.2em;
}

.pv-share__status[data-pv-share-status="copied"],
.pv-share__status[data-pv-share-status="shared"] {
  color: #5eead4;
  font-weight: 600;
}

.pv-share__status[data-pv-share-status="error"] {
  color: #fda4af;
}
