.apps {
  padding-bottom: 170px;
}

.section-head {
  align-items: flex-start;
  margin-bottom: 70px;
}

.collection-intro {
  width: min(360px, 100%);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin: 4px 0 0;
}

.platform {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 40px;
  overflow: hidden;
  isolation: isolate;
}

.platform::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.platform::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .12;
  z-index: -1;
  pointer-events: none;
}

.ios-platform::before {
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(111,99,255,.025) 55%, transparent);
}

.ios-platform::after {
  background: #8a78ff;
  inset-inline-end: -220px;
  top: -280px;
}

.android-platform {
  margin-top: 34px;
}

.android-platform::before {
  background: linear-gradient(145deg, rgba(185,255,102,.06), rgba(255,255,255,.02) 55%, transparent);
}

.android-platform::after {
  background: #83e849;
  inset-inline-start: -220px;
  bottom: -330px;
}

.platform-head {
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 28px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.platform-title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.platform-symbol {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 17px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 35px rgba(0,0,0,.22);
}

.apple-symbol {
  background: linear-gradient(145deg, #fff, #bfc2ca);
  color: #17191f;
}

.android-symbol {
  background: linear-gradient(145deg, #c5ff7b, #5eac2f);
  color: #17300b;
}

.platform-kicker {
  display: block;
  color: #777b84;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.platform-title h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -.035em;
}

.platform-count {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8b8e96;
  font-size: 11px;
}

.platform-count b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.platform-grid .app-card {
  min-height: 415px;
  background: rgba(8, 10, 14, .48);
  border-color: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
}

.platform-grid .app-card:hover {
  background: rgba(16, 18, 24, .72);
}

.ios-grid .app-card:first-child {
  grid-column: span 2;
  min-height: 365px;
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 34px;
}

.ios-grid .app-card:first-child .card-copy {
  margin-top: 4px;
  max-width: 640px;
}

.ios-grid .app-card:first-child .card-copy h3 {
  font-size: 45px;
}

.ios-grid .app-card:first-child .badges {
  grid-column: 2;
}

.ios-grid .app-card:first-child .app-icon {
  width: 120px;
  height: 120px;
  border-radius: 30px;
}

.android-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.android-grid .app-card {
  min-height: 390px;
}

@media (max-width: 820px) {
  .apps {
    padding-bottom: 100px;
  }

  .section-head {
    margin-bottom: 42px;
  }

  .collection-intro {
    width: 100%;
  }

  .platform {
    padding: 20px;
    border-radius: 28px;
  }

  .platform-head {
    min-height: 80px;
    padding-bottom: 20px;
    margin-bottom: 18px;
  }

  .platform-symbol {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .platform-title {
    gap: 12px;
  }

  .platform-title h3 {
    font-size: 22px;
  }

  .platform-count span {
    display: none;
  }

  .platform-grid,
  .android-grid {
    grid-template-columns: 1fr;
  }

  .ios-grid .app-card:first-child {
    grid-column: auto;
    min-height: 425px;
    display: flex;
  }

  .ios-grid .app-card:first-child .app-icon {
    width: 92px;
    height: 92px;
    border-radius: 23px;
  }

  .ios-grid .app-card:first-child .card-copy {
    margin-top: 34px;
  }

  .ios-grid .app-card:first-child .card-copy h3 {
    font-size: 31px;
  }

  .ios-grid .app-card:first-child .badges {
    grid-column: auto;
  }

  .android-platform {
    margin-top: 22px;
  }
}

@media (max-width: 380px) {
  .platform {
    padding: 16px;
    border-radius: 24px;
  }

  .platform-count b {
    width: 32px;
    height: 32px;
  }
}
