.theme-toggle.icon-button{width:38px;height:38px;flex:none;border:1px solid #c7d8ef;border-radius:50%;color:#1e4782;background:#edf4ff}
.theme-toggle.icon-button:hover{background:#dceaff;border-color:#86ace5}
.theme-toggle svg{width:18px;height:18px}
.theme-toggle .theme-sun,[data-color-theme="dark"] .theme-toggle .theme-moon{display:none}
[data-color-theme="dark"] .theme-toggle .theme-sun{display:block}
@media(max-width:360px){.header .professional-logo{width:148px}.header-inner{gap:8px}.header-actions{gap:6px}.theme-toggle.icon-button{width:34px;height:34px}}

/* Footer colours are local so the header logo and page palette stay independent. */
.footer{background:#163568;color:#f1f6ff;border-top-color:#5477ad}
.footer :is(p,.footer-note,.footer-bottom),.footer .footer-grid>div:not(:first-child)>a{color:#d2e2fa}
.footer .footer-bottom{border-top-color:#7294c55c}
.footer .footer-grid>div:not(:first-child)>a:hover,.footer .footer-bottom a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.footer a:focus-visible{outline-color:#b8dcff}
.footer .brand-symbol [fill="#142c48"]{fill:#edf4ff}
.footer .brand-symbol [fill="#2563b8"]{fill:#8bbcff}
.footer .brand-symbol [fill="#65758a"]{fill:#b5c7e2}
.footer .brand-symbol [stroke="#c3cbd4"]{stroke:#8da9cf}

:root[data-color-theme="dark"]{
 color-scheme:dark;
 --night:#0b1527;
 --night-panel:#13233b;
 --night-raised:#1a2e4b;
 --night-hover:#233c60;
 --navy:#edf4ff;
 --text:#edf4ff;
 --muted:#b5c7e2;
 --blue:#91bfff;
 --line:#354d70;
 --soft:#101e34;
 --section-border:#304767;
 --section-blue:#172b48;
 --section-slate:#12223b;
 background:var(--night);
}
[data-color-theme="dark"] body{background:var(--night);color:var(--navy)}
[data-color-theme="dark"] .header,[data-color-theme="dark"] body[data-header-scrolled=true] .header{background:#0e1b30;border-color:var(--line);box-shadow:0 5px 20px #0004}
[data-color-theme="dark"] .brand-symbol [fill="#142c48"]{fill:#edf4ff}
[data-color-theme="dark"] .brand-symbol [fill="#2563b8"]{fill:#8bbcff}
[data-color-theme="dark"] .brand-symbol [fill="#65758a"]{fill:#b5c7e2}
[data-color-theme="dark"] .brand-symbol [stroke="#c3cbd4"]{stroke:#7087a8}
[data-color-theme="dark"] .theme-toggle.icon-button{color:#a7ceff;background:#203858;border-color:#5078aa}
[data-color-theme="dark"] .theme-toggle.icon-button:hover{background:#2c4a70}
[data-color-theme="dark"] :is(.mega-menu,.search-dialog,.consent){background:var(--night-panel);color:var(--navy);border-color:var(--line)}
[data-color-theme="dark"] :is(.mega-intro,.search-input,.notice,.consent button){background:var(--night-raised);color:var(--navy);border-color:var(--line)}
[data-color-theme="dark"] :is(.header-cta,.button-primary,.skip-link){background:#2860b8;color:#fff}
[data-color-theme="dark"] :is(.header-cta,.button-primary):hover{background:#326ac2}
[data-color-theme="dark"] .button-white{background:#eef5ff;color:#174278}
[data-color-theme="dark"] .button-outline{color:#edf4ff;border-color:#6383aa}
[data-color-theme="dark"] .button-outline:hover{background:var(--night-hover)}
[data-color-theme="dark"] .html-home .hero .button-primary{background:#8ce1ff;color:#0b244a}
[data-color-theme="dark"] .html-home .hero .button-primary:hover{background:#bbecff}
[data-color-theme="dark"] .html-home .hero .hero-bottom>span:first-child{color:#c6d8f4}
[data-color-theme="dark"] .page-banner{background:radial-gradient(ellipse at 90% 25%,#244876 0,transparent 55%),linear-gradient(110deg,#101e35,#142945);border-color:var(--line)}
[data-color-theme="dark"] .page-banner .page-header-copy>.eyebrow{color:#a4ccff}
[data-color-theme="dark"] .page-banner .heading-illustration[data-header-design="blueprint-orbit"]{border-color:#6c9ac0;box-shadow:0 12px 28px #0004}
[data-color-theme="dark"] .home-section:is([data-section=capabilities],[data-section=industries],[data-section=process],[data-section=architecture]),[data-color-theme="dark"] :is(.home-section[data-section=why],.home-section[data-section=insights]) .soft-section,[data-color-theme="dark"] .soft-section{background:var(--soft);border-color:var(--line);--section-accent:#a4ccff}
[data-color-theme="dark"] .home-section[data-section=architecture] .eyebrow,[data-color-theme="dark"] .section-heading .eyebrow{color:#a4ccff}
[data-color-theme="dark"] .section-heading .eyebrow i{background:#a4ccff}
[data-color-theme="dark"] .home-section[data-section="work"]{background:#162841;border-color:var(--line)}
[data-color-theme="dark"] .work-strip .eyebrow{color:#a4ccff}
[data-color-theme="dark"] .work-strip .button-outline{background:#203858;border-color:#6383aa}
[data-color-theme="dark"] .work-strip .button-outline:hover{background:#2c4a70;border-color:#91bfff}
[data-color-theme="dark"] :is(.service-card,.listing-card){--card-accent:#91bdff;background:var(--night-panel);border-color:var(--line);border-top-color:var(--card-accent)}
[data-color-theme="dark"] :is(.service-card,.listing-card):nth-child(3n+2){--card-accent:#bdb8ff;background:#1a2444}
[data-color-theme="dark"] :is(.service-card,.listing-card):nth-child(3n){--card-accent:#8bd6f5;background:#132a43}
[data-color-theme="dark"] :is(.service-card,.listing-card):hover{background:var(--night-hover);border-color:var(--card-accent)}
[data-color-theme="dark"] :is(.why-grid>div,.workflow-node,.simple-workflow>div,.detail-related a,.article-grid>a,.insights-empty,.discovery-card,.process-steps,.workflow-track,.empty-state){background:var(--night-panel);border-color:var(--line)}
[data-color-theme="dark"] :is(.why-grid svg,.workflow-node>svg){color:#a8cbff}
[data-color-theme="dark"] .industry-panel{background:#172d49;border-color:var(--line)}
[data-color-theme="dark"] :is(.industry-art,.insight-illustration){background:radial-gradient(#264774,#172d4a)}
[data-color-theme="dark"] .industry-art>span{color:#bbd5fa}
[data-color-theme="dark"] .industry-tabs button[aria-selected=true]{background:#244e87;color:#fff;border-color:#91bfff}
[data-color-theme="dark"] .technology-section{background:#152c52;border-color:var(--line)}
[data-color-theme="dark"] .process-steps button>span{color:var(--muted)}
[data-color-theme="dark"] .process-steps .selected,[data-color-theme="dark"] .home-section[data-section=process] .process-steps .selected{background:#283e75;border-color:#91bfff}
[data-color-theme="dark"] .process-steps .selected :is(b,span,svg){color:#edf4ff}
[data-color-theme="dark"] :is(.pill-tabs button,.discovery-options button,.search-page-form input,.discovery-select,.form-label input,.form-label select,.form-label textarea){background:var(--night-raised);color:var(--navy);border-color:var(--line)}
[data-color-theme="dark"] :is(.pill-tabs button,.discovery-options button)[aria-pressed=true],[data-color-theme="dark"] .filter-row a.active{background:#254d86;color:#fff;border-color:#91bfff}
[data-color-theme="dark"] .discovery-progress span{background:#3c567b}
[data-color-theme="dark"] .discovery-progress .done{background:var(--blue)}
[data-color-theme="dark"] :is(.discovery-summary,.form-success,.contact-grid .static-contact){background:var(--night-raised);border-color:var(--line)}
[data-color-theme="dark"] .form-error{color:#ffcbce;background:#452735;border-color:#a7606e}
[data-color-theme="dark"] .cta-section{background:linear-gradient(115deg,#090f21,#101e38 62%,#1c2b4e)}
[data-color-theme="dark"] .footer{background:#142d50;border-top-color:#406394}
[data-color-theme="dark"] .v2-chat-panel{background:var(--night-panel);color:#edf4ff;border-color:#4d6b93;box-shadow:0 16px 55px #0006}
[data-color-theme="dark"] .v2-chat-head{background:#1a3863}
[data-color-theme="dark"] .v2-chat-message{background:#1c3252}
[data-color-theme="dark"] .v2-chat-message.user{background:#25436c}
[data-color-theme="dark"] .v2-chat-message strong,[data-color-theme="dark"] .v2-chat-sources a{color:#a9d0ff}
[data-color-theme="dark"] .v2-chat-message p,[data-color-theme="dark"] :is(.v2-chat-status,.v2-chat-privacy){color:#ccdaee}
[data-color-theme="dark"] .v2-chat-privacy{border-color:var(--line)}
[data-color-theme="dark"] :is(.v2-chat-form textarea,.v2-chat-form textarea:disabled,.v2-chat-form button,.v2-chat-guides a,.v2-chat-suggestions button){background:#192d4a;color:#edf4ff;border-color:#55759f}
[data-color-theme="dark"] .v2-chat-form textarea::placeholder{color:#b4c7e4}
[data-color-theme="dark"] .v2-chat-form [type=submit]{background:#2860b8;color:#fff}
[data-color-theme="dark"] :is(.v2-chat-form button,.v2-chat-suggestions button):hover{background:#2f4e79}
@media(max-width:1000px){[data-color-theme="dark"] .nav{background:var(--night-panel);box-shadow:0 16px 30px #0006}}
