/* Match the supplied three-phone composition; app pixels are unmodified. */
.how-section.reference-showcase {
  background: #fff;
  border: 0;
  overflow: hidden;
}
.reference-showcase .section {
  padding-block: 96px 66px;
}
.reference-showcase .wrap {
  width: min(1200px, calc(100% - 48px));
}
.reference-showcase h2 {
  text-align: center;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.15;
  margin: 0 0 66px;
}
.how-section.reference-showcase .app-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.how-section.reference-showcase .app-step {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
}
.ref-mockup {
  position: relative;
  width: 100%;
  max-width: 384px;
  aspect-ratio: 384 / 474;
  margin-inline: auto;
  container-type: inline-size;
}
.ref-step-number {
  position: absolute;
  top: 1.5%;
  right: 14%;
  display: grid;
  place-items: center;
  width: 22cqw;
  height: 14cqw;
  border-radius: 4cqw 4cqw 4cqw 1.2cqw;
  background: #17352f;
  color: #e0f58a;
  box-shadow: 1cqw 1cqw 0 #e0f58a;
  font-size: 8.5cqw;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  line-height: 1;
}
.ref-phone-crop {
  position: absolute;
  left: 12%;
  top: 16%;
  width: 74%;
  height: 84%;
  overflow: hidden;
  mask-image: linear-gradient(#000 0%, #000 72%, transparent 98%);
  -webkit-mask-image: linear-gradient(#000 0%, #000 72%, transparent 98%);
}
.reference-showcase .ref-mockup .device {
  position: relative;
  width: 100%;
  padding: 24px 0 0;
  margin: 0;
  background: #fff;
  border: 6px solid #101c18;
  border-radius: 12cqw;
  box-shadow: 0 10px 24px #17352f17;
  transform: none;
}
.reference-showcase .ref-mockup .device img {
  width: 100%;
  height: auto;
  border-radius: 0;
}
.reference-showcase .ref-mockup .device-speaker {
  width: 29%;
  height: 18px;
  top: 5px;
  left: 35.5%;
  border-radius: 999px;
  background: #000;
}
.reference-showcase .device:after {
  border-radius: inherit;
}
.how-section.reference-showcase .usp-note {
  position: absolute;
  z-index: 4;
  min-width: 0;
  max-width: none;
  pointer-events: none;
}
.reference-showcase .ref-mockup .floating-note {
  position: relative;
  inset: auto;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
  min-height: 0;
  height: 100%;
  width: 100%;
  padding: 5cqw;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 5cqw;
  box-shadow: 0 8px 20px #17352f0f;
  color: var(--ink);
  text-align: left;
}
.reference-showcase .ref-mockup .floating-note strong {
  font-size: 4.4cqw;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.reference-showcase .ref-mockup .floating-note span {
  font-size: 3.5cqw;
  line-height: 1.5;
  color: var(--muted);
}
.reference-showcase .ref-mockup .floating-note strong span {
  color: #83988f;
  font-size: 5cqw;
}
.how-section.reference-showcase .ref-vehicle-popup {
  left: 3%;
  top: 33%;
  width: 41%;
}
.ref-popup-icon {
  display: grid;
  place-items: center;
  width: 10cqw;
  height: 10cqw;
  border-radius: 50%;
  background: #e0f2eb;
  margin-bottom: 4cqw;
}
.ref-popup-icon svg {
  width: 6cqw;
  height: 6cqw;
  color: #00685f;
}
.how-section.reference-showcase .ref-champ-popup {
  right: 0;
  bottom: 4%;
  width: 68%;
  height: 31%;
}
.reference-showcase .ref-champ-popup .floating-note {
  justify-content: center;
  padding: 5cqw;
}
.ref-champ-copy {
  position: relative;
  z-index: 1;
  width: 65%;
}
.reference-showcase .ref-mockup .ref-champ-copy .ref-popup-pill {
  display: inline-block;
  border: 1px solid #00685f;
  border-radius: 99px;
  padding: 1.2cqw 2cqw;
  color: #00685f;
  font-size: 2.7cqw;
  font-weight: 600;
  margin-bottom: 3cqw;
  white-space: nowrap;
}
.ref-champ-copy > strong,
.ref-champ-copy > span:last-child {
  display: block;
}
.ref-champ-cutout {
  position: absolute;
  bottom: 0;
  right: -1%;
  height: 120%;
  width: 44%;
  object-fit: contain;
  object-position: right bottom;
}
.how-section.reference-showcase .ref-package-popup {
  top: 42%;
  right: 0;
  width: 34%;
  height: 28%;
}
.reference-showcase .ref-package-popup .floating-note {
  padding: 4cqw;
  justify-content: space-between;
  border: 3px solid #b8dfcf;
  background: linear-gradient(135deg, #00685f, #299781 70%, #87c9b4);
  color: #fff;
}
.reference-showcase .ref-package-popup strong {
  font-size: 4cqw;
}
.reference-showcase .ref-mockup .ref-package-popup .ref-package-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  font-size: 5.6cqw;
  color: white;
  font-weight: 600;
}
.ref-package-price small {
  font-size: 2.5cqw;
  font-weight: 400;
}
.reference-showcase .ref-mockup .ref-package-popup .ref-price-preview {
  color: #e0f2eb;
  font-size: 2.3cqw;
}
.how-section.reference-showcase .ref-schedule-popup {
  left: 15%;
  top: 48%;
  width: 85%;
  height: 22%;
}
.reference-showcase .ref-schedule-popup .floating-note {
  justify-content: center;
  padding: 5cqw;
  background: linear-gradient(110deg, #168976, #00685f);
  color: #fff;
  border: 0;
}
.reference-showcase .ref-schedule-popup .floating-note strong {
  font-size: 4.3cqw;
}
.reference-showcase .ref-schedule-popup .floating-note div > span {
  color: #e0f2eb;
  font-size: 3.1cqw;
}
.reference-showcase .ref-mockup .ref-schedule-popup .ref-calendar-badge {
  position: absolute;
  right: 1%;
  top: -33%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 32cqw;
  height: 32cqw;
  padding: 4cqw;
  border: 5px solid #fff;
  outline: 5px solid #00685f;
  border-radius: 50%;
  background:
    repeating-linear-gradient(-45deg, #ffffff08 0 3px, transparent 3px 8px),
    #00685f;
  color: white;
}
.ref-calendar-badge small {
  font-size: 2.2cqw;
  line-height: 1.2;
  white-space: nowrap;
}
.ref-calendar-badge b {
  font-size: 12cqw;
  line-height: 1;
}
.how-section.reference-showcase .ref-time-popup {
  left: 0;
  bottom: 14%;
  width: 80%;
  height: 15%;
}
.reference-showcase .ref-time-popup .floating-note {
  flex-direction: row;
  align-items: center;
  gap: 3cqw;
  padding: 3cqw 4cqw;
  border-radius: 4cqw;
}
.reference-showcase .ref-time-popup .floating-note strong {
  font-size: 3.6cqw;
}
.reference-showcase .ref-time-popup .floating-note div > span {
  display: block;
  font-size: 3cqw;
}
.ref-time-icon {
  display: grid;
  place-items: center;
  width: 10cqw;
  height: 10cqw;
  border-radius: 50%;
  background: #e0f2eb;
  flex-shrink: 0;
}
.ref-time-icon svg {
  width: 6cqw;
  height: 6cqw;
  color: #00685f;
}
.reference-showcase .ref-time-check {
  margin-left: auto;
  color: #00685f;
}
.reference-showcase .step-badge {
  margin-top: 22px;
  padding: 8px 14px;
  border-radius: 7px;
  background: #00685f;
  color: white;
  font-size: 0.875rem;
}
.how-section.reference-showcase .app-step h3 {
  margin-top: 24px;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 600;
}
.how-section.reference-showcase .app-step > p {
  max-width: 340px;
  margin-top: 18px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #76837d;
}
.ref-step-dots {
  display: none;
}
@keyframes ref-popup-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .reference-showcase.motion-enabled .app-step .usp-note .floating-note {
    animation-name: ref-popup-float;
    animation-duration: 5.8s;
  }
  .reference-showcase .ref-package-popup .floating-note {
    animation-delay: -1.2s;
  }
  .reference-showcase .ref-time-popup .floating-note {
    animation-delay: -2.4s;
  }
}
@media (max-width: 1000px) {
  .reference-showcase .section {
    padding-block: 60px 48px;
  }
  .reference-showcase h2 {
    max-width: 600px;
    margin: 0 auto 34px;
    font-size: clamp(1.75rem, 5.5vw, 2.6rem);
  }
  .how-section.reference-showcase .app-steps {
    display: flex;
    gap: 0;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .reference-showcase .app-steps::-webkit-scrollbar {
    display: none;
  }
  .how-section.reference-showcase .app-step {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 2px 8px 8px;
  }
  .reference-showcase .ref-mockup {
    max-width: 361px;
  }
  .reference-showcase .step-badge {
    margin-top: 12px;
  }
  .how-section.reference-showcase .app-step h3 {
    margin-top: 18px;
    font-size: 1.375rem;
  }
  .how-section.reference-showcase .app-step > p {
    max-width: 300px;
    font-size: 0.875rem;
    margin-top: 10px;
  }
  .ref-step-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 10px;
  }
  .ref-step-dots button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
  }
  .ref-step-dots span {
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: #c6e3d8;
    transition:
      width 0.2s,
      background-color 0.2s;
  }
  .ref-step-dots [aria-current] span {
    width: 20px;
    background: #00685f;
  }
}
