/* ============================================
   Timeline Scan: /compare/ pages
   The hub and the "Timeline Scan vs ..." pages built on 2026-11-10 (GSO plan
   2.5). The guide kit (guide-kit.css, loaded after this file) and the shared
   comparison table in export-pages.css do most of the work; this file holds
   only what those two do not, under the cmp- prefix. Site tokens only.
   ============================================ */

/* The byline and the table's small print hold the 14px label floor. */
.vs-updated { font-size: 0.85rem; }
.cmp-table caption, .cmp-table .vs-yes, .cmp-table .vs-no { font-size: 0.85rem; }
@media (max-width: 760px) {
  .cmp-table td::before { font-size: 0.85rem; letter-spacing: 0.08em; }
}

/* No lone last word under the h1 or in a question. */
.hero__subtitle, .faq__question { text-wrap: pretty; }

/* Yes / no marks carry the kit's tick or cross, in the kit's darker inks
   (plain green and red miss 4.5:1 on their own tints). "Partly" is neither,
   so it reads in the accent with no glyph. */
.cmp-table .vs-yes { color: var(--gk-green-ink); }
.cmp-table .vs-no { color: var(--gk-red-ink); }
.cmp-table .vs-yes::before, .cmp-table .vs-no::before {
  content: ""; display: inline-block; width: 0.8em; height: 0.8em; margin-right: 0.3em; vertical-align: -0.04em;
  background-color: currentColor; -webkit-mask: var(--gk-i-tick) center / contain no-repeat; mask: var(--gk-i-tick) center / contain no-repeat;
}
.cmp-table .vs-no::before { -webkit-mask-image: var(--gk-i-cross); mask-image: var(--gk-i-cross); }
.cmp-partly {
  display: inline-block; margin-right: 0.4rem; padding: 0.1rem 0.55rem; border-radius: 100px;
  background: var(--accent-light); color: var(--text-primary);
  font-family: var(--font-ui); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; vertical-align: 0.06em;
}
/* The gold column head: the card token is near-white in light, dark in dark. */
.cmp-table thead th.vs-table__us { color: var(--card-bg); }
/* A cell with two short claims: one per line. */
.cmp-line { display: block; }
.cmp-line + .cmp-line { margin-top: 0.4rem; }

/* The picture under the Quick answer: a side that is neither wrong nor right
   (the other tool doing its own job) gets a plain flag. */
.cmp-flag { background: var(--bg-accent); color: var(--text-primary); }

/* Choose one / choose the other: the kit's two-card pair, both cards green
   because both are right answers, titles at card size. */
.cmp-choose .gk-pair__label {
  margin-bottom: 0.75rem; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; color: var(--text-primary);
}
.cmp-choose .gk-pair__label::before { color: var(--green); }
.cmp-choose__list { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.cmp-choose__list li { position: relative; padding-left: 1.55rem; line-height: 1.55; }
.cmp-choose__list li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.38em; width: 0.9em; height: 0.9em; background-color: var(--green);
  -webkit-mask: var(--gk-i-tick) center / contain no-repeat; mask: var(--gk-i-tick) center / contain no-repeat;
}

/* Price chips: the figure set large, one row on a laptop, a list on a phone. */
.cmp-facts { justify-content: center; gap: 0.75rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.cmp-facts .gk-chip {
  padding: 0.5rem 1.05rem; border-color: var(--border); background: var(--card-bg); box-shadow: var(--shadow-sm);
  font-size: 0.95rem; font-weight: 600; color: var(--text-secondary);
}
.cmp-facts .gk-chip b {
  margin-right: 0.25em; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--accent);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .cmp-facts { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .cmp-facts .gk-chip {
    display: grid; grid-template-columns: 6.4rem minmax(0, 1fr); align-items: baseline; column-gap: 0.6rem;
    padding: 0.65rem 1rem; border-radius: var(--radius-md); text-align: left;
  }
  .cmp-facts .gk-chip b { margin-right: 0; font-size: 1.2rem; }
}

/* Sources: the fold's pill sits under the centred heading; the small print
   matches the column. */
.cmp-disclaimer { max-width: 680px; text-align: center; }
.cmp-disclaimer + .cmp-disclaimer { margin-top: 0.5rem; }

/* The hub's four cards sit two by two (the kit's auto-fit would leave one
   alone on a second row); one column on a phone. The kit loads after this
   file, so the selector carries both classes to win. */
.gk-points.cmp-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); max-width: 760px; }
.cmp-cards .gk-points__lead { margin: 0; }
