/* Comparison pages (/compare and /compare/*). Built on style.css: the same paper, ink and hairlines,
   with tables drawn as one hairline grid on the sheet. Sotto's column carries a faint wash of the site's blue. */
.cmp { padding: 64px 0 0; }
.crumbs { font-size: 15px; color: var(--graphite); margin: 0 0 22px; }
.crumbs a { color: var(--graphite); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.cmp h1 { font-size: clamp(38px, 5.6vw, 62px); line-height: 1.03; margin: 0 0 24px; max-width: 21ch; }
/* The second line of a heading here is a subtitle, so it steps down a size. */
.cmp h1 span { font-size: 0.62em; line-height: 1.14; margin-top: 10px; max-width: 30ch; }
.cmp .lede { max-width: 60ch; margin-bottom: 18px; }
.checked { font-size: 14px; color: var(--graphite); margin: 0; max-width: 72ch; }
.cmp a.text, .cmp-section p a, .cmp-section li a, .checked a, .sources a, .note a, .faq a {
  text-decoration: underline; text-decoration-color: var(--pencil); text-underline-offset: 3px;
}

/* The short answer: one cell per app. */
.verdict { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); background: var(--sheet); margin: 56px 0 0; }
.verdict > div { padding: 30px 32px 32px; }
.verdict > div + div { border-left: 1px solid var(--rule); }
.verdict h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 12px; }
.verdict ul { margin: 0; padding-left: 18px; }
.verdict li { margin: 8px 0; }
.verdict li::marker { color: var(--pencil); }

/* Sections. */
.cmp-section { padding-top: 96px; }
.cmp-section > h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; margin-bottom: 16px; max-width: 24ch; }
.cmp-section > p, .cmp-section > ul, .cmp-section > ol { max-width: 68ch; }
.cmp-section > p + p { margin-top: 0; }
.cmp-section h3 { font-size: 18px; margin: 32px 0 6px; }
.cmp-section li { margin: 6px 0; }
.cmp-section .table-frame, .cmp-section .grid { margin-top: 36px; }

/* Comparison tables. A table scrolls sideways inside its frame on a narrow screen; the page itself never does. */
.table-frame { position: relative; }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); background: var(--sheet); }
.ctable { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.ctable caption { text-align: left; padding: 0 0 12px; font-size: 14px; color: var(--graphite); caption-side: top; }
.ctable th, .ctable td { text-align: left; vertical-align: top; padding: 15px 18px; border-bottom: 1px solid var(--rule); }
.ctable th + th, .ctable th + td, .ctable td + td { border-left: 1px solid var(--rule); }
.ctable thead th { font-size: 15px; font-weight: 600; background: var(--paper); border-bottom-color: var(--rule-strong); }
.ctable tbody th { font-weight: 500; width: 24%; }
.ctable td { color: var(--graphite); }
.ctable td.us { color: var(--ink); background: rgba(129, 172, 236, 0.09); }
.ctable thead th.us { background: rgba(129, 172, 236, 0.16); }
.ctable tbody tr:last-child > * { border-bottom: 0; }
/* The hub's table: one row per app, with the app's name pinned while the rest scrolls. */
.ctable.matrix { min-width: 880px; }
.ctable.matrix tbody th { width: 15%; position: sticky; left: 0; background: var(--sheet); }
.ctable.matrix thead th:first-child { position: sticky; left: 0; z-index: 1; }
.ctable.matrix tbody th a { text-decoration: underline; text-decoration-color: var(--pencil); text-underline-offset: 3px; }
.ctable.matrix tbody tr.us th { background: #f1f5f8; }
.ctable.matrix tbody tr.us td { color: var(--ink); background: rgba(129, 172, 236, 0.09); }
.scroll-hint { display: none; font-size: 14px; color: var(--graphite); margin: 12px 0 0; }

/* Links to the other comparisons: cells of the home page's grid. */
.grid a.card { display: block; color: var(--ink); }
.grid a.card:hover { text-decoration: none; background: var(--paper); }
.grid a.card h3 { margin-bottom: 6px; }

/* Notes, FAQ and sources. */
.note { padding: 20px 22px; background: var(--sheet); border: 1px solid var(--rule); max-width: 68ch; }
.cmp-section .faq { max-width: 760px; margin-top: 28px; }
.sources { font-size: 15px; color: var(--graphite); padding-left: 20px; max-width: 76ch; }
.sources li { margin: 6px 0; overflow-wrap: anywhere; }
.cmp-cta { padding-top: 120px; }
.cmp-cta h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; margin-bottom: 16px; }
.cmp-cta p { margin: 0 0 28px; max-width: 52ch; }

@media (max-width: 760px) {
  .verdict { grid-template-columns: 1fr; }
  .verdict > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .scroll-hint { display: block; }
}
@media (max-width: 640px) {
  .cmp { padding-top: 44px; }
  .verdict > div { padding: 24px 22px 26px; }
  .cmp-section { padding-top: 72px; }
  .ctable { font-size: 15px; }
  .ctable th, .ctable td { padding: 12px 13px; }
  .ctable tbody th { width: 30%; }
  .ctable.matrix tbody th { width: 112px; }
  /* Two-app tables: each feature becomes a heading row with the two answers side by side beneath it. */
  .ctable:not(.matrix) thead tr, .ctable:not(.matrix) tbody tr { display: grid; grid-template-columns: 1fr 1fr; }
  .ctable:not(.matrix) thead th:first-child { display: none; }
  .ctable:not(.matrix) thead th.us { border-left: 0; }
  .ctable:not(.matrix) tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 4px; border-bottom: 0; background: var(--paper); }
  .ctable:not(.matrix) tbody th + td { border-left: 0; }
  .ctable:not(.matrix) tbody tr:last-child > td { border-bottom: 0; }
  .cmp-cta { padding-top: 88px; }
}
.table-note { margin-top: 18px; }
