/* BridgeMD homepage, Why BridgeMD. A timeline: the old way on the left (grey, a cross on each card), a marker on the rail in the
   middle, and BridgeMD on the right (white with blue edge, a check on each card). The columns are named once, in the head row.
   A totals row closes the list. Every class here starts with wf so nothing else on the page can restyle it. */
body.cx-page .wf { margin-top: 40px; }
body.cx-page .wf-head, body.cx-page .wf-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr); gap: 0 24px; align-items: stretch; }
body.cx-page .wf-head { margin-bottom: 16px; align-items: center; }
body.cx-page .wf-tag { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
body.cx-page .wf-tag.is-no { background: #eef1f6; color: #5a6880; }
body.cx-page .wf-tag.is-yes { background: var(--accent); color: #fff; }
body.cx-page .wf-list { position: relative; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
body.cx-page .wf-list::before { content: ""; position: absolute; left: 50%; top: 26px; bottom: 60px; width: 2px; margin-left: -1px; background: linear-gradient(var(--line), #b9cdea); }

body.cx-page .wf-no, body.cx-page .wf-yes { position: relative; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 16px 22px; border-radius: 18px; box-sizing: border-box; }
body.cx-page .wf-row:not(.wf-total) .wf-no::before, body.cx-page .wf-row:not(.wf-total) .wf-yes::before {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 700; line-height: 1; }
body.cx-page .wf-no { background: #f3f5f9; border: 1px solid #e8ecf3; }
body.cx-page .wf-row:not(.wf-total) .wf-no::before { content: "✕"; background: #fde8e8; color: #b42318; }
body.cx-page .wf-yes { background: #fff; border: 1px solid #c9dcf5; box-shadow: 0 1px 2px rgba(10, 40, 90, .05), 0 10px 28px -14px rgba(18, 87, 176, .35); }
body.cx-page .wf-row:not(.wf-total) .wf-yes::before { content: "✓"; background: #e3f3e9; color: #17653a; }
body.cx-page .wf-row h3 { margin: 0; font-size: 17px; line-height: 1.35; letter-spacing: -.015em; font-weight: 600; }
body.cx-page .wf-no h3 { color: #6b778c; font-weight: 500; }
body.cx-page .wf-yes h3 { color: var(--ink); }
body.cx-page .wf-yes h3 .cx-pill { margin-left: 8px; vertical-align: 2px; }

body.cx-page .wf-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
body.cx-page .wf-ic { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 6px #fff; }
body.cx-page .wf-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
body.cx-page .wf-step { padding: 0 6px; background: #fff; font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: -.005em; color: var(--ink); }

/* Totals: the sum of each column, in big numbers. */
body.cx-page .wf-total { margin-top: 10px; }
body.cx-page .wf-total .wf-no, body.cx-page .wf-total .wf-yes { align-items: baseline; gap: 12px; min-height: 88px; padding: 20px 26px; }
body.cx-page .wf-total b { font-size: 44px; line-height: 1; font-weight: 650; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
body.cx-page .wf-total span { font-size: 16px; font-weight: 500; }
body.cx-page .wf-total .wf-no { background: #fff; border: 1px dashed #d3dbe8; }
body.cx-page .wf-total .wf-no b { color: #8a96a8; }
body.cx-page .wf-total .wf-no span { color: #6b778c; }
body.cx-page .wf-total .wf-yes { background: var(--accent); border-color: var(--accent); }
body.cx-page .wf-total .wf-yes b, body.cx-page .wf-total .wf-yes span { color: #fff; }
body.cx-page .wf-total .wf-step { color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }

/* What powers it */
body.cx-page .wf-mem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 24px 48px; align-items: center; margin-top: 40px; padding: 40px 48px; border-radius: 28px; background: #12285a; color: #fff; }
body.cx-page .wf-mem-k { margin: 0 0 10px !important; font-size: 13px !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8ab4e6 !important; }
body.cx-page .wf-mem h3 { margin: 0; font-size: 28px; line-height: 1.2; letter-spacing: -.022em; font-weight: 600; color: #fff; }
body.cx-page .wf-mem p { max-width: 44ch; margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .82); }
body.cx-page .wf-graph { width: 100%; height: auto; }

@media (max-width: 960px) {
  body.cx-page .wf-head, body.cx-page .wf-row { grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); gap: 0 16px; }
  body.cx-page .wf-no, body.cx-page .wf-yes { padding: 14px 16px; gap: 12px; }
  body.cx-page .wf-row h3 { font-size: 16px; }
  body.cx-page .wf-total b { font-size: 36px; }
  body.cx-page .wf-mem { grid-template-columns: minmax(0, 1fr); padding: 32px 28px; }
  body.cx-page .wf-graph { max-width: 380px; }
}
/* Phone: one step per block. The two tags stay as a legend at the top; the cross and check say which side each card is. */
@media (max-width: 760px) {
  body.cx-page .wf { margin-top: 28px; }
  body.cx-page .wf-head { display: flex; gap: 8px; margin-bottom: 20px; }
  body.cx-page .wf-head > span:nth-child(2) { display: none; }
  body.cx-page .wf-tag { height: 30px; padding: 0 12px; font-size: 13px; }
  body.cx-page .wf-list { gap: 22px; }
  body.cx-page .wf-list::before { display: none; }
  body.cx-page .wf-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  body.cx-page .wf-node { order: -1; flex-direction: row; justify-content: flex-start; gap: 10px; }
  body.cx-page .wf-ic { width: 34px; height: 34px; box-shadow: none; }
  body.cx-page .wf-ic svg { width: 17px; height: 17px; }
  body.cx-page .wf-step { padding: 0; font-size: 15px; }
  body.cx-page .wf-no, body.cx-page .wf-yes { min-height: 0; }
  body.cx-page .wf-total { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  body.cx-page .wf-total .wf-node { grid-column: 1 / -1; }
  body.cx-page .wf-total .wf-no, body.cx-page .wf-total .wf-yes { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; min-height: 0; }
  body.cx-page .wf-total b { font-size: 34px; }
  body.cx-page .wf-total span { font-size: 14px; }
  body.cx-page .wf-mem { margin-top: 28px; padding: 28px 22px; border-radius: 22px; }
  body.cx-page .wf-mem h3 { font-size: 22px; }
}
