.compare-opening {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
}

.compare-opening .toc-tabs {
  width: fit-content;
}

.compare-note {
  border-block-start: 2px solid var(--accent-line);
}

.compare-note h2 {
  font-size: var(--type-h3);
}

.compare-note ol {
  margin-block: 12px 0;
  padding-inline-start: 1.5em;
  color: var(--text-muted);
}

.compare-note li + li {
  margin-block-start: 6px;
}

.compare-matrix {
  font-size: var(--type-sm);
}

.compare-matrix [scope="row"] {
  min-width: 11em;
  font-weight: var(--weight-medium);
}

.compare-matrix td:nth-child(2),
.compare-matrix td:last-child {
  min-width: 10em;
}

.compare-matrix tbody tr:last-child > * {
  border-bottom: 0;
}

.compare-table-note {
  max-width: var(--reading);
  margin-block: 16px 0;
  font-size: var(--type-sm);
}

.compare-reviews {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#scenarios .callout h3 {
  margin-block: 0 8px;
}

@media (max-width: 768px) {
  .compare-opening,
  .compare-reviews {
    grid-template-columns: minmax(0, 1fr);
  }
}