/* ─────────────────────────────────────────────────────────────
   Comparison pages (/compare/erika-vs-*, /cz/erika-vs-*).
   Additions on top of site.css; tokens only. Generated pages,
   see _dev/gen_compare.py.
   ───────────────────────────────────────────────────────────── */

/* ── Short answer ─────────────────────────────────────────── */
.cmp-answer{max-width:860px}
.cmp-answer h2{font-size:clamp(28px,3.4vw,40px);line-height:1.15}
.cmp-answer .lead{margin-top:24px;max-width:760px;color:var(--ink-2)}
.cmp-meta{margin-top:24px;font:400 13px/1.4 var(--f-mono);color:var(--mute)}

/* ── Side-by-side table: white, 1px lines, Erika column on paper ── */
.cmp-table{border:1px solid var(--line);border-radius:20px;background:var(--white);overflow:hidden}
.cmp-table table{width:100%;border-collapse:collapse;table-layout:fixed}
.cmp-table th,.cmp-table td{padding:22px 28px;text-align:left;vertical-align:top;font-size:15px;line-height:1.55}
.cmp-table thead th{padding-top:26px;padding-bottom:22px;font:600 20px/1.25 var(--f-display);letter-spacing:-.01em;color:var(--ink)}
.cmp-table thead td{width:22%}
.cmp-table tbody tr{border-top:1px solid var(--line)}
.cmp-table tbody th{font:400 13px/1.5 var(--f-mono);color:var(--mute);padding-top:25px}
.cmp-table td{color:var(--mute)}
.cmp-table .cmp-table__erika{background:var(--paper);color:var(--ink)}
.cmp-table td+td{border-left:1px solid var(--line)}
.cmp-table thead th+th{border-left:1px solid var(--line)}
@media (max-width:760px){
  .cmp-table{border-radius:var(--r-card)}
  .cmp-table table,.cmp-table tbody,.cmp-table tr,.cmp-table th,.cmp-table td{display:block;width:auto}
  .cmp-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .cmp-table tbody tr{padding:18px 16px}
  .cmp-table tbody tr:first-child{border-top:0}
  .cmp-table tbody th{padding:0 0 10px}
  .cmp-table td{padding:12px 14px;border-radius:12px}
  .cmp-table td+td{border-left:0;margin-top:6px}
  .cmp-table td::before{content:attr(data-label);display:block;margin-bottom:4px;font:600 14px/1.3 var(--f-display);color:var(--ink)}
}

/* ── Key differences: two columns, steps-style rules ──────── */
.cmp-when{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}
.cmp-when>div{padding:32px 40px 0 0}
.cmp-when>div+div{padding:32px 0 0 40px;border-left:1px solid var(--line)}
.cmp-when h3{font-size:22px}
.cmp-when .checks{margin-top:24px}
.cmp-dash{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:14px}
.cmp-dash li{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:1.5;color:var(--ink-2)}
.cmp-dash li::before{content:"";flex:none;width:22px;height:22px;margin-top:1px;border-radius:50%;background:linear-gradient(var(--mute),var(--mute)) center/9px 1.5px no-repeat var(--paper)}
@media (max-width:860px){
  .cmp-when{grid-template-columns:1fr}
  .cmp-when>div,.cmp-when>div+div{padding:24px 0 28px;border-left:0}
  .cmp-when>div+div{border-top:1px solid var(--line)}
  .cmp-when h3{font-size:var(--fs-h3)}
}

/* ── Customers: two quotes side by side ───────────────────── */
.cmp-quotes{grid-template-columns:1fr 1fr}
@media (max-width:620px){.cmp-quotes{grid-template-columns:1fr}}

/* ── FAQ: related links under the questions ───────────────── */
.faq .hiring{margin-top:40px}
