:root {
  --tb-text: #2f3747;
  --tb-muted: #7d8592;
  --tb-line: #cfd4db;
  --tb-line-strong: #aeb4bd;
  --tb-head: #2b3444;
  --tb-accent: #cf2b1e;
  --tb-bg: #ffffff;
  --tb-alt: #f7f8fa;
  --tb-radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.disto-comparison {
  margin: 24px 0;
}

.disto-comparison__intro h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.1;
  color: var(--tb-text);
}

.disto-comparison__intro p {
  margin: 0 0 16px;
  font-size: 15px;
  color: #5f6672;
}

.comparison-table-wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius);
  background: var(--tb-bg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  color: var(--tb-text);
  background: var(--tb-bg);
}

/* només fixem les 2 primeres columnes */
.comparison-table col.col-section {
  width: 15%;
}

.comparison-table col.col-feature {
  width: 30%;
}

/* la resta s'expandeixen soles */
.comparison-table th,
.comparison-table td {
  padding: 5px 6px;
  border: 1px solid var(--tb-line);
  vertical-align: middle;
  background: var(--tb-bg);
}

.comparison-table thead th {
  background: var(--tb-head);
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  white-space: normal;
}

.comparison-table thead th.col-group,
.comparison-table thead th.col-feature {
  text-align: left;
}

.comparison-table tbody th[scope="rowgroup"] {
  color: var(--tb-accent);
  font-weight: 700;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
}

.comparison-table tbody th[scope="row"] {
  font-weight: 400;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}

.comparison-table tbody td {
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

.comparison-table tbody tr:nth-child(even) td,
.comparison-table tbody tr:nth-child(even) th[scope="row"] {
  background: var(--tb-alt);
}

.comparison-table tbody tr.section-row > * {
  border-top: 2px solid var(--tb-line-strong);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  vertical-align: middle;
}

/* OK = VERDE */
.dot--yes {
  background: #28a745; /* verde claro */
}

/* NO = GRIS */
.dot--no {
  background: #b0b7c3; /* gris suave */
}

.cell-note {
  margin-left: 1px;
  font-weight: 700;
  color: var(--tb-text);
  font-size: 11px;
}

.comparison-notes {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.35;
  color: #5f6672;
}

@media (min-width: 1100px) {
  .comparison-table {
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 6px 7px;
  }
}

@media (max-width: 900px) {
  .comparison-table {
    font-size: 11px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 4px 5px;
  }

  .comparison-table col.col-section {
    width: 16%;
  }

  .comparison-table col.col-feature {
    width: 32%;
  }

  .comparison-notes {
    font-size: 10px;
  }
}