.home-foot{background:var(--navy);color:#9AA8C0;font-size:14px;padding:36px 0 28px}
.home-foot .wrap{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;flex-wrap:wrap}
.home-foot a{color:#fff;text-decoration:none}
.home-foot a:hover{text-decoration:underline}
.hf-usps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:0 0 32px;padding:0 0 32px;border-bottom:1px solid rgba(255,255,255,.12)}
.hf-usps li{display:flex;gap:12px;align-items:flex-start;color:#E1E8F3;font-size:15px;line-height:1.45}
.hf-usps li:before{content:"✓";flex:none;width:24px;height:24px;border-radius:50%;background:rgba(56,211,196,.16);color:#38D3C4;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
@media (max-width:980px){.hf-usps{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.hf-usps{grid-template-columns:1fr;gap:14px}}
.hf-col{display:grid;gap:8px;align-content:start}
.hf-col b{color:#fff;font-weight:600;margin-bottom:2px}
.home-foot .hf-bar{display:block;border-top:1px solid rgba(255,255,255,.12);margin-top:32px;padding-top:20px;font-size:13px}
.nav{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:72px;gap:24px;position:relative}
.nav .logo svg{width:160px;height:auto;display:block}
.nav-links{list-style:none;display:flex;gap:4px;margin:0 0 0 auto;padding:0;align-items:center}
.nl{all:unset;box-sizing:border-box;cursor:pointer;padding:10px 14px;border-radius:8px;font-weight:500;font-size:16px;color:var(--navy);display:inline-flex;align-items:center;gap:6px}
.nl:hover,.dd.open>.nl{background:var(--slate)}
.nl:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.nl .car{width:10px;height:10px;transition:transform .15s}
.dd.open>.nl .car{transform:rotate(180deg)}
.dd{position:relative}
.dd-menu{display:none;position:absolute;top:calc(100% + 6px);left:0;min-width:380px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 26px 64px rgba(14,31,54,.18);padding:10px;z-index:50}
.dd.open .dd-menu{display:block}
@media (hover:hover) and (min-width:901px){.dd:hover .dd-menu{display:block}.dd:hover>.nl{background:var(--slate)}}
.dd-menu a{display:flex;gap:14px;align-items:flex-start;padding:14px;border-radius:12px;text-decoration:none;color:var(--navy)}
.dd-menu a:hover{background:var(--slate)}
.dd-ico{flex:none;display:flex;width:40px;height:40px;border-radius:10px;background:var(--sky);color:var(--blue);align-items:center;justify-content:center}
.dd-ico svg{width:22px;height:22px}
.dd-menu b{display:block;font-weight:600;line-height:1.3}
.dd-menu small{display:block;font-size:14px;color:var(--muted);line-height:1.4;margin-top:2px}
.nav-r{display:flex;align-items:center;gap:16px}
.nav-r .phone{display:inline-flex;align-items:center;gap:8px;color:var(--navy);font-weight:600;text-decoration:none;white-space:nowrap}.nav-r .phone svg{width:20px;height:20px;flex:none}
.nav-r .btn{padding:10px 20px;font-size:15px}
.burger{all:unset;display:none;width:44px;height:44px;border-radius:10px;align-items:center;justify-content:center;cursor:pointer;box-sizing:border-box}
.burger:hover{background:var(--slate)}
.burger svg{width:26px;height:26px}

/* Shared navigation reused across the four solution pages. */
.nav{background:#fff;backdrop-filter:none}
.nav .wrap{max-width:1200px}
.nav .dd-menu{left:auto;right:0}
.nav-r .btn{background:#0857cc}
.burger:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid #0857cc;outline-offset:4px}
@media(max-width:900px){
 .burger{display:inline-flex}.nav-r .phone{display:none}.nav-r .btn{padding:9px 14px}
 .nav-links{display:none;position:absolute;left:0;right:0;top:72px;flex-direction:column;align-items:stretch;background:#fff;border-bottom:1px solid var(--line);padding:8px 16px 16px;box-shadow:0 20px 40px rgba(14,31,54,.12)}
 .nav.open .nav-links{display:flex}.nl{padding:14px 8px;width:100%;justify-content:space-between}
 .nav .dd-menu{position:static;min-width:0;padding:0 0 6px 8px;box-shadow:none;border:0}
 .dd:hover .dd-menu{display:none}.dd.open .dd-menu{display:block}
 .nav .dd>.nl{display:none}.nav.open .dd-menu{display:block}
}
@media(max-width:600px){.nav .logo svg{width:128px}.nav .wrap{gap:12px}.nav-r{gap:8px}.nav-r .btn{font-size:14px}}
/* Editorial project layouts: image, outcome, supporting detail. */
.csec{background:#fff}
.csec h2{color:var(--navy)}
.sec.csec .lead{color:#42516a}
.page-home .revs,.demo-sec + .sec{background:var(--slate)}
body .csec .ccs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;overflow:visible;padding:0;scroll-snap-type:none}
body.page-home .csec .ccs,body.page-healthsail .csec .ccs{grid-template-columns:repeat(2,minmax(0,1fr))}
body .csec .cc{border:0;border-radius:14px;background:#152438;min-width:0}
body .csec .cc-top{aspect-ratio:auto;background:transparent;overflow:visible}
body .csec .cc-top img{width:100%;height:180px;object-fit:cover;object-position:top;transform:none;border-radius:14px 14px 0 0}
body .csec .cc-top:after{display:none}
body .csec .cc-body{padding:24px;gap:16px}
.csec .cc-name{font-size:17px;line-height:1.35;color:#d9e4f2;margin-top:-4px}
.csec .case-outcome{font-size:24px;line-height:1.3;font-weight:600;letter-spacing:-.015em;color:#fff;margin:0;text-wrap:pretty}
.csec .cc-body ul{margin:2px 0 8px}
.csec .cc-body li{font-size:15px;line-height:1.55}
.cc-btn{font-size:14px;text-transform:none;border-radius:8px;background:#0857cc}
.cc-all .btn{font-size:15px;text-transform:none;border-radius:8px}
/* Clear company identification and compact, readable testimonials. */
.revs .tq-wrap{padding:40px 40px 0;box-shadow:none;border:1px solid #d6dfeb;border-radius:16px}
.revs .tq{grid-template-columns:minmax(180px,.8fr) minmax(0,2fr);gap:0 40px;min-height:250px}
.revs .tq-company{grid-column:1;grid-row:1;color:var(--navy);font-size:23px;line-height:1.25;font-weight:600;margin:0 0 20px}
.revs .tq .tq-stars{grid-column:1;grid-row:2;margin-bottom:16px}
.revs .tq figcaption{font-size:15px;color:#42516a}
.revs .tq blockquote{font-size:24px;padding:0;line-height:1.5}
.revs .tq blockquote:before{display:none}
.revs .tt-row{margin:24px -40px 0}.revs .tt{color:#42516a;min-height:64px;font-size:15px}
.revs .tt[aria-selected=true]{color:#0857cc;font-weight:600}
.required-label{font-size:12px;color:#42516a;font-weight:400}.pas-cta{margin-top:28px;background:#0857cc}
.page-epicor .demo-grid{align-items:center}
.page-epicor .sync2{align-items:stretch}.page-epicor .stbl{height:100%}
.review-callout{background:var(--navy);color:#fff;padding:28px 32px;border:0;border-radius:12px;box-shadow:none}
.review-callout h3{font-size:23px;margin-bottom:8px}.review-callout p{font-size:17px}
.review-callout h3{color:#fff}
.review-callout p{color:#d9e4f2}
.review-callout .btn{background:#fff;color:var(--navy)}
.review-callout .btn:hover{background:var(--sky)}
/* Vertical process: each icon stays beside its step at every viewport. */
.page-home .process{background:#091525;color:#c4d0e1}
.page-home .process:before,.page-home .tl:before{display:none}
.page-home .process h2,.page-home .process h2 .acc,.page-home .process h3{color:#fff;background:none;-webkit-text-fill-color:currentColor}
.page-home .sec.process .lead,.page-home .tl p{color:#d9e4f2}
.page-home .tl{grid-template-columns:minmax(0,1fr);gap:32px;max-width:760px;margin:0 auto}
.page-home .tl li{position:relative;text-align:left;padding:0 0 0 88px;min-height:72px}
.page-home .tl-node{position:absolute;left:0;top:0;margin:0;background:#fff;color:#0857cc;box-shadow:none;border:1px solid #c8d7eb;border-radius:12px;width:56px;height:56px}
.page-home .tl li:not(:last-child):after{content:"";position:absolute;left:28px;top:72px;bottom:-16px;width:1px;background:#c8d7eb}
.page-home .tl-node b{background:#0857cc;border-color:#091525}
.page-home .tl small{color:#9cc3ff}.page-home .tl p{max-width:none;margin:0}
/* Landing-page process orientation; retain the existing dark theme and icons. */
body:not(.page-home) .process .tl{grid-template-columns:minmax(0,1fr);gap:32px;max-width:760px;margin:0 auto;padding:0}
body:not(.page-home) .process .tl:before{display:block;left:34px;right:auto;top:34px;bottom:34px;width:2px;height:auto;background:linear-gradient(180deg,#0A6CFF,#38D3C4)}
body:not(.page-home) .process .tl li{text-align:left;padding:0 0 0 100px;min-height:68px}
body:not(.page-home) .process .tl-node{position:absolute;left:0;top:0;margin:0}
body:not(.page-home) .process .tl p{max-width:none;margin:0}
/* Footer links form a compact group instead of spanning the entire row. */
.home-foot .hf-links{display:grid;grid-template-columns:repeat(3,minmax(0,200px));justify-content:start;gap:48px}
.hf-usps{width:100%}.hf-usps li{font-size:14px;color:#e1e8f3}.hf-usps li:before{content:none}
/* Four compact system panels with visible icon/title grouping. */
.page-healthsail #versions{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.page-healthsail #versions .ver{padding:24px;border:1px solid #d6dfeb;border-radius:12px;display:flex;flex-direction:column;min-width:0}
.page-healthsail #versions .vicon{margin-bottom:20px;width:44px;height:44px}
.page-healthsail #versions h3{font-size:21px;margin-bottom:16px;overflow-wrap:anywhere}
.page-healthsail #versions p{font-size:15px;color:#42516a}
.page-infor #versions .ver{display:flex;flex-direction:column}.page-infor #versions h3{min-height:2.3em}.page-infor #versions p{color:#42516a}
::selection{background:#c9e0ff;color:#0e1f36}input,textarea{caret-color:#0857cc}
@media(max-width:980px){
 body .csec .ccs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .page-healthsail #versions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .revs .tq{grid-template-columns:1fr;gap:0;min-height:0}
 .revs .tq-company{grid-row:1}.revs .tq .tq-stars{grid-row:2}
 .revs .tq blockquote{grid-column:1;grid-row:3;margin-bottom:24px;font-size:22px}
 .revs .tq figcaption{grid-row:4}.revs .tq .tq-link{grid-row:5}
}
@media(max-width:600px){
 body .csec .ccs{grid-template-columns:1fr}
 .revs .tq-wrap{padding:28px 24px 0}.revs .tq blockquote{font-size:19px}
 .revs .tt-row{margin:24px -24px 0;display:flex;flex-wrap:wrap}.revs .tt{flex:1 1 100%;padding:16px;min-height:48px}
 .home-foot .hf-links{grid-template-columns:1fr 1fr;gap:32px}
 .page-healthsail #versions{grid-template-columns:1fr}.page-healthsail #versions .ver{display:grid;grid-template-columns:44px minmax(0,1fr);gap:0 16px;padding:24px}
 .page-healthsail #versions .vicon{grid-row:1/span 2;margin:0}.page-healthsail #versions h3{grid-column:2;margin:0 0 12px}.page-healthsail #versions p{grid-column:2}
 .page-home .tl li{padding-left:80px}
 .page-infor #versions h3{min-height:0}
}

/* BugSmash 22-33: shared brand alignment and photographic process backgrounds. */
body .process:after{display:block;background-position:center;background-size:cover;opacity:.2!important;filter:none!important}
.page-home .process:after{background-image:url("images/process-bg.jpg")}
.cc-brand{height:54px;display:flex;align-items:center;flex:none;margin:0}
.cc-brand img{display:block;width:170px;height:54px;object-fit:cover;object-position:left center}
.cc-brand img[src$="client-pmc.png"]{object-fit:contain}
.csec .cc-body{display:flex;flex-direction:column}
.csec .cc-body ul{flex:1}
.csec .cc-btn{align-self:flex-start;margin-top:auto}
.revs .tq-company{display:flex;align-items:center;margin:0 0 20px;min-height:80px}
.revs .tq-company img{display:block;width:200px;height:100px;object-fit:cover;object-position:left center;filter:brightness(0);opacity:.88}
.revs .tt{display:flex;align-items:center;justify-content:center;padding:12px 20px}
.revs .tt img{width:160px;height:72px;object-fit:cover;filter:brightness(0);opacity:.55}
.revs .tt[aria-selected=true] img,.revs .tt:hover img{opacity:1}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home-foot .hf-usps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.hf-usps li{display:flex;align-items:flex-start;gap:12px;line-height:1.5}
.hf-usps li svg{width:24px;height:24px;flex:none;color:#9cc3ff}
.home-foot .hf-main{display:flex;justify-content:space-between;align-items:flex-start;gap:64px;padding-top:40px;padding-bottom:40px}
.home-foot .hf-brand{display:block;flex:none;padding-top:4px}
.home-foot .hf-brand svg{display:block;width:180px;height:auto}
.home-foot .hf-brand path{fill:#fff}
.home-foot .hf-links{display:grid;grid-template-columns:repeat(3,minmax(0,160px));gap:40px;padding:0;flex:0 1 560px}
.home-foot .hf-bar{display:flex;justify-content:space-between;align-items:center;gap:24px}
.hf-credit{display:flex;align-items:center;gap:12px;color:#d9e4f2;font-size:12px;text-decoration:none}
.hf-credit img{width:100px;height:auto;filter:brightness(0) invert(1)}
@media(max-width:980px){
 .home-foot .hf-main{gap:40px}.home-foot .hf-usps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-foot .hf-links{gap:24px}
}
@media(max-width:600px){
 body.page-home .csec .ccs,body.page-healthsail .csec .ccs{grid-template-columns:minmax(0,1fr)}
 .revs .tt{flex:1 1 33.333%;padding:10px;min-width:0}
 .revs .tt img{width:100%;height:52px;object-fit:contain}
 .home-foot .hf-main{flex-direction:column;gap:32px}
 .home-foot .hf-links{flex:auto;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
 .home-foot .hf-usps{grid-template-columns:1fr;gap:20px}
 .home-foot .hf-bar{align-items:flex-start;gap:24px}
}

/* Shared company introduction in the footer. */
.home-foot .hf-about{flex:0 1 360px;max-width:360px}
.home-foot .hf-about p{font-size:15px;line-height:1.6;color:#d9e4f2;margin:24px 0 0}
@media(max-width:600px){.home-foot .hf-about{flex:none;max-width:none;width:100%}}

/* On stacked layouts, show the testimonial after the copy and its CTA. */
@media(max-width:980px){
 .pas2 .pas-proof-stack{display:contents}
 .pas2 .pas2-img{grid-row:1}
 .pas2 .pas2-copy{grid-row:2}
 .pas2 .pas-testimonial{grid-row:3;margin-top:0}
}
@media(max-width:900px){
 .home-pas-grid .home-pas-media{display:contents}
 .home-pas-grid .home-pas-image{grid-row:1}
 .home-pas-grid .home-pas-copy{grid-row:2}
 .home-pas-grid .pas-testimonial{grid-row:3;margin-top:0}
}
@media(max-width:600px){
 .home-foot{display:flex;flex-direction:column;gap:32px}
 .home-foot .hf-main{display:contents}
 .home-foot .hf-about{order:1;width:calc(100% - 48px);margin:0 auto}
 .home-foot .hf-top{order:2;width:100%}
 .home-foot .hf-usps{margin:0;padding-bottom:32px}
 .home-foot .hf-links{order:3;width:calc(100% - 48px);margin:0 auto}
 .home-foot .hf-bar{order:4;width:100%;margin-top:0}
}

@media(max-width:600px){
 .csec .case-outcome{font-size:22px}
 body .csec .cc-body{padding:22px}
 body .csec .cc-top img{height:160px}
}
