/* ENTHORIS final buyer-journey polish, intentionally scoped away from
   the completed product, solution, capability and specialty detail pages. */
body.fj-refined {
  --fj-ink:#102a43;
  --fj-muted:#476178;
  --fj-teal:#087f79;
  --fj-border:#dbe5e8;
  --fj-soft:#f5faf9;
}
body.fj-refined main :is(.pm-section-head,.pm-subhero-inner,.pm-pricing-hero-grid) > :first-child h2,
body.fj-refined main :is(.pm-section-head,.pm-subhero-inner) h2 {
  text-wrap:balance;
  letter-spacing:-.024em;
  line-height:1.14;
}
body.fj-refined main h1 { text-wrap:balance; letter-spacing:-.035em; line-height:1.08; }
body.fj-refined main :is(p,li) { overflow-wrap:break-word; }
body.fj-refined main :is(.pm-section-head,.pm-pricing-hero-grid) > p { max-width:66ch; }
body.fj-refined main a:focus-visible,
body.fj-refined main button:focus-visible,
body.fj-refined main input:focus-visible,
body.fj-refined main select:focus-visible,
body.fj-refined main textarea:focus-visible,
body.fj-refined main summary:focus-visible {
  outline:3px solid #1c918b;
  outline-offset:3px;
}
body.fj-refined main .pm-btn { min-height:44px; align-items:center; justify-content:center; }
body.fj-refined main :is(.pm-info-card,.pm-price-card,.pm-resource-card,.pm-kc-card) { border-radius:18px; }
body.fj-refined .pm-review-index { max-width:1180px; }
body.fj-refined .pm-review-index summary { cursor:pointer; }
body.fj-refined main .pm-faq details summary { min-height:44px; }
body.fj-refined main .pm-form-grid :is(input,select,textarea) { min-height:44px; max-width:100%; }
body.fj-refined main .pm-form-grid textarea { min-height:110px; }
body.fj-refined main .pm-form-grid label { display:block; }
body.fj-refined main .pm-review-table-wrap,
body.fj-refined main .pm-price-table-wrap,
body.fj-refined main [class*="table-wrap"] { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
body.fj-refined main table th, body.fj-refined main table td { vertical-align:top; }
body.fj-refined .pm-home-hero-doctor h1 { max-width:16ch; }
/* Choice ribbon avoids another wall of cards and helps healthcare buyers self-select. */
body.fj-refined .fj-choice { background:#fff; padding:64px 0 68px; border-bottom:1px solid var(--fj-border); }
body.fj-refined .fj-choice-head { display:flex; align-items:end; justify-content:space-between; gap:32px; margin-bottom:28px; }
body.fj-refined .fj-choice h2 { color:var(--fj-ink); margin:10px 0 0; font-size:clamp(26px,3vw,40px); line-height:1.16; letter-spacing:-.026em; }
body.fj-refined .fj-choice-head p { color:var(--fj-muted); font-size:16px; line-height:1.65; max-width:43ch; margin:0; }
body.fj-refined .fj-choice-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--fj-border); border-radius:18px; overflow:hidden; }
body.fj-refined .fj-choice-links a { display:flex; flex-direction:column; justify-content:space-between; gap:12px; min-height:118px; padding:25px 24px; text-decoration:none; color:var(--fj-ink); background:#fff; border-right:1px solid var(--fj-border); transition:background-color .15s ease; }
body.fj-refined .fj-choice-links a:last-child { border-right:0; }
body.fj-refined .fj-choice-links a:hover,body.fj-refined .fj-choice-links a:focus-visible { background:var(--fj-soft); }
body.fj-refined .fj-choice-links a strong { font-size:17px; line-height:1.3; }
body.fj-refined .fj-choice-links a span { color:var(--fj-muted); font-size:14px; }
/* Rollout preview keeps implementation in the homepage's buying sequence. */
body.fj-refined .fj-rollout { background:#eff8f6; padding:76px 0; }
body.fj-refined .fj-rollout-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); align-items:center; gap:clamp(28px,6vw,96px); }
body.fj-refined .fj-rollout h2 { font-size:clamp(30px,3.2vw,46px); color:var(--fj-ink); margin:12px 0 18px; letter-spacing:-.035em; }
body.fj-refined .fj-rollout p { color:var(--fj-muted); font-size:17px; line-height:1.7; max-width:52ch; margin-bottom:26px; }
body.fj-refined .fj-rollout-steps { counter-reset:fjstep; list-style:none; margin:0; padding:0; border-top:1px solid #caddd9; }
body.fj-refined .fj-rollout-steps li { position:relative; display:flex; flex-direction:column; gap:4px; padding:20px 12px 20px 66px; border-bottom:1px solid #caddd9; min-height:94px; }
body.fj-refined .fj-rollout-steps li::before { counter-increment:fjstep; content:'0' counter(fjstep); position:absolute; left:4px; top:22px; color:var(--fj-teal); font-weight:800; font-size:20px; }
body.fj-refined .fj-rollout-steps strong { color:var(--fj-ink); font-size:18px; }
body.fj-refined .fj-rollout-steps span { color:var(--fj-muted); font-size:15px; line-height:1.5; }
body.fj-refined .fj-price-summary { background:var(--fj-soft); border-top:1px solid var(--fj-border); border-bottom:1px solid var(--fj-border); padding:19px 0; }
body.fj-refined .fj-price-summary .pm-container { display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; font-size:14px; line-height:1.5; color:var(--fj-muted); }
body.fj-refined .fj-price-summary strong { color:var(--fj-ink); }
body.fj-refined .fj-price-summary span + span::before { content:'·'; margin-right:18px; color:#71939d; }
body.fj-refined .fj-price-summary a { color:var(--fj-teal); font-weight:700; text-underline-offset:3px; }
@media(max-width:920px){
 body.fj-refined .fj-choice-head { flex-direction:column; align-items:start; gap:12px; }
 body.fj-refined .fj-choice-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.fj-refined .fj-choice-links a:nth-child(2) { border-right:0; }
 body.fj-refined .fj-choice-links a:nth-child(-n+2) { border-bottom:1px solid var(--fj-border); }
 body.fj-refined .fj-rollout-grid { grid-template-columns:1fr; }
}
@media(max-width:540px){
 body.fj-refined .fj-choice { padding:38px 0 45px; }
 body.fj-refined .fj-choice-links { grid-template-columns:1fr; }
 body.fj-refined .fj-choice-links a { min-height:74px; padding:17px 20px; gap:4px; border-right:0; border-bottom:1px solid var(--fj-border); }
 body.fj-refined .fj-choice-links a:last-child { border-bottom:0; }
 body.fj-refined .fj-choice-links a:nth-child(2) { border-bottom:1px solid var(--fj-border); }
 body.fj-refined .fj-rollout { padding:52px 0; }
 body.fj-refined .fj-rollout-steps li { padding-left:54px; }
 body.fj-refined .fj-price-summary .pm-container { display:grid; gap:7px; }
 body.fj-refined .fj-price-summary span + span::before { content:none; }
 body.fj-refined main h1 { overflow-wrap:normal; }
 body.fj-refined main .pm-btn { max-width:100%; }
}
@media(prefers-reduced-motion:reduce){body.fj-refined .fj-choice-links a { transition:none; }}
@media print{body.fj-refined .fj-choice-links a{background:#fff!important}body.fj-refined .fj-rollout{background:#fff!important}}
