img.app-icon-small {
  width: 44px;
  /* height: 44px; */
  border-radius: 20%;
}

.app-store-badge {
  width: 200px;
}

.iPhone {
  max-width: 270px;
}

.horizontal-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.horizontal-scroll .row{
  display: inline-block;
}

.horizontal-scroll .horizontal-scroll-box {
  display: inline-block;
  float: none;
  max-width: 270px;
}

.shimmer {
  color: grey;
  display:inline-block;
  -webkit-mask:linear-gradient(-60deg,#000 30%,#0005,#000 70%) right/300% 100%;
  mask:linear-gradient(-60deg,#000 30%,#0005,#000 70%) right/300% 100%;
  background-repeat: no-repeat;
  animation: shimmer 7.5s infinite;
  border-radius: 10px;
}

@keyframes shimmer {
  33% {
    -webkit-mask-position:left;
    mask-position:left;
  }
  100% {
    -webkit-mask-position:left;
    mask-position:left;
  }
}

/* Comfortable reading width for text-heavy pages */
.reading-width {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Alternating section backgrounds for visual rhythm */
.section-shaded {
  background-color: rgba(75, 60, 180, 0.06);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

@media (min-width: 768px) {
  .section-shaded {
    padding: 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
  }
}

/* Guide heading spacing */
.guide-layout h2 {
  margin-top: 2rem;
}

.guide-layout .section-shaded h2:first-child {
  margin-top: 0;
}

.guide-layout h3 {
  margin-top: 1.5rem;
}

/* Guide nav pills */
.guide-nav-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 0.75rem;
  padding: 0;
}

@media (max-width: 576px) {
  .guide-nav-pills {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-nav-pills .guide-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #2d2b7c;
  background-color: rgba(45, 43, 124, 0.08);
  border-radius: 50rem;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.guide-nav-pills .guide-pill:hover,
.guide-nav-pills .guide-pill:focus {
  background-color: rgba(45, 43, 124, 0.18);
  color: #2d2b7c;
  text-decoration: none;
}

/* Offset anchor scroll for fixed navbar (70px) plus breathing room */
.guide-layout h2[id] {
  scroll-margin-top: 85px;
}
