/* ===== compare.css — competitor comparison table ===== */

.table-wrap {
  margin-top: 36px;
  width: min(1240px, 94vw);
  margin-left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.compare th,
.compare td {
  text-align: center;
  padding: 13px 16px;
  vertical-align: middle;
}
.compare thead th {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-alt);
  padding-top: 12px;
  padding-bottom: 12px;
  width: 16%;
}
.compare thead th:first-child {
  width: 36%;
}
.compare thead th.ours {
  color: var(--ink);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.compare thead th.ours .th-logo {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin: 0 auto 6px;
}
.compare tbody tr + tr {
  border-top: 1px solid var(--rule-soft);
}
.compare tbody th[scope="row"] {
  font-weight: 500;
  width: 48%;
  padding: 14px 24px;
  text-align: left;
}
.compare tbody td {
  width: 13%;
  font-size: 18px;
  color: var(--ink-soft);
}
.compare tbody td.ours {
  background: rgba(47, 58, 74, 0.035);
}
.feat-name {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
}
.feat-desc {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.4;
}

/* status circles */
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.status svg {
  width: 22px;
  height: 22px;
}
.status-yes {
  background: #1f8a4f;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(31, 138, 79, 0.08);
}
.status-partial {
  background: rgba(212, 160, 23, 0.55);
  color: #fff;
  font-weight: 300;
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.06);
  padding-top: 1.5px;
}
.status-no {
  background: transparent;
  color: var(--ink-mute);
  font-size: 18px;
  font-weight: 400;
}

@media (max-width: 800px) {
  .table-wrap {
    overflow-x: auto;
  }
  .compare {
    min-width: 560px;
  }
  .compare th,
  .compare td {
    padding: 12px 6px;
  }
  .compare thead th:first-child {
    width: 185px;
  }
  .compare tbody th[scope="row"] {
    width: 185px;
    padding: 14px 14px;
  }
  .compare thead th {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .compare thead th.ours .th-logo {
    width: 18px;
    height: 18px;
    margin-bottom: 4px;
  }
  .status {
    width: 24px;
    height: 24px;
  }
  .status svg {
    width: 15px;
    height: 15px;
  }
  .status-no,
  .status-partial {
    font-size: 14px;
  }
}
