/* Compare page (/compare/): the news page shell, narrower, with a screenshot, a chart, two tables and a row of facts. */
.news-head.vs-head, .news-main.vs-main { max-width: 920px; }
.vs-main h1 { font-size: clamp(34px, 6vw, 52px); }
.vs-main .news-lede { max-width: 62ch; margin-bottom: 14px; }
.vs-main .news-lede + .news-lede { margin-bottom: 36px; }
.vs-sections { display: grid; gap: 36px; margin-bottom: 40px; }
.vs-section { min-width: 0; }
.vs-label { margin: 0 0 8px; padding-inline: 2px; font-size: 13px; text-transform: uppercase; letter-spacing: var(--pixel-tracking); word-spacing: var(--pixel-word-spacing); color: var(--red-ink); }
.vs-main .news-body > :last-child { margin-bottom: 0; }
.vs-main .news-body a:not(.box) { text-underline-offset: 3px; }
.vs-main a:focus-visible, .vs-scroll:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 2px; }
.vs-note { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* Tables */
.vs-table { width: 100%; margin: 0 0 18px; border-collapse: collapse; border: 1px solid var(--ink); background: var(--paper); }
.vs-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vs-table th, .vs-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.vs-table thead th { border-bottom: 1px solid var(--ink); font: 400 12px/1.4 var(--pixel); text-transform: uppercase; letter-spacing: var(--pixel-tracking); word-spacing: var(--pixel-word-spacing); }
.vs-table tbody th { font: 400 20px/1.3 var(--serif); white-space: nowrap; }
.vs-table tbody tr:last-child th, .vs-table tbody tr:last-child td { border-bottom: 0; }
/* Words in the tables never break in the middle; the short "If you use this today" column stays on one line. */
.vs-table { overflow-wrap: normal; word-break: normal; }
@media (min-width: 701px) {
  .vs-table--stack thead th:nth-child(3), .vs-table--stack td:nth-child(3) { white-space: nowrap; }
}

/* The app screenshot and the size chart fill their window. */
.vs-chart { display: block; }
.vs-shot, .vs-chart { margin: 0 0 18px; }
.vs-shot, .vs-chart img { display: block; width: 100%; height: auto; border: 1px solid var(--ink); }

/* The sizes table stays a table at every width; if it ever runs out of room it scrolls inside its own box. */
.vs-scroll { overflow-x: auto; margin: 0 0 18px; }
.vs-scroll .vs-table { margin: 0; }
.vs-table--sizes .vs-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vs-table--sizes tbody th { width: 34%; }
.vs-table--sizes .vs-ours th, .vs-table--sizes .vs-ours td { background: var(--tint); border-bottom: 1px solid var(--ink); }
.vs-table--sizes .vs-ours .vs-num { color: var(--red-ink); font: 400 20px/1.3 var(--serif); }
.vs-table--sizes tfoot th, .vs-table--sizes tfoot td { border-top: 1px solid var(--ink); border-bottom: 0; font-weight: 500; }

/* One container, one port, one sign-in page, one backup zip. */
.vs-facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vs-facts li { display: grid; gap: 6px; padding: 12px 12px 14px; border: 1px solid var(--ink); background: var(--paper); }
.vs-facts strong { font: 400 28px/1 var(--serif); }
.vs-facts span { font: 400 11px/1.4 var(--pixel); text-transform: uppercase; letter-spacing: var(--pixel-tracking); word-spacing: var(--pixel-word-spacing); color: var(--ink-2); }

.vs-list { margin: 0 0 18px; padding-left: 20px; }
.vs-list li { margin: 0 0 10px; }
.vs-list li:last-child { margin-bottom: 0; }

.vs-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.news-body .vs-cta .box--red { color: #fff; }
.vs-back { margin: 0; }

@media (max-width: 700px) {
  .vs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* The parts table becomes one block per part: the HolyArrs part, then each column under its own small label. */
  .vs-table--stack, .vs-table--stack tbody, .vs-table--stack tr, .vs-table--stack th, .vs-table--stack td { display: block; }
  .vs-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .vs-table--stack tr { padding: 14px 14px 16px; border-bottom: 1px solid var(--ink); }
  .vs-table--stack tbody tr:last-child { border-bottom: 0; }
  .vs-table--stack th, .vs-table--stack td { padding: 0; border: 0; }
  .vs-table--stack tbody th { margin-bottom: 2px; font-size: 24px; white-space: normal; }
  .vs-table--stack td { margin-top: 10px; }
  .vs-table--stack td::before { content: attr(data-label); content: attr(data-label) / ""; display: block; margin-bottom: 2px; font: 400 11px/1.4 var(--pixel); text-transform: uppercase; letter-spacing: var(--pixel-tracking); word-spacing: var(--pixel-word-spacing); color: var(--red-ink); }

  .vs-table--sizes th, .vs-table--sizes td { padding: 10px 8px; font-size: 15px; }
  .vs-table--sizes tbody th { font-size: 18px; white-space: normal; }
  .vs-cta .box { flex: 1 1 40%; justify-content: center; }
}
