.compare {
  border-top: 1px solid #e6efe9;
  border-bottom: 1px solid #e6efe9;
  background-color: #f6faf7;
}

.compare__wrap {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 1152px;
  width: 100%;
  min-width: 0;
}

.compare__head {
  max-width: 822px;
  text-align: center;
}

.compare__title {
  margin-top: 0;
}

.compare__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.compare__scroll {
  overflow-x: auto;
}

.compare__frame {
  min-width: 960px;
  overflow: hidden;
  border: 1px solid #e3e9e5;
  border-radius: 16px;
  background-color: var(--opt-white);
}

.compare__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.compare__col--feature {
  width: 26.95%;
}

.compare__col--wide {
  width: 16.31%;
}

.compare__col--plain {
  width: 14.18%;
}

.compare__table thead th {
  background-color: #f4f7f5;
  border-bottom: 1px solid #e6ebe8;
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  color: var(--opt-ink);
}

.compare__table thead .compare__th-feature {
  padding: 22px 20px;
  font-weight: 700;
}

.compare__th-brand {
  padding: 22px 16px;
  border-left: 1px solid #e6ebe8;
}

.compare__th-ours {
  padding: 14px 16px;
}

.compare__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.compare__brand img {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  mix-blend-mode: multiply;
}

/* The five logos of the header are drawn at ONE width, so none of them looks bigger than the others:
   each SVG's viewBox is cut to its artwork, the height follows from the logo's own proportions, and
   nothing is capped or fitted into a box (a 30px height cap with object-fit: contain used to shrink
   the taller logos, WP Rocket and LiteSpeed, inside a wider box than the flat ones). 100px is what the
   narrowest column leaves (the table is never narrower than 960px: 136px per column, about 103px
   inside its padding and border, and 100px is the round figure under that);
   from 1200px the frame is 1152px wide and 120px fits. */
.compare__logo,
.compare__th-ours img {
  display: block;
  width: 100px;
  max-width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

@media (min-width: 1200px) {

  .compare__logo,
  .compare__th-ours img {
    width: 120px;
  }
}

.compare__table tbody th,
.compare__table tbody td {
  border-bottom: 1px solid #eef1ef;
  vertical-align: middle;
}

.compare__feature {
  padding: 18px 20px;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  color: var(--opt-ink);
}

.compare__cell {
  padding: 18px 16px;
  border-left: 1px solid #eef1ef;
  font-size: 14px;
  line-height: 1.45;
  color: var(--opt-muted-strong);
}

.compare__cell--center {
  text-align: center;
}

.compare__cell--no {
  background-color: #fdf1f1;
}

.compare__cell--ours {
  border-left: 0;
  background-color: #eef8f2;
  font-weight: 500;
  color: #1f8a4c;
}

.compare__yes {
  font-size: 18px;
  color: #1f8a4c;
}

.compare__no {
  font-size: 16px;
  font-weight: 700;
  color: #d2405a;
}

.compare__note {
  max-width: 900px;
  margin: 0;
  text-align: start;
  font-size: 13.5px;
  line-height: 1.6;
  color: #3e4943;
}

/* Tablet and phone: only the spacing and the alignment of the section change, the table itself
   is untouched and keeps its full 960px width inside its scroller.
   - 64px between the heading and the table is a desktop value; 40px here (32px on phones),
     like the other sections.
   - The scroller used to stop at the page gutter, so the table was cut off 15px short of the
     screen edge with a visible border slice. It now runs to the screen edge and its own
     padding puts the table back at the gutter: at rest the table starts exactly where the
     heading and the note do, and it scrolls under the edge of the screen like any native
     scroll area (the scroller's end padding gives the last column the same gutter). */
@media (max-width: 991.98px) {
  .compare__wrap {
    gap: 40px;
  }

  .compare__scroll {
    margin-right: calc(-1 * var(--page-gutter));
    margin-left: calc(-1 * var(--page-gutter));
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
  }
}

/* Tablet (576-1199px): the note under the table is centred on the section's content, as it is on
   phones. On desktop it is start-aligned. text-align alone is not enough from 901px: the note's
   box stops at 900px and sat at the left of a wider content area, so its centre was up to 130px
   left of the content's; the auto side margins put the box in the middle too. */
@media (min-width: 576px) and (max-width: 1199.98px) {
  .compare__note {
    margin-inline: auto;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .compare__wrap {
    gap: 32px;
  }

  .compare__content {
    gap: 16px;
  }

  .compare__note {
    font-size: 13px;
    text-align: center;
  }
}