.cap-table {
  background: #161C27;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  max-width: 1024px;
  margin: 0 auto;
  padding: 40px 0;
}

.cap-header,
.cap-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
}

.cap-header {
  align-items: end;
  padding-bottom: 16px;
}

.cap-label {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
  padding: 0 24px 8px;
  align-self: end;
}

.cap-col-head {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 0%;
  text-align: center;
  color: white;
  padding: 0 12px 8px;
  align-self: end;
}

.cap-col-head.logo-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 0;
  background: transparent !important;
}

.logo-img {
  width: 130px;
  height: auto;
  display: block;
  margin-bottom: -4px;
}

.cap-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  padding: 18px 24px;
  color: #DCE1E8;
  display: flex;
  align-items: center;
}

.cap-cell {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
}

.cap-row:nth-child(even) .cap-name,
.cap-row:nth-child(even) .cap-cell {
  background: #232B3B;
}

.highlight-col {
  background: #2DD4A7 !important;
  color: #0a2e22;
  font-weight: 500;
}

.highlight-col .ck {
  color: #0a2e22;
}

.na {
  color: #8B95A7;
}

.limited {
  color: whyite;
}

.limited .ck {
}

.full-green {
  background: #2DD4A7 !important;
  color: #0a2e22;
  font-weight: 500;
}

.full-green .ck {
  color: #0a2e22;
}

.ck {
  font-size: 16px;
  flex-shrink: 0;
}

/* Desktop: approximately 440px for capability names in a 1024px table. */
@media (min-width: 1025px) {
  .cap-header,
  .cap-row {
    grid-template-columns: minmax(0, 43fr) repeat(3, minmax(0, 19fr));
  }
}

@media (max-width: 767px) {
  .cap-table {
    padding: 0;
  }

  .cap-header,
  .cap-row {
    grid-template-columns: 1fr 80px;
  }

  .cap-col-head:not(.logo-head),
  .cap-cell.na,
  .cap-cell.limited,
  .cap-cell.full-green {
    display: none;
  }

  .cap-cell.full .ck {
    font-size: 18px;
  }

  .cap-cell.full {
    font-size: 0;
  }

  .cap-cell.full .ck {
    font-size: 18px;
  }

  .logo-img {
    width: 100px;
  }

  .cap-name {
    font-size: 14px;
    padding: 16px 16px;
  }
}
