/* Hallmark v2.0.0 · locked system: DESIGN.md (The Quiet Desk) + public/legal.css tokens · shape: reading page, comparison tables · nav: the site's reading-page header · footer: the site's reading-page footer · hero: title, one line, date, one action · signature: the sourced feature table */
/* critique: two wide tables need more measure than a policy page; phones stack each row with its column names, never a sideways scroll; no new colours, fonts or shadows. */
/* Hallmark · waive 26b · only plain text links on this page, no buttons or form controls · the shared reading pages (legal.css) give links no pressed state, and this page follows them */

/*
 * The comparison page only (scripts/compare-pages.mjs), on top of legal.css,
 * whose tokens it uses. A wider column for the tables; everything else as the
 * other reading pages.
 */
html,
body {
  overflow-x: clip;
}
main,
header a {
  max-width: 1040px;
}
.compare-table {
  width: 100%;
  margin: 12px 0 8px;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.compare-table thead th {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}
.compare-table th[scope='row'] {
  width: 20%;
  color: var(--text);
  font-size: 15px;
}
.compare-table td {
  font-size: 15px;
}
/* The source column is a reference, quieter than the facts beside it. */
.compare-table td:last-child {
  width: 16%;
  color: var(--text-secondary);
  font-size: 14px;
}
.compare-table.features td:nth-child(2),
.compare-table.features td:nth-child(3) {
  width: 32%;
}
.compare-table.prices td:nth-child(2) {
  width: 28%;
}
/* The measured figures: every column is a figure, none a source. */
.compare-table.measured td,
.compare-table.measured td:last-child {
  width: auto;
  color: var(--text);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.compare-table.measured th[scope='row'] {
  width: 28%;
}
/* Shown only when the rows stack, where the table's own headings are gone. */
.compare-table .cell-name {
  display: none;
}
/* The same ring as legal.css gives every link, named here for the tables' links. */
.compare-table a:focus-visible,
.related a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}
.related {
  padding-left: 20px;
}
.note {
  color: var(--text-secondary);
  font-size: 14px;
}
@media (max-width: 760px) {
  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th[scope='row'],
  .compare-table td,
  .compare-table td:last-child,
  .compare-table.features td:nth-child(2),
  .compare-table.features td:nth-child(3),
  .compare-table.prices td:nth-child(2),
  .compare-table.measured th[scope='row'] {
    display: block;
    width: auto;
  }
  .compare-table thead {
    display: none;
  }
  .compare-table tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .compare-table th,
  .compare-table td {
    padding: 4px 0;
    border: none;
  }
  .compare-table .cell-name {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
  }
}
