/* RevoGram's runtime technologies, presented as two rows of brand tiles. */
.core-stack-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 3.6vw, 58px);
  padding-block: 80px;
}
.core-stack-logos {
  min-width: 0;
  padding-block: 8px;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
}
.core-stack-row {
  display: grid;
  grid-template-columns: 1.12fr 1fr 0.94fr;
  gap: 14px;
  padding: 0 12px;
  margin: 0;
  list-style: none;
}
.core-stack-row + .core-stack-row {
  grid-template-columns: 0.85fr 1.1fr 1.1fr;
  padding-left: 28px;
  padding-right: 0;
  margin-top: 14px;
}
.core-stack-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 104px;
  padding: 20px 12px;
  border: 1px solid #dedde3;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #f3f2f6;
  color: #242424;
}
.core-stack-tile img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}
.core-stack-tile strong {
  display: block;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.3;
  white-space: nowrap;
}
.core-stack-tile small {
  display: block;
  color: #6a6572;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 5px;
  white-space: nowrap;
}
.core-stack-copy h2 {
  font:
    600 clamp(26px, 2.4vw, 34px)/1.2 "Open Sans",
    Arial,
    sans-serif;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.core-stack-copy p {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.core-stack-copy .text-link {
  font-size: 18px;
}
.core-stack-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.core-stack-details .inner-stack-icon img {
  width: 36px;
  height: 36px;
}
html[data-theme="dark"] .core-stack-details .inner-stack-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
}
@media (max-width: 1199px) and (min-width: 540px) {
  .core-stack-section {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 28px;
  }
  .core-stack-row {
    gap: 10px;
    padding-inline: 8px;
  }
  .core-stack-row + .core-stack-row {
    margin-top: 10px;
    padding-left: 18px;
  }
  .core-stack-tile {
    flex-direction: column;
    gap: 7px;
    padding: 15px 6px;
    border-radius: 20px;
  }
  .core-stack-tile strong {
    font-size: 19px;
    text-align: center;
  }
  .core-stack-tile small {
    margin-top: 3px;
    text-align: center;
  }
  .core-stack-copy p {
    font-size: 17px;
  }
}
@media (max-width: 844px) {
  .core-stack-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 54px;
  }
  .core-stack-copy {
    grid-row: 1;
    max-width: 650px;
  }
  .core-stack-logos {
    width: 100%;
    max-width: 700px;
    margin-inline: auto;
  }
  .core-stack-tile strong {
    font-size: 23px;
  }
  .core-stack-tile small {
    font-size: 11px;
  }
  .core-stack-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 539px) {
  .core-stack-section {
    padding: 42px 24px;
    gap: 25px;
  }
  .core-stack-copy h2 {
    font-size: 28px;
  }
  .core-stack-copy p {
    font-size: 17px;
  }
  .core-stack-copy .text-link {
    font-size: 17px;
  }
  .core-stack-logos {
    mask-image: none;
    padding: 0;
  }
  .core-stack-row,
  .core-stack-row + .core-stack-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
    gap: 9px;
  }
  .core-stack-row + .core-stack-row {
    margin-top: 9px;
  }
  .core-stack-tile {
    flex-direction: column;
    gap: 9px;
    padding: 16px 5px;
    min-height: 115px;
    border-radius: 18px;
  }
  .core-stack-tile img {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
  .core-stack-tile strong {
    font-size: 16px;
    text-align: center;
  }
  .core-stack-tile small {
    font-size: 9px;
    white-space: normal;
    text-align: center;
    min-height: 27px;
  }
  .core-stack-details {
    grid-template-columns: 1fr;
  }
}

.core-stack-websocket strong { font-size: clamp(16px, 1.4vw, 22px); }
