/* Applications page: three app columns on the dark section. Logical properties only. */

.apps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-7);
  max-width: 440px;
  margin-inline: auto;
  padding: 0;
  list-style: none;
}
@media (min-width: 1024px) {
  .apps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: var(--sp-5); }
}

.apps-col { display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; }
.apps-col__heading { text-align: center; }
.apps-col__name {
  color: var(--gold-500);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.apps-col__audience { color: var(--text-on-dark); font-size: 1.05rem; margin-block-start: 4px; }

.apps-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  border: 1px solid rgba(245, 179, 53, 0.45);
  border-radius: var(--r-lg);
  min-width: 0;
}

.apps-card__head { display: flex; align-items: center; gap: 14px; }
.apps-card__tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--ink-950);
  color: var(--gold-500);
  box-shadow: var(--sh-sm);
}
.apps-card__falcon { width: 62px; height: 62px; object-fit: contain; }
.apps-card__headline { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.35; }
.apps-card__brand { display: flex; flex-direction: column; line-height: 1.3; }
.apps-card__brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.apps-card__brand-aud { color: var(--text-2); font-size: 1rem; }

.apps-card__phones { display: flex; justify-content: center; padding-block: var(--sp-2); }
.apps-card__phones .phone--md { --phone-w: 180px; }
.apps-card__phones .phone--sm { --phone-w: 132px; }
.apps-card__phones--pair .phone + .phone { margin-inline-start: -40px; margin-block-start: 48px; }
@media (max-width: 359px) {
  .apps-card__phones .phone--md { --phone-w: 156px; }
  .apps-card__phones .phone--sm { --phone-w: 116px; }
}

.apps-card__foot { margin-block-start: auto; display: flex; flex-direction: column; gap: var(--sp-4); }
.apps-card__text { font-size: 1.05rem; }
.apps-card__cta { align-self: stretch; justify-content: center; }
.apps-card__badges { flex-direction: column; align-items: stretch; }
.apps-card__badges .store-badge { justify-content: center; }
.apps-card__caption {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.apps-card__footnote { text-align: center; color: var(--text-2); font-size: 0.95rem; }
