/* Portrait app examples and the original neighborhood illustrations. */
.neighbors-section {
  padding-block: 88px;
}
.neighbor-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(70px, 8vw, 110px);
  align-items: center;
}
.neighbor-copy {
  max-width: 500px;
}
.neighbor-copy > p:not(.eyebrow) {
  max-width: 430px;
}
.reward-demo.app-wallet-example {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 390px;
  max-width: 100%;
  min-height: 844px;
  justify-self: center;
  margin: 0;
  border-radius: 28px;
}
.app-wallet-example .app-example-header {
  padding: 18px 20px;
}
.app-wallet-example .app-example-header .app-wordmark {
  width: 84px;
}
.app-wallet-example .app-example-header > span {
  font-size: 11px;
}
.app-wallet-example .app-example-content {
  flex: 1;
  padding: 18px;
}
.app-wallet-example .app-example-content > .app-visit {
  padding: 10px;
  margin-bottom: 20px;
  font-size: 11px;
}
.app-wallet-example .app-reward-group {
  padding: 18px;
}
.app-wallet-example .app-reveal > strong {
  font-size: 32px;
}
.app-wallet-example .app-reveal h3 {
  font-size: 23px;
}
.app-wallet-example .neighbor-offer {
  padding: 18px;
}
.app-wallet-example .offer-choice {
  font-size: 10px;
}
.app-wallet-example .offer-business {
  font-size: 12px;
}
.app-wallet-example .neighbor-offer h4 {
  font-size: 26px;
}
.app-wallet-example .offer-actions {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.app-wallet-example .offer-save-button,
.app-wallet-example .offer-swap-button {
  padding: 11px 13px;
  font-size: 13px;
  gap: 6px;
}
.app-wallet-example .app-dock {
  flex: none;
  margin-top: auto;
}
.app-wallet-example .app-saved-state h3 {
  font-size: 28px;
  line-height: 1.15;
}
.app-wallet-example .app-saved-state .app-primary {
  font-size: 13px;
}
.app-wallet-example .app-saved-reward {
  padding: 17px;
  gap: 12px;
}
.app-wallet-example .app-saved-reward h4 {
  font-size: 23px;
}
.neighbor-storefronts {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(44px, 14%, 70px) minmax(0, 1fr);
  align-items: flex-end;
  gap: 8px;
  margin: 28px 0 22px;
  padding-bottom: 2px;
}
.neighbor-storefronts::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 3%;
  right: 3%;
  bottom: 31px;
  height: 1px;
  background: #cfd7c3;
}
.neighbor-storefronts figure {
  min-width: 0;
  max-width: 220px;
  text-align: center;
}
.neighbor-storefronts img {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 7px 5px #1d3f2812);
}
.neighbor-storefronts .storefront-coffee img {
  transform: scaleX(-1);
}
.neighbor-storefronts figcaption {
  margin-top: 9px;
  color: #376745;
  font-size: 12px;
  font-weight: 600;
}
.storefront-arrow {
  display: block;
  align-self: center;
  justify-self: center;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 80 / 48;
  transform: translateY(-18px);
  fill: none;
  stroke: var(--clem);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.storefront-arrow-base {
  opacity: 0.25;
}
.storefront-arrow-curve {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.neighbor-storefronts.is-in-view .storefront-arrow-curve {
  animation: neighbor-arrow-draw 4s ease-in-out infinite;
}
.neighbor-storefronts.is-in-view .storefront-arrow-head {
  animation: neighbor-arrow-arrive 4s ease-in-out infinite;
}
@keyframes neighbor-arrow-draw {
  0%,
  12% {
    stroke-dashoffset: 1;
    opacity: 1;
  }
  40%,
  85% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
@keyframes neighbor-arrow-arrive {
  0%,
  35% {
    opacity: 0;
  }
  45%,
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .neighbor-storefronts.is-in-view .storefront-arrow-curve,
  .neighbor-storefronts.is-in-view .storefront-arrow-head {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
.neighbor-category-rule {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 0 0;
  border-top: 1px solid #d4dbc8;
}
.neighbor-category-rule > .icon {
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: #376745;
}
.neighbor-category-rule h3 {
  max-width: 370px;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.neighbor-category-rule p {
  margin-top: 7px;
  color: var(--moss);
  font-size: 13px;
  line-height: 1.45;
}
.reward-confetti {
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
}
/* This view is only used by the review gallery; it has the same app markup. */

@media (max-width: 1050px) {
  .neighbor-layout {
    gap: 44px;
  }
  .neighbor-copy h2 {
    font-size: 42px;
  }
  .neighbor-storefronts img {
    height: 165px;
  }
  .neighbor-category-rule h3 {
    font-size: 21px;
  }
}
@media (max-width: 850px) {
  .neighbor-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
  }
  .neighbor-copy {
    align-self: flex-start;
    max-width: 560px;
    width: 100%;
  }
  .neighbor-storefronts {
    max-width: 480px;
  }
  .neighbor-storefronts img {
    height: 195px;
  }
  .reward-demo.app-wallet-example {
    margin: 0;
  }
}
@media (max-width: 760px) {
  .neighbors-section {
    padding-block: 54px;
  }
  .neighbor-layout {
    gap: 34px;
  }
  .neighbor-copy h2 {
    font-size: 36px;
  }
  .neighbor-copy > p:not(.eyebrow) {
    max-width: 430px;
  }
  .neighbor-storefronts {
    margin: 25px 0 20px;
  }
  .neighbor-storefronts img {
    height: 165px;
  }
  .neighbor-category-rule h3 {
    font-size: 21px;
  }
  .neighbor-category-rule p {
    font-size: 12px;
  }
  .neighbor-category-rule > .icon {
    width: 23px;
    height: 23px;
  }
  .app-wallet-example .app-example-content {
    padding: 16px;
  }
  .app-wallet-example .app-reward-group {
    padding: 17px;
  }
  .app-wallet-example .neighbor-offer {
    padding: 16px;
  }
  .app-wallet-example .neighbor-offer h4 {
    font-size: 25px;
  }
}
@media (max-width: 370px) {
  .neighbor-storefronts img {
    height: 138px;
  }
  .neighbor-category-rule h3 {
    font-size: 20px;
  }
  .app-wallet-example .app-example-content {
    padding: 13px;
  }
  .app-wallet-example .app-reward-group {
    padding: 14px;
  }
  .app-wallet-example .neighbor-offer {
    padding: 14px;
  }
  .app-wallet-example .neighbor-offer h4 {
    font-size: 23px;
  }
  .app-wallet-example .app-reveal h3 {
    font-size: 21px;
  }
  .app-wallet-example .offer-save-button,
  .app-wallet-example .offer-swap-button {
    padding-inline: 9px;
    font-size: 11px;
  }
  .app-wallet-example .app-saved-reward {
    padding: 13px;
  }
  .app-wallet-example .app-saved-reward h4 {
    font-size: 21px;
  }
}
