.sh-services-nav { position: relative; color: #475569; }
.sh-services-nav summary { display: flex; align-items: center; gap: .5rem; list-style: none; cursor: pointer; white-space: nowrap; }
.sh-services-nav summary::-webkit-details-marker { display: none; }
.sh-services-nav summary span { width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.12rem) rotate(45deg); }
.sh-services-nav[open] summary span { transform: translateY(.1rem) rotate(225deg); }
.sh-services-nav ul { position: absolute; top: calc(100% + .75rem); left: 0; z-index: 1; min-width: 18rem; padding: .45rem; border: 1px solid #d9e3f2; border-radius: .8rem; background: white; box-shadow: 0 12px 35px #16274924; }
.sh-services-nav a { display: block; padding: .5rem .7rem; border-radius: .4rem; color: #122a50; }
.sh-services-nav a:hover, .sh-services-nav a[aria-current] { background: #edf4ff; color: #183f80; }
.sh-services-nav :focus-visible { outline: 2px solid #306bc2; outline-offset: 2px; }
.sh-public-masthead, .sh-services .sh-services-hero, .about-hero.sh-photo-header, .deletion-hero.sh-photo-header {
    background: linear-gradient(90deg, #122a50 0%, #122a50ed 45%, #122a5060 100%), url("/images/brand/public-masthead.webp") right 46% / cover no-repeat, #122a50;
    color: #fff;
}
body:has(.sh-public-masthead, .sh-services-hero, .sh-photo-header) > header { background-color: #fff !important; }
.sh-public-masthead { padding: clamp(6.8rem, 10vw, 8.5rem) 0 clamp(2rem, 4vw, 3.25rem); }
.sh-public-masthead-inner { max-width: 76rem; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.sh-public-masthead h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.12; font-weight: 750; letter-spacing: -.035em; overflow-wrap: anywhere; }
.sh-public-masthead p { max-width: 42rem; margin-top: .8rem; color: #e2edff; font-size: clamp(1rem, 2vw, 1.2rem); }
.sh-public-masthead-back { display: inline-block; margin-bottom: .8rem; color: #ffdb9e; text-decoration: underline; }
.about-hero.sh-photo-header h1, .about-hero.sh-photo-header h1 .text-gradient, .deletion-hero.sh-photo-header .deletion-title { color: white; -webkit-text-fill-color: currentColor; }
.about-hero.sh-photo-header h1 .text-gradient { color: #ffdb9e; }
.about-hero.sh-photo-header h1 + p, .deletion-hero.sh-photo-header .deletion-lead { color: #e2edff; }
.about-hero.sh-photo-header > [aria-hidden="true"] { display: none; }
main > .sh-services#our-services.sh-services-after-masthead { padding-top: clamp(1.75rem, 4vw, 3.5rem); }
@media (max-width: 767px) {
    .sh-mobile-public-nav { max-height: calc(100dvh - 76px); overflow-y: auto; }
    .sh-services-nav ul { position: static; min-width: 0; margin-top: .5rem; box-shadow: none; }
    .sh-public-masthead, .sh-services .sh-services-hero, .about-hero.sh-photo-header, .deletion-hero.sh-photo-header {
        background-image: linear-gradient(90deg, #122a50fa, #122a50bd), url("/images/brand/public-masthead.webp");
    }
}
.about-hero.sh-photo-header .blob { display: none; }
.deletion-hero.sh-photo-header { max-width: none; border-radius: 1.25rem; padding: clamp(1.5rem, 5vw, 3.5rem); }
.deletion-hero.sh-photo-header .deletion-kicker { color: #ffdb9e; }
.sh-services .sh-services-card h2 { font-size: 1.15rem; letter-spacing: normal; }
.sh-service-icon { width: 2.8rem; height: 2.8rem; padding: .55rem; border-radius: .8rem; background: #e6efff; color: #20539a; margin-bottom: .5rem; flex-shrink: 0; }
.sh-services-hero .sh-service-icon { background: #ffffff1f; color: #ffdc9f; }
.sh-services-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.sh-services-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px #16274917; }
.sh-services-card:nth-child(3n+2) { background: #eff8f6; border-color: #cce7df; }
.sh-services-card:nth-child(3n+2) .sh-service-icon { background: #d9eee7; color: #216a58; }
.sh-services-card:nth-child(3n+3) { background: #fff8ed; border-color: #ebddc6; }
.sh-services-card:nth-child(3n+3) .sh-service-icon { background: #f4e6cd; color: #805217; }
.sh-services-section h2 { text-wrap: balance; }
.sh-services-section > h2::after { content: ""; display: block; width: 3rem; height: 3px; background: #d69b49; margin-top: .7rem; }
.sh-services-layer { background: linear-gradient(145deg, white, #edf3ff); }
.sh-services-faq details[open] { background: #edf4ff; padding-inline: 1rem; border-radius: .6rem; }
.sh-services-button { transition: transform .2s, box-shadow .2s; }
.sh-services-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px #122a5030; }
@media (prefers-reduced-motion: no-preference) {
 .sh-public-masthead h1, .sh-services-hero h1 { animation: sh-title-enter .65s ease both; }
 @keyframes sh-title-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) { .sh-services-card, .sh-services-button { transition: none; } .sh-services-card:hover, .sh-services-button:hover { transform: none; } }

body[data-public-page="about"] .sh-public-masthead, body[data-public-page="about"] .sh-services-hero, body[data-public-page="about"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/about.webp"); }

body[data-public-page="account-deletion"] .sh-public-masthead, body[data-public-page="account-deletion"] .sh-services-hero, body[data-public-page="account-deletion"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/account-deletion.webp"); }

body[data-public-page="contact"] .sh-public-masthead, body[data-public-page="contact"] .sh-services-hero, body[data-public-page="contact"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/contact.webp"); }

body[data-public-page="contract-staffing"] .sh-public-masthead, body[data-public-page="contract-staffing"] .sh-services-hero, body[data-public-page="contract-staffing"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/contract-staffing.webp"); }

body[data-public-page="gcc-practice"] .sh-public-masthead, body[data-public-page="gcc-practice"] .sh-services-hero, body[data-public-page="gcc-practice"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/gcc-practice.webp"); }

body[data-public-page="get-started"] .sh-public-masthead, body[data-public-page="get-started"] .sh-services-hero, body[data-public-page="get-started"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/get-started.webp"); }

body[data-public-page="gig-workforce"] .sh-public-masthead, body[data-public-page="gig-workforce"] .sh-services-hero, body[data-public-page="gig-workforce"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/gig-workforce.webp"); }

body[data-public-page="news"] .sh-public-masthead, body[data-public-page="news"] .sh-services-hero, body[data-public-page="news"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/news.webp"); }

body[data-public-page="payroll-compliance"] .sh-public-masthead, body[data-public-page="payroll-compliance"] .sh-services-hero, body[data-public-page="payroll-compliance"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/payroll-compliance.webp"); }

body[data-public-page="permanent-staffing"] .sh-public-masthead, body[data-public-page="permanent-staffing"] .sh-services-hero, body[data-public-page="permanent-staffing"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/permanent-staffing.webp"); }

body[data-public-page="privacy"] .sh-public-masthead, body[data-public-page="privacy"] .sh-services-hero, body[data-public-page="privacy"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/privacy.webp"); }

body[data-public-page="recruitment-process-outsourcing"] .sh-public-masthead, body[data-public-page="recruitment-process-outsourcing"] .sh-services-hero, body[data-public-page="recruitment-process-outsourcing"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/recruitment-process-outsourcing.webp"); }

body[data-public-page="services"] .sh-public-masthead, body[data-public-page="services"] .sh-services-hero, body[data-public-page="services"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/services.webp"); }

body[data-public-page="terms"] .sh-public-masthead, body[data-public-page="terms"] .sh-services-hero, body[data-public-page="terms"] .sh-photo-header { background-image: linear-gradient(90deg, #122a50f0, #122a50a0 55%, #122a5030), url("/images/services/terms.webp"); }

/* Public navigation and service discovery. */
body > header > .container { max-width: 1440px; }
body > header > .container > nav { gap: .3rem; }
body > header > .container > nav > * { margin-left: 0 !important; }
body > header > .container > nav > a, .sh-services-nav summary { padding: .65rem .85rem; border-radius: .6rem; transition: color .18s, background-color .18s; }
body > header > .container > nav > a:hover, .sh-services-nav summary:hover, .sh-services-nav[open] summary, .sh-services-nav summary[aria-current] { color: #174c90; background: #edf4fc; }
body > header > .container > nav > a:last-child { background: #122a50; color: white; border-radius: .7rem; padding-inline: 1.3rem; margin-left: .6rem !important; box-shadow: 0 4px 12px #122a5017; }
body > header > .container > nav > a:last-child:hover { background: #225d99; }
.sh-services-nav { position: static; }
.sh-services-nav .sh-mega-menu { position: absolute; top: calc(100% - 1px); left: 50%; transform: translateX(-50%); width: min(1120px, calc(100vw - 48px)); display: grid; grid-template-columns: 260px 1fr; padding: .65rem; gap: .8rem; border: 1px solid #d8e3f1; border-radius: 0 0 1.25rem 1.25rem; background: #fff; box-shadow: 0 24px 45px #122a5029; overflow: hidden; }
.sh-mega-intro { padding: 1.6rem 1.3rem; background: #122a50; color: #dce9fa; border-radius: .85rem; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.sh-mega-intro .sh-mega-eyebrow { font-size: .72rem; color: #ffdc9f; text-transform: uppercase; letter-spacing: .075em; }
.sh-mega-intro .sh-mega-title { font-size: 1.75rem; line-height: 1.15; font-weight: 700; color: white; letter-spacing: -.025em; }
.sh-mega-intro > p { font-size: .92rem; line-height: 1.5; }
.sh-mega-intro .sh-mega-overview { color: #ffdc9f; margin-top: auto; padding: .75rem 0 0; font-weight: 650; background: transparent; }
.sh-services-nav ul.sh-mega-links { position: static; min-width: 0; box-shadow: none; border: 0; background: transparent; border-radius: 0; padding: .25rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .3rem; }
.sh-mega-links li { min-width: 0; }
.sh-services-nav .sh-mega-links a { height: 100%; display: flex; align-items: flex-start; gap: .7rem; padding: 1rem .7rem; border: 1px solid transparent; border-radius: .8rem; }
.sh-services-nav .sh-mega-links a:hover, .sh-services-nav .sh-mega-links a[aria-current] { background: #f0f6ff; border-color: #d8e6f8; }
.sh-mega-links .sh-service-icon { width: 2.6rem; height: 2.6rem; margin: 0; }
.sh-mega-links li:nth-child(3n+2) .sh-service-icon { background: #e0f2eb; color: #216a58; }
.sh-mega-links li:nth-child(3n) .sh-service-icon { background: #fff0d9; color: #805217; }
.sh-mega-copy { display: flex; flex-direction: column; gap: .3rem; }
.sh-mega-service { font-size: .96rem; line-height: 1.3; font-weight: 650; }
.sh-mega-description { color: #52637a; font-size: .83rem; line-height: 1.4; font-weight: 400; }
.sh-mega-arrow { margin-left: auto; color: #567498; }
@media (min-width: 768px) and (max-width: 1000px) {
 body > header > .container { padding-inline: 1rem; }
 body > header > .container > nav { gap: 0; font-size: .85rem; }
 body > header > .container > nav > a, .sh-services-nav summary { padding-inline: .5rem; }
 .sh-services-nav .sh-mega-menu { grid-template-columns: 210px 1fr; }
}
@media (max-width: 767px) {
 .sh-services-nav .sh-mega-menu { position: static; transform: none; width: 100%; grid-template-columns: 1fr; padding: .4rem; margin-top: .5rem; border-radius: .85rem; box-shadow: none; gap: .3rem; }
 .sh-mega-intro { padding: 1rem; }
 .sh-mega-intro .sh-mega-title { font-size: 1.4rem; }
 .sh-mega-intro .sh-mega-title br, .sh-mega-intro > p:not(.sh-mega-title) { display: none; }
 .sh-mega-intro .sh-mega-overview { margin: 0; padding: 0; }
 .sh-services-nav ul.sh-mega-links { grid-template-columns: 1fr; }
 .sh-services-nav summary { padding: .4rem 0; }
 .sh-services-nav .sh-mega-links a { padding: .7rem .4rem; }
}
@media (prefers-reduced-motion: no-preference) {
 .sh-services-nav[open] .sh-mega-intro { animation: sh-mega-enter .2s ease both; }
 @keyframes sh-mega-enter { from { opacity: .4; } to { opacity: 1; } }
}
.sh-services-nav .sh-mega-intro .sh-mega-overview,
.sh-services-nav .sh-mega-intro .sh-mega-overview:hover,
.sh-services-nav .sh-mega-intro .sh-mega-overview[aria-current] { background: transparent; color: #ffdc9f; border-radius: 0; text-decoration: underline; text-underline-offset: .25em; }
.sh-mega-title br { display: none; }
