/* ReNewTech shared site shell v1 (Phase 1). Header, Services menu, mobile menu, footer and button
   unification for every public page that uses the shared header. Loads last; brand tokens only. */
@font-face{font-family:ReNewInter;src:url('/assets/fonts/inter-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--shell-ink:#17221f;--shell-graphite:#171a19;--shell-lime:#8fd516;--shell-lime-hover:#a2e239;--shell-teal:#147e83;--shell-surface:#f7f8f2;--shell-muted:#52615b;--shell-line:#d8dfd3;--shell-focus:#2757b9}

/* Header */
.site-header.shell-header{width:min(1340px,calc(100% - 80px));height:88px;margin:auto;display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--shell-line);font:15px/1.4 ReNewInter,Inter,system-ui,sans-serif;color:var(--shell-ink);position:relative;z-index:30}
.shell-header .shell-nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.shell-header .shell-nav>a,.shell-header .nav-services>a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:7px;color:var(--shell-muted)!important;font-weight:500;white-space:nowrap}
.shell-header .shell-nav>a:hover,.shell-header .nav-services>a:hover,.shell-header .shell-nav a[aria-current=page]{color:var(--shell-ink)!important;background:#ecefe6}
.shell-header .shell-nav>a.button{margin-left:12px;min-height:44px;padding:0 18px;background:var(--shell-lime);border:1px solid var(--shell-lime);color:var(--shell-ink)!important;font-weight:600;font-size:14px}
.shell-header .shell-nav>a.button:hover{background:var(--shell-lime-hover)}
.shell-header .client-login{font-size:13px;font-weight:500;color:var(--shell-muted)!important;white-space:nowrap;padding:8px 0}
.shell-header .client-login:hover{color:var(--shell-ink)!important}

/* Services disclosure: link to the hub plus a toggle for the five pillars */
.nav-services{position:relative;display:flex;align-items:center}
.nav-services>a{padding-right:4px!important}
.nav-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:44px;border:0;background:none;color:var(--shell-muted);border-radius:7px;cursor:pointer}
.nav-toggle:hover,.nav-toggle[aria-expanded=true]{color:var(--shell-ink);background:#ecefe6}
.nav-toggle svg{width:12px;height:12px;transition:transform .18s ease}
.nav-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.services-menu{position:absolute;top:calc(100% + 10px);left:-12px;width:min(560px,90vw);background:#fff;border:1px solid var(--shell-line);border-radius:14px;box-shadow:0 24px 48px -28px #17221f66;padding:10px;display:grid;grid-template-columns:1fr 1fr;gap:2px}
.services-menu[hidden]{display:none}
.services-menu a{display:block;padding:12px 14px;border-radius:9px;color:var(--shell-ink)!important}
.services-menu a:hover,.services-menu a:focus-visible{background:#f1f4ec}
.services-menu strong{display:block;font-size:15px;font-weight:600}
.services-menu span{display:block;font-size:13px;line-height:1.45;color:var(--shell-muted);margin-top:2px}
.services-menu .services-all{grid-column:1/-1;border-top:1px solid var(--shell-line);border-radius:0 0 9px 9px;margin-top:6px;font-size:13px;font-weight:600;color:var(--shell-teal)!important}

.shell-header :is(a,button):focus-visible,.services-menu a:focus-visible,.site-menu :focus-visible,.site-footer a:focus-visible{outline:3px solid var(--shell-focus);outline-offset:3px}

/* Mobile menu */
.site-menu .shell-mobile{display:flex;flex-direction:column;margin-top:28px}
.site-menu .shell-mobile>a{padding:14px 0;border-bottom:1px solid var(--shell-line);font-size:20px;color:var(--shell-ink)}
.site-menu .shell-mobile .mobile-pillars{display:grid;gap:0;padding:4px 0 10px 14px;border-bottom:1px solid var(--shell-line)}
.site-menu .shell-mobile .mobile-pillars a{font-size:15px;padding:9px 0;border:0;color:var(--shell-muted)}
.site-menu .shell-mobile .mobile-pillars a strong{color:var(--shell-ink);font-weight:600;margin-right:6px}
.site-menu .shell-mobile .mobile-cta{margin-top:22px;border:0;display:flex;justify-content:center;background:var(--shell-lime);border-radius:7px;font-size:16px;font-weight:600;padding:15px}
.site-menu .shell-mobile .mobile-secondary{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;margin-top:18px}
.site-menu .shell-mobile .mobile-secondary a{font-size:14px;padding:10px 0;color:var(--shell-muted)}

@media(max-width:1180px){.shell-header .shell-nav>a,.shell-header .nav-services>a{padding:0 8px}.shell-header .shell-nav>a.button{margin-left:6px}}
@media(max-width:1040px){.site-header.shell-header{width:calc(100% - 48px)}.shell-header .shell-nav{display:none}.shell-header .client-login{margin-left:auto}.shell-header .menu-trigger{display:block;margin-left:0}}
@media(max-width:600px){.site-header.shell-header{width:calc(100% - 32px);height:72px;gap:12px}.shell-header .client-login{font-size:12px}}

/* Footer */
.site-footer.shell-footer .footer-top{grid-template-columns:1.3fr repeat(3,.8fr) 1.2fr;gap:40px}
.shell-footer .footer-tagline{max-width:22ch}
@media(max-width:1000px){.site-footer.shell-footer .footer-top{grid-template-columns:1fr 1fr 1fr}.shell-footer .footer-top>div:first-child{grid-column:1/-1}}
@media(max-width:600px){.site-footer.shell-footer .footer-top{grid-template-columns:1fr 1fr;gap:32px 20px}.shell-footer .footer-top>div:last-child{grid-column:1/-1}.shell-footer .footer-bottom{flex-wrap:wrap}}

/* Unified actions on legacy-stack pages (begin retiring the blue CTA). */
.renew-legacy .rtx main :is(.rtx-btn,.rtx2-button):not(.rtx-btn-secondary,.rtx2-button-secondary),.renew-legacy .rtx .site-header .button{background:var(--shell-lime)!important;border-color:var(--shell-lime)!important;color:var(--shell-ink)!important}
.renew-legacy .rtx main :is(.rtx-btn,.rtx2-button):not(.rtx-btn-secondary,.rtx2-button-secondary):hover{background:var(--shell-lime-hover)!important}
@media(prefers-reduced-motion:reduce){.nav-toggle svg{transition:none}}
.site-menu{box-sizing:border-box;overflow-x:hidden}
.shell-header .nav-toggle{background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
.shell-header .nav-toggle:hover,.shell-header .nav-toggle[aria-expanded=true]{background:#ecefe6!important}
