/* compare (v3): softened V1 table on a beige panel with margins */
.cmp-panel { padding: 0 32px; }  /* G7: the section plate comes from the shell, no inner panel */
.cmp-head { text-align: center; max-width: 860px; margin: 0 auto; }
.cmp-icon { width: 22px; height: 22px; border-radius: 6px; flex: none; }

.cmp-table { --c-bot: 220px; --c-us: 280px; position: relative; max-width: 1000px; margin: 56px auto 0; }
/* Tobira column: white sheet with a quiet outline, no brand gradient */
.cmp-uscol { position: absolute; top: -14px; bottom: -14px; right: 0; width: var(--c-us); border-radius: 22px;
  background: var(--sheet); box-shadow: var(--shadow-card); }
.cmp-row { position: relative; display: grid; grid-template-columns: 1fr var(--c-bot) var(--c-us); align-items: center; min-height: 60px; }
.cmp-row { z-index: 1; }  /* rows paint above the Tobira sheet so their hairlines run through it */
/* v5-56: the row hairline continues through the Tobira column (light grey, also on the white sheet) */
.cmp-row:not(.cmp-top):not(.cmp-foot) .cmp-feat, .cmp-row:not(.cmp-top):not(.cmp-foot) .cmp-bot,
.cmp-row:not(.cmp-top):not(.cmp-foot) .cmp-us { border-top: 1px solid var(--line-2); align-self: stretch; display: flex; align-items: center; }
.cmp-feat { font: 400 16px/1.4 var(--font); color: var(--ink-2); padding: 14px 20px 14px 0; }
.cmp-bot { justify-content: center; text-align: center; padding: 0 12px; }
.cmp-us { display: flex; justify-content: center; text-align: center; padding: 0 20px; }
.cmp-top { min-height: 68px; align-items: end; padding-bottom: 10px; }
.cmp-top .cmp-bot, .cmp-top .cmp-us { display: flex; justify-content: center; }
.cmp-colname { font: 500 14px/1.25 var(--font); color: var(--muted); }
.cmp-colname.us { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--ink); }
.cmp-foot { min-height: 74px; }
/* chatbot ticks are fainter than Tobira ticks; both black-on-white, no colour */
.cmp-bot .cmp-yes { color: var(--muted); background: transparent; }
.cmp-no { display: block; width: 12px; height: 1.6px; border-radius: 2px; background: var(--faint); }
.cmp-txt { font: 400 14px/1.35 var(--font); color: var(--muted); }
.cmp-txt.us { font: 500 14.5px/1.35 var(--font); color: var(--ink); }

/* one-time reveal of Tobira cells */
.cmp .cmp-us > span { transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 150ms); }
.cmp:not(.is-in) .cmp-row:not(.cmp-top) .cmp-us > span { opacity: 0; transform: scale(.7); }
@media (prefers-reduced-motion: reduce) { .cmp .cmp-us > span { transition: none; } }

@media (max-width: 1100px) { .cmp-panel { padding: 56px 36px 44px; } }
@media (max-width: 900px) {
  .cmp-table { --c-bot: 120px; --c-us: 150px; margin-top: 44px; }
  .cmp-feat { font-size: 15px; }
}
@media (max-width: 560px) {
  .cmp .wrap { padding-left: 16px; padding-right: 16px; }
  .cmp-panel { padding: 0; }
  .cmp-table { --c-bot: 70px; --c-us: 100px; }
  .cmp-uscol { top: -10px; bottom: -10px; border-radius: 16px; }
  .cmp-feat { font-size: 13.5px; padding-right: 8px; }
  .cmp-bot, .cmp-us { padding: 0 5px; }
  .cmp-colname { font-size: 11.5px; }
  .cmp-colname.us { flex-direction: column; gap: 6px; font-size: 12px; }
  .cmp-txt { font-size: 11.5px; }
  .cmp-txt.us { font-size: 12px; }
  .cmp-foot .tb-btn { padding: 0 10px; font-size: 12px; height: 34px; white-space: normal; line-height: 1.1; }
}
