#app.showcase,
.app-page .app-compact {
  padding-block: clamp(24px, 3.3vw, 50px);
}

#app .app-grid {
  align-items: center;
  gap: clamp(16px, 4vw, 62px);
}

#app .app-shots {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-self: center;
  min-width: 0;
  width: 100%;
  max-width: 490px;
  justify-self: center;
}

.app-device-pair {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 1.45vw, 20px);
  min-width: 0;
}

.app-device-pair-dark {
  grid-template-columns: minmax(0, 1fr) minmax(0, 4fr);
}

.app-device-pair figure {
  min-width: 0;
  margin: 0;
}

.app-device-pair .screen-frame {
  border-width: 2px;
  border-radius: 8px;
  box-shadow: 0 8px 20px #06141326;
  overflow: visible;
}

.app-device-pair .screen-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.app-device-pair .app-device-phone {
  width: 100%;
  max-width: 96px;
  justify-self: center;
}

.app-device-pair .app-device-wide {
  width: 100%;
  max-width: 470px;
  justify-self: center;
}

#app .app-device-wide {
  max-width: 320px;
}

#app .app-device-phone {
  max-width: 63px;
}

.app-device-pair figcaption {
  margin: 6px 0 0;
  font-size: .75rem;
  line-height: 1.25;
  text-align: center;
}

#app .app-device-pair figcaption {
  color: #45564f;
}

.app-page .app-compact .app-feature-grid {
  gap: clamp(14px, 4vw, 60px);
}

.paces-lockup {
  --pacers-purple: #c00073;
  --pacers-turquoise: #9ff8dc;
  width: 100%;
  max-width: 470px;
  min-width: 0;
  margin-inline: auto;
  text-align: center;
  color: #f4f4ed;
}

.app-page .paces-lockup .paces-brand-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9em;
  font-size: clamp(.62rem, 1.15vw, .91rem);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.paces-brand-label span {
  height: 1px;
  width: clamp(15px, 2.5vw, 34px);
  background: var(--pacers-purple);
}

.paces-brand-label span:last-child {
  background: var(--pacers-turquoise);
}

.paces-wordmark {
  display: flex;
  justify-content: center;
  margin: .065em 0 .09em;
  font: 700 clamp(3rem, 7.3vw, 6.15rem)/.9 var(--display);
  letter-spacing: -.045em;
}

.paces-wordmark-pac { color: var(--pacers-purple); }
.paces-wordmark-ers { color: var(--pacers-turquoise); }

.paces-route-mark {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 39%;
  height: 10px;
  margin: 0 auto .24rem;
}

.paces-route-mark::before {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: var(--pacers-turquoise);
  opacity: .5;
}

.paces-route-mark span,
.paces-tier-dot {
  display: block;
  border-radius: 50%;
}

.paces-route-mark span {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--pacers-turquoise);
}

.paces-route-mark span:nth-child(odd),
.paces-tier-dot-purple { background: var(--pacers-purple); }

.app-page .paces-lockup .paces-tiers-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(4px, .85vw, 12px);
  margin: 0;
  white-space: nowrap;
  font-size: clamp(.65rem, 1.13vw, .95rem);
  font-weight: 700;
  letter-spacing: .085em;
}

.paces-tier-dot {
  width: .43em;
  height: .43em;
  flex: 0 0 .43em;
}

.paces-tier-dot-turquoise { background: var(--pacers-turquoise); }

@media (max-width: 760px) {
  #app .app-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #app .app-device-wide {
    max-width: 215px;
  }

  #app .app-device-phone {
    max-width: 52px;
  }

  .app-page .app-device-wide {
    max-width: 290px;
  }

  .app-page .app-device-phone {
    max-width: 64px;
  }

  .app-page .app-devices .device-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-page .app-devices .device-cards article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  #app .app-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }

  #app .app-device-pair {
    gap: 5px;
  }

  #app .app-device-pair figcaption {
    font-size: .625rem;
  }

  .app-page .app-compact h2 {
    font-size: clamp(1.55rem, 6vw, 1.85rem);
  }

  .app-page .app-compact p {
    font-size: .94rem;
  }

  .app-page .app-compact .kicker {
    font-size: .7rem;
    margin-bottom: .55rem;
  }

  .app-page .app-compact .app-feature-grid > div > p:not(.kicker) {
    margin-bottom: .6rem;
  }

  .app-page .app-compact .app-text-links {
    margin-top: .8rem;
    gap: .4rem .9rem;
    font-size: .85rem;
  }

  .app-page .app-device-wide {
    max-width: 220px;
  }

  .app-page .app-device-phone {
    max-width: 53px;
  }

  .app-page .app-paces .paces-brand-label {
    font-size: .64rem;
  }

  .app-page .app-paces .paces-tiers-caption {
    font-size: clamp(.56rem, 2.7vw, .77rem);
    margin-bottom: 0;
  }
}
