.hero .app-buttons:has(.hero-rating) {
  align-items: center;
  flex-wrap: wrap;
  column-gap: clamp(12px, 2vw, 24px);
  row-gap: 10px;
}

.hero .app-buttons:has(.hero-rating) > a {
  flex: none;
}

.hero-rating {
  display: grid;
  flex: 0 1 auto;
  gap: 3px;
  max-inline-size: 100%;
  min-inline-size: min(8em, 100%);
  text-align: start;
  font: 500 0.8125rem/1.25 var(--font-body);
  color: #d9d3e7;
}

.hero-rating__stars {
  position: relative;
  width: max-content;
  font: 1.1rem/1 system-ui, sans-serif;
  letter-spacing: 0.125em;
  white-space: nowrap;
  color: #655774;
}

.hero-rating__stars::after {
  content: '★★★★★';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--hero-rating-fill);
  overflow: hidden;
  color: #ffd464;
}

.hero-rating strong {
  color: var(--color-light);
  font-weight: 700;
}
