.comparison-page {
  padding-block-end: clamp(2rem, 6vw, 4rem);
  overflow-wrap: anywhere;
}
.comparison-page > :is(header, section) { margin: 0; }
.comparison-page > section { margin-block-start: clamp(2.25rem, 5vw, 3.25rem); }
.reading-page.comparison-page .page-header h1 {
  font-size: 2.625rem;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.comparison-page h2 {
  margin: 0 0 .75rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.reading-page.comparison-page .page-header p { margin-block-start: .875rem; }
.comparison-summary {
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: var(--panel);
}
.comparison-summary ul { margin: 0; padding-inline-start: 1.15em; }
.comparison-summary li { padding-inline-start: .2em; color: var(--reading); line-height: 1.5; }
.comparison-summary li + li { margin-block-start: .4em; }
.comparison-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
  line-height: 1.48;
  color: var(--reading);
}
.comparison-table caption {
  padding-block-end: 1rem;
  text-align: start;
  color: var(--caption-ink);
  font-size: .875rem;
}
.comparison-table :is(th, td) {
  padding: .85rem .65rem;
  border-block-end: 1px solid var(--hairline);
  text-align: start;
  vertical-align: top;
}
.comparison-table th { color: var(--ink); font-weight: 500; }
.comparison-table thead {
  --header-radius: calc(7px + var(--reading-tray-gap) + 1px);
}
.comparison-table thead :is(td, th) {
  padding-block: .5rem;
  background: var(--panel);
  border: 0;
}
.comparison-table thead td {
  border-start-start-radius: var(--header-radius);
  border-end-start-radius: var(--header-radius);
}
.comparison-table thead th:last-child {
  border-start-end-radius: var(--header-radius);
  border-end-end-radius: var(--header-radius);
}
.comparison-table thead th, .comparison-table .cell-product {
  color: var(--caption-ink);
  font-size: var(--ui-size);
  font-weight: 500;
}
.comparison-table .topic-desktop { width: 23%; }
.comparison-table .topic-mobile { display: none; }
.comparison-table tbody th { padding-inline-start: 0; }
.cell-product { display: none; }
.cell-sources { font-size: .875em; }
.cell-sources a { display: inline-block; color: var(--link); min-inline-size: 1.5rem; text-align: center; text-decoration: underline; text-underline-offset: .16em; }
@media (hover: hover) {
  .cell-sources a:hover { color: var(--ink); }
}
.comparison-sources { margin-block-start: .75rem; font-size: .9rem; }
.comparison-sources summary { width: fit-content; padding-block: .4rem; cursor: pointer; }
.comparison-sources p { margin: .5rem 0; color: var(--reading); }
.comparison-sources ol { margin: .4rem 0 0; padding-inline-start: 1.6rem; color: var(--reading); }
.comparison-sources li + li { margin-block-start: .45rem; }
.comparison-download > :is(.button, .mobile-download) { width: max-content; max-width: 100%; margin-block-start: 1rem; }
.comparison-page :is(a, summary):focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.comparison-page .faq-cards summary:focus-visible { outline-offset: -3px; }
@media (max-width: 520px) {
  .comparison-summary { padding: 1.1rem 1.2rem; }
  .reading-page.comparison-page .page-header h1 { font-size: 2.125rem; }
  .comparison-table .topic-desktop { display: none; }
  .comparison-table .topic-mobile { display: table-row; }
  .comparison-table .topic-mobile th {
    padding: 1rem 0 .35rem;
    border: 0;
    font-weight: 600;
  }
  .comparison-table thead th { width: 50%; }
  .comparison-table thead th:first-of-type {
    border-start-start-radius: var(--header-radius);
    border-end-start-radius: var(--header-radius);
  }
  .comparison-table tbody td { padding-block: .25rem 1rem; }
  .comparison-table tbody:first-of-type .cell-product { display: none; }
  .cell-product { display: block; margin-block-end: .25rem; }
}
