/* Blog: How to choose a CRM (.pbhc-) : requirement triage trays hero, 7 steps, role question cards, criteria list, weighted scorecard */
.pbhc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pbhc-meta { margin: 18px 0 0; font: 500 14px/1.5 var(--f-body); color: #475569; }
.pbhc-meta b { color: #082238; }
.pbhc-meta span { margin: 0 6px; color: #0A6FA8; }

/* hero: triage trays */
.pbhc-trays { margin: 0; justify-self: center; width: min(100%, 480px); }
.pbhc-trays__in { position: relative; padding: 18px; border-radius: 24px; background: #fff; border: 1px solid #D5DEE6; box-shadow: 0 34px 60px -40px rgba(8,34,56,.55); }
.pbhc-trays__pile { margin: 0 0 12px; display: flex; justify-content: center; }
.pbhc-trays__pile span { padding: 6px 12px; border-radius: 999px; background: #F3F7F9; border: 1px dashed #94A3B8; font: 600 12.5px/1.2 var(--f-body); color: #334155; }
.pbhc-trays__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pbhc-tray { display: flex; flex-direction: column; gap: 6px; min-height: 230px; padding: 10px 8px; border-radius: 16px; background: #F3F7F9; border-top: 4px solid var(--c); }
.pbhc-tray > b { font: 800 12.5px/1.2 var(--f-display); letter-spacing: .02em; color: #082238; text-transform: uppercase; }
.pbhc-tray--must { --c: #0A6FA8; }
.pbhc-tray--should { --c: #00B2A9; }
.pbhc-tray--later { --c: #94A3B8; }
.pbhc-card { position: relative; display: block; padding: 8px 9px; border-radius: 10px; background: #fff; border: 1px solid #E2E8F0; border-left: 3px solid var(--c); box-shadow: 0 8px 16px -14px rgba(8,34,56,.6); font: 600 12.5px/1.3 var(--f-body); color: #082238; opacity: 0; transform: translateY(-34px) rotate(-3deg); animation: pbhcDrop 10s infinite; animation-delay: calc(var(--d) * .45s); }
.pbhc-card em { display: inline-block; margin-top: 5px; padding: 2px 7px; border-radius: 999px; background: #FDE2E2; font: 700 10.5px/1.3 var(--f-body); font-style: normal; color: #9F1239; letter-spacing: .03em; text-transform: uppercase; }
.pbhc-card--flag { border-left-color: #E11D48; }
@keyframes pbhcDrop { 0% { opacity: 0; transform: translateY(-34px) rotate(-3deg); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(4px); } }
.pbhc-trays__out { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 0; }
.pbhc-trays__out span { padding: 6px 11px; border-radius: 999px; background: #082238; font: 600 12px/1.2 var(--f-body); color: #fff; opacity: 0; animation: pbhcOut 10s infinite; animation-delay: 3.4s; }
.pbhc-trays__out span:last-child { background: #FFB81C; color: #082238; animation-delay: 3.8s; }
@keyframes pbhcOut { 0% { opacity: 0; } 6%, 50% { opacity: 1; } 56%, 100% { opacity: 0; } }
.pbhc-trays__cap { margin-top: 12px; text-align: center; font: 500 13px/1.4 var(--f-body); color: #475569; }
@media (prefers-reduced-motion: reduce) {
  .pbhc-card, .pbhc-trays__out span { animation: none; opacity: 1; transform: none; }
}

/* article */
.pbhc-art { padding-top: clamp(24px, 4vw, 48px); }
.pbhc-strip { position: sticky; top: 84px; z-index: 5; display: flex; gap: 6px; margin: 0 auto 40px; padding: 8px; max-width: 1080px; border-radius: 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid #E2E8F0; box-shadow: 0 16px 32px -28px rgba(8,34,56,.5); overflow-x: auto; scrollbar-width: none; }
.pbhc-strip::-webkit-scrollbar { display: none; }
.pbhc-strip a { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px; border-radius: 12px; font: 500 14px/1.2 var(--f-body); color: #334155; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s; }
.pbhc-strip a b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #E2E8F0; font: 800 12px/1 var(--f-display); color: #475569; transition: background .25s, color .25s; }
.pbhc-strip a:hover, .pbhc-strip a.is-on { background: #FFF7E6; color: #082238; }
.pbhc-strip a.is-on b, .pbhc-strip a.is-seen b { background: #FFB81C; color: #082238; }
.pbhc-body { max-width: 780px; margin: 0 auto; font-size: 17.5px; line-height: 1.72; color: #334155; }
.pbhc-body > p { margin: 0 0 18px; }
.pbhc-body a, .pbhc-narrow a, .pbhc-role a { color: #0A6FA8; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pbhc-h2 { margin: 56px 0 0; font: 700 clamp(25px, 1rem + 1.2vw, 33px)/1.2 var(--f-display); letter-spacing: -.02em; color: #082238; scroll-margin-top: 170px; text-wrap: balance; }
.pbhc-body > .pbhc-h2:first-child { margin-top: 0; }
.pbhc-h3 { margin: 32px 0 10px; font: 700 21px/1.3 var(--f-display); letter-spacing: -.01em; color: #082238; }
.pbhc-answer { margin: 14px 0 20px; padding: 0 0 0 18px; border-left: 3px solid #FFB81C; font-size: 18.5px; line-height: 1.6; font-weight: 500; color: #082238; }

/* steps: ruled cards with a tray color per phase */
.pbhc-steps { list-style: none; margin: 8px 0 26px; padding: 0; display: grid; gap: 18px; }
.pbhc-step { position: relative; padding: 24px clamp(20px, 3vw, 32px) 8px clamp(64px, 8vw, 86px); border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 24px 48px -40px rgba(8,34,56,.45); }
.pbhc-step__n { position: absolute; left: clamp(14px, 2vw, 22px); top: 22px; margin: 0; display: grid; place-items: center; width: clamp(38px, 4.4vw, 48px); height: clamp(38px, 4.4vw, 48px); border-radius: 14px; background: #082238; color: #FFB81C; font: 800 17px/1 var(--f-display); }
.pbhc-step:nth-child(n+3) .pbhc-step__n { background: #0A6FA8; color: #fff; }
.pbhc-step:nth-child(n+5) .pbhc-step__n { background: #07605E; color: #fff; }
.pbhc-step:nth-child(7) .pbhc-step__n { background: #FFB81C; color: #082238; }
.pbhc-step h3 { margin: 0 0 10px; font: 700 21px/1.3 var(--f-display); letter-spacing: -.01em; color: #082238; }
.pbhc-step p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.65; }
.pbhc-out { padding: 10px 14px; border-radius: 12px; background: #EFF6FF; border: 1px dashed #93C5FD; font-size: 15.5px !important; color: #1E3A5F; }
.pbhc-out b { color: #082238; }

/* role questions */
.pbhc-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.pbhc-role { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 20px 40px -36px rgba(8,34,56,.5); }
.pbhc-role__tag { display: inline-block; margin: 0; padding: 4px 10px; border-radius: 999px; background: #E0F2FE; font: 700 12px/1.2 var(--f-body); color: #075985; letter-spacing: .04em; text-transform: uppercase; }
.pbhc-role h3 { margin: 12px 0 10px; font: 700 18.5px/1.3 var(--f-display); color: #082238; }
.pbhc-role ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pbhc-role li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.55; color: #334155; }
.pbhc-role li::before { content: "?"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #FFB81C; font: 800 11px/1 var(--f-display); color: #082238; }
.pbhc-role p:not(.pbhc-role__tag) { margin: 0; font-size: 15.5px; line-height: 1.6; color: #334155; }
.pbhc-role--tip { background: #082238; border-color: #082238; }
.pbhc-role--tip .pbhc-role__tag { background: #FFB81C; color: #082238; }
.pbhc-role--tip h3 { color: #fff; }
.pbhc-role--tip p:not(.pbhc-role__tag) { color: #CBD5E1; }

/* criteria */
.pbhc-narrow { max-width: 860px; }
.pbhc-narrow > p { font-size: 17px; line-height: 1.7; color: #334155; }
.pbhc-crit__list { margin: 8px 0 22px; display: grid; gap: 10px; }
.pbhc-crit__list > div { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 6px 18px; padding: 14px 16px; border-radius: 14px; background: #F3F7F9; }
.pbhc-crit__list dt { display: flex; align-items: flex-start; gap: 10px; font: 700 16.5px/1.35 var(--f-display); color: #082238; }
.pbhc-crit__list dt span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #0A6FA8; color: #fff; font: 800 13px/1 var(--f-display); }
.pbhc-crit__list dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: #334155; }
.pbhc-crit__list dd b { color: #082238; }

/* scorecard */
.pbhc-sc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); grid-template-areas: "names out" "table out"; gap: 16px clamp(18px, 3vw, 36px); margin-top: 28px; align-items: start; }
.pbhc-sc__names { grid-area: names; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pbhc-sc__names label { display: grid; gap: 4px; font: 600 12.5px/1.2 var(--f-body); color: #475569; text-transform: uppercase; letter-spacing: .04em; }
.pbhc-sc__names input { min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid #CBD5E1; background: #fff; font: 600 15px/1.2 var(--f-body); color: #082238; text-transform: none; letter-spacing: 0; min-width: 0; }
.pbhc-sc__names input:focus-visible { outline: 3px solid #FFB81C; outline-offset: 1px; }
.pbhc-sc__table { grid-area: table; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; overflow: hidden; }
.pbhc-sc__head, .pbhc-row { display: grid; grid-template-columns: minmax(0, 1.4fr) 118px 84px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; padding: 10px 14px; }
.pbhc-sc__head { background: #082238; font: 700 12px/1.2 var(--f-body); color: #E2E8F0; text-transform: uppercase; letter-spacing: .04em; }
.pbhc-sc__head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbhc-sc__head span:nth-child(3) { white-space: normal; text-align: center; }
.pbhc-row { border-top: 1px solid #EEF2F6; }
.pbhc-row.is-zero { background: #F8FAFC; }
.pbhc-row.is-zero .pbhc-row__t { color: #64748B; }
.pbhc-row__t { font: 600 14.5px/1.3 var(--f-body); color: #082238; }
.pbhc-row__t small { display: none; }
.pbhc-w { display: flex; gap: 3px; }
.pbhc-w button { flex: 1; min-width: 24px; min-height: 32px; padding: 0; border-radius: 8px; border: 1px solid #CBD5E1; background: #F8FAFC; font: 700 13px/1 var(--f-display); color: #334155; cursor: pointer; }
.pbhc-w button[aria-pressed="true"] { background: #0A6FA8; border-color: #0A6FA8; color: #fff; }
.pbhc-db { display: flex; justify-content: center; }
.pbhc-db input { width: 22px; height: 22px; margin: 0; accent-color: #E11D48; cursor: pointer; }
.pbhc-cell { display: block; min-width: 0; }
.pbhc-cell__n { display: none; }
.pbhc-s { width: 100%; min-width: 0; min-height: 36px; padding: 4px 6px; border-radius: 10px; border: 1px solid #CBD5E1; background: #fff; font: 600 14px/1 var(--f-body); color: #082238; }
.pbhc-s.is-low { border-color: #E11D48; background: #FFF1F2; color: #9F1239; }
.pbhc-w button:focus-visible, .pbhc-s:focus-visible, .pbhc-db input:focus-visible { outline: 3px solid #FFB81C; outline-offset: 1px; }
.pbhc-sc__out { grid-area: out; position: sticky; top: 100px; padding: clamp(18px, 2.5vw, 26px); border-radius: 24px; background: linear-gradient(135deg, #061A2E, #0A3A63 55%, #07605E); color: #E2E8F0; box-shadow: 0 30px 60px -40px rgba(8,34,56,.8); }
.pbhc-sc__outhead { display: flex; justify-content: space-between; align-items: center; margin: 0 0 14px; font: 700 16px/1.2 var(--f-display); color: #fff; }
.pbhc-sc__outhead em { font: 600 12px/1.2 var(--f-body); font-style: normal; color: #BAE6FD; text-transform: uppercase; letter-spacing: .06em; }
.pbhc-sc__bars { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.pbhc-sc__bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; }
.pbhc-sc__bars .n { font: 600 15px/1.2 var(--f-body); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbhc-sc__bars .v { font: 800 20px/1 var(--f-display); color: #FFB81C; }
.pbhc-sc__bars .b { grid-column: 1 / 3; position: relative; height: 12px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; }
.pbhc-sc__bars .b i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, #00B2A9, #3FB97A); transition: width .45s ease; }
.pbhc-sc__bars li.is-top .b i { background: linear-gradient(90deg, #00A3D9, #FFB81C); }
.pbhc-sc__bars li.is-out .n { text-decoration: line-through; color: #CBD5E1; }
.pbhc-sc__bars li.is-out .v { color: #FDA4AF; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.pbhc-sc__bars li.is-out .b i { background: #9F1239; }
.pbhc-sc__say { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); font-size: 15px; line-height: 1.6; color: #E2E8F0; }
.pbhc-sc__say b { color: #FFB81C; }
.pbhc-sc__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pbhc-sc__copy { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 18px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.45); background: transparent; font: 600 15px/1 var(--f-body); color: #fff; cursor: pointer; }
.pbhc-sc__copy:hover { border-color: #FFB81C; }
.pbhc-sc__copy:focus-visible { outline: 3px solid #FFB81C; outline-offset: 2px; }
.pbhc-sc__note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #CBD5E1; }

/* cost list */
.pbhc-cost__list { list-style: none; margin: 8px 0 22px; padding: 0; display: grid; gap: 8px; }
.pbhc-cost__list li { padding: 12px 16px; border-radius: 14px; background: #F3F7F9; border-left: 4px solid #FFB81C; font-size: 16px; line-height: 1.6; color: #334155; }
.pbhc-cost__list b { color: #082238; }

@media (max-width: 1080px) {
  .pbhc-sc { grid-template-columns: 1fr; grid-template-areas: "names" "table" "out"; }
  .pbhc-sc__out { position: static; }
}
@media (max-width: 960px) {
  .pbhc-hero__grid { grid-template-columns: 1fr; }
  .pbhc-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .pbhc-roles { grid-template-columns: 1fr; }
  .pbhc-crit__list > div { grid-template-columns: 1fr; }
  .pbhc-sc__head { display: none; }
  .pbhc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px; }
  .pbhc-row__t { grid-column: 1 / 4; }
  .pbhc-row__t small { display: inline; font: 500 12px/1.2 var(--f-body); color: #64748B; }
  .pbhc-w { grid-column: 1 / 3; }
  .pbhc-db { grid-column: 3; justify-content: flex-start; align-items: center; gap: 6px; font: 600 12.5px/1.2 var(--f-body); color: #475569; }
  .pbhc-db::after { content: "Deal-breaker"; }
  .pbhc-cell__n { display: block; margin-bottom: 4px; font: 600 12px/1.2 var(--f-body); color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pbhc-sc__names { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pbhc-strip { top: 72px; }
  .pbhc-trays__in { padding: 12px; }
  .pbhc-trays__cols { gap: 5px; }
  .pbhc-tray { min-height: 210px; padding: 8px 5px; }
  .pbhc-tray > b { font-size: 11px; }
  .pbhc-card { font-size: 11.5px; padding: 7px; }
  .pbhc-step { padding-left: 20px; padding-top: 70px; }
  .pbhc-step__n { left: 20px; top: 18px; }
}
