/* Website examples follow the current customer and merchant components.
   This stylesheet is scoped to the review illustrations, never the app. */
.app-icon,
.app-party {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
/* The confetti cone beside "Congrats!", coloured as the app's is
   (reward-reveal.css): a green cone filled lime with orange stripes, its
   bits in the category inks. The symbol's parts take these through <use>. */
.app-party {
  --party-cone: #376745;
  --party-cone-fill: #d8eba2;
  --party-stripes: #ee5f35;
  --party-bit-a: #ee5f35;
  --party-bit-b: #2b5671;
  --party-bit-c: #7a3552;
  --party-dot-a: #6a5520;
}
.party-cone-fill {
  fill: var(--party-cone-fill, none);
  stroke: none;
}
.party-cone {
  stroke: var(--party-cone, currentColor);
}
.party-stripes {
  stroke: var(--party-stripes, currentColor);
}
.party-bit-a {
  stroke: var(--party-bit-a, currentColor);
}
.party-bit-b {
  stroke: var(--party-bit-b, currentColor);
}
.party-bit-c {
  stroke: var(--party-bit-c, currentColor);
}
.party-dot-a {
  stroke: var(--party-dot-a, currentColor);
}
@media (forced-colors: active) {
  .app-party {
    --party-cone-fill: none;
    --party-cone: CanvasText;
    --party-stripes: CanvasText;
    --party-bit-a: CanvasText;
    --party-bit-b: CanvasText;
    --party-bit-c: CanvasText;
    --party-dot-a: CanvasText;
  }
}
.app-wordmark {
  display: block;
  width: 92px;
  height: auto;
}
.app-loyalty {
  padding: 23px;
  border-radius: 15px;
  background: var(--forest);
  color: #fff8e8;
  text-align: left;
}
.app-card-name {
  display: block;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.app-card-prize {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #cfe0cc;
}
.app-stamps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: start;
  gap: 11px;
  margin: 20px 0;
}
.app-stamp {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  aspect-ratio: 1;
  border: 1px dashed #90ae97;
  border-radius: 50%;
  color: #a7c7ab;
  font: 26px var(--font-sans);
  line-height: 1;
}
.app-stamp.is-filled {
  border: 0;
}
.app-stamp svg {
  display: block;
  width: 42px;
  height: 42px;
  fill: var(--clem);
  stroke: #fff;
  stroke-width: 6px;
}
.app-card-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #ffffff20;
  padding-top: 14px;
  font-size: 10px;
  color: #d8e6d2;
}
.app-card-progress b {
  font-weight: 600;
  color: #fff8e8;
}
.app-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 99px;
  background: linear-gradient(165deg, #45634a, #1d3f28 55%, #193723);
  color: var(--lime);
  box-shadow:
    inset 0 1px 1px #ffffff60,
    0 2px 0 #14301d,
    0 4px 7px #14301d24;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.app-badge.is-new {
  background: linear-gradient(165deg, #ff9b7c, var(--clem) 55%, #e25f3c);
  box-shadow:
    inset 0 1px 1px #fff9,
    0 2px 0 #ba593c,
    0 4px 7px #14301d24;
  color: var(--bark);
}
.app-mini-business {
  color: #376745;
  font-size: 12px;
  font-weight: 600;
}
.app-mini-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}
.app-mini-actions > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #a6cbae;
  border-radius: 6px;
  padding: 8px 10px;
  color: #215332;
  font-size: 12px;
  font-weight: 600;
}
.app-mini-actions > span:first-child {
  background: var(--clem);
  border-color: var(--clem);
  color: var(--bark);
  justify-content: space-between;
}
.app-mini-actions b {
  font: inherit;
}
.app-mini-actions .app-icon {
  width: 15px;
  height: 15px;
}
.app-visit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #e2efdf;
  color: #335b3b;
  font-size: 12px;
}
.app-visit .app-icon {
  width: 16px;
  height: 16px;
}
.app-dock {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 8px 10px 11px;
  border-top: 1px solid #e5e3d5;
  background: #fffefcf5;
  box-shadow: 0 -6px 24px #14301d0a;
}
.app-destination {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #5e7163;
}
.app-destination i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 27px;
  border-radius: 99px;
  font-style: normal;
}
.app-destination small {
  font-size: 10px;
  font-weight: 600;
}
.app-destination.is-active {
  color: var(--forest);
}
.app-destination.is-active i {
  background: linear-gradient(165deg, #e6f3c6, var(--lime) 55%, #c3d692);
  box-shadow:
    inset 0 1px 1px #ffffffd9,
    inset 0 -1px 1px #14301d1f,
    0 2px 0 #a6ba80,
    0 4px 7px #14301d24;
}
.app-destination .app-icon {
  width: 20px;
  height: 20px;
}
/* A responsive composition of real wallet structures, with presentation depth. */
.hero-figure {
  align-self: center;
}
.hero-art.app-scene {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 550 / 730;
  width: 100%;
  margin: 0;
}
.app-scene-glow {
  position: absolute;
  inset: 11% -1% 8%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #d8eba2a1,
    #d8eba224 62%,
    transparent 74%
  );
}
.app-phone {
  position: absolute;
  top: 0;
  right: 2%;
  width: 59%;
  height: 97%;
  padding: 6px;
  border: 1px solid #44624d;
  border-radius: 40px;
  background: #25412c;
  box-shadow:
    inset 0 0 0 2px #ffffff1f,
    0 30px 44px -22px #14301d66,
    10px 8px 0 -3px #1d3f281a;
  overflow: hidden;
}
.app-device-top {
  position: absolute;
  inset: 8px 10px auto;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  z-index: 2;
  color: var(--forest);
  font-size: 9px;
  font-weight: 700;
}
.app-device-island {
  width: 66px;
  height: 17px;
  border-radius: 99px;
  background: var(--bark);
}
.app-phone-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  border-radius: 33px;
  overflow: hidden;
  background: var(--cream);
}
.app-phone-brand {
  padding: 13px 17px;
  border-bottom: 1px solid #e5e3d5;
}
.app-phone-brand .app-wordmark {
  width: 17cqw;
  max-width: 93px;
}
.app-phone-content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 16px;
}
.app-phone .app-visit {
  padding: 9px;
  gap: 4px;
  font-size: 1.65cqw;
}
.app-phone .app-visit .app-icon {
  width: 2.4cqw;
  height: 2.4cqw;
}
.app-screen-title {
  display: block;
  margin: 17px 0 13px;
  font: 600 4.3cqw/1.2 var(--font-display);
  letter-spacing: -0.02em;
}
.app-wallet-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.app-wallet-stats > span {
  display: grid;
  gap: 5px;
  padding: 10px 4px;
  text-align: center;
  border: 1px solid #e5e3d5;
  border-radius: 12px;
  background: #fffefc;
}
.app-wallet-stats small {
  font-size: 1.65cqw;
  color: #5e7163;
}
.app-wallet-stats b {
  font: 600 3.6cqw/1.1 var(--font-display);
}
.app-phone .app-loyalty {
  padding: 17px;
  border-radius: 13px;
}
.app-phone .app-card-name {
  font-size: 3.9cqw;
}
.app-phone .app-card-prize {
  font-size: 1.8cqw;
  margin-top: 5px;
}
.app-phone .app-stamps {
  margin: 16px 0;
  gap: 8px;
}
.app-phone .app-stamp {
  width: 6.1cqw;
  height: 6.1cqw;
  font-size: 4.2cqw;
}
.app-phone .app-card-progress {
  font-size: 1.4cqw;
  padding-top: 10px;
}
.app-phone .app-dock {
  position: relative;
  z-index: 2;
  flex: none;
  padding: 6px 6px 11px;
}
.app-phone .app-destination {
  gap: 2px;
}
.app-phone .app-destination i {
  width: 6.6cqw;
  height: 4.2cqw;
}
.app-phone .app-destination small {
  font-size: 1.5cqw;
}
.app-phone .app-destination .app-icon {
  width: 3.3cqw;
  height: 3.3cqw;
}
.app-second-card {
  display: grid;
  gap: 5px;
  padding: 16px;
  margin-top: 13px;
  border-radius: 12px;
  background: #596b46;
  color: #fff8e8;
}
.app-second-card > span {
  font: 500 3.3cqw var(--font-display);
}
.app-second-card small {
  font-size: 1.6cqw;
}
.app-floating-reward {
  position: absolute;
  z-index: 3;
  left: -8%;
  top: 29%;
  width: 51%;
  padding: 22px;
  border: 2px solid var(--forest);
  border-radius: 18px;
  background: #faf5ea;
  box-shadow:
    0 22px 34px -18px #14301d66,
    0 4px 0 #1d3f280d;
  transform: rotate(-5deg);
}
.app-float-lead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
}
.app-float-lead .app-party {
  width: 24px;
  height: 24px;
  color: #497555;
}
.app-float-lead > strong {
  font: 600 4.3cqw var(--font-display);
  letter-spacing: -0.02em;
}
.app-floating-reward .app-badge {
  font-size: 1.8cqw;
  padding: 3px 8px;
  margin-right: 5px;
}
.app-floating-reward .app-mini-business {
  font-size: 2cqw;
}
.app-float-title {
  display: block;
  margin: 13px 0;
  font: 600 4.8cqw/1.15 var(--font-display);
  letter-spacing: -0.015em;
}
.app-floating-reward p {
  margin-bottom: 14px;
  color: #58755f;
  font-size: 1.6cqw;
}
.app-floating-reward .app-mini-actions > span {
  font-size: 1.9cqw;
  padding: 10px 8px;
}
.app-floating-reward .app-mini-actions .app-icon {
  width: 2.5cqw;
  height: 2.5cqw;
}
/* The walkthrough uses the same card hierarchy at a smaller scale. */
.journey-art {
  height: 190px;
  margin-bottom: 12px;
}
.tiny-card.app-mini-loyalty {
  padding: 0;
  width: 204px;
  background: transparent;
  box-shadow: 0 12px 18px -10px #14301d55;
}
.app-mini-loyalty .app-loyalty {
  padding: 15px;
  border-radius: 12px;
}
.app-mini-loyalty .app-card-name {
  font-size: 16px;
}
.app-mini-loyalty .app-card-prize {
  font-size: 9px;
  margin-top: 4px;
}
.app-mini-loyalty .app-stamps {
  margin: 11px 0;
  gap: 6px;
}
.app-mini-loyalty .app-stamp {
  width: 23px;
  height: 23px;
  font-size: 16px;
}
.app-mini-loyalty .app-card-progress {
  font-size: 7px;
  padding-top: 8px;
}
.tiny-offer.app-mini-neighbor {
  display: block;
  width: 198px;
  padding: 14px;
  border: 1.5px solid var(--forest);
  background: #fffefc;
  border-radius: 12px;
  box-shadow: 0 12px 18px -10px #14301d55;
}
.tiny-offer.app-mini-neighbor .app-badge {
  font-size: 7px;
  letter-spacing: 0;
  padding: 2px 6px;
  margin-right: 3px;
}
.app-mini-neighbor .app-mini-business {
  font-size: 8px;
}
.app-mini-neighbor > strong {
  display: block;
  margin: 11px 0;
  font: 600 19px/1.15 var(--font-display);
  letter-spacing: -0.015em;
}
.app-mini-neighbor .app-mini-actions {
  gap: 5px;
}
.app-mini-neighbor .app-mini-actions > span {
  font-size: 8px;
  padding: 7px;
  border-radius: 5px;
}
.app-mini-neighbor .app-mini-actions b {
  font: inherit;
}
.app-mini-neighbor .app-mini-actions .app-icon {
  width: 11px;
  height: 11px;
}
.redemption-mark.app-mini-redemption {
  display: grid;
  gap: 7px;
  width: 194px;
  height: auto;
  padding: 16px;
  border: 1px solid #bfd7b8;
  border-radius: 13px;
  background: #fffefc;
  text-align: left;
  transform: rotate(-4deg);
  box-shadow: 0 12px 18px -10px #14301d44;
}
.app-mini-redeem-top {
  display: flex;
  align-items: center;
  gap: 6px;
}
.app-mini-redeem-top .app-icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--lime);
}
.app-mini-redeem-top strong {
  font-size: 11px;
}
.redemption-mark.app-mini-redemption > span {
  font-size: 9px;
  color: var(--moss);
  line-height: 1.4;
}
.app-mini-redemption > b {
  font: 600 17px/1.2 var(--font-display);
}
.redemption-mark.app-mini-redemption > small {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0;
  border-top: 1px solid var(--line);
  margin-top: 3px;
  padding-top: 8px;
  color: var(--moss);
}
.app-mini-redemption small i {
  font-style: normal;
  color: #376745;
}
/* Interactive Home and Rewards examples. */
.neighbor-layout {
  grid-template-columns: 0.92fr 1.08fr;
  gap: 60px;
}
.reward-demo.app-wallet-example {
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #aab7a3;
  border-radius: 25px;
  background: var(--cream);
  box-shadow:
    0 24px 48px -28px #14301d66,
    0 5px 0 #1d3f280a;
}
.app-example-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e3d5;
  background: #fbf7ef;
}
.app-example-header > span {
  font-size: 12px;
  color: #5e7163;
}
.app-example-content {
  padding: 22px;
}
.app-example-content > .app-visit {
  margin-bottom: 22px;
}
.app-reward-group {
  border: 2px solid var(--forest);
  border-radius: 15px;
  padding: 22px;
  background: #faf5ea;
}
.app-reveal {
  margin-bottom: 20px;
}
.app-reveal .app-party {
  display: block;
  margin-bottom: 12px;
  width: 28px;
  height: 28px;
  color: #497555;
}
.app-reveal > strong {
  display: block;
  margin-bottom: 6px;
  font: 600 34px/1.1 var(--font-display);
  letter-spacing: -0.02em;
}
.app-reveal h3 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.app-reveal h3 > span {
  font-weight: 600;
}
.app-wallet-example .neighbor-offer {
  padding: 20px;
  border: 1px solid #e3e0cf;
  border-radius: 14px;
  background: #fffefc;
}
.app-wallet-example .offer-top {
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 13px;
  align-items: center;
}
.app-wallet-example .offer-choice {
  font-size: 11px;
  padding: 3px 10px;
}
.app-wallet-example .offer-business {
  margin: 0;
  color: #376745;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.app-wallet-example .neighbor-offer h4 {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.app-wallet-example .offer-terms {
  font-size: 12px;
  color: #58755f;
  margin-top: 12px;
}
.app-use-by {
  font-size: 11px;
  color: #58755f;
  margin-top: 12px;
}
.app-use-by strong {
  font-weight: 600;
  color: #245835;
}
.app-wallet-example .offer-actions {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 18px;
}
.app-wallet-example .offer-save-button,
.app-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--clem);
  color: var(--bark);
  font-size: 14px;
  font-weight: 600;
  gap: 12px;
}
.app-wallet-example .offer-save-button:hover,
.app-primary:hover {
  background: #ff805e;
}
.app-wallet-example .offer-save-button > span {
  font-size: 19px;
}
.app-wallet-example .offer-swap-button {
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid #a6cbae;
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  gap: 6px;
  color: #215332;
}
.app-wallet-example .offer-swap-button .app-icon {
  width: 16px;
  height: 16px;
}
.app-wallet-example .offer-swap-button:hover:not(:disabled) {
  background: #f7f0e0;
}
.app-wallet-example button:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}
.app-wallet-example button:disabled {
  opacity: 0.55;
}
.app-swap-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
}
.app-wallet-example .swap-hint {
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #376745;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.app-wallet-example .swap-hint:not(:empty) {
  margin-top: 12px;
}
.app-saved-state {
  padding: 25px 0;
}
.app-saved-state > .app-icon {
  width: 35px;
  height: 35px;
  margin-bottom: 20px;
  color: #519766;
}
.app-saved-state h3 {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.app-saved-state p {
  margin: 13px 0 24px;
  font-size: 14px;
  color: #66846d;
}
.app-saved-state .app-primary {
  width: 100%;
  justify-content: center;
}
.app-example-rewards {
  padding: 10px 0 28px;
}
.app-example-rewards > h3 {
  margin-bottom: 20px;
  font-size: 28px;
}
.app-saved-reward {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid #e5e3d5;
  border-radius: 15px;
  background: #fffefc;
}
.app-saved-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  background: #f3f0eb;
  border-radius: 50%;
  font: 600 22px var(--font-display);
}
.app-saved-reward small {
  font-size: 9px;
  color: #376745;
}
.app-saved-reward h4 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 8px 0;
}
.app-saved-reward p {
  font-size: 11px;
  color: #58755f;
}
.app-back {
  margin-top: 20px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid;
  background: none;
  font-size: 13px;
  color: #376745;
}
/* The same merchant Overview: segmented navigation, impact, visits, programs. */
.business-layout {
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: center;
}
.dashboard.app-merchant-example {
  padding: 0;
  overflow: hidden;
  border: 1px solid #aab7a3;
  border-radius: 24px;
  background: var(--cream);
  box-shadow:
    0 24px 48px -28px #14301d66,
    0 5px 0 #1d3f280a;
}
.app-merchant-example .app-example-header {
  padding: 17px 20px;
}
.app-merchant-content {
  padding: 23px;
}
.app-merchant-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.app-merchant-heading p {
  font-size: 10px;
  color: #5d6e61;
  margin-bottom: 8px;
}
.app-merchant-heading h3 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.app-counter-action {
  display: flex;
  align-items: center;
  flex: none;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 30px;
  background: var(--clem);
  color: var(--bark);
  font-size: 10px;
  font-weight: 600;
}
.app-counter-action .app-icon {
  width: 16px;
  height: 16px;
}
.app-merchant-tabs {
  display: flex;
  gap: 2px;
  justify-content: space-between;
  padding: 4px;
  border: 1px solid #e6e4d7;
  border-radius: 10px;
  background: #f5f1e7;
  margin-bottom: 16px;
}
.app-merchant-tabs > * {
  padding: 7px 9px;
  font-size: 10px;
  color: #506555;
  font-weight: 400;
}
.app-merchant-tabs > b {
  border: 1px solid #e5e3d5;
  border-radius: 7px;
  background: #fffefc;
  color: var(--forest);
  font-weight: 700;
  box-shadow: 0 2px 4px #1d3f2808;
}
.app-range {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 7px;
  background: #f3eee4;
  margin-bottom: 16px;
}
.app-range > * {
  padding: 6px 15px;
  font-size: 9px;
  color: #506555;
  font-weight: 400;
}
.app-range > b {
  border-radius: 5px;
  background: #fffefc;
  color: var(--forest);
  font-weight: 700;
  box-shadow: 0 1px 4px #14301d12;
}
.app-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.app-impact {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid #c6e0c0;
  border-radius: 16px;
  background: #def0da;
}
.app-impact.is-loyalty {
  background: #c7e5c1;
  border-color: #bcdab5;
}
.app-impact > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  padding-right: 24px;
}
.app-impact > .app-icon {
  position: absolute;
  right: 15px;
  top: 18px;
  width: 23px;
  height: 23px;
  color: #366644;
}
.app-impact > strong {
  display: block;
  margin: 17px 0 12px;
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.app-impact > small {
  display: block;
  color: #45634d;
  font-size: 10px;
  line-height: 1.4;
}
.app-insight {
  padding: 18px;
  border: 1px solid #e6e4d6;
  border-radius: 15px;
  background: #fffefc;
}
.app-insight-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.app-insight-heading strong,
.app-programs-heading strong {
  font: 600 17px var(--font-display);
  letter-spacing: -0.02em;
}
.app-insight-heading > span {
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #29603b;
}
.app-visit-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 16px;
}
.app-visit-stats > span {
  display: grid;
  gap: 5px;
}
.app-visit-stats b {
  font: 500 27px/1 var(--font-sans);
}
.app-visit-stats small {
  font-size: 9px;
  color: #536b59;
}
.app-visit-bar {
  height: 7px;
  border-radius: 20px;
  background: #efe9dc;
  overflow: hidden;
}
.app-visit-bar span {
  display: block;
  width: 56.25%;
  height: 100%;
  border-radius: inherit;
  background: #58986a;
}
.app-insight > small {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  color: #5c7261;
}
.app-programs-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 21px 0 12px;
}
.app-programs-heading small {
  font-size: 9px;
  color: #5c7261;
}
.app-programs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.app-programs > div {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #d8dec9;
  border-radius: 13px;
  background: #fffefc;
}
.app-programs > div:nth-child(2) {
  background: #f0f4e8;
}
.app-programs .app-icon {
  width: 24px;
  height: 24px;
  color: #467451;
}
.app-programs b {
  font: 600 16px/1.2 var(--font-display);
  letter-spacing: -0.015em;
}
.app-programs p {
  font-size: 10px;
  color: #5c7261;
}
.app-programs small {
  font-size: 9px;
  color: #29603b;
}
.app-program-status {
  position: absolute;
  top: 14px;
  right: 12px;
  padding: 2px 6px;
  border-radius: 99px;
  background: #e0edcf;
  color: #416348;
  font-size: 8px;
}
@media (max-width: 1050px) and (min-width: 761px) {
  .hero {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .hero-art.app-scene {
    width: 100%;
  }
  .app-phone {
    border-radius: 32px;
  }
  .app-phone-screen {
    border-radius: 26px;
  }
  .app-phone-content {
    padding: 12px;
  }
  .app-screen-title {
    margin: 12px 0 10px;
  }
  .app-wallet-stats {
    gap: 5px;
    margin-bottom: 12px;
  }
  .app-wallet-stats > span {
    padding: 7px 3px;
  }
  .app-phone .app-loyalty {
    padding: 13px;
  }
  .app-phone .app-stamps {
    margin: 12px 0;
  }
  .app-floating-reward {
    padding: 16px;
  }
  .app-float-lead {
    margin-bottom: 12px;
  }
  .app-float-title {
    margin: 10px 0;
  }
  .app-floating-reward .app-mini-actions > span {
    padding: 8px 6px;
  }
  .neighbor-layout {
    gap: 32px;
  }
  .app-example-content {
    padding: 15px;
  }
  .app-reward-group {
    padding: 17px;
  }
  .app-wallet-example .neighbor-offer {
    padding: 16px;
  }
  .app-wallet-example .neighbor-offer h4 {
    font-size: 24px;
  }
  .app-wallet-example .offer-save-button,
  .app-wallet-example .offer-swap-button {
    font-size: 12px;
    padding-inline: 10px;
  }
  .business-layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 26px;
  }
  .app-merchant-content {
    padding: 17px;
  }
  .app-merchant-tabs > * {
    padding-inline: 6px;
    font-size: 9px;
  }
  .app-merchant-heading h3 {
    font-size: 23px;
  }
  .app-counter-action {
    padding: 9px;
    font-size: 9px;
  }
  .app-impact {
    padding: 14px;
  }
}
@media (max-width: 760px) {
  .hero-figure {
    width: min(480px, 100%);
    padding: 8px 0 0;
  }
  .hero-art.app-scene {
    width: 100%;
    aspect-ratio: 550/730;
    margin: 0;
  }
  .app-phone {
    padding: 4px;
    border-radius: 29px;
  }
  .app-device-top {
    top: 6px;
    height: 17px;
    padding-inline: 9px;
    font-size: 6px;
  }
  .app-device-island {
    width: 43px;
    height: 12px;
  }
  .app-phone-screen {
    border-radius: 24px;
    padding-top: 20px;
  }
  .app-phone-brand {
    padding: 9px 12px;
  }
  .app-phone-content {
    padding: 11px;
  }
  .app-phone .app-visit {
    padding: 7px;
    border-radius: 5px;
  }
  .app-screen-title {
    margin: 12px 0 9px;
  }
  .app-wallet-stats {
    gap: 5px;
    margin-bottom: 13px;
  }
  .app-wallet-stats > span {
    padding: 7px 3px;
    border-radius: 8px;
    gap: 4px;
  }
  .app-phone .app-loyalty {
    padding: 12px;
    border-radius: 9px;
  }
  .app-phone .app-stamps {
    margin: 12px 0;
    gap: 6px;
  }
  .app-phone .app-card-progress {
    padding-top: 8px;
  }
  .app-second-card {
    margin-top: 9px;
    padding: 12px;
    border-radius: 8px;
  }
  .app-phone .app-dock {
    padding-bottom: 8px;
  }
  .app-floating-reward {
    padding: 14px;
    border-radius: 13px;
  }
  .app-float-lead {
    margin-bottom: 12px;
    gap: 6px;
  }
  .app-float-lead .app-party {
    width: 17px;
    height: 17px;
  }
  .app-floating-reward .app-badge {
    padding: 2px 6px;
  }
  .app-float-title {
    margin: 10px 0;
  }
  .app-floating-reward p {
    margin-bottom: 10px;
  }
  .app-floating-reward .app-mini-actions {
    gap: 5px;
  }
  .app-floating-reward .app-mini-actions > span {
    padding: 8px 5px;
    border-radius: 4px;
  }
  .journey-art {
    height: 166px;
  }
  .tiny-card.app-mini-loyalty {
    width: 185px;
    max-width: 100%;
  }
  .tiny-offer.app-mini-neighbor {
    width: 185px;
    max-width: 100%;
    padding: 12px;
  }
  .app-mini-loyalty .app-loyalty {
    padding: 13px;
  }
  .app-mini-loyalty .app-card-name {
    font-size: 15px;
  }
  .app-mini-loyalty .app-stamp {
    width: 21px;
    height: 21px;
  }
  .app-mini-loyalty .app-stamps {
    gap: 5px;
    margin: 9px 0;
  }
  .app-mini-neighbor > strong {
    font-size: 18px;
    margin: 9px 0;
  }
  .redemption-mark.app-mini-redemption {
    width: 183px;
    max-width: 100%;
    padding: 14px;
  }
  .neighbor-layout {
    display: block;
  }
  .reward-demo.app-wallet-example {
    margin-top: 32px;
    border-radius: 20px;
  }
  .app-example-header {
    padding: 17px 19px;
  }
  .app-example-header .app-wordmark {
    width: 84px;
  }
  .app-example-header > span {
    font-size: 11px;
  }
  .app-example-content {
    padding: 18px;
  }
  .app-example-content > .app-visit {
    margin-bottom: 18px;
    padding: 10px;
    font-size: 11px;
  }
  .app-reward-group {
    padding: 18px;
  }
  .app-reveal > strong {
    font-size: 32px;
  }
  .app-reveal h3 {
    font-size: 23px;
  }
  .app-wallet-example .neighbor-offer {
    padding: 17px;
  }
  .app-wallet-example .offer-choice {
    font-size: 10px;
  }
  .app-wallet-example .offer-business {
    font-size: 12px;
  }
  .app-wallet-example .neighbor-offer h4 {
    font-size: 25px;
  }
  .app-wallet-example .offer-actions {
    gap: 8px;
  }
  .app-wallet-example .offer-save-button,
  .app-wallet-example .offer-swap-button {
    font-size: 13px;
    padding: 11px 13px;
    gap: 5px;
  }
  .app-destination i {
    width: 40px;
  }
  .app-swap-footer {
    font-size: 14px;
  }
  .business-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .dashboard.app-merchant-example {
    width: 100%;
    border-radius: 20px;
  }
  .app-merchant-example .app-example-header {
    padding: 17px 18px;
  }
  .app-merchant-content {
    padding: 18px;
  }
  .app-merchant-heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }
  .app-merchant-heading h3 {
    font-size: 25px;
  }
  .app-merchant-heading p {
    font-size: 9px;
  }
  .app-counter-action {
    font-size: 9px;
    padding: 9px;
    gap: 4px;
  }
  .app-counter-action .app-icon {
    width: 14px;
    height: 14px;
  }
  .app-merchant-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
  }
  .app-merchant-tabs > * {
    text-align: center;
    font-size: 10px;
    padding: 7px 5px;
  }
  .app-range {
    display: flex;
    justify-content: space-between;
  }
  .app-range > * {
    font-size: 9px;
    padding: 6px 10px;
  }
  .app-impact-grid {
    gap: 10px;
  }
  .app-impact {
    padding: 14px;
    border-radius: 13px;
  }
  .app-impact > span {
    font-size: 11px;
    padding-right: 0;
  }
  .app-impact > .app-icon {
    display: none;
  }
  .app-impact > strong {
    font-size: 42px;
    margin: 16px 0 11px;
  }
  .app-impact > small {
    font-size: 9px;
  }
  .app-insight {
    padding: 16px;
  }
  .app-insight-heading strong,
  .app-programs-heading strong {
    font-size: 16px;
  }
  .app-visit-stats b {
    font-size: 25px;
  }
  .app-visit-stats small {
    font-size: 9px;
  }
  .app-programs-heading small {
    max-width: 100px;
    text-align: right;
    line-height: 1.3;
  }
  .app-programs {
    gap: 10px;
  }
  .app-programs > div {
    padding: 13px;
    gap: 8px;
  }
  .app-programs b {
    font-size: 15px;
  }
  .app-program-status {
    top: 12px;
    right: 9px;
  }
}
@media (max-width: 370px) {
  .app-example-content {
    padding: 13px;
  }
  .app-reward-group {
    padding: 14px;
  }
  .app-wallet-example .neighbor-offer {
    padding: 14px;
  }
  .app-wallet-example .offer-actions {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .app-wallet-example .offer-save-button,
  .app-wallet-example .offer-swap-button {
    font-size: 11px;
    padding-inline: 9px;
  }
  .app-wallet-example .offer-save-button > span {
    font-size: 15px;
  }
  .app-wallet-example .neighbor-offer h4 {
    font-size: 23px;
  }
  .app-reveal h3 {
    font-size: 21px;
  }
  .app-reveal > strong {
    font-size: 30px;
  }
  .app-merchant-content {
    padding: 14px;
  }
  .app-merchant-heading {
    flex-direction: column;
  }
  .app-counter-action {
    font-size: 10px;
  }
  .app-impact {
    padding: 11px;
  }
  .app-insight-heading strong {
    font-size: 14px;
  }
  .app-programs > div {
    padding: 12px;
  }
  .app-programs b {
    font-size: 14px;
  }
  .app-phone-content {
    padding: 9px;
  }
  .app-phone .app-visit {
    padding: 5px;
  }
  .app-screen-title {
    margin: 10px 0 7px;
  }
  .app-wallet-stats {
    margin-bottom: 10px;
    gap: 4px;
  }
  .app-wallet-stats > span {
    padding: 5px 2px;
    gap: 3px;
  }
  .app-phone .app-loyalty {
    padding: 9px;
  }
  .app-phone .app-stamps {
    gap: 5px;
    margin: 10px 0;
  }
  .app-floating-reward {
    padding: 12px;
  }
  .app-float-lead {
    margin-bottom: 8px;
  }
  .app-floating-reward .app-mini-actions > span {
    padding: 7px 4px;
  }
}

.app-phone .app-stamp svg {
  width: 6.1cqw;
  height: 6.1cqw;
}
.app-mini-loyalty .app-stamp svg {
  width: 23px;
  height: 23px;
}
@media (max-width: 760px) {
  .app-floating-reward {
    left: 0;
    width: 51%;
    top: 27%;
  }
  .app-mini-loyalty .app-loyalty {
    padding: 10px;
  }
  .app-mini-loyalty .app-card-name {
    font-size: 13px;
  }
  .app-mini-loyalty .app-card-prize {
    font-size: 8px;
  }
  .app-mini-loyalty .app-stamp,
  .app-mini-loyalty .app-stamp svg {
    width: 17px;
    height: 17px;
  }
  .app-mini-loyalty .app-stamps {
    gap: 4px;
  }
  .app-mini-loyalty .app-card-progress {
    font-size: 6px;
    gap: 3px;
  }
  .tiny-offer.app-mini-neighbor {
    padding: 10px;
  }
  .app-mini-neighbor > strong {
    font-size: 16px;
  }
  .app-mini-neighbor .app-mini-actions > span {
    font-size: 6.5px;
    padding: 6px 4px;
    gap: 2px;
  }
  .app-mini-neighbor .app-mini-actions .app-icon {
    width: 9px;
    height: 9px;
  }
  .redemption-mark.app-mini-redemption {
    padding: 11px;
  }
  .app-mini-redeem-top strong {
    font-size: 9px;
  }
  .app-mini-redeem-top .app-icon {
    width: 21px;
    height: 21px;
  }
  .app-mini-redemption > b {
    font-size: 15px;
  }
}
/* How it works: Visit & tap is the shared first step; below it, stamp cards
   and nearby rewards are two separate groups, so neither reads as a step of
   the other. The cards, illustrations and descriptions are unchanged. */
.journey-subheading {
  max-width: 600px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.journey-intro {
  max-width: 600px;
  margin: 8px 0 4px;
  color: var(--moss);
  font-size: 17px;
  line-height: 1.5;
}
/* Bobbin's control sits under the introduction and only starts the tour. */
.journey-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 20px;
  margin-top: 16px;
}
.journey-start {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 380px);
  justify-content: center;
  column-gap: 32px;
  align-items: center;
}
.journey-start .journey-art {
  height: 150px;
  margin-bottom: 0;
}
.journey-group {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e7e5d9;
  border-radius: 20px;
  background: #efede2;
}
.journey-group.is-nearby {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.journey-group-title {
  grid-column: 1 / -1;
  padding: 2px 6px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
/* Captions beneath the neighbor reward phone and the merchant dashboard. */
.reward-preview-figure {
  justify-self: center;
  width: 390px;
  max-width: 100%;
}
.dashboard-figure {
  min-width: 0;
}
.preview-caption {
  margin-top: 14px;
  color: #376745;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.dashboard-figure .preview-caption {
  padding-inline: 4px;
  text-align: left;
}
.journey-step,
.journey-art,
.journey-art > [data-app-preview] {
  min-width: 0;
}
.journey-art > [data-app-preview] {
  max-width: 100%;
}
@media (max-width: 760px) {
  .journey-subheading {
    font-size: 21px;
  }
  .journey-intro {
    margin: 6px 0 2px;
    font-size: 15px;
  }
  .journey-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 14px;
  }
  .journey-start {
    column-gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .journey-start .journey-art {
    height: 116px;
  }
  .journey-group {
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
  }
  .journey-group-title {
    padding: 2px 4px 0;
    font-size: 17px;
  }
}
@media (max-width: 370px) {
  /* Keeps each nearby-reward card's inner width where the 2×2 grid had it. */
  .journey-group {
    gap: 8px;
    padding: 6px;
  }
  .journey-group-title {
    padding: 4px 6px 0;
  }
  .journey-group .journey-step {
    padding-inline: 8px;
  }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .hero-art.app-scene {
    aspect-ratio: 550 / 750;
  }
}
