.home-platforms {
  position: relative;
  width: 1920px;
  height: 1119px;
  margin-inline: auto;
  background: #fff;
  overflow: hidden;
}

.home-pl__title {
  position: absolute;
  top: 125px;
  left: 754px;
  width: 406px;
  margin: 0;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: 48px;
  letter-spacing: -0.96px;
  line-height: 57.6px;
  text-align: center;
  color: #000;
}

.home-pl__grid {
  position: absolute;
  top: 314px;
  left: 392px;
  display: flex;
  flex-wrap: wrap;
  width: 1136px;
  gap: 16px;
}

.home-pl__card {
  display: flex;
  align-items: center;
  gap: 25px;
  width: 549px;
  height: 100px;
  padding: 40px;
  box-sizing: border-box;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(90deg, #fbfafe 0%, #eff3ff 100%);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.home-pl__card--telegram {
  box-shadow: 0 0 15px rgba(94, 76, 224, 0.15);
}

.home-pl__card:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 3px;
}

.home-pl__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.home-pl__icon--max {
  height: 38px;
}

.home-pl__icon--svg {
  filter: grayscale(1) brightness(0);
}

.home-pl__icon--pixelfed {
  filter: grayscale(1);
}

.home-pl__label {
  flex: 1;
  margin: 0;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 36.4px;
  letter-spacing: 0;
  text-align: center;
  color: #000;
}

@media (max-width: 1679px) {
  .home-platforms {
    width: 1440px;
    height: 1119px;
    zoom: calc(100cqw / 1440px);
    margin-inline: 0;
    margin-bottom: 0;
  }

  .home-pl__title {
    top: 125px;
    left: 514px;
    width: 406px;
    height: 68px;
    font-size: 40px;
    letter-spacing: -0.8px;
    line-height: 1.2;
  }

  .home-pl__grid {
    top: 314px;
    left: 163px;
    width: 1136px;
    gap: 16px;
  }

  .home-pl__card--telegram {
    box-shadow: 0 0 7.5px rgba(94, 76, 224, 0.15);
  }

  .home-pl__icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
  }

  .home-pl__icon--max {
    height: 28px;
  }

  .home-pl__label {
    font-size: 24px;
    line-height: 1.3;
  }
}

@media (max-width: 1023px) and (min-width: 750px) {
  .home-platforms {
    width: 100%;
    height: auto;
    aspect-ratio: 768 / 935;
    zoom: unset;
    margin-inline: 0;
    margin-bottom: 0;
    overflow: hidden;
    container-type: inline-size;
    container-name: home-platforms;
  }

  .home-pl__title {
    top: calc(69 / 935 * 100%);
    left: 50%;
    transform: translateX(-50%);
    width: calc(258 / 768 * 100%);
    height: auto;
    font-size: 3.906cqi;
    letter-spacing: -0.078cqi;
    line-height: 1.2;
  }

  .home-pl__grid {
    top: calc(186 / 935 * 100%);
    left: calc(45 / 768 * 100%);
    width: calc(678 / 768 * 100%);
    gap: calc(16 / 768 * 100cqi);
  }

  .home-pl__card {
    width: calc(331 / 678 * 100%);
    height: calc(100 / 768 * 100cqi);
    gap: calc(25 / 768 * 100cqi);
    padding: calc(35 / 768 * 100cqi) calc(40 / 768 * 100cqi);
    border-radius: calc(15 / 768 * 100cqi);
  }

  .home-pl__card--telegram {
    box-shadow: 0 0 calc(7.5 / 768 * 100cqi) rgba(94, 76, 224, 0.15);
  }

  .home-pl__icon {
    flex: 0 0 calc(30 / 768 * 100cqi);
    width: calc(30 / 768 * 100cqi);
    height: calc(30 / 768 * 100cqi);
  }

  .home-pl__icon--max {
    height: calc(28 / 768 * 100cqi);
  }

  .home-pl__label {
    font-size: 2.608cqi;
    line-height: 1.3;
  }
}

@media (max-width: 749px) {
  .home-platforms {
    width: 100%;
    height: auto;
    aspect-ratio: 360 / 1348;
    zoom: unset;
    margin-inline: 0;
    margin-bottom: 0;
    overflow: hidden;
    container-type: inline-size;
    container-name: home-platforms;
  }

  .home-pl__title {
    top: calc(39 / 1348 * 100%);
    left: 50%;
    transform: translateX(-50%);
    width: calc(258 / 360 * 100%);
    height: auto;
    font-size: 6.111cqi;
    letter-spacing: -0.122cqi;
    line-height: 1.2;
  }

  .home-pl__grid {
    top: calc(113 / 1348 * 100%);
    left: calc(20 / 360 * 100%);
    width: calc(320 / 360 * 100%);
    gap: calc(16 / 360 * 100cqi);
  }

  .home-pl__card {
    width: 100%;
    height: calc(85 / 360 * 100cqi);
    gap: calc(25 / 360 * 100cqi);
    padding: 0 calc(40 / 360 * 100cqi);
    border-radius: calc(15 / 360 * 100cqi);
    background: linear-gradient(180deg, #fbfafe 0%, #eff3ff 100%);
  }

  .home-pl__card--telegram {
    box-shadow: 0 0 calc(7.5 / 360 * 100cqi) rgba(94, 76, 224, 0.15);
  }

  .home-pl__icon {
    flex: 0 0 calc(30 / 360 * 100cqi);
    width: calc(30 / 360 * 100cqi);
    height: calc(30 / 360 * 100cqi);
  }

  .home-pl__icon--max {
    height: calc(28 / 360 * 100cqi);
  }

  .home-pl__label {
    font-size: 4.444cqi;
    line-height: 1.3;
  }
}
