/* ── Shared styles for the /…-alternative comparison pages ──────────────────
   One source of truth so every "vs X" page is visually identical: same table,
   same pills, same tick/cross icons, same theme tokens. No translucent washes -
   every coloured element is a solid fill (design-system: solid-fill pills). */

.cmp-wrap { overflow-x: auto; overflow-y: clip; margin: 36px 0; border-radius: 12px; border: 1px solid var(--border-soft); }
.cmp { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cmp thead tr { border-bottom: 2px solid var(--border-soft); }
.cmp th { padding: 13px 18px; text-align: left; font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); background: var(--surface-1); white-space: nowrap; }
.cmp th.hl { color: var(--accent); background: var(--surface-2); box-shadow: inset 0 -2px 0 0 var(--accent); }
.cmp td { padding: 11px 18px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td.hl { background: var(--surface-2); }
.cmp td:first-child { color: var(--text-2); font-weight: 500; font-size: 13px; }

/* Cell verdicts — every marker is a SOLID chip, never a translucent wash.
   .cmp-y affirmative · .cmp-n negative · .cmp-p partial/nuance (any length) */
.cmp-y, .cmp-n, .cmp-p { display: inline-flex; align-items: flex-start; gap: 8px; line-height: 1.45; font-size: 13px; }
.cmp-y { color: var(--text-2); font-weight: 500; }
.cmp-n { color: var(--text-4); font-weight: 500; }
.cmp-p { color: var(--text-2); font-weight: 500; }
.cmp-y::before, .cmp-n::before, .cmp-p::before {
  flex: none; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10.5px; font-weight: 900; line-height: 1;
}
.cmp-y::before { content: "✓"; background: var(--ok); color: #07130c; }
.cmp-n::before { content: "✕"; background: var(--surface-3); color: var(--text-4); font-size: 9px; box-shadow: inset 0 0 0 1px var(--border-soft); }
.cmp-p::before { content: ""; background: var(--accent); width: 9px; height: 9px; margin: 5px 4px 0; }

/* Solid-fill accent tier pill (Associate / Professional / Architect / Team / Class) */
.cmp-note { color: var(--text-3); font-size: 12.5px; margin-left: 7px; }
.cmp .pill { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 11.5px; letter-spacing: .01em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }

/* Pain / friction grid */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: 12px; overflow: hidden; margin: 36px 0; }
.pain-card { background: var(--surface-0); padding: 26px; }
.pain-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-4); margin-bottom: 10px; }
.pain-card h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 10px; color: var(--text-1); }
.pain-card p { font-size: 13.5px; color: var(--text-3); margin: 0; line-height: 1.65; }
.fix-quote { background: var(--surface-1); border-left: 3px solid var(--border); border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 14px 0 0; font-size: 12.5px; color: var(--text-3); font-style: italic; line-height: 1.6; }

/* Migration strip */
.mig-box { background: var(--surface-1); border: 1px solid var(--border-soft); border-radius: 12px; padding: 32px 36px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.mig-box .mig-step { flex: 1; min-width: 160px; }
.mig-box .mig-step .mig-n { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-4); margin-bottom: 6px; }
.mig-box .mig-step h4 { font-size: 14.5px; font-weight: 700; margin: 0 0 4px; color: var(--text-1); }
.mig-box .mig-step p { font-size: 13px; color: var(--text-3); margin: 0; }
.mig-arrow { color: var(--text-4); font-size: 22px; flex-shrink: 0; }

/* Pinned-fact + honesty bands */
.truth-band { background: var(--surface-1); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 28px 0; }
.truth-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.truth-inner .truth-icon { color: var(--accent); flex-shrink: 0; }
.truth-inner p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.6; }
.honest-band { background: var(--surface-1); border: 1px solid var(--border-soft); border-left: 3px solid var(--accent); border-radius: 8px; padding: 22px 26px; margin: 8px 0 0; }
.honest-band h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 8px; }
.honest-band p { font-size: 13.5px; color: var(--text-3); margin: 0; line-height: 1.7; }

/* Topic-cluster interlink cards (hub <-> spoke, and spoke <-> spoke) */
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; margin-top: 28px; }
.rel-card { display: block; background: var(--surface-1); border: 1px solid var(--border-soft); border-radius: 10px; padding: 16px 18px; text-decoration: none; transition: border-color .15s, transform .15s; }
.rel-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.rel-card b { display: block; color: var(--text-1); font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.rel-card span { color: var(--text-3); font-size: 12.5px; }

@media (max-width: 640px) { .mig-arrow { display: none; } }
