.compare-hero .lede {
  max-width: 76ch;
}
.compare-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2rem;
  border: 1px solid #cccccc;
  border-bottom: 2px solid #000000;
}
.compare-hero-card {
  display: block;
  padding: 2rem;
  border-right: 1px solid #cccccc;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.compare-hero-card:hover,
.compare-hero-card:focus-visible {
  background: #e8edf3;
  box-shadow: inset 0 -3px 0 #1a3556;
  outline: none;
}
.compare-hero-card:focus-visible {
  box-shadow: inset 0 0 0 2px #1a3556;
}
.compare-hero-card:last-child {
  border-right: none;
}
.compare-label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a3556;
}
.compare-hero-grid strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.compare-hero-grid p {
  margin: 0;
  color: #555555;
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.7;
}
@media (max-width: 860px) {
  .compare-hero-grid {
    grid-template-columns: 1fr;
  }
  .compare-hero-card {
    border-right: none;
    border-bottom: 1px solid #cccccc;
  }
  .compare-hero-card:last-child {
    border-bottom: none;
  }
}
.compare-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
}
.compare-fit-grid--two {
  grid-template-columns: repeat(2, 1fr);
}
.compare-fit {
  padding: 2rem;
  background: #ffffff;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}
.compare-fit h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.compare-fit p {
  margin: 0 0 1rem;
  color: #555555;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}
.compare-fit p:last-child {
  margin-bottom: 0;
}
#companions .compare-fit .btn {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
}
#companions .compare-fit .btn + .btn {
  margin-top: 0.5rem;
}
@media (max-width: 860px) {
  .compare-fit-grid,
  .compare-fit-grid--two {
    grid-template-columns: 1fr;
  }
}
.feature-table-wrap.compare-table-wrap,
.feature-table-wrap.compare-intellij-table-wrap {
  max-width: 100%;
  overflow: visible;
}
.compare-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}
.compare-table thead,
.compare-intellij-table thead {
  position: sticky;
  top: 54px;
  z-index: 15;
}
.compare-table thead th,
.compare-intellij-table thead th {
  position: relative;
  z-index: 1;
}
.compare-table thead th {
  background: #ffffff;
}
.compare-table thead th:first-child {
  min-width: 0;
}
.compare-table tbody td {
  vertical-align: top;
  line-height: 1.55;
}
.compare-table tbody tr:not(.feat-group) td:first-child {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
  color: #1a3556;
  min-width: 0;
}
.compare-table tbody tr:not(.feat-group) td:nth-child(2),
.compare-table tbody tr:not(.feat-group) td:nth-child(3),
.compare-table tbody tr:not(.feat-group) td:nth-child(4),
.compare-table tbody tr:not(.feat-group) td:nth-child(5),
.compare-table tbody tr:not(.feat-group) td:nth-child(6) {
  min-width: 0;
}
.compare-table thead th:nth-child(2) {
  background: #2a7050;
  color: #ffffff;
}
.compare-table tbody tr:not(.feat-group) td:nth-child(2) {
  background: #d8ede4;
  border-left: 2px solid #2a7050;
}
.compare-table tbody tr:not(.feat-group) td:nth-child(2) a {
  color: #2a7050;
  border-bottom-color: rgba(42, 112, 80, 0.4);
}
.compare-table tbody tr:not(.feat-group) td:nth-child(2) a:hover {
  color: #1f523b;
  border-bottom-color: currentColor;
}
.compare-table tbody tr:not(.feat-group):hover td {
  background: #e8edf3;
}
.compare-table tbody tr:not(.feat-group):hover td:nth-child(2) {
  background: #d8ede4;
}
@media (max-width: 1100px) {
  .feature-table-wrap.compare-table-wrap,
  .feature-table-wrap.compare-intellij-table-wrap {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
  .compare-table {
    min-width: 1320px;
    table-layout: auto;
  }
  .compare-table thead,
  .compare-intellij-table thead {
    position: static;
  }
  .compare-table thead th:first-child {
    min-width: 220px;
  }
  .compare-table tbody tr:not(.feat-group) td:first-child {
    min-width: 180px;
  }
  .compare-table tbody tr:not(.feat-group) td:nth-child(2),
  .compare-table tbody tr:not(.feat-group) td:nth-child(3),
  .compare-table tbody tr:not(.feat-group) td:nth-child(4),
  .compare-table tbody tr:not(.feat-group) td:nth-child(5),
  .compare-table tbody tr:not(.feat-group) td:nth-child(6) {
    min-width: 205px;
  }
}
@media (max-width: 620px) {
  .compare-table {
    min-width: 1160px;
  }
  .compare-table thead th:first-child,
  .compare-table tbody tr:not(.feat-group) td:first-child {
    width: 130px;
    min-width: 130px;
  }
  .compare-table thead th:nth-child(2) {
    text-align: left;
  }
  .compare-table tbody tr:not(.feat-group) td:nth-child(2),
  .compare-table tbody tr:not(.feat-group) td:nth-child(3),
  .compare-table tbody tr:not(.feat-group) td:nth-child(4),
  .compare-table tbody tr:not(.feat-group) td:nth-child(5),
  .compare-table tbody tr:not(.feat-group) td:nth-child(6) {
    min-width: 190px;
  }
}
.compare-intellij-table {
  min-width: 920px;
}
.compare-intellij-table tbody td {
  vertical-align: top;
  line-height: 1.6;
}
.compare-intellij-table tbody td:first-child {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
  color: #1a3556;
  min-width: 150px;
}
.compare-intellij-table tbody td:nth-child(2),
.compare-intellij-table tbody td:nth-child(3) {
  min-width: 320px;
}
.compare-intellij-table thead th:nth-child(3) {
  background: #2a7050;
  color: #ffffff;
}
.compare-intellij-table tbody td:nth-child(3) {
  background: #d8ede4;
  border-left: 2px solid #2a7050;
}
.compare-intellij-table tbody td:nth-child(3) a {
  color: #2a7050;
  border-bottom-color: rgba(42, 112, 80, 0.4);
}
.compare-intellij-table tbody td:nth-child(3) a:hover {
  color: #1f523b;
  border-bottom-color: currentColor;
}
.compare-intellij-table tbody tr:hover td:nth-child(3) {
  background: #d8ede4;
}
.compare-faq {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 2px solid #000000;
}
.compare-faq h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.compare-faq p {
  margin: 0;
  color: #555555;
  font-weight: 300;
  line-height: 1.75;
  max-width: 82ch;
}
.compare-split {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
  gap: 6rem;
  align-items: start;
}
.compare-split h2 {
  margin-top: 0;
}
.compare-copy {
  border-top: 2px solid #000000;
  padding-top: 1rem;
}
.compare-copy p {
  color: #555555;
  font-weight: 300;
  line-height: 1.75;
  margin: 0 0 1rem;
}
.compare-copy p:last-child {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .compare-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.compare-limits {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #cccccc;
}
.compare-limits li {
  position: relative;
  padding: 1rem 0 1rem 4rem;
  border-bottom: 1px solid #cccccc;
  color: #555555;
  font-weight: 300;
  line-height: 1.7;
}
.compare-limits li::before {
  content: "Limit";
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a3556;
}
