.ns-work-platforms {
  width: min(960px, 92%);
  margin: 0 auto;
  padding: 92px 0 100px;
  border-top: 1px solid #050000;
  color: #050000;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
  gap: 52px;
  align-items: center;
}

.ns-work-platforms * {
  box-sizing: border-box;
}

.ns-work-platforms-kicker {
  margin: 0 0 16px;
  font-family: "Inter Variable", "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  color: #68645d;
  text-transform: uppercase;
}

.ns-work-platforms-title {
  margin: 0;
  font-family: "Roboto Condensed", "Roboto Condensed Placeholder", sans-serif;
  font-size: 54px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.ns-work-platforms-copy {
  margin: 22px 0 0;
  max-width: 650px;
  font-family: "Catamaran", "Catamaran Placeholder", sans-serif;
  font-size: 22px;
  line-height: 1.35;
}

.ns-work-platform-panel {
  position: relative;
  min-height: 354px;
  border: 1px solid #050000;
  border-radius: 30px;
  background: #dce8d0;
  overflow: hidden;
}

.ns-work-platform-panel::before {
  content: "";
  position: absolute;
  right: -68px;
  bottom: -74px;
  width: 208px;
  height: 208px;
  border-radius: 999px;
  background: #c9d8f6;
}

.ns-work-platform-panel::after {
  content: "";
  position: absolute;
  left: -50px;
  top: -58px;
  width: 150px;
  height: 150px;
  border-radius: 30px;
  background: #efb9b3;
}

.ns-work-platform-card {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(154px, 48%, 206px);
  min-height: 134px;
  padding: 26px;
  border: 1px solid #050000;
  border-radius: 30px;
  background: #fff8ee;
  box-shadow: 12px 12px 0 rgba(96, 85, 55, 0.15);
}

.ns-work-platform-card img {
  display: block;
  width: 100%;
  max-height: 78px;
  object-fit: contain;
}

.ns-work-platform-google {
  top: 28px;
  left: 24px;
  z-index: 3;
}

.ns-work-platform-meta {
  top: 92px;
  right: 18px;
  z-index: 4;
  background: #dce7f8;
}

.ns-work-platform-meta img {
  max-height: 64px;
}

.ns-work-platform-tiktok {
  bottom: 30px;
  left: 92px;
  z-index: 3;
  background: #e7f1df;
}

.ns-work-platform-tiktok img {
  max-height: 82px;
}

.ns-work-platforms--build .ns-work-platform-panel::before {
  right: -68px;
  bottom: -74px;
  width: 208px;
  height: 208px;
  background: #c7dcf3;
}

.ns-work-platforms--build .ns-work-platform-panel::after {
  left: -50px;
  top: -58px;
  width: 150px;
  height: 150px;
  border-radius: 30px;
  background: #f1c7b7;
}

.ns-work-platforms--build .ns-work-platform-panel {
  background: #e7dff1;
}

.ns-work-platforms--build > div:first-child {
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
  min-width: 0;
  text-align: left;
}

.ns-work-platforms--build > .ns-work-platform-panel {
  grid-column: 1;
  grid-row: 1;
}

.ns-work-platforms--build .ns-work-platforms-copy {
  margin: 22px 0 0;
}

.ns-work-platform-xcode {
  top: 30px;
  left: 28px;
  z-index: 4;
  width: clamp(148px, 44%, 190px);
  height: 126px;
  min-height: 126px;
  padding: 12px;
  background: #dce9f8;
}

.ns-work-platform-android-studio {
  top: 82px;
  right: 22px;
  z-index: 5;
  width: clamp(148px, 44%, 190px);
  min-height: 126px;
  background: #f6ead8;
}

.ns-work-platform-apple {
  bottom: 30px;
  left: 48px;
  z-index: 3;
  width: clamp(116px, 32%, 148px);
  min-height: 116px;
  background: #f2dde6;
}

.ns-work-platform-android {
  right: 46px;
  bottom: 30px;
  z-index: 4;
  width: clamp(116px, 32%, 148px);
  min-height: 116px;
  background: #dceede;
}

.ns-work-platform-xcode img {
  max-height: 102px;
}

.ns-work-platform-android-studio img,
.ns-work-platform-android img {
  max-height: 72px;
}

.ns-work-platform-apple img {
  max-height: 72px;
}

@media (max-width: 809.98px) {
  .ns-work-platforms {
    width: min(350px, 90%);
    padding: 68px 0 76px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .ns-work-platforms-title {
    font-size: 40px;
  }

  .ns-work-platforms-copy {
    font-size: 20px;
  }

  .ns-work-platforms--build > div:first-child,
  .ns-work-platforms--build > .ns-work-platform-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .ns-work-platforms--build > div:first-child {
    justify-self: stretch;
    text-align: left;
  }

  .ns-work-platforms--build .ns-work-platforms-copy {
    margin: 22px 0 0;
  }

  .ns-work-platform-panel {
    display: grid;
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }

  .ns-work-platform-panel::before,
  .ns-work-platform-panel::after {
    display: none;
  }

  .ns-work-platform-card {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 114px;
    padding: 24px;
    box-shadow: none;
  }

  .ns-work-platforms:first-of-type {
    margin-top: max(140px, calc(100vh - 590px));
  }
}
