/* compare — the comparison hub and the three "alternative" pages (S960–S962, 5 Nov 2026).
   Feature kit (pages/_feature.css) plus these few rules; docusign-alternative.css, adobe-sign-alternative.css and
   dropbox-sign-alternative.css import this file. Scoped under .fk.cmp. Plain even borders, no coloured edges. */

/* captions are for screen readers; the line under each table says the same for everyone */
.fk.cmp .cmp-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the line under a table in the stage sits on white, below the blue edge */
.fk.cmp .cmp-under { margin: 18px 2px 0; max-width: 92ch; font: 400 14px/1.6 var(--font-sans); color: var(--fk-mute); }
.fk.cmp .cmp-under a { color: var(--fk-blue); }
.fk.cmp .cmp-under a:hover { color: var(--fk-blue-deep); }

/* the hub's price table: five columns, KuduDoc's row on a pale ground */
.fk.cmp .cmp-hub { font-size: 14.5px; }
.fk.cmp .cmp-hub thead th { text-align: left; }
.fk.cmp .cmp-hub tbody th { width: 17%; }
.fk.cmp .cmp-hub tbody td { width: 20.75%; }
.fk.cmp .cmp-hub tr.is-kd :is(th, td) { background: var(--fk-ice); }
.fk.cmp .cmp-hub tr.is-kd th { color: var(--fk-blue-deep); }

/* compare tables: the other service's header has the plain ink rule */
.fk.cmp .fk-table--compare thead th:not(.is-this)::before { background: var(--fk-faint); }

/* the "if you… consider" and yearly cost tables */
.fk.cmp .cmp-fit tbody th { width: 42%; font-weight: 600; }
.fk.cmp :is(.cmp-fit, .cmp-cost) thead th { text-align: left; }
.fk.cmp .cmp-cost tbody td:nth-of-type(1) { color: var(--fk-ink); font-weight: 600; }

/* one comparison at a time: three link cards */
.fk.cmp .cmp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fk.cmp .cmp-cards a {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px 24px 22px; border-radius: 20px;
  background: #fff; box-shadow: var(--fk-card-sh); text-decoration: none; transition: box-shadow .2s ease;
}
.fk.cmp .cmp-cards a:hover, .fk.cmp .cmp-cards a:focus-visible { box-shadow: inset 0 0 0 1.5px var(--fk-blue), 0 12px 28px -22px rgba(16, 45, 73, .5); }
.fk.cmp .cmp-cards b { font: 650 18px/1.3 var(--font-display); letter-spacing: -.012em; color: var(--fk-ink); }
.fk.cmp .cmp-cards b::after { content: " →"; color: var(--fk-blue); }
.fk.cmp .cmp-cards span { font: 400 15px/1.55 var(--font-sans); color: var(--fk-body); }

@media (max-width: 1000px) {
  .fk.cmp .cmp-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .fk.cmp :is(.cmp-hub, .cmp-fit, .cmp-cost) tbody :is(th, td) { width: auto; }
  .fk.cmp .cmp-hub tr.is-kd { background: var(--fk-ice); }
  .fk.cmp .cmp-hub tr.is-kd :is(th, td) { background: none; }
  .fk.cmp .cmp-hub tbody th, .fk.cmp .cmp-cost tbody th { font: 650 16px/1.3 var(--font-display); color: var(--fk-ink); }
  .fk.cmp .fk-table--compare tbody td:nth-of-type(2)::before { color: var(--fk-mute); }
  .fk.cmp .fk-table--compare tbody td:nth-of-type(1)::before { color: var(--fk-blue); }
}
@media (prefers-reduced-motion: reduce) {
  .fk.cmp .cmp-cards a { transition: none; }
}
