.specs-table {
  width: 100%;
  padding: 64px 0;
  background: var(--color-bg);
}

.specs-table__inner {
  box-sizing: border-box;
  max-width: 1344px;
  margin: 0 auto;
  padding: 0 48px;
}

.specs-table__title {
  margin: 0 0 40px;
  color: var(--color-text-strong);
  font-size: 40px;
  line-height: 100%;
  font-weight: 600;
  text-align: center;
}

.specs-table__scroll {
  overflow-x: auto;
  border-radius: 24px;
  background: var(--color-surface);
  padding: 8px;
  -webkit-overflow-scrolling: touch;
}

.specs-table__table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 22px;
}

.specs-table__table thead th {
  position: sticky;
  top: 0;
  background: var(--color-surface);
  color: var(--color-text-strong);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-align: left;
  padding: 16px 20px;
  border-bottom: 2px solid var(--color-dark);
  z-index: 1;
}

.specs-table__table thead th:first-child {
  left: 0;
  z-index: 2;
}

.specs-table__table tbody th,
.specs-table__table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(37, 39, 40, 0.08);
  color: var(--color-text-body);
  vertical-align: top;
  text-align: left;
  font-weight: 400;
}

.specs-table__table tbody th[scope="row"] {
  font-weight: 500;
  color: var(--color-text-strong);
  background: var(--color-surface);
}

.specs-table__table tbody tr:nth-child(even) td,
.specs-table__table tbody tr:nth-child(even) th[scope="row"] {
  background: #fff;
}

.specs-table__diff-row td:nth-child(3) {
  color: var(--color-text-strong);
  font-weight: 600;
}

.specs-table__group th {
  padding: 14px 20px 8px;
  color: var(--color-text-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: transparent;
  border-bottom: none;
}

.specs-table__group:first-child th {
  padding-top: 4px;
}

.specs-table__footnote {
  margin: 24px 0 0;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 18px;
}

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

  .specs-table__inner {
    padding: 0 16px;
  }

  .specs-table__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .specs-table__scroll {
    border-radius: 16px;
  }

  .specs-table__table {
    font-size: 13px;
    line-height: 18px;
  }

  .specs-table__table thead th,
  .specs-table__table tbody th,
  .specs-table__table tbody td {
    padding: 12px 14px;
  }

  .specs-table__table thead th:first-child,
  .specs-table__table tbody th[scope="row"] {
    position: sticky;
    left: 0;
    min-width: 148px;
    box-shadow: 1px 0 0 rgba(37, 39, 40, 0.08);
  }
}
