/* Compare table · Scroll Story Kit
   Static (no JS, reduced motion): the full comparison table with every tick and cross shown.
   Motion: each body row has its own short cover range (data-sk-range="cover 27% 37%", about where a row crosses the
   reading line two thirds down the screen). As a row crosses, its background fills from left to right, its text
   comes up to full ink and its tick or cross scales in. Scroll back up and the row goes quiet again. */
.sk-cmp {
  --sk-cmp-tint: color-mix(in oklab, var(--sk-accent-2) 13%, transparent); /* the lit row fill */
  --sk-cmp-quiet: .5;  /* opacity of a row before it lights */
}
.sk-cmp-wrap { max-width: 980px; }
.sk-cmp-head { max-width: 720px; }
.sk-cmp-frame { margin-top: clamp(32px, 5vw, 52px); padding: clamp(8px, 1.6vw, 18px); border-radius: var(--sk-radius); background: var(--sk-surface); box-shadow: var(--sk-shadow); }
.sk-cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: var(--sk-size-body); }
.sk-cmp-table th, .sk-cmp-table td { padding: 16px clamp(10px, 2vw, 22px); text-align: left; vertical-align: middle; }
.sk-cmp-table thead th { padding-top: 14px; padding-bottom: 14px; font-size: var(--sk-size-kicker); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sk-ink-2); border-bottom: 2px solid var(--sk-line); }
.sk-cmp-table thead th:first-child { width: 34%; }
.sk-cmp-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: color-mix(in oklab, var(--sk-accent) 14%, var(--sk-surface)); color: var(--sk-accent-text); box-shadow: inset 0 0 0 1.5px var(--sk-accent); letter-spacing: .08em; font-size: .875rem; font-weight: 800; }
.sk-cmp-table tbody th { font-weight: 700; font-size: 1.0625rem; }
.sk-cmp-table tbody tr > * { border-bottom: 1px solid var(--sk-line); }
.sk-cmp-table tbody tr:last-child > * { border-bottom: 0; }
.sk-cmp-table tbody tr > :first-child { border-radius: var(--sk-radius-sm) 0 0 var(--sk-radius-sm); }
.sk-cmp-table tbody tr > :last-child { border-radius: 0 var(--sk-radius-sm) var(--sk-radius-sm) 0; }
.sk-cmp-cell { display: flex; align-items: center; gap: 12px; }
.sk-cmp-ours .sk-cmp-cell { font-weight: 700; }
.sk-cmp-table td:not(.sk-cmp-ours) { color: var(--sk-ink-2); }
.sk-cmp-ic { flex: none; display: block; width: 26px; height: 26px; }
.sk-cmp-ic svg { display: block; width: 100%; height: 100%; }
.sk-cmp-ic path { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sk-cmp-ic--yes circle { fill: var(--sk-good); }
.sk-cmp-ic--yes path { stroke: var(--sk-surface); }
.sk-cmp-ic--no circle { fill: var(--sk-sunk); }
.sk-cmp-ic--no path { stroke: var(--sk-ink-2); }
.sk-cmp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 28px 0 0; color: var(--sk-ink-2); font-size: var(--sk-size-small); }

:root.sk-on .sk-cmp-row {
  --k: clamp(0, var(--sk-p) * 1.4, 1);
  background-image: linear-gradient(var(--sk-cmp-tint), var(--sk-cmp-tint));
  background-repeat: no-repeat;
  background-size: calc(var(--sk-p) * 100%) 100%;
}
:root.sk-on .sk-cmp-row > * { opacity: calc(var(--sk-cmp-quiet) + (1 - var(--sk-cmp-quiet)) * var(--k)); }
:root.sk-on .sk-cmp-row .sk-cmp-ic { transform: scale(clamp(0, (var(--sk-p) - .25) * 1.6, 1)) rotate(calc((1 - clamp(0, (var(--sk-p) - .25) * 1.6, 1)) * -40deg)); }

@media (max-width: 600px) {
  .sk-cmp-frame { margin-left: -6px; margin-right: -6px; padding: 4px; }
  .sk-cmp-table { font-size: .9375rem; }
  .sk-cmp-table th, .sk-cmp-table td { padding: 12px 8px; }
  .sk-cmp-table thead th { font-size: .75rem; letter-spacing: .06em; }
  .sk-cmp-table thead th:first-child { width: 30%; }
  .sk-cmp-tag { padding: 5px 9px; font-size: .75rem; letter-spacing: .04em; }
  .sk-cmp-table tbody th { font-size: .9375rem; }
  .sk-cmp-cell { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sk-cmp-ic { width: 22px; height: 22px; }
}
