/* SITE-32 · Compare: the comparison component (the old way vs Outpaced; the matrix) and the /compare/ pages.
   Built only from the v2 system's tokens and classes (assets/v2/system/*). Markup: src/v2/compare/*.mjs. */

.cmp-gap { margin-top: clamp(40px, 28px + 2.6vw, 64px); }

/* ── Stand-in chrome (only until SITE-21's nav and SITE-27's CTA and footer land) ── */
.cmp-bar { position: sticky; top: 0; z-index: 30; }
.cmp-bar__in { display: flex; align-items: center; gap: 28px; height: 60px; }
.cmp-bar__logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.cmp-bar__logo img { height: 24px; width: auto; }
.cmp-bar__nav { display: flex; gap: 4px; margin-left: auto; }
.cmp-bar__nav a, .cmp-bar__signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 14px; color: var(--ink-64); transition: color var(--dur-fast); }
.cmp-bar__nav a:hover, .cmp-bar__signin:hover, .cmp-bar__nav a[aria-current] { color: var(--ink); }
.cmp-bar__right { display: flex; align-items: center; gap: 6px; }
@media (max-width: 860px) { .cmp-bar__nav, .cmp-bar__signin { display: none; } .cmp-bar__right { margin-left: auto; } .cmp-bar__right .btn { height: 44px; } }

.cmp-cta__banner { padding: clamp(40px, 24px + 4vw, 80px) clamp(24px, 12px + 4vw, 72px); display: grid; justify-items: start; gap: 18px; }
.cmp-cta__banner .t-h1 { color: #fff; max-width: 15em; }
.cmp-cta__banner .t-lead { color: rgb(255 255 255 / .86); max-width: 34em; }
.cmp-cta__banner .btn { margin-top: 8px; }
.cmp-cta { padding-block: clamp(48px, 32px + 4vw, 96px); }

.cmp-footer { padding-block: 56px 72px; }
.cmp-footer__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px 40px; align-items: start; }
.cmp-footer__logo { display: inline-flex; min-height: 44px; align-items: center; }
.cmp-footer__logo img { height: 24px; width: auto; }
.cmp-footer__col { display: grid; gap: 2px; }
.cmp-footer__col .pixel-ui { color: var(--ink-58); margin-bottom: 10px; }
.cmp-footer__col a { display: flex; align-items: center; min-height: 36px; font-size: 14px; color: var(--ink-64); }
.cmp-footer__col a:hover { color: var(--ink); }
.cmp-footer__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--hairline); }
@media (max-width: 760px) {
  .cmp-footer__in { grid-template-columns: 1fr; }
  .cmp-footer__col a { min-height: 44px; }
}

/* ── Hero ── */
.cmp-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 32px + 6vw, 128px) clamp(64px, 40px + 6vw, 120px); }
.cmp-hero > .sky { z-index: -1; }
.cmp-hero__in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.cmp-crumbs { max-width: 100%; }
.cmp-crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; font: 400 var(--t-pixel)/1 var(--font-pixel-ui); text-transform: uppercase; color: var(--ink-58); }
.cmp-crumbs li { display: flex; align-items: center; }
.cmp-crumbs li + li::before { content: "/"; padding: 0 8px; color: var(--ink-32); }
.cmp-crumbs a, .cmp-crumbs span { display: inline-flex; align-items: center; min-height: 44px; }
/* One line whatever face is showing: the pixel face swapping in mustn't wrap the trail and push the hero down (SITE-25:
   CLS 0.1 on slow 4G for a long tool name). The current page's name gives way first. */
.cmp-crumbs ol { flex-wrap: nowrap; max-width: 100%; white-space: nowrap; }
.cmp-crumbs li:last-child { min-width: 0; }
.cmp-crumbs li:last-child > span { display: block; line-height: 44px; overflow: hidden; text-overflow: ellipsis; }
.cmp-crumbs a:hover { color: var(--ink); }
.cmp-crumbs [aria-current] { color: var(--ink-80); }
.cmp-hero__br { display: none; }
@media (max-width: 600px) { .cmp-hero__br { display: inline; } }
.cmp-hero__title { margin-top: clamp(12px, 8px + 1vw, 24px); max-width: 14em; }
.cmp-vs { margin-inline: .06em; vertical-align: .02em; }
.cmp-hero__lead { margin-top: 20px; max-width: 36em; }
.cmp-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cmp-hero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 28px; }
.cmp-checked { background: rgb(255 255 255 / .8); }
.cmp-hero__note { color: var(--ink-58); }
.cmp-checked time { font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .cmp-hero__actions { width: 100%; }
  .cmp-hero__actions .btn { flex: 1 1 100%; }
}

/* ── Who each is for ── */
.cmp-fits { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.cmp-fit { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: var(--card-pad); border-radius: var(--r-lg); background: var(--paper); border: 1px solid rgb(21 19 15 / .06); }
.cmp-fit--us { background: var(--canvas); border-color: var(--hairline); box-shadow: inset 0 2px 0 var(--orange); }
.cmp-fit .t-h3 { max-width: 18em; }
.cmp-fit .t-body { max-width: 34em; }
.cmp-fit__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.cmp-fit__chips .chip { font-size: 13px; }
.cmp-fit__src { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; color: var(--ink-58); }
a.cmp-fit__src:hover { color: var(--ink); }
@media (max-width: 860px) { .cmp-fits { grid-template-columns: 1fr; } }
@media (max-width: 760px) { a.cmp-fit__src { min-height: 44px; } .cmp-fit__chips .chip { font-size: 14px; } }

/* ═══ Mode 1 · The old way vs Outpaced (Corgi's "Our Unique Advantage") ═══ */
.cmp-ow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.cmp-ow__card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--hairline); background: var(--canvas); }
.cmp-ow__stage { position: relative; height: clamp(300px, 240px + 6vw, 340px); overflow: hidden; isolation: isolate; }
.cmp-ow__body { display: grid; gap: 10px; padding: var(--card-pad); border-top: 1px solid var(--hairline); }
.cmp-ow__body .t-body { max-width: 34em; }
.cmp-ow__note { color: var(--ink-58); }
@media (max-width: 860px) { .cmp-ow { grid-template-columns: 1fr; } }

/* The old way: chores on a relentless marquee (Corgi: linear, ~40 px/s), a scatter of tools, the hours piling up. */
.cmp-ow__stage--old { background: var(--paper); }
.cmp-tally { position: absolute; left: var(--card-pad); top: 22px; display: grid; gap: 6px; color: var(--peach-ink); }
.cmp-tally > .pixel-ui { color: var(--ink-58); }
.cmp-tally__n { display: flex; align-items: baseline; gap: 6px; }
.cmp-tally__n .pixel { line-height: .8; font-variant-numeric: tabular-nums; }
.cmp-marquee { position: absolute; left: 0; right: 0; top: 98px; padding-block: 6px; overflow: hidden; /* room for the pills' 4 px ring */ -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cmp-marquee--b { top: 152px; }
.cmp-marquee__track { display: flex; align-items: center; width: max-content; animation: cmp-marquee var(--dur, 30s) linear infinite; will-change: transform; }
.cmp-marquee--b .cmp-marquee__track { animation-delay: -7s; }
@keyframes cmp-marquee { to { transform: translateX(-50%); } }
.cmp-pill { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: var(--r-pill); white-space: nowrap;
  background: var(--canvas); border: 1px solid color-mix(in oklab, var(--peach-ink) 45%, transparent); box-shadow: 0 0 0 4px var(--peach-soft);
  font: 500 15px/1 var(--font-body); letter-spacing: -.01em; color: var(--peach-ink); }
.cmp-pill__t { font: 400 var(--t-pixel)/1 var(--font-pixel-ui); text-transform: uppercase; color: color-mix(in oklab, var(--peach-ink) 72%, transparent); }
.cmp-dash { width: 18px; height: 1px; flex: none; margin: 0 6px; background: color-mix(in oklab, var(--peach-ink) 45%, transparent); }
.cmp-scatter { position: absolute; left: var(--card-pad); right: var(--card-pad); bottom: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; }
.cmp-scatter__chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-xs); background: var(--canvas); border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-xs); font: 500 13px/1 var(--font-body); color: var(--ink-64); rotate: var(--r); opacity: .7; }

/* Outpaced: the same chores flow down one funnel into the mark and come out as posts. */
.cmp-ow__stage--new { background: var(--slate); }
.cmp-funnel { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cmp-funnel__grain { position: absolute; inset: 0; z-index: -1; background: var(--grain); background-size: 160px; opacity: .5; mix-blend-mode: soft-light; pointer-events: none; }
.cmp-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 96px; height: 96px; display: grid; place-items: center; z-index: 2; }
.cmp-core__ring { position: absolute; inset: -16px; border-radius: 50%; background: rgb(255 255 255 / .22); }
.cmp-core__ring + .cmp-core__ring { inset: -32px; background: rgb(255 255 255 / .12); }
.cmp-core__disc { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--canvas); box-shadow: 0 8px 24px -8px rgb(21 19 15 / .35); }
.cmp-core__disc img { width: 56px; height: 48px; }
.cmp-flys, .cmp-out { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cmp-fly { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); white-space: nowrap;
  background: rgb(255 255 255 / .94); color: var(--ink-80); font: 500 13px/1 var(--font-body); box-shadow: 0 4px 12px -4px rgb(21 19 15 / .3); opacity: 0; }
.cmp-out__cover { position: absolute; left: 0; top: 0; width: 54px; height: 96px; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgb(255 255 255 / .5), 0 10px 24px -8px rgb(0 0 0 / .45); opacity: 0; }
.cmp-loop { position: absolute; left: var(--card-pad); right: var(--card-pad); bottom: 20px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; z-index: 3; }
.cmp-loop__step { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-xs); font: 500 13px/1 var(--font-body);
  color: rgb(255 255 255 / .78); background: rgb(255 255 255 / .1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .6s var(--ease-in-out), color .6s var(--ease-in-out); }
.cmp-loop__step b { font-weight: 400; color: rgb(255 255 255 / .62); }
.cmp-loop__step.is-on { background: var(--canvas); color: var(--ink); }
.cmp-loop__step.is-on b { color: var(--orange); }
/* Before the script runs (and with no JS), a still: a few chores at the funnel's mouth and two posts out. */
.cmp-ow:not(.is-live) .cmp-fly:nth-child(-n+3) { opacity: 1; }
.cmp-ow:not(.is-live) .cmp-fly:nth-child(1) { translate: 6% 70px; } /* placed in % of the stage by JS when live */
.cmp-ow:not(.is-live) .cmp-fly { left: 4%; }
.cmp-ow:not(.is-live) .cmp-fly:nth-child(2) { translate: 14% 132px; scale: .85; }
.cmp-ow:not(.is-live) .cmp-fly:nth-child(3) { translate: 4% 196px; scale: .9; }
.cmp-ow:not(.is-live) .cmp-out__cover:nth-child(-n+2) { opacity: 1; }
.cmp-ow:not(.is-live) .cmp-out__cover:nth-child(1) { left: 72%; top: 36%; rotate: -4deg; }
.cmp-ow:not(.is-live) .cmp-out__cover:nth-child(2) { left: 84%; top: 24%; rotate: 5deg; }
@media (prefers-reduced-motion: reduce) { .cmp-marquee__track { animation: none; } }
html[data-motion="reduce"] .cmp-marquee__track { animation: none; }
@media (max-width: 760px) {
  .cmp-marquee--b { display: none; } /* one mover per viewport on phones (SITE-26 M6) */
  .cmp-marquee { top: 90px; }
  .cmp-scatter { bottom: 18px; }
  .cmp-pill { font-size: 14px; }
  .cmp-scatter__chip, .cmp-fly, .cmp-loop__step { font-size: 12px; }
  .cmp-loop { gap: 4px; }
  .cmp-loop__step { padding: 0 8px; }
}
@media (max-width: 420px) {
  .cmp-loop__step b { display: none; }
}

/* ═══ Mode 2 · The matrix ═══ */
.cmp-matrix { --sticky-top: 60px; --us-tint: color-mix(in oklab, var(--orange-soft) 26%, var(--canvas)); }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; border-top: 1px solid var(--hairline); }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; font-weight: 400; border-bottom: 1px solid var(--hairline); }
.cmp-table th + th, .cmp-table td, .cmp-table th + td { border-left: 1px solid var(--hairline); }
.cmp-th { position: sticky; top: var(--sticky-top); z-index: 3; padding: 18px 16px 16px; background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 17px/1.2 var(--font-display); letter-spacing: -.015em; color: var(--ink); border-bottom-color: var(--hairline-strong) !important; }
.cmp-th > span:first-child { display: block; }
.cmp-th--job { width: 24%; padding-left: var(--inset); color: var(--ink-58); vertical-align: bottom !important; }
.cmp-th--job .pixel-ui { color: var(--ink-58); }
.cmp-th__sub { display: block; margin-top: 6px; font-family: var(--font-body); }
.cmp-th--us { background: color-mix(in oklab, var(--us-tint) 90%, transparent); box-shadow: inset 0 2px 0 var(--orange); }
.cmp-th__us { display: inline-flex !important; align-items: center; gap: 8px; }
.cmp-th__us img { width: 17px; height: 14px; }
.cmp-th:last-child, .cmp-td:last-child { padding-right: max(var(--inset), 26px); } /* ≥ 24 px of text inset after the 1 px border (G2 v1, fix 2) */
.cmp-job { padding: 20px 16px 20px var(--inset); }
.cmp-job__name { display: block; font: 500 16px/1.3 var(--font-body); letter-spacing: -.01em; color: var(--ink); }
.cmp-job__hint { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink-58); }
.cmp-td { position: relative; padding: 20px 16px; }
.cmp-td--us { background: var(--us-tint); }
.cmp-tr--fact .cmp-job, .cmp-tr--fact .cmp-td:not(.cmp-td--us) { background: color-mix(in oklab, var(--paper) 60%, var(--canvas)); }
.cmp-cell { display: flex; align-items: center; gap: 8px; font: 500 14px/1.2 var(--font-body); color: var(--ink); }
.cmp-cell__value { font: 500 15px/1.3 var(--font-body); color: var(--ink); }
.cmp-cell__note { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--ink-64); text-wrap: pretty; }
.cmp-src { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-top: 6px; font-size: 13px; color: var(--ink-58); transition: color var(--dur-fast); }
.cmp-src .pixel-ui { color: inherit; }
.cmp-src:hover { color: var(--ink); }
.cmp-src:hover .cmp-src__host { text-decoration: underline; text-underline-offset: 2px; }
.cmp-arrow { width: 10px; height: 10px; flex: none; }

/* Pixel marks: 8×8 cells, 2 px a cell. */
.cmp-mark { width: 16px; height: 16px; flex: none; shape-rendering: crispEdges; }
.cmp-mark--yes { color: var(--ink); }
.cmp-td--us .cmp-mark--yes { color: var(--orange); }
.cmp-mark--partial { color: var(--ink-64); }
.cmp-mark--no, .cmp-mark--not-stated { color: var(--ink-32); }
.cmp-mark--manual { color: var(--peach-ink); }
[data-state="no"] .cmp-cell__label, [data-state="not-stated"] .cmp-cell__label { color: var(--ink-58); font-weight: 400; }
[data-state="manual"] .cmp-cell__label { color: var(--peach-ink); }
.cmp-matrix.is-armed .cmp-mark rect { opacity: 0; }
.cmp-matrix.is-armed .cmp-tr.is-in .cmp-mark rect { opacity: 1; transition: opacity 0s var(--d, 0s); }

/* The scan of light down the Outpaced column, once, as the matrix arrives (lines of light, Replo). */
.cmp-scan { position: absolute; z-index: 4; width: 2px; height: 120px; margin-left: -1px; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, transparent, rgb(255 90 36 / .9) 80%, #fff); filter: drop-shadow(0 0 3px rgb(255 90 36 / .45)); }
.cmp-matrix__scroll { position: relative; }

/* Legend and sources */
.cmp-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px 48px; padding: 28px var(--inset) 0; }
.cmp-legend { display: grid; gap: 10px; align-content: start; }
.cmp-legend li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-64); }
.cmp-legend .cmp-mark { margin-top: 2px; }
.cmp-legend b { font-weight: 500; color: var(--ink); }
.cmp-notes__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.cmp-notes__head .pixel-ui { color: var(--ink); }
.cmp-notes ol { display: grid; gap: 6px; margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--ink-64); }
.cmp-notes li { display: block; overflow-wrap: anywhere; }
.cmp-notes li .pixel-ui { color: var(--ink-58); }
.cmp-notes__date { color: var(--ink-58); }
@media (max-width: 860px) { .cmp-foot { grid-template-columns: 1fr; } }

/* Dense (the index: many tools). Cells hold the mark and label; the note opens in a tip on hover, focus or tap. */
.cmp-matrix--dense .cmp-th { font-size: 15px; padding-inline: 12px; }
.cmp-matrix--dense .cmp-th--job { width: 19%; padding-left: var(--inset); }
.cmp-matrix--dense .cmp-th__sub { font-size: 11px; line-height: 1.3; }
.cmp-matrix--dense .cmp-td { padding: 0; }
.cmp-matrix--dense .cmp-job { padding-block: 16px; }
/* The whole cell is the tip's button (an overlay), so the target is the cell; the source link sits above it. */
.cmp-tipbtn { position: absolute; inset: 0; z-index: 1; width: 100%; border-radius: 0; }
.cmp-tipbtn:hover, .cmp-tipbtn[aria-expanded="true"] { background: rgb(21 19 15 / .03); }
.cmp-tipbtn:focus-visible { outline-offset: -2px; border-radius: 2px; }
/* One top padding for every cell, so the first lines share a baseline across the row (SITE-26 G2 v1, fix 1). */
.cmp-matrix--dense .cmp-cell { position: relative; display: flex; align-items: center; gap: 7px; padding: 16px 12px 0; font: 500 13px/1.25 var(--font-body); pointer-events: none; }
.cmp-matrix--dense .cmp-td:not(.cmp-td--tool) .cmp-cell { padding-bottom: 16px; }
.cmp-matrix--dense .cmp-src { position: relative; z-index: 2; }
.cmp-matrix--dense .cmp-src { margin: 0 0 8px 12px; min-height: 24px; font-size: 12px; }
@media (min-width: 1100px) { .cmp-matrix--dense .cmp-src__host { display: none; } }
/* Below the cell, so the sticky header and nav never cover it. */
.cmp-tip { position: absolute; z-index: 6; left: 8px; top: calc(100% - 6px); width: max(220px, 100%); max-width: 280px; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--ink); color: rgb(255 255 255 / .86); font: 400 13px/1.45 var(--font-body); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; translate: 0 -4px; transition: opacity var(--dur-fast) var(--ease-out), translate var(--dur-fast) var(--ease-out), visibility 0s var(--dur-fast); pointer-events: none; }
.cmp-tip b { font-weight: 500; color: #fff; }
.cmp-tip__src { display: block; margin-top: 6px; color: rgb(255 255 255 / .62); font-size: 12px; }
.cmp-td.is-tip .cmp-tip { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.cmp-td:last-child .cmp-tip, .cmp-td:nth-last-child(2) .cmp-tip { left: auto; right: 8px; }
.cmp-pickbar { display: none; }

/* ── Phones and tablets: the per-tool matrix becomes one card per job ── */
@media (max-width: 760px) {
  .cmp-matrix:not(.cmp-matrix--dense) .cmp-table, .cmp-matrix:not(.cmp-matrix--dense) tbody, .cmp-matrix:not(.cmp-matrix--dense) tr,
  .cmp-matrix:not(.cmp-matrix--dense) .cmp-job, .cmp-matrix:not(.cmp-matrix--dense) .cmp-td { display: block; }
  .cmp-matrix:not(.cmp-matrix--dense) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
/* The dense matrix below 1100 px: pick one tool at a time (chips), then the same one-card-per-job layout. */
@media (max-width: 1099px) {
  .cmp-matrix--dense .cmp-pickbar { display: block; margin-bottom: 16px; }
  .cmp-matrix--dense .cmp-table, .cmp-matrix--dense tbody, .cmp-matrix--dense tr, .cmp-matrix--dense .cmp-job, .cmp-matrix--dense .cmp-td { display: block; }
  .cmp-matrix--dense thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp-matrix--dense.is-picking .cmp-td--tool:not(.is-picked) { display: none; }
  .cmp-matrix--dense .cmp-tipbtn { display: none; }
  .cmp-matrix--dense .cmp-cell { min-height: 0; padding: 0; font-size: 14px; }
  .cmp-matrix--dense .cmp-tip { position: static; opacity: 1; visibility: visible; translate: none; width: auto; max-width: none; padding: 0; margin-top: 8px; background: none; color: var(--ink-64); box-shadow: none; font-size: 14px; }
  .cmp-matrix--dense .cmp-tip b, .cmp-matrix--dense .cmp-tip__src { display: none; }
  .cmp-matrix--dense .cmp-src { margin: 6px 0 0; }
}
@media (max-width: 1099px) {
  .cmp-pickbar__label { display: block; margin: 0 var(--inset) 10px; color: var(--ink-58); }
  .cmp-pickbar__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px var(--inset) 6px; }
  .cmp-pickbar__list .chip { height: 44px; padding: 0 16px; flex: none; }
  .cmp-pickbar__list .chip[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
}
/* The card-per-job layout (shared by both matrices once they stack). */
@media (max-width: 760px) {
  .cmp-matrix:not(.cmp-matrix--dense) .cmp-table { border-top: 0; }
  .cmp-matrix:not(.cmp-matrix--dense) .cmp-tr { margin-bottom: 12px; border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
}
@media (max-width: 1099px) {
  .cmp-matrix--dense .cmp-table { border-top: 0; }
  .cmp-matrix--dense .cmp-tr { margin-bottom: 12px; border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; }
}
@media (max-width: 760px) {
  .cmp-matrix:not(.cmp-matrix--dense) .cmp-table :is(th, td) { border-left: 0; }
  .cmp-matrix:not(.cmp-matrix--dense) .cmp-job { padding: 16px var(--inset) 14px; background: var(--paper); }
  .cmp-matrix:not(.cmp-matrix--dense) .cmp-td { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; padding: 14px var(--inset); }
  .cmp-matrix:not(.cmp-matrix--dense) .cmp-td::before { content: attr(data-col); grid-row: 1 / span 3; font: 500 14px/1.3 var(--font-body); color: var(--ink); }
  .cmp-matrix:not(.cmp-matrix--dense) .cmp-td > * { grid-column: 2; }
  .cmp-matrix:not(.cmp-matrix--dense) .cmp-tr .cmp-td:last-child { border-bottom: 0; }
  .cmp-matrix:not(.cmp-matrix--dense) .cmp-src { min-height: 44px; margin: 0; font-size: 14px; }
  .cmp-matrix:not(.cmp-matrix--dense) .cmp-cell__note { margin-top: 6px; }
}
@media (max-width: 1099px) {
  .cmp-matrix--dense .cmp-table :is(th, td) { border-left: 0; }
  .cmp-matrix--dense .cmp-job { padding: 16px var(--inset) 14px; background: var(--paper); }
  .cmp-matrix--dense .cmp-td { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; padding: 14px var(--inset); }
  .cmp-matrix--dense .cmp-td::before { content: attr(data-col); grid-row: 1 / span 3; font: 500 14px/1.3 var(--font-body); color: var(--ink); }
  .cmp-matrix--dense .cmp-td > * { grid-column: 2; }
  .cmp-matrix--dense .cmp-tr .cmp-td:last-child { border-bottom: 0; }
  .cmp-matrix--dense .cmp-src { min-height: 44px; font-size: 14px; }
  .cmp-matrix--dense .cmp-td--us { background: var(--us-tint); }
}
@media (max-width: 1099px) and (min-width: 761px) {
  .cmp-matrix--dense .cmp-tr { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .cmp-matrix--dense .cmp-job { grid-column: 1 / -1; }
  .cmp-matrix--dense .cmp-td { display: block; border-left: 1px solid var(--hairline) !important; border-bottom: 0; }
  .cmp-matrix--dense .cmp-td::before { display: block; margin-bottom: 8px; }
  .cmp-matrix--dense .cmp-td--us { border-left: 0 !important; }
  .cmp-matrix--dense.is-picking .cmp-tr { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── Index: one card per comparison ── */
/* Hairlines drawn by each card (right and bottom), so an unfilled last row stays paper, not a grey block. */
.cmp-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hairline); }
.cmp-pick { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 230px; padding: var(--card-pad); background: var(--paper); box-shadow: inset -1px 0 0 var(--hairline), inset 0 -1px 0 var(--hairline); transition: background-color var(--dur) var(--ease-out); }
.cmp-pick:hover, .cmp-pick:focus-visible { background: var(--canvas); }
.cmp-pick:focus-visible { outline-offset: -3px; }
.cmp-pick__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cmp-pick__vs { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--font-body); color: var(--ink-58); }
.cmp-pick__vs .pixel-ui { color: var(--orange); }
.cmp-pick__name { font: 500 var(--t-h2)/1.05 var(--font-display); letter-spacing: var(--track-h); color: var(--ink); }
.cmp-pick__best { max-width: 30em; }
.cmp-pick__best b { font-weight: 500; color: var(--ink); }
.cmp-pick__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--ink); font-weight: 500; }
.cmp-pick__go .cmp-arrow { transition: translate var(--dur) var(--ease-out); }
.cmp-pick:hover .cmp-pick__go .cmp-arrow { translate: 2px -2px; }
.cmp-pick::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-slow) var(--ease-out); }
.cmp-pick:hover::after, .cmp-pick:focus-visible::after { transform: scaleX(1); }
@media (max-width: 1023px) { .cmp-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cmp-picks { grid-template-columns: 1fr; } .cmp-pick { min-height: 0; } }

/* ── More comparisons: a short band of chips before the shared FAQ ── */
.cmp-more-sec { padding-block: clamp(40px, 28px + 3vw, 64px); }
.cmp-more .pixel-ui { color: var(--ink-58); }
.cmp-more ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cmp-more .chip { height: 44px; padding: 0 16px; }
.cmp-more .chip:hover { border-color: var(--ink-32); }

/* ── The hero's tidbit: the table, one job at a time ── */
.cmp-ticker { width: min(100%, 600px); margin-top: clamp(36px, 24px + 3vw, 56px); text-align: left; border-radius: var(--r-lg); background: var(--canvas);
  border: 1px solid var(--hairline); box-shadow: var(--shadow-md); overflow: hidden; }
.cmp-ticker__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--hairline); color: var(--ink-58); }
.cmp-ticker__head b { font-weight: 400; color: var(--orange); }
.cmp-ticker__dots { display: flex; gap: 4px; }
.cmp-ticker__dots i { width: 6px; height: 6px; background: var(--hairline-strong); transition: background-color .4s var(--ease-in-out); }
.cmp-ticker__dots i.is-on { background: var(--orange); }
.cmp-ticker__slides { display: grid; }
.cmp-ticker__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-in-out), visibility 0s .5s; }
.cmp-ticker__slide.is-on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease-in-out) .15s, visibility 0s; }
.cmp-ticker__job { padding: 16px 16px 12px; font: 500 var(--t-h3)/1.15 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.cmp-ticker__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hairline); }
.cmp-ticker__col { display: grid; gap: 8px; padding: 14px 16px 16px; }
.cmp-ticker__col + .cmp-ticker__col { border-left: 1px solid var(--hairline); }
.cmp-ticker__col--us { background: color-mix(in oklab, var(--orange-soft) 26%, var(--canvas)); }
.cmp-ticker__col--us .cmp-mark--yes { color: var(--orange); }
.cmp-ticker__name { font-size: 13px; color: var(--ink-58); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-ticker__val { display: flex; align-items: center; gap: 8px; font: 500 15px/1.2 var(--font-body); color: var(--ink); }
.cmp-ticker__col[data-state="no"] .cmp-ticker__val, .cmp-ticker__col[data-state="not-stated"] .cmp-ticker__val { color: var(--ink-58); font-weight: 400; }
.cmp-ticker__col[data-state="manual"] .cmp-ticker__val { color: var(--peach-ink); }
/* Each mark pixels in as its slide arrives (the cells' delays are set by compare.js). */
.cmp-ticker.is-armed .cmp-ticker__slide .cmp-mark rect { opacity: 0; }
.cmp-ticker.is-armed .cmp-ticker__slide.is-on .cmp-mark rect { opacity: 1; transition: opacity 0s calc(.2s + var(--d, 0s)); }
@media (max-width: 560px) {
  .cmp-ticker__col { padding: 12px; }
  .cmp-ticker__val { font-size: 14px; gap: 6px; flex-wrap: wrap; }
}

/* ── Touch sizes (SITE-26 M4): every link and button at least 44 px tall on tablets and phones, or any coarse pointer ── */
@media (max-width: 1024px), (pointer: coarse) {
  .cmp-src, a.cmp-fit__src { min-height: 44px; }
  .cmp-notes ol { gap: 0; }
  .cmp-notes li { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; min-height: 44px; padding-block: 4px; }
  .cmp-notes li a { display: inline-flex; align-items: center; min-height: 44px; }
  .cmp-footer__col a { min-height: 44px; }
}

/* Section heads without numerals (founder, 2026-10-31): the eyebrow sits above the heading in one column. Harmless once
   the system makes the numeral opt-in. */
.cmp-head { display: block; }
.cmp-head .sec-head__title { max-width: 18em; }
.cmp-head__label { margin-bottom: 16px; }

/* The skip link is a real target too (M4). */
.cmp-page .skip:focus { display: inline-flex; align-items: center; min-height: 44px; }
.cmp-notes__legal { margin-top: 14px; max-width: 60em; }
