.app-store-links {
  margin-top: 2rem;
}

.app-store-links__title {
  margin: 0 0 .45rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.app-store-links__intro {
  margin: 0 0 1.15rem;
  max-width: 38rem;
  color: #54545a;
}

.app-store-links__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

/* The Piplio intro is centred; keep its download call-to-action on the same axis. */
.hero .app-store-links {
  margin-top: 2.25rem;
  text-align: center;
}

.hero .app-store-links__badges {
  justify-content: center;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  min-width: 11.5rem;
  min-height: 3.65rem;
  padding: .55rem 1.05rem;
  gap: .75rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: .85rem;
  background: linear-gradient(135deg, rgba(44, 44, 50, .98), rgba(19, 19, 23, .98));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 .45rem 1.15rem rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.app-store-badge:hover,
.app-store-badge:focus-visible {
  color: #fff;
  border-color: rgba(151, 126, 255, .9);
  background: linear-gradient(135deg, #332a60, #191724);
  transform: translateY(-3px);
  box-shadow: 0 .8rem 1.7rem rgba(0, 0, 0, .28), 0 0 1.4rem rgba(125, 97, 255, .25);
}

.app-store-badge:focus-visible {
  outline: 3px solid #6aa9ff;
  outline-offset: 3px;
}

.app-store-badge__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.app-store-badge__eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.app-store-badge__name {
  margin-top: .14rem;
  font-size: 1.16rem;
  font-weight: 650;
  letter-spacing: -.02em;
}

.app-store-badge__apple-mark {
  width: 1.55rem;
  height: 1.75rem;
  color: #fff;
  flex: 0 0 auto;
}

.app-store-badge__play-mark {
  position: relative;
  width: 1.5rem;
  height: 1.7rem;
  overflow: hidden;
  clip-path: polygon(8% 0, 100% 50%, 8% 100%);
  background: linear-gradient(145deg, #00d9ff 0 34%, #4cd964 34% 53%, #ffd60a 53% 70%, #ff453a 70% 100%);
}

@media (max-width: 480px) {
  .app-store-links__badges {
    display: grid;
  }

  .app-store-badge {
    justify-content: center;
    width: 100%;
  }
}
