/* ==========================================================================
   Compare layout (data-sol-layout="compare")
   Verdict-first comparison page: VS hero, verdict cards, grouped comparison
   table with an "edge" column, same-message threads, when-to cards,
   cost calculator, routing guide, two-column setup.
   ========================================================================== */
.cmp-hero-vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; max-width: 520px; margin: 0 auto; }
.cmp-hero-card { border-radius: 24px; padding: 22px 20px; background: rgba(255,255,255,.05); border: 1px solid var(--dark-line); color: var(--dark-text); display: flex; flex-direction: column; gap: 12px; }
.cmp-hero-card h3 { color: #fff; font-size: 1.15rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.cmp-hero-card h3 .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); }
.cmp-hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; line-height: 1.4; }
.cmp-hero-card li { display: flex; gap: 8px; }
.cmp-hero-card li .i { width: 16px; height: 16px; color: var(--c); flex: none; margin-top: 2px; stroke-width: 3; }
.cmp-hero-card .price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--dark-line); font-size: .82rem; }
.cmp-hero-card .price b { display: block; font-family: var(--display); color: #fff; font-size: 1.5rem; }
.cmp-hero-card--sms { --c: var(--sms); } .cmp-hero-card--wa { --c: var(--wa); }
.cmp-vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--dark); font-family: var(--display); font-weight: 800; box-shadow: 0 10px 30px rgba(0,0,0,.4); z-index: 2; }
.cmp-hero-note { text-align: center; color: var(--dark-text); font-size: .78rem; margin-top: 12px; opacity: .8; }
.sol-ch--whatsapp { --c: #0f7a3d; }

/* Verdict */
.cmp-verdict { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1120px; margin: 0 auto; }
.cmp-vcard { position: relative; border-radius: 20px; padding: 24px 22px 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-top: 5px solid var(--c); }
.cmp-vcard--sms { --c: var(--sms); } .cmp-vcard--wa { --c: var(--wa); } .cmp-vcard--both { --c: var(--brand); }
.cmp-vcard .tag { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--c); margin-bottom: 8px; }
.cmp-vcard h3 { font-size: 1.15rem; margin: 0 0 12px; }
.cmp-vcard ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.cmp-vcard li { display: flex; gap: 10px; font-size: .93rem; line-height: 1.45; color: var(--body); }
.cmp-vcard li .i { width: 16px; height: 16px; color: var(--c); flex: none; margin-top: 3px; stroke-width: 3; }
@media (max-width: 900px) { .cmp-verdict { grid-template-columns: 1fr; } }

/* Comparison table */
.cmp-table-wrap { max-width: 1120px; margin: 0 auto; }
.cmp-table { min-width: 720px; }
.cmp-table thead th { position: sticky; top: 0; z-index: 1; }
.cmp-table th.cmp-col-sms { color: var(--sms); } .cmp-table th.cmp-col-wa { color: #128c45; }
.cmp-table td:first-child { font-weight: 600; color: var(--ink); width: 19%; }
.cmp-table td.cmp-edge { width: 112px; white-space: nowrap; }
.cmp-table tr.cmp-group td { background: var(--soft) !important; font-family: var(--display); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 10px; padding-bottom: 10px; }
.cmp-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.cmp-pill--sms { background: #efeaff; color: #5b3fe0; } .cmp-pill--wa { background: #e6f8ed; color: #128c45; } .cmp-pill--tie { background: var(--soft); color: var(--muted); }
.cmp-table-note { max-width: 1120px; margin: 12px auto 0; font-size: .84rem; color: var(--muted); }

/* Same message, two channels */
.cmp-same { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1040px; margin: 0 auto; }
.cmp-same .sol-thread-body { min-height: 0; }
.cmp-same .sol-thread-body[data-ch="sms"] .sol-msg--out { background: #34c759; }
.cmp-same-cap { margin: 12px 4px 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.cmp-att { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-top: 8px; border-radius: 10px; background: rgba(0,0,0,.05); font-size: .84rem; }
.cmp-att .i { width: 18px; height: 18px; color: #128c45; }
.cmp-voice { display: flex; align-items: center; gap: 10px; }
.cmp-voice .bar { flex: 1; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, #6b7c72 0 3px, transparent 3px 6px); }
.cmp-voice .cmp-play { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #128c45; color: #fff; }
.cmp-voice .cmp-play .i { width: 12px; height: 12px; }
.cmp-tick { display: block; text-align: right; font-size: .7rem; color: #53bdeb; margin-top: 4px; }
@media (max-width: 820px) { .cmp-same { grid-template-columns: 1fr; } }

/* When to choose */
.cmp-when { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1120px; margin: 0 auto; }
.cmp-when-col { border-radius: 22px; padding: 24px; background: #fff; border: 1px solid var(--line); }
.cmp-when-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 0 0 16px; }
.cmp-when-col h3 .sol-ch { font-size: .78rem; }
.cmp-when-list { display: grid; gap: 12px; }
.cmp-when-item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px; border-radius: 14px; background: var(--soft); }
.cmp-when-item .icon-badge { margin: 0; width: 40px; height: 40px; }
.cmp-when-item .icon-badge .i { width: 18px; height: 18px; }
.cmp-when-item b { display: block; color: var(--ink); margin-bottom: 2px; }
.cmp-when-item span { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.cmp-when-col--sms { border-top: 5px solid var(--sms); } .cmp-when-col--wa { border-top: 5px solid var(--wa); }
@media (max-width: 860px) { .cmp-when { grid-template-columns: 1fr; } }

/* Cost */
.cmp-cost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 26px; max-width: 1120px; margin: 0 auto; align-items: start; }
.cmp-calc { background: var(--dark-2); color: var(--dark-text); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-lg); }
.cmp-calc h3 { color: #fff; margin: 0 0 4px; font-size: 1.1rem; }
.cmp-calc > p { margin: 0 0 18px; font-size: .86rem; }
.cmp-calc label { display: grid; gap: 6px; margin-bottom: 14px; font-size: .86rem; font-weight: 600; color: #fff; }
.cmp-calc input[type="range"] { width: 100%; accent-color: var(--brand); }
.cmp-calc .val { font-family: var(--display); font-size: 1.1rem; }
.cmp-calc-out { border-top: 1px solid var(--dark-line); padding-top: 16px; display: grid; gap: 8px; font-size: .9rem; }
.cmp-calc-out div { display: flex; justify-content: space-between; gap: 12px; }
.cmp-calc-out b { color: #fff; text-align: right; }
.cmp-calc-out .total { font-size: 1.05rem; padding-top: 8px; border-top: 1px dashed var(--dark-line); }
.cmp-calc-out .total b { font-family: var(--display); font-size: 1.5rem; }
.cmp-calc small { display: block; margin-top: 12px; font-size: .76rem; opacity: .85; }
.cmp-insight { margin: 0 0 16px; }
@media (max-width: 900px) { .cmp-cost { grid-template-columns: 1fr; } }

/* Routing */
.cmp-route { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.cmp-route ol { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 12px; }
.cmp-route li { counter-increment: r; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: var(--body); line-height: 1.55; }
.cmp-route li::before { content: counter(r); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.cmp-route li b { color: var(--ink); }
@media (max-width: 860px) { .cmp-route { grid-template-columns: 1fr; } }

/* Two-column setup */
.cmp-setup { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1080px; margin: 0 auto; }
.cmp-setup-col { border-radius: 20px; padding: 24px; background: rgba(255,255,255,.04); border: 1px solid var(--dark-line); color: var(--dark-text); }
.cmp-setup-col h3 { color: #fff; display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1.1rem; }
.cmp-setup-col > p { margin: 0 0 14px; font-size: .88rem; }
.cmp-setup-col ol { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; line-height: 1.5; }
.cmp-setup-col strong { color: #fff; }
.cmp-setup-col a { color: #9cc3f7; font-weight: 700; font-size: .88rem; }
@media (max-width: 820px) { .cmp-setup { grid-template-columns: 1fr; } }
.cmp-route .table, .cmp-cost .table { min-width: 0; }
.cmp-cost > *, .cmp-route > * { min-width: 0; }
@media (max-width: 760px) {
  .cmp-stack { min-width: 0 !important; }
  .cmp-stack thead { display: none; }
  .cmp-stack, .cmp-stack tbody, .cmp-stack tr, .cmp-stack td { display: block; width: 100% !important; }
  .cmp-stack tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .cmp-stack td { border: 0; padding: 6px 16px; white-space: normal !important; }
  .cmp-stack td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
  .cmp-stack td:first-child { font-size: 1rem; padding-top: 10px; }
  .cmp-stack tr.cmp-group { padding: 0; }
  .cmp-stack tr.cmp-group td { padding: 10px 16px; }
}

/* iMessage as one side of the comparison (mod "im") */
.cmp-hero-card--im { --c: var(--im); }
.cmp-vcard--im { --c: var(--im); }
.cmp-when-col--im { border-top: 5px solid var(--im); }
.cmp-table th.cmp-col-im { color: #0a6fd6; }
.cmp-pill--im { background: #e5f1ff; color: #0a6fd6; }
.sol-thread-body[data-ch="imessage"] .cmp-att { background: rgba(255,255,255,.18); }
.sol-thread-body[data-ch="imessage"] .cmp-att .i { color: #fff; }
.sol-thread-body[data-ch="imessage"] .cmp-voice .bar { background: repeating-linear-gradient(90deg, rgba(255,255,255,.75) 0 3px, transparent 3px 6px); }
.sol-thread-body[data-ch="imessage"] .cmp-voice .cmp-play { background: #fff; color: #0a84ff; }
.sol-thread-body[data-ch="imessage"] .cmp-voice .cmp-play .i { color: #0a84ff; }
.sol-thread-body[data-ch="imessage"] .cmp-tick { color: rgba(255,255,255,.8); }

/* Calculator: plan select and lines hint (lines model) */
.cmp-calc select { width: 100%; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--dark-line); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-weight: 600; }
.cmp-calc select option { color: var(--ink); background: #fff; }
.cmp-calc-hint { margin: -4px 0 16px; font-size: .84rem; }
.cmp-calc-hint b { color: #fff; font-family: var(--display); }

/* Blue or green: bubble explainer (custom section) */
.cmp-bubbles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 0 auto; }
.cmp-bubble-card { border-radius: 20px; padding: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cmp-bubble-card--im { --c: #0a84ff; } .cmp-bubble-card--rcs, .cmp-bubble-card--sms { --c: #34c759; }
.cmp-bubble { display: inline-block; padding: 8px 14px; border-radius: 18px 18px 4px 18px; background: var(--c); color: #fff; font-weight: 700; font-size: .9rem; }
.cmp-bubble-card h3 { margin: 12px 0 10px; font-size: 1.1rem; }
.cmp-bubble-card ul { list-style: disc; margin: 0 0 12px; padding-left: 18px; display: grid; gap: 6px; font-size: .92rem; line-height: 1.45; color: var(--body); }
.cmp-bubble-card p { margin: 0; font-size: .86rem; color: var(--muted); }
@media (max-width: 860px) { .cmp-bubbles { grid-template-columns: 1fr; } }

/* Line sizing table (custom section) */
.cmp-lines { max-width: 900px; margin: 0 auto; }

/* ==========================================================================
   Design variants (.cx wrapper, set when a page has PAGE["design"]). Catalog: tools/sol/layouts/compare_design.py
   ========================================================================== */

/* ---------- Themes ---------- */
.cx { --t-deep: var(--dark); --t-deep-2: #0a3d8f; --t-tint: var(--soft); --t-on-deep: #5fd3ff; --t-deep-text: var(--dark-text); --t-glow: rgba(0,188,212,.25); }
.cx-theme--teal { --brand: #0f766e; --brand-600: #115e59; --brand-2: #2dd4bf; --brand-soft: #e2f6f4; --t-deep: #062724; --t-deep-2: #134e4a; --t-tint: #f3faf9; --t-on-deep: #5eead4; --t-deep-text: #bfdcd8; --t-glow: rgba(45,212,191,.25); }
.cx-theme--indigo { --brand: #4f46e5; --brand-600: #4338ca; --brand-2: #818cf8; --brand-soft: #eef0ff; --t-deep: #14123a; --t-deep-2: #312e81; --t-tint: #f6f6ff; --t-on-deep: #a5b4fc; --t-deep-text: #c9cdf0; --t-glow: rgba(99,102,241,.38); }
.cx-theme--amber { --brand: #b45309; --brand-600: #92400e; --brand-2: #f59e0b; --brand-soft: #fff3dc; --t-deep: #1f1206; --t-deep-2: #78350f; --t-tint: #fffaf2; --t-on-deep: #fcd34d; --t-deep-text: #e6d6c1; --t-glow: rgba(245,158,11,.28); }
.cx-theme--violet { --brand: #6d28d9; --brand-600: #5b21b6; --brand-2: #a78bfa; --brand-soft: #f3edff; --t-deep: #1a0f33; --t-deep-2: #4c1d95; --t-tint: #faf7ff; --t-on-deep: #c4b5fd; --t-deep-text: #d6cbef; --t-glow: rgba(139,92,246,.3); }
.cx-theme--slate { --brand: #334155; --brand-600: #1e293b; --brand-2: #94a3b8; --brand-soft: #eef2f6; --t-deep: #0f172a; --t-deep-2: #1e293b; --t-tint: #f6f8fa; --t-on-deep: #cbd5e1; --t-deep-text: #b6c2d2; --t-glow: rgba(148,163,184,.25); }
.cx .btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand-600)); box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 35%, transparent); }
.cx .callout--tip { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 22%, #fff); }
.cx .callout--tip > .i { color: var(--brand); }
.cx .sol-jump a:hover { border-color: var(--brand); color: var(--brand); }
.cx-jn { font-weight: 800; color: var(--brand); margin-right: 6px; font-size: .78rem; }
.cx:not(.cx-hero-is-glance) .sol-benefits { margin-top: 0; padding: 40px 0 8px; }

/* ---------- Bands ---------- */
.cx-band--white { background: #fff; }
.cx-band--soft { background: var(--t-tint); }
.cx-band--accent { background: var(--brand-soft); }
.cx-band--deep, .cx-band--dark, .cx-band--fill { color: var(--t-deep-text); position: relative; overflow: hidden; }
.cx-band--deep { background: radial-gradient(900px 420px at 88% 0%, var(--t-glow), transparent 62%), var(--t-deep); }
.cx-band--dark { background: var(--dark); }
.cx-band--fill { background: radial-gradient(800px 400px at 90% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(135deg, var(--brand-600), var(--t-deep-2) 55%, var(--t-deep)); }
.cx-band--deep .sec-head h2, .cx-band--dark .sec-head h2, .cx-band--fill .sec-head h2, .cx-band--deep .sol-scn-story h2, .cx-band--dark .sol-scn-story h2 { color: #fff; }
.cx-band--deep .eyebrow, .cx-band--dark .eyebrow, .cx-band--fill .eyebrow { color: var(--t-on-deep); }
.cx-band--deep .sec-head p, .cx-band--dark .sec-head p, .cx-band--fill .sec-head p, .cx-band--deep .sol-scn-story p, .cx-band--dark .sol-scn-story p { color: var(--t-deep-text); }
.cx-band--deep .sol-scn-label, .cx-band--dark .sol-scn-label { background: rgba(255,255,255,.08); color: var(--t-deep-text); }
.cx-band--deep .table-wrap, .cx-band--dark .table-wrap, .cx-band--fill .table-wrap { background: #fff; color: var(--body); border-radius: 16px; }
.cx-band--deep .sol-rule, .cx-band--dark .sol-rule { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--t-deep-text); }
.cx-band--deep .sol-rule h3, .cx-band--dark .sol-rule h3 { color: #fff; }
.cx-band--deep .sol-rule p, .cx-band--dark .sol-rule p { color: var(--t-deep-text); }
.cx-band--deep .sol-limit, .cx-band--dark .sol-limit { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--t-deep-text); }

/* ---------- Section heads ---------- */
.cx-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; text-align: left; margin: 0 0 44px; padding-bottom: 26px; border-bottom: 2px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.cx-head--split h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cx-head--split p { margin: 0; font-size: 1.04rem; }
.cx-band--deep .cx-head--split, .cx-band--dark .cx-head--split { border-color: rgba(255,255,255,.14); }
.cx-head--index { max-width: 1080px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 26px; align-items: start; text-align: left; margin: 0 auto 40px; }
.cx-head--index .cx-ix { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--brand); }
.cx-band--deep .cx-ix, .cx-band--dark .cx-ix, .cx-band--fill .cx-ix { -webkit-text-stroke-color: var(--t-on-deep); }
.cx-head--index h2 { margin: 4px 0 8px; }
.cx-head--index p { margin: 0; }
.cx-ch { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: start; }
.cx-ch-side { position: sticky; top: 104px; }
.cx-head--chapter { text-align: left; margin: 0; max-width: none; padding-left: 18px; border-left: 3px solid var(--brand-2); }
.cx-head--chapter h2 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
.cx-ch-n { display: block; font-family: var(--display); font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -.04em; color: var(--brand); margin-bottom: 10px; }
.cx-band--deep .cx-ch-n, .cx-band--dark .cx-ch-n { color: var(--t-on-deep); }
.cx-ch-main > * { max-width: none !important; }
@media (max-width: 960px) { .cx-ch { grid-template-columns: minmax(0, 1fr); gap: 28px; } .cx-ch-side { position: static; } .cx-ch-n { font-size: 2.6rem; } }
@media (max-width: 760px) { .cx-head--split { grid-template-columns: 1fr; } .cx-head--index { grid-template-columns: 1fr; } }
.cx-heads--chapter .sol-jump, .cx-heads--split .sol-jump { justify-content: flex-start; max-width: 1080px; margin-left: auto; margin-right: auto; }

/* ---------- FAQ / CTA ---------- */
.cx-faq--columns { max-width: 1120px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; align-items: start; }
@media (max-width: 860px) { .cx-faq--columns { grid-template-columns: 1fr; } }
.cx-cta--band { padding: 0; background: radial-gradient(800px 400px at 85% 0%, var(--t-glow), transparent 60%), linear-gradient(135deg, var(--t-deep), var(--t-deep-2)); }
.cx .cta-band.cx-cta--band .cta-box { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 96px 0 40px; }
.cx-cta--band .sol-updated { margin: 0; padding-bottom: 32px; color: var(--t-deep-text); }
.cx-cta--band .btn--white { color: var(--brand-600); }
@media (max-width: 760px) { .cx .cta-band.cx-cta--band .cta-box { padding: 64px 0 28px; } }
.cx .cta-band.cx-cta--light .cta-box { background: var(--brand-soft); }
.cx-cta--light .cta-box { background: var(--brand-soft); border: 2px solid color-mix(in srgb, var(--brand) 25%, #fff); color: var(--body); box-shadow: none; }
.cx-cta--light .cta-box h2 { color: var(--ink); }
.cx-cta--light .cta-box p { color: var(--body); }
.cx-cta--light .btn--white { background: var(--brand); color: #fff; }
.cx-cta--light .btn--ghost { color: var(--ink); border-color: color-mix(in srgb, var(--brand) 35%, #fff); }

.cx-theme--rose { --brand: #be123c; --brand-600: #9f1239; --brand-2: #fb7185; --brand-soft: #ffe8ec; --t-deep: #2a0a12; --t-deep-2: #881337; --t-tint: #fff7f8; --t-on-deep: #fda4af; --t-deep-text: #ecc9cf; --t-glow: rgba(251,113,133,.28); }

/* ---------- Channel colours for design variants ---------- */
.cx-c--sms { --c: var(--sms); --c-soft: #efeaff; --c-ink: #5b3fe0; --c-deep: #3b27a8; }
.cx-c--wa { --c: var(--wa); --c-soft: #e6f8ed; --c-ink: #0f7a3d; --c-deep: #075e3f; }
.cx-c--im { --c: var(--im); --c-soft: #e5f1ff; --c-ink: #0a62c2; --c-deep: #0550a0; }
.cx-c--both { --c: var(--brand); --c-soft: var(--brand-soft); --c-ink: var(--brand-600); --c-deep: var(--t-deep-2); }
.cx .cmp-vcard--both { --c: var(--brand); }
.cx:not(.cx-hero-is-vs) .sol-benefits { margin-top: 0; padding: 40px 0 8px; }

/* ---------- Heroes (shared) ---------- */
.cx-hero { position: relative; overflow: hidden; padding: 150px 0 96px; background: radial-gradient(1000px 500px at 80% -20%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 60%), var(--t-deep); color: var(--t-deep-text); }
.cx-hero .wrap { position: relative; }
.cx-hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 18px; }
.cx-hero-sub { font-size: 1.1rem; line-height: 1.65; max-width: 620px; margin-bottom: 30px; }
.cx-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cx-hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.cx-hero .crumbs { justify-content: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.cx-hero .crumbs [aria-current] { color: #fff; }
.cx-hero .sol-hero-badges .badge .i { width: 14px; height: 14px; }
.cx-hero-copy--center { text-align: center; max-width: 860px; margin: 0 auto; }
.cx-hero-copy--center .crumbs, .cx-hero-copy--center .sol-hero-badges, .cx-hero-copy--center .hero-actions { justify-content: center; }
.cx-hero-copy--center .cx-hero-sub { margin-left: auto; margin-right: auto; }
.cx-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cx-hero-note { text-align: center; font-size: .78rem; margin: 14px 0 0; opacity: .85; }
.cx-hero ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cx-hero li { display: flex; gap: 8px; font-size: .92rem; line-height: 1.4; }
.cx-hero li .i { width: 16px; height: 16px; flex: none; margin-top: 2px; stroke-width: 3; }
@media (max-width: 960px) { .cx-hero { padding: 124px 0 72px; } .cx-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* split: two full-width halves */
.cx-hero--split { padding: 0; background: var(--t-deep); }
.cx-split-top { padding: 150px 0 48px; background: radial-gradient(900px 400px at 50% -10%, color-mix(in srgb, var(--brand) 40%, transparent), transparent 70%); }
.cx-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.cx-half { padding: 54px 64px 60px; background: linear-gradient(160deg, var(--c-ink), var(--c-deep)); color: rgba(255,255,255,.9); }
.cx-half--a { display: flex; justify-content: flex-end; }
.cx-half-in { width: 100%; max-width: 470px; }
.cx-half--b .cx-half-in { margin-left: 34px; }
.cx-half--a .cx-half-in { margin-right: 34px; }
.cx-half-tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.16); }
.cx-half h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.04em; margin: 12px 0 18px; }
.cx-half li .i { color: #fff; }
.cx-half-price { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.22); font-size: .86rem; }
.cx-half-price b { display: block; font-family: var(--display); color: #fff; font-size: 1.8rem; }
.cx-half-price small { font-size: .82rem; }
.cx-seam { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 10px rgba(255,255,255,.16), 0 16px 40px rgba(0,0,0,.4); z-index: 2; }
.cx-hero--split .cx-hero-note { padding: 14px 16px 18px; margin: 0; }
@media (max-width: 860px) {
  .cx-split-top { padding: 124px 0 40px; }
  .cx-split { grid-template-columns: 1fr; }
  .cx-half { padding: 40px 22px; }
  .cx-half--a .cx-half-in, .cx-half--b .cx-half-in { margin: 0 auto; }
}

/* balance: a pair of scales */
.cx-scale { position: relative; padding: 10px 0 0; }
.cx-scale::before { content: ""; position: absolute; left: 50%; top: 14px; bottom: 58px; width: 8px; margin-left: -4px; border-radius: 4px; background: linear-gradient(#cbd5e1, #64748b); }
.cx-beam { position: relative; height: 10px; width: 88%; margin: 0 auto; border-radius: 6px; background: linear-gradient(90deg, #e2e8f0, #94a3b8, #e2e8f0); transform: rotate(-3deg); box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.cx-pivot { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--brand-2); border: 4px solid #fff; }
.cx-pans { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; z-index: 1; }
.cx-pan { display: flex; flex-direction: column; align-items: center; }
.cx-pan--a { margin-top: 12px; } .cx-pan--b { margin-top: -10px; }
.cx-pan-rope { width: 2px; height: 34px; background: rgba(255,255,255,.5); }
.cx-pan-dish { width: 100%; border-radius: 10px 10px 26px 26px; padding: 18px; background: #fff; color: var(--body); border-top: 6px solid var(--c); box-shadow: 0 22px 50px rgba(0,0,0,.35); }
.cx-pan-dish h2 { font-size: 1.3rem; margin: 0 0 4px; color: var(--ink); }
.cx-pan-price { margin: 0 0 12px; font-size: .78rem; color: var(--muted); }
.cx-pan-price b { display: block; font-family: var(--display); color: var(--c-ink); font-size: 1.5rem; }
.cx-pan-dish li { font-size: .86rem; }
.cx-pan-dish li .i { color: var(--c-ink); }
.cx-stand { width: 160px; height: 18px; margin: 18px auto 0; border-radius: 10px 10px 4px 4px; background: linear-gradient(#94a3b8, #475569); }
@media (max-width: 560px) { .cx-pans { gap: 14px; } .cx-pan-dish { padding: 14px 12px; } .cx-pan-dish h2 { font-size: 1.1rem; } .cx-pan-price b { font-size: 1.2rem; } .cx-pan-dish li { font-size: .8rem; } }

/* scoreboard: light hero */
.cx-hero--light { background: radial-gradient(700px 380px at 50% 0%, color-mix(in srgb, var(--brand-2) 30%, transparent), transparent 65%), linear-gradient(180deg, var(--t-tint), #fff 90%); color: var(--body); }
.cx-hero--light h1 { color: var(--ink); }
.cx-hero--light .crumbs { color: var(--muted); }
.cx-hero--light .crumbs a { color: var(--body) !important; }
.cx-hero--light .crumbs [aria-current] { color: var(--ink); }
.cx-hero--light .badge--dark { background: #fff; color: var(--ink); border-color: var(--line); }
.cx-hero--light .btn--ghost { color: var(--ink); border-color: var(--line); background: #fff; }
body:has(.cx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .brand-logo img { filter: none; }
body:has(.cx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .nav a { color: var(--body); }
body:has(.cx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .header-cta .login,
body:has(.cx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .lang { color: var(--ink); }
body:has(.cx-hero--light) .site-header:not(.is-scrolled):not(.menu-open) .menu-btn { color: var(--ink); border-color: var(--line); }
.cx-board { max-width: 1000px; margin: 48px auto 0; border-radius: 28px; padding: 10px; background: #0b1020; box-shadow: 0 30px 70px rgba(11,27,51,.3); color: #cbd5e1; }
.cx-board-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 18px; font-size: .8rem; }
.cx-board-head b { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--display); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.cx-board-head .i { width: 16px; height: 16px; color: #fcd34d; }
.cx-board-body { display: grid; grid-template-columns: 1fr 150px 1fr; gap: 10px; }
.cx-team { border-radius: 20px; padding: 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 24%, #0b1020), #121a30); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.cx-team-name { display: block; font-family: var(--display); font-weight: 800; color: #fff; font-size: 1.2rem; }
.cx-team-score { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 800; font-size: 5rem; line-height: 1; color: #fff; text-shadow: 0 0 24px var(--c); margin: 10px 0 4px; }
.cx-team-cap { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.cx-team li .i { color: var(--c); }
.cx-team-price { margin: 16px 0 0; font-size: .8rem; }
.cx-team-price b { color: #fff; font-size: 1.05rem; }
.cx-team--b { text-align: right; } .cx-team--b li { flex-direction: row-reverse; }
.cx-board-mid { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; text-align: center; }
.cx-board-mid > div { width: 100%; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.05); }
.cx-board-mid b { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; font-size: 1.8rem; line-height: 1; }
.cx-board-mid small { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.cx-board-vs { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0b1020; font-family: var(--display); font-weight: 800; }
.cx-board .cx-hero-note { color: #cbd5e1; padding: 0 12px 8px; }
@media (max-width: 760px) {
  .cx-board-body { grid-template-columns: 1fr 1fr; }
  .cx-board-mid { grid-column: 1 / -1; grid-row: 2; flex-direction: row; }
  .cx-board-vs { display: none; }
  .cx-team { padding: 16px; } .cx-team-score { font-size: 3.4rem; }
  .cx-team--b { text-align: left; } .cx-team--b li { flex-direction: row; }
}
@media (max-width: 420px) { .cx-board-body { grid-template-columns: 1fr; } .cx-board-mid { grid-row: auto; } }

/* ---------- Verdict ---------- */
.cx-vrows { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; gap: 14px; }
.cx-vrow { display: grid; grid-template-columns: 300px minmax(0, 1fr); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.cx-vrow-head { padding: 24px; background: var(--c-soft); border-right: 4px solid var(--c); }
.cx-vrow .tag, .cx-spot .tag { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ink); margin-bottom: 6px; }
.cx-vrow h3 { margin: 0; font-size: 1.3rem; }
.cx-vrow ul, .cx-spot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cx-vrow > ul { padding: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cx-vrow li, .cx-spot li { display: flex; gap: 10px; font-size: .93rem; line-height: 1.5; color: var(--body); }
.cx-vrow li .i, .cx-spot li .i { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--c-ink); stroke-width: 3; }
@media (max-width: 860px) { .cx-vrow { grid-template-columns: 1fr; } .cx-vrow-head { border-right: 0; border-bottom: 4px solid var(--c); } .cx-vrow > ul { grid-template-columns: 1fr; } }
.cx-spot { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; }
.cx-spot-big { border-radius: 26px; padding: 34px; background: radial-gradient(500px 300px at 90% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, var(--brand), var(--t-deep-2)); color: rgba(255,255,255,.9); box-shadow: var(--shadow-lg); }
.cx-spot-big .tag { color: #fff; opacity: .85; }
.cx-spot-big h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 20px; }
.cx-spot-big li { color: rgba(255,255,255,.92); font-size: 1rem; }
.cx-spot-big li .i { color: #fff; }
.cx-spot-side { display: grid; gap: 18px; }
.cx-spot-card { border-radius: 20px; padding: 22px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--c); }
.cx-spot-card h3 { margin: 0 0 12px; font-size: 1.1rem; }
.cx-band--deep .cx-spot-card, .cx-band--dark .cx-spot-card { border-color: transparent; border-left-color: var(--c); }
.cx-band--deep .cx-spot-big { background: linear-gradient(135deg, var(--brand), var(--brand-600)); }
@media (max-width: 860px) { .cx-spot { grid-template-columns: 1fr; } .cx-spot-big { padding: 24px; } }

/* ---------- Table: cards ---------- */
.cx-fc-group { max-width: 1180px; margin: 0 auto 30px; }
.cx-fc-gh { display: flex; align-items: center; gap: 14px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.cx-fc-gh::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--brand) 25%, transparent); }
.cx-fcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.cx-fc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.cx-fc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cx-fc h4 { margin: 0; font-size: 1rem; color: var(--ink); line-height: 1.3; }
.cx-win { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; background: var(--c-soft); color: var(--c-ink); white-space: nowrap; }
.cx-win .i { width: 12px; height: 12px; }
.cx-win--tie, .cx-win--dep { background: var(--soft); color: var(--muted); }
.cx-fc dl { margin: 0; display: grid; gap: 8px; }
.cx-fc dl > div { padding: 10px 12px; border-radius: 12px; background: var(--soft); border-left: 3px solid transparent; }
.cx-fc dl > div.is-win { background: var(--c-soft); border-left-color: var(--c); }
.cx-fc dt { font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--c-ink); }
.cx-fc dd { margin: 2px 0 0; font-size: .9rem; line-height: 1.5; color: var(--body); }
.cx-fc--a, .cx-fc--b { box-shadow: var(--shadow); }

/* ---------- Table: duel ---------- */
.cx-duel-top { max-width: 1120px; margin: 0 auto 10px; display: grid; grid-template-columns: 1fr 240px 1fr; gap: 12px; font-family: var(--display); font-weight: 800; text-align: center; font-size: 1.05rem; }
.cx-duel-top span:first-child { text-align: right; color: var(--c-ink); }
.cx-duel-top span:last-child { text-align: left; color: var(--c-ink); }
.cx-duel-top span:nth-child(2) { color: var(--muted); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; align-self: center; }
.cx-duel-group { max-width: 1120px; margin: 0 auto 18px; }
.cx-duel-gh { text-align: center; margin: 18px 0 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cx-duel-gh span { padding: 4px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-600); }
.cx-duel { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cx-duel-row { display: grid; grid-template-columns: 1fr 240px 1fr; gap: 12px; align-items: stretch; }
.cx-duel-a, .cx-duel-b { padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: .9rem; line-height: 1.5; color: var(--body); }
.cx-duel-a { text-align: right; }
.cx-duel-a.is-win, .cx-duel-b.is-win { background: var(--c-soft); border-color: var(--c); box-shadow: 0 0 0 1px var(--c); color: var(--ink); }
.cx-duel-lab { display: none; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--c-ink); }
.cx-duel-f { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; text-align: center; padding: 8px; border-radius: 16px; background: var(--t-tint); }
.cx-duel-f b { color: var(--ink); font-size: .9rem; line-height: 1.3; }
.cx-duel--a .cx-duel-f { background: linear-gradient(90deg, var(--soft), var(--t-tint)); }
@media (max-width: 860px) {
  .cx-duel-top { display: none; }
  .cx-duel-row { grid-template-columns: 1fr 1fr; }
  .cx-duel-f { grid-column: 1 / -1; grid-row: 1; flex-direction: row; justify-content: space-between; text-align: left; }
  .cx-duel-a { text-align: left; }
  .cx-duel-lab { display: block; }
}
@media (max-width: 480px) { .cx-duel-row { grid-template-columns: 1fr; } .cx-duel-f { flex-direction: column; align-items: flex-start; } }

/* ---------- Table: tabs ---------- */
.cx-tabs-box { max-width: 1120px; margin: 0 auto; }
.cx-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 18px; background: #fff; border: 1px solid var(--line); margin-bottom: 14px; }
.cx-tabs button { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border: 0; border-radius: 12px; background: none; font: inherit; font-weight: 700; font-size: .9rem; color: var(--body); cursor: pointer; }
.cx-tabs button small { font-size: .72rem; padding: 1px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.cx-tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }
.cx-tabs button[aria-selected="true"] small { background: rgba(255,255,255,.2); color: #fff; }
.cx-tabs button:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.cx-tabs-box:not(.is-live) .cx-tabs { display: none; }
.cx-tabs-box.is-live .cx-tabpanel[hidden] { display: none; }
.cx-tabs-box.is-live .cx-tabpanel-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cx-tabpanel + .cx-tabpanel { margin-top: 18px; }
.cx-tabs-box.is-live .cx-tabpanel + .cx-tabpanel { margin-top: 0; }
.cx-tabpanel-h { font-size: 1rem; margin: 0 0 10px; }
.cx-tab-table th[scope="row"] { font-weight: 700; color: var(--ink); width: 22%; text-align: left; }
.cx-tab-table td { white-space: normal; vertical-align: top; }
.cx-tab-table td.is-win { background: var(--c-soft); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--c); }
.cx-tab-edge { width: 110px; }
@media (max-width: 760px) { .cx-tab-table th[scope="row"] { display: block; width: 100%; padding: 10px 16px 4px; } }

/* ---------- Cost presentations ---------- */
.cx-cost--wide .cmp-cost { grid-template-columns: minmax(0, 1fr); }
.cx-cost--wide .cmp-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; padding: 30px; background: radial-gradient(600px 300px at 100% 0%, var(--t-glow), transparent 60%), var(--t-deep); }
.cx-cost--wide .cmp-calc > * { grid-column: 1; }
.cx-cost--wide .cmp-calc-out { grid-column: 2; grid-row: 1 / span 12; align-self: start; border: 0; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.06); }
.cx-cost--wide .cmp-calc-out .total b { font-size: 2.2rem; }
@media (max-width: 860px) { .cx-cost--wide .cmp-calc { grid-template-columns: 1fr; padding: 22px; } .cx-cost--wide .cmp-calc-out { grid-column: 1; grid-row: auto; } }
.cx-cost--receipt .cmp-calc { background: #fffdf8; color: var(--body); border: 1px solid var(--line); border-top: 8px solid var(--brand); border-radius: 6px 6px 0 0; box-shadow: var(--shadow-lg); position: relative; padding-bottom: 34px; }
.cx-cost--receipt .cmp-calc::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: linear-gradient(-45deg, transparent 8px, #fffdf8 0) 0 0 / 16px 12px, linear-gradient(45deg, transparent 8px, #fffdf8 0) 0 0 / 16px 12px; }
.cx-cost--receipt .cmp-calc h3 { color: var(--ink); text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; text-align: center; }
.cx-cost--receipt .cmp-calc > p { text-align: center; color: var(--muted); }
.cx-cost--receipt .cmp-calc label { color: var(--ink); }
.cx-cost--receipt .cmp-calc input[type="range"] { accent-color: var(--brand); }
.cx-cost--receipt .cmp-calc select { background: #fff; color: var(--ink); border-color: var(--line); }
.cx-cost--receipt .cmp-calc-hint b, .cx-cost--receipt .cmp-calc-out b { color: var(--ink); }
.cx-cost--receipt .cmp-calc-out { border-top: 2px dashed var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .84rem; }
.cx-cost--receipt .cmp-calc-out div { border-bottom: 1px dotted var(--line); padding-bottom: 6px; }
.cx-cost--receipt .cmp-calc-out .total { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 8px 0; }
.cx-cost--receipt .cmp-calc-out .total b { color: var(--brand-600); }
.cx-cost--receipt .cmp-calc small { color: var(--muted); }

/* ---------- Same message: tilt ---------- */
.cx-same--tilt { gap: 0; max-width: 980px; }
.cx-same--tilt > div:first-child { transform: rotate(-2deg); position: relative; z-index: 1; margin-right: -14px; }
.cx-same--tilt > div:last-child { transform: rotate(2deg) translateY(40px); margin-left: -14px; }
.cx-same--tilt .sol-thread { box-shadow: var(--shadow-lg); }
.cx-same--tilt + *, .cx-same--tilt { margin-bottom: 40px; }
@media (max-width: 820px) { .cx-same--tilt > div:first-child, .cx-same--tilt > div:last-child { transform: none; margin: 0 0 18px; } }

/* ---------- When: rows ---------- */
.cx-wr { max-width: 1120px; margin: 0 auto 18px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--c); }
.cx-wr-head h3 { margin: 10px 0 0; font-size: 1.2rem; }
.cx-wr ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cx-wr li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 10px; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.cx-wr li b { color: var(--ink); align-self: center; }
.cx-wr li span:not(.cx-wr-ic) { grid-column: 2; }
.cx-wr-ic { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c-soft); color: var(--c-ink); }
.cx-wr-ic .i { width: 16px; height: 16px; }
@media (max-width: 860px) { .cx-wr { grid-template-columns: 1fr; } }

/* Bands: tables and cards stay readable on dark backgrounds */
.cx-band--deep .cx-fc, .cx-band--dark .cx-fc { border-color: transparent; }
.cx-band--deep .cmp-table-note, .cx-band--dark .cmp-table-note, .cx-band--fill .cmp-table-note { color: var(--t-deep-text); }
.cx-band--deep .cmp-bubble-card, .cx-band--deep .cmp-vcard { border-color: transparent; }
.cx-band--fill .cmp-setup-col { background: rgba(255,255,255,.08); }
.cx .cmp-calc input[type="range"] { accent-color: var(--brand-2); }

@media (prefers-reduced-motion: reduce) { .cx-same--tilt > div { transform: none !important; } }
.cx-band--deep .table th, .cx-band--deep .table td, .cx-band--dark .table th, .cx-band--dark .table td, .cx-band--fill .table th, .cx-band--fill .table td { color: var(--body); }
.cx-band--deep .table thead th, .cx-band--dark .table thead th, .cx-band--fill .table thead th, .cx-band--deep .table td:first-child, .cx-band--dark .table td:first-child { color: var(--ink); }
.cx-band--deep .table thead th, .cx-band--dark .table thead th, .cx-band--fill .table thead th { background: var(--soft); }
.cx-band--deep .table th, .cx-band--deep .table td, .cx-band--dark .table th, .cx-band--dark .table td, .cx-band--fill .table th, .cx-band--fill .table td { border-bottom-color: var(--line); }
.cx-band--deep .table strong, .cx-band--dark .table strong, .cx-band--fill .table strong { color: var(--ink); }

/* ==========================================================================
   Day 2 additions: more channels (email, MMS, RCS, WhatsApp Business API), three-channel pages (.cx-n3),
   heroes inbox | phone | trio | fork, email threads, segment counter ([data-cx-seg], js/sol-compare.js)
   ========================================================================== */
:root { --em: #c2410c; --mms: #db2777; --rcs: #0d9488; --api: #0e7490; }
.cx-c--em { --c: var(--em); --c-soft: #fff0e6; --c-ink: #b13a0b; --c-deep: #7c2d12; }
.cx-c--mms { --c: var(--mms); --c-soft: #fde8f2; --c-ink: #be185d; --c-deep: #831843; }
.cx-c--rcs { --c: var(--rcs); --c-soft: #e0f5f2; --c-ink: #0f766e; --c-deep: #134e4a; }
.cx-c--api { --c: var(--api); --c-soft: #e0f3f8; --c-ink: #0e6a85; --c-deep: #164e63; }
.sol-ch--email { --c: var(--em); } .sol-ch--mms { --c: var(--mms); } .sol-ch--rcs { --c: var(--rcs); } .sol-ch--api { --c: var(--api); }
.cmp-pill--em { background: #fff0e6; color: #b13a0b; } .cmp-pill--mms { background: #fde8f2; color: #be185d; }
.cmp-pill--rcs { background: #e0f5f2; color: #0f766e; } .cmp-pill--api { background: #e0f3f8; color: #0e6a85; } .cmp-pill--im { background: #e5f1ff; color: #0a6fd6; }
.cmp-table th.cmp-col-em { color: #b13a0b; } .cmp-table th.cmp-col-mms { color: #be185d; } .cmp-table th.cmp-col-rcs { color: #0f766e; } .cmp-table th.cmp-col-api { color: #0e6a85; }
.cmp-vcard--em { --c: var(--em); } .cmp-vcard--mms { --c: var(--mms); } .cmp-vcard--rcs { --c: var(--rcs); } .cmp-vcard--api { --c: var(--api); }
.cmp-when-col--em { border-top: 5px solid var(--em); } .cmp-when-col--mms { border-top: 5px solid var(--mms); }
.cmp-when-col--rcs { border-top: 5px solid var(--rcs); } .cmp-when-col--api { border-top: 5px solid var(--api); }

/* threads for the new channels */
.sol-thread-body[data-ch="email"] { background: #f6f7f9; gap: 12px; }
.sol-thread-body[data-ch="email"] .sol-msg { max-width: 100%; align-self: stretch; border-radius: 12px; background: #fff; color: var(--body); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.sol-thread-body[data-ch="email"] .sol-msg--in { margin-left: 22px; background: #fffaf6; border-color: #f5d9c6; }
.cx-mail-subj { display: block; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.cx-mail-from { display: block; font-size: .76rem; color: var(--muted); margin-bottom: 8px; }
.sol-thread-body[data-ch="rcs"] .sol-msg--out { background: #1a73e8; }
.sol-thread-body[data-ch="mms"] .sol-msg--out { background: #34c759; }
.cx-mms-img { display: block; width: 100%; min-width: 180px; aspect-ratio: 4 / 3; border-radius: 12px; margin: 2px 0 8px; background: linear-gradient(160deg, #fde68a, #f97316 55%, #9a3412); position: relative; overflow: hidden; }
.cx-mms-img::after { content: attr(data-label); position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.45); color: #fff; font-size: .7rem; }
.cx-tpl-btns { display: grid; gap: 1px; margin: 8px -14px -10px; border-top: 1px solid rgba(0,0,0,.08); }
.cx-tpl-btns span { display: block; padding: 8px; text-align: center; color: #027eb5; font-weight: 700; font-size: .85rem; }
.cx-tpl-head { display: block; font-weight: 800; margin-bottom: 4px; }
.cx-tpl-foot { display: block; font-size: .72rem; color: #667781; margin-top: 6px; }

/* three channels */
.cx-n3 .cmp-same, .cx-n3 .cmp-when, .cx-n3 .cmp-setup { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; }
.cx-n3 .cmp-table th, .cx-n3 .cmp-table td { min-width: 0; }
@media (max-width: 980px) { .cx-n3 .cmp-same, .cx-n3 .cmp-when, .cx-n3 .cmp-setup { grid-template-columns: minmax(0, 1fr); } }

/* small price line used by the new heroes */
.cx-hp { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8rem; }
.cx-hp b { display: block; font-family: var(--display); font-size: 1.25rem; color: #fff; }
.cx-hp small { display: block; font-size: .78rem; opacity: .85; }

/* hero: inbox (lock screen + mail window) */
.cx-inbox { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.cx-inbox .cx-hero-note { grid-column: 1 / -1; }
.cx-lock { border-radius: 34px; padding: 22px 14px 16px; background: linear-gradient(170deg, color-mix(in srgb, var(--c) 70%, #000), #0b0b14 75%); border: 6px solid #111; box-shadow: 0 24px 50px rgba(0,0,0,.45); color: #fff; }
.cx-lock-time { text-align: center; font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; margin-bottom: 16px; letter-spacing: -.02em; }
.cx-lock-list, .cx-mail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cx-hero .cx-lock-list li, .cx-hero .cx-mail-list li { display: block; }
.cx-lock-list li { padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); font-size: .82rem; line-height: 1.35; }
.cx-lock-app { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.cx-lock-list b, .cx-mail-list b { display: block; color: #fff; }
.cx-lock-list small, .cx-mail-list small { display: block; font-size: .7rem; opacity: .7; margin-top: 2px; }
.cx-mail { margin-top: 46px; border-radius: 16px; background: #fff; color: var(--body); box-shadow: 0 24px 50px rgba(0,0,0,.4); overflow: hidden; }
.cx-mail-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f3f6; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.cx-mail-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d8de; }
.cx-mail-bar span { margin-left: 8px; font-weight: 700; }
.cx-mail-list { gap: 0; }
.cx-mail-list li { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .8rem; line-height: 1.35; }
.cx-mail-list li:first-child { border-left: 3px solid var(--c); background: var(--c-soft); }
.cx-mail-list b { color: var(--ink); }
.cx-mail-list small { color: var(--muted); opacity: 1; }
.cx-pane-foot { padding: 12px 14px 4px; }
.cx-pane-foot .sol-ch { font-size: .72rem; }
.cx-mail .cx-hp { border-color: var(--line); color: var(--muted); } .cx-mail .cx-hp b { color: var(--ink); }
@media (max-width: 560px) { .cx-inbox { grid-template-columns: minmax(0, 1fr); } .cx-mail { margin-top: 0; } }

/* hero: phone (one thread with tagged bubbles) */
.cx-phone-stage { display: grid; gap: 16px; max-width: 460px; margin: 0 auto; width: 100%; }
.cx-phone { border-radius: 36px; border: 8px solid #111; background: #fff; box-shadow: 0 28px 60px rgba(0,0,0,.45); overflow: hidden; }
.cx-phone-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #f8f9fb; border-bottom: 1px solid var(--line); }
.cx-phone-head .chat-avatar { margin: 0; width: 34px; height: 34px; }
.cx-phone-head b { display: block; color: var(--ink); font-size: .9rem; } .cx-phone-head small { color: var(--muted); font-size: .74rem; }
.cx-phone-body { min-height: 0; padding: 16px 14px; }
.cx-pmsg { display: flex; flex-direction: column; gap: 4px; }
.cx-pmsg--out { align-items: flex-end; } .cx-pmsg--in { align-items: flex-start; }
.cx-pmsg .sol-msg { max-width: 82%; }
.cx-ptag { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; border-radius: 999px; background: var(--c-soft); color: var(--c-ink); }
.cx-pcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cx-pcard { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-top: 4px solid var(--c); }
.cx-pcard h2 { color: #fff; font-size: 1rem; margin: 0 0 8px; }
.cx-hero .cx-pcard li { font-size: .8rem; } .cx-pcard li .i { color: var(--c); }
@media (max-width: 420px) { .cx-pcards { grid-template-columns: 1fr; } }

/* hero: trio (three cards) */
.cx-trio { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; margin: 48px auto 0; max-width: 1080px; }
.cx-trio-card { padding: 22px 20px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 4px 0 var(--c); display: flex; flex-direction: column; gap: 12px; }
.cx-trio-card h2 { color: #fff; font-size: 1.2rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.cx-trio-card .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent); }
.cx-trio-card li .i { color: var(--c); }
.cx-trio-price { margin: auto 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8rem; }
.cx-trio-price b { display: block; font-family: var(--display); font-size: 1.2rem; color: #fff; }
.cx-trio-price small { display: block; }
.cx-trio-vs { align-self: center; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--t-deep); font-family: var(--display); font-weight: 800; font-size: .8rem; }
@media (max-width: 900px) { .cx-trio { grid-template-columns: minmax(0, 1fr); } .cx-trio-vs { justify-self: center; } }

/* hero: fork (one root, two routes) */
.cx-fork { max-width: 900px; margin: 44px auto 0; }
.cx-root { max-width: 420px; margin: 0 auto; padding: 14px 20px; border-radius: 16px; background: #fff; color: var(--body); text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.cx-root span { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.cx-root b { color: var(--ink); }
.cx-fork-lines { display: block; width: 100%; height: 56px; margin: 0 auto; overflow: visible; }
.cx-fork-lines path { fill: none; stroke: var(--t-on-deep); stroke-width: 3; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.cx-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cx-branch { padding: 22px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-top: 4px solid var(--c); }
.cx-branch-tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--c-soft); color: var(--c-ink); margin-bottom: 10px; }
.cx-branch h2 { color: #fff; font-size: 1.25rem; margin: 0 0 12px; }
.cx-branch li .i { color: var(--c); }
.cx-branch .cx-hp b { color: #fff; }
@media (max-width: 700px) { .cx-fork-lines { display: none; } .cx-branches { grid-template-columns: 1fr; margin-top: 18px; } }

/* segment counter (custom section on MMS vs SMS) */
.cx-seg { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.cx-seg label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.cx-seg textarea { width: 100%; min-height: 160px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); font: inherit; font-size: .95rem; line-height: 1.5; resize: vertical; box-sizing: border-box; }
.cx-seg-out { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: var(--brand-soft); }
.cx-seg-out div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.cx-seg-out b { color: var(--ink); }
.cx-seg-out p { margin: 6px 0 0; font-size: .84rem; color: var(--body); }
.cx-seg-bar { display: flex; gap: 4px; flex-wrap: wrap; }
.cx-seg-bar i { width: 26px; height: 10px; border-radius: 4px; background: var(--brand); }
@media (max-width: 760px) { .cx-seg { grid-template-columns: minmax(0, 1fr); } }
.cx-hero--phone .cx-mms-img { aspect-ratio: auto; height: 120px; }
.cx-hero--phone .cx-phone-body { gap: 8px; padding: 14px 12px; }
.cx-hero--phone .cx-pcard ul { gap: 4px; }
.cx-n3 .cmp-when.cx-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1120px; }
@media (max-width: 860px) { .cx-n3 .cmp-when.cx-two { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Day 3 additions: themes cobalt | plum | forest, sender routes (dlc / tf / sc),
   heroes permit | callerid | lanes, fee ledger and route cards used by custom sections
   ========================================================================== */
.cx-theme--cobalt { --brand: #1d4ed8; --brand-600: #1e40af; --brand-2: #60a5fa; --brand-soft: #e8efff; --t-deep: #0b1533; --t-deep-2: #1e3a8a; --t-tint: #f5f8ff; --t-on-deep: #93c5fd; --t-deep-text: #c5d3f2; --t-glow: rgba(96,165,250,.3); }
.cx-theme--plum { --brand: #86198f; --brand-600: #701a75; --brand-2: #e879f9; --brand-soft: #fbeefd; --t-deep: #22061f; --t-deep-2: #701a75; --t-tint: #fdf7fd; --t-on-deep: #f0abfc; --t-deep-text: #e6c8e6; --t-glow: rgba(232,121,249,.26); }
.cx-theme--forest { --brand: #166534; --brand-600: #14532d; --brand-2: #4ade80; --brand-soft: #e7f6ec; --t-deep: #06200f; --t-deep-2: #14532d; --t-tint: #f4faf6; --t-on-deep: #86efac; --t-deep-text: #c3dccb; --t-glow: rgba(74,222,128,.24); }

:root { --dlc: #c2410c; --tf: #0369a1; --sc: #be123c; }
.cx-c--dlc { --c: var(--dlc); --c-soft: #fff0e6; --c-ink: #b13a0b; --c-deep: #7c2d12; }
.cx-c--tf { --c: var(--tf); --c-soft: #e3f2fb; --c-ink: #075985; --c-deep: #0c4a6e; }
.cx-c--sc { --c: var(--sc); --c-soft: #ffe8ec; --c-ink: #9f1239; --c-deep: #881337; }
.sol-ch--dlc { --c: var(--dlc); } .sol-ch--tf { --c: var(--tf); } .sol-ch--sc { --c: var(--sc); }
.cmp-pill--dlc { background: #fff0e6; color: #b13a0b; } .cmp-pill--tf { background: #e3f2fb; color: #075985; } .cmp-pill--sc { background: #ffe8ec; color: #9f1239; }
.cmp-table th.cmp-col-dlc { color: #b13a0b; } .cmp-table th.cmp-col-tf { color: #075985; } .cmp-table th.cmp-col-sc { color: #9f1239; }
.cmp-vcard--dlc { --c: var(--dlc); } .cmp-vcard--tf { --c: var(--tf); } .cmp-vcard--sc { --c: var(--sc); }
.cmp-when-col--dlc { border-top: 5px solid var(--dlc); } .cmp-when-col--tf { border-top: 5px solid var(--tf); } .cmp-when-col--sc { border-top: 5px solid var(--sc); }

/* hero: permit (SIM card vs paper application) */
.cx-permit { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px; align-items: start; }
.cx-permit .cx-hero-note { grid-column: 1 / -1; }
.cx-sim { margin-top: 34px; padding: 20px 18px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-top: 4px solid var(--c); }
.cx-sim-card { position: relative; width: 92px; height: 120px; margin-bottom: 14px; border-radius: 10px; background: linear-gradient(160deg, var(--c), var(--c-deep)); clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.cx-sim-chip { position: absolute; left: 22px; top: 40px; width: 48px; height: 38px; border-radius: 7px; background: linear-gradient(135deg, #f8e3a3, #c9a646); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.cx-sim-chip::before, .cx-sim-chip::after { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 1px; background: rgba(0,0,0,.25); }
.cx-sim-chip::after { top: 25px; }
.cx-sim h2, .cx-form h2 { color: #fff; font-size: 1.15rem; margin: 0 0 10px; }
.cx-sim li .i { color: var(--c); }
.cx-form { position: relative; padding: 20px 18px 18px; border-radius: 8px 8px 20px 20px; background: #fffdf7; color: var(--body); box-shadow: 0 24px 50px rgba(0,0,0,.45); border-top: 6px solid var(--c); }
.cx-form-head { border-bottom: 1px dashed #d8d3c4; padding-bottom: 10px; margin-bottom: 10px; }
.cx-form-head span { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink); }
.cx-form h2 { color: var(--ink); margin: 2px 0 0; }
.cx-pm-rows { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.cx-hero .cx-pm-row { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 2px 10px; align-items: center; font-size: .82rem; }
.cx-pm-row b { color: var(--ink); } .cx-pm-row small { grid-column: 2; color: var(--muted); font-size: .74rem; }
.cx-pm-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--c); }
.cx-pm--done .cx-pm-dot { background: var(--c); }
.cx-pm--wait .cx-pm-dot { background: repeating-linear-gradient(45deg, var(--c) 0 2px, transparent 2px 4px); }
.cx-stamp { position: absolute; right: 14px; top: -15px; padding: 4px 10px; border: 3px double var(--c); border-radius: 6px; color: var(--c-ink); font-family: var(--display); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-9deg); opacity: .85; background: rgba(255,253,247,.85); }
.cx-hero .cx-form li { font-size: .82rem; } .cx-form li .i { color: var(--c); }
.cx-form .cx-hp { border-color: #e7e1d0; color: var(--muted); } .cx-form .cx-hp b { color: var(--ink); }
@media (max-width: 600px) { .cx-permit { grid-template-columns: minmax(0, 1fr); } .cx-sim { margin-top: 0; } .cx-stamp { top: -15px; } }

/* hero: callerid (what the recipient sees as the sender) */
.cx-cids { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: stretch; max-width: 940px; margin: 46px auto 0; }
.cx-cid { padding: 18px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; }
.cx-cid-screen { padding: 18px 16px; border-radius: 18px; background: #fff; color: var(--body); text-align: center; box-shadow: 0 18px 40px rgba(0,0,0,.35); border-bottom: 5px solid var(--c); }
.cx-cid-screen small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cx-cid-screen b { display: block; font-family: var(--display); font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.01em; color: var(--ink); margin: 4px 0; white-space: nowrap; }
.cx-cid-screen span { font-size: .8rem; color: var(--muted); }
.cx-cid-status { align-self: center; margin: 12px 0 14px; padding: 3px 12px; border-radius: 999px; background: var(--c-soft); color: var(--c-ink); font-size: .72rem; font-weight: 800; }
.cx-cid h2 { color: #fff; font-size: 1.15rem; margin: 0 0 10px; }
.cx-cid li .i { color: var(--c); }
.cx-cid .cx-hp { margin-top: auto; }
.cx-cid-or { align-self: center; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--t-deep); font-family: var(--display); font-weight: 800; font-size: .85rem; }
@media (max-width: 820px) { .cx-cids { grid-template-columns: minmax(0, 1fr); } .cx-cid-or { justify-self: center; } }

/* hero: lanes (capacity bars per factor) */
.cx-lanes-stage { display: grid; gap: 14px; }
.cx-lanes { padding: 20px 18px; border-radius: 20px; background: #fff; color: var(--body); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.cx-lanes-h { font-size: 1rem; color: var(--ink); margin: 0 0 12px; }
.cx-lanes ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cx-hero .cx-lanes li { display: grid; gap: 2px; font-size: .8rem; }
.cx-lane-f { color: var(--ink); font-size: .84rem; }
.cx-lane { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 0 10px; align-items: center; }
.cx-lane-name { white-space: nowrap; font-size: .68rem; font-weight: 800; color: var(--c-ink); text-transform: uppercase; letter-spacing: .04em; }
.cx-lane-bar { height: 10px; border-radius: 6px; background: var(--c-soft); overflow: hidden; }
.cx-lane-bar i { display: block; height: 100%; border-radius: 6px; background: var(--c); }
.cx-lane-txt { grid-column: 2; font-size: .72rem; line-height: 1.35; color: var(--muted); }
.cx-hero--lanes .cx-pcard .cx-hp { margin-top: 10px; padding-top: 8px; }
.cx-hero--lanes .cx-pcard ul { gap: 4px; }
.cx-lanes-scale { margin: 12px 0 0; font-size: .72rem; color: var(--muted); }
@media (max-width: 420px) { .cx-lane { grid-template-columns: minmax(0, 1fr); } .cx-lane-txt { grid-column: 1; } }

/* custom sections: fee ledger, route rail, sender check */
.cx-ledger { max-width: 980px; margin: 0 auto; display: grid; gap: 14px; }
.cx-ledger-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); align-items: start; }
.cx-ledger-row > div small { display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.cx-ledger-row b { color: var(--ink); }
.cx-ledger-row p { margin: 4px 0 0; font-size: .86rem; color: var(--muted); }
.cx-ledger-head { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 20%, #fff); }
@media (max-width: 760px) { .cx-ledger-row { grid-template-columns: minmax(0, 1fr); } }
.cx-rail { max-width: 1040px; margin: 0 auto; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: rail; }
.cx-rail li { position: relative; padding: 46px 16px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); counter-increment: rail; font-size: .9rem; line-height: 1.5; color: var(--body); }
.cx-rail li::before { content: counter(rail); position: absolute; left: 16px; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: .8rem; }
.cx-rail b { display: block; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 900px) { .cx-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cx-rail { grid-template-columns: minmax(0, 1fr); } }
.cx-band--deep .cx-ledger-row, .cx-band--dark .cx-ledger-row, .cx-band--deep .cx-rail li, .cx-band--dark .cx-rail li { color: var(--body); }
