/* DPIO coordinated modes. Each surface owns its foreground colours. */
:root{--dp-bg:#f7f7f2;--dp-surface:#ffffff;--dp-soft:#eaf0eb;--dp-text:#112e37;--dp-muted:#455e64;--dp-line:#6e8581;--dp-accent:#075f66;--dp-on-accent:#ffffff;--dp-night:#071e27;--dp-night-text:#f3f8f6;--dp-night-muted:#c5d9dc;--dp-night-link:#a7e5d7;--dp-focus:#976a15;--dp-local-text:var(--dp-text);--dp-local-muted:var(--dp-muted);--dp-local-link:var(--dp-accent);color-scheme:light}
:root[data-dpio-theme="dark"]{--dp-bg:#071820;--dp-surface:#102d37;--dp-soft:#0b222c;--dp-text:#edf5f3;--dp-muted:#bfd2d5;--dp-line:#6b939c;--dp-accent:#8ee3d0;--dp-on-accent:#06242c;--dp-night:#041117;--dp-night-text:#f3f8f6;--dp-night-muted:#c5d9dc;--dp-night-link:#a7e5d7;--dp-focus:#f1c66a;color-scheme:dark}
html:root[data-dpio-theme]{color-scheme:light!important}html[data-dpio-theme="dark"]{color-scheme:dark!important}
html:root[data-dpio-theme] body{--dp-local-text:var(--dp-text);--dp-local-muted:var(--dp-muted);--dp-local-link:var(--dp-accent);background:var(--dp-bg)!important;color:var(--dp-text)!important;font-family:Arial,Helvetica,sans-serif}
html:root[data-dpio-theme] :is(#wrapwrap,#dpio-growth,.dpio-site,.dpio-guardian-services,.dpio-guardian-detail){background:var(--dp-bg)!important;color:var(--dp-text)!important;font-family:Arial,Helvetica,sans-serif;--dpio-ink:var(--dp-text);--dpio-ink-soft:var(--dp-text);--dpio-copy:var(--dp-muted);--dpio-muted:var(--dp-muted);--dpio-paper:var(--dp-bg);--dpio-sand:var(--dp-soft);--dpio-teal:var(--dp-accent);--dpio-teal-dark:var(--dp-accent);--dpio-gold:var(--dp-accent);--dpio-line:var(--dp-line)}
html:root[data-dpio-theme] :is(.dpio-site,.dpio-guardian-services,.dpio-guardian-detail,:where(#dpio-growth)) :is(h1,h2,h3,h4,p,li,strong,blockquote,label,small,span,td,th,summary){color:var(--dp-local-text)!important;text-shadow:none!important}
html:root[data-dpio-theme] :is(.dpio-site,.dpio-guardian-services,.dpio-guardian-detail,:where(#dpio-growth)) :is(p,small,.text-muted,.dpio-copy-lg,.dpio-lead){color:var(--dp-local-muted)!important}
html:root[data-dpio-theme] :is(.dpio-site,.dpio-guardian-services,.dpio-guardian-detail,:where(#dpio-growth)) a{color:var(--dp-local-link);text-decoration:none}
html:root[data-dpio-theme] :is(.dpio-site,.dpio-guardian-services,.dpio-guardian-detail) h1{font:400 clamp(38px,4.7vw,64px)/1.1 Georgia,serif;letter-spacing:-1.7px;text-wrap:balance}
html:root[data-dpio-theme] :is(.dpio-site,.dpio-guardian-services,.dpio-guardian-detail) h2{font:400 clamp(30px,3.2vw,43px)/1.2 Georgia,serif;letter-spacing:-.8px;text-wrap:balance}
html:root[data-dpio-theme] :is(.dpio-site,.dpio-guardian-services,.dpio-guardian-detail) h3{font:700 22px/1.3 Arial,Helvetica,sans-serif;letter-spacing:-.3px}
html:root[data-dpio-theme] :is(.dpio-site,.dpio-guardian-services,.dpio-guardian-detail) .container{max-width:1208px;padding-left:24px;padding-right:24px}
html:root[data-dpio-theme] :is(.dpio-section,.dpio-detail-section){padding:76px 0;background:var(--dp-bg)!important;--dp-local-text:var(--dp-text);--dp-local-muted:var(--dp-muted);--dp-local-link:var(--dp-accent)}
html:root[data-dpio-theme] :is(.dpio-section--sand,.dpio-section--soft,.dpio-detail-soft,.dpio-path-section,.dpio-process-section,.dpio-faq-section,.dg-soft){background:var(--dp-soft)!important}
html:root[data-dpio-theme] :is(.dpio-section--ink,.dpio-final-cta,.dpio-detail-cta,.dpio-detail-hero,.dpio-hero,.dg-hero,.dg-cta,.dg-map,.dg-proof){background:var(--dp-night)!important;--dp-local-text:var(--dp-night-text);--dp-local-muted:var(--dp-night-muted);--dp-local-link:var(--dp-night-link);color:var(--dp-night-text)!important}
html:root[data-dpio-theme] :is(.dpio-final-cta,.dpio-detail-cta){padding:60px 0;border:0}
html:root[data-dpio-theme] :is(.dpio-page-hero,.dpio-detail-hero,.dpio-hero)::before,html:root[data-dpio-theme] :is(.dpio-page-hero,.dpio-detail-hero,.dpio-hero)::after{display:none!important}
html:root[data-dpio-theme] .dpio-page-hero{padding:64px 0 72px;background:var(--dp-soft)!important;--dp-local-text:var(--dp-text);--dp-local-muted:var(--dp-muted);--dp-local-link:var(--dp-accent)}
html:root[data-dpio-theme] .dp-hero--erp,html:root[data-dpio-theme] .dp-hero--proof{background:var(--dp-night)!important;--dp-local-text:var(--dp-night-text);--dp-local-muted:var(--dp-night-muted);--dp-local-link:var(--dp-night-link)}
html:root[data-dpio-theme] .dp-hero--founder,html:root[data-dpio-theme] .dp-hero--library{background:var(--dp-bg)!important;border-bottom:1px solid var(--dp-line)}
html:root[data-dpio-theme] .dp-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.8fr);gap:64px;align-items:center}
html:root[data-dpio-theme] .dp-hero--overview .dp-hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);align-items:start}
html:root[data-dpio-theme] .dp-hero--journey .dp-hero-grid,html:root[data-dpio-theme] .dp-hero--method .dp-hero-grid{grid-template-columns:1fr}
html:root[data-dpio-theme] .dp-hero--journey .dp-hero-panel,html:root[data-dpio-theme] .dp-hero--method .dp-hero-panel{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;border:0;padding:0;background:transparent!important}
html:root[data-dpio-theme] :is(.dp-hero--journey,.dp-hero--method) .dp-hero-panel>h2,html:root[data-dpio-theme] :is(.dp-hero--journey,.dp-hero--method) .dp-panel-label{grid-column:1/-1;margin-bottom:0}
html:root[data-dpio-theme] :is(.dp-hero--journey,.dp-hero--method) .dp-hero-item{border:1px solid var(--dp-line);padding:22px;background:var(--dp-surface);border-radius:8px}
html:root[data-dpio-theme] .dp-hero-copy h1{margin:18px 0 25px;max-width:900px}
html:root[data-dpio-theme] .dp-hero-copy .dpio-lead{font-size:19px;line-height:1.75;max-width:740px}
html:root[data-dpio-theme] .dp-hero-note{font-size:13px!important;line-height:1.6;margin-top:18px;max-width:620px}
html:root[data-dpio-theme] .dp-hero-panel{--dp-local-text:var(--dp-text);--dp-local-muted:var(--dp-muted);--dp-local-link:var(--dp-accent);padding:28px;border:1px solid var(--dp-line);border-radius:10px;background:var(--dp-surface)!important;box-shadow:none}
html:root[data-dpio-theme] .dp-hero-panel h2{font-size:29px;margin:12px 0 20px;color:var(--dp-text)!important}
html:root[data-dpio-theme] .dp-panel-label{display:block;font-size:11px;letter-spacing:1.7px;text-transform:uppercase;color:var(--dp-accent)!important;font-weight:700}
html:root[data-dpio-theme] .dp-hero-item{position:relative;display:block;border-top:1px solid var(--dp-line);padding:20px 26px 20px 0;color:var(--dp-text)!important}
html:root[data-dpio-theme] .dp-hero-item strong{display:block;font-size:16px;color:var(--dp-text)!important}
html:root[data-dpio-theme] .dp-hero-item span{display:block;font-size:14px;color:var(--dp-muted)!important;line-height:1.65;margin-top:5px}
html:root[data-dpio-theme] .dp-hero-item b{position:absolute;right:0;top:22px;color:var(--dp-accent)!important}
html:root[data-dpio-theme] .dp-hero--data .dp-hero-panel{border-left:5px solid var(--dp-accent)}
html:root[data-dpio-theme] .dp-hero--web .dp-hero-panel{border-top:18px solid var(--dp-line)}
html:root[data-dpio-theme] .dp-hero--founder .dp-hero-panel{border-top:4px solid var(--dp-accent);border-radius:0}
html:root[data-dpio-theme] .dpio-breadcrumb{display:flex;gap:12px;font-size:13px;margin-bottom:24px;color:var(--dp-local-muted)!important}
html:root[data-dpio-theme] :is(.dpio-eyebrow,.dpio-section-label,.dg-kicker){font:700 12px/1.6 Arial,Helvetica,sans-serif;letter-spacing:1.8px;text-transform:uppercase;color:var(--dp-local-link)!important}
html:root[data-dpio-theme] :is(.btn,.dg-btn){display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:13px 21px;border-radius:5px;font:700 15px/1.45 Arial,Helvetica,sans-serif;box-shadow:none!important;transform:none!important;white-space:normal}
html:root[data-dpio-theme] :is(.btn-primary,.btn-dark,.dg-btn:not(.dg-btn-outline),.dpio-dock-primary){background:var(--dp-accent)!important;border:1px solid var(--dp-accent)!important;color:var(--dp-on-accent)!important}
html:root[data-dpio-theme] :is(.btn-primary,.btn-dark,.dg-btn:not(.dg-btn-outline),.dpio-dock-primary) *{color:var(--dp-on-accent)!important}
html:root[data-dpio-theme] :is(.btn-outline-light,.btn-outline-dark,.dg-btn-outline){background:transparent!important;color:var(--dp-local-text)!important;border:1px solid var(--dp-line)!important}
html:root[data-dpio-theme] :is(.btn-outline-light,.btn-outline-dark,.dg-btn-outline) *{color:var(--dp-local-text)!important}
html:root[data-dpio-theme] :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid var(--dp-focus)!important;outline-offset:4px}
html:root[data-dpio-theme] :is(#dpio-premium-nav,#dpio-growth .dg-nav){background:var(--dp-bg)!important;color:var(--dp-text)!important;border-color:var(--dp-line)}
html:root[data-dpio-theme] #dpio-growth .dg-logo,html:root[data-dpio-theme] #dpio-growth .dg-nav-links>a,html:root[data-dpio-theme] #dpio-growth .dg-menu summary,html:root[data-dpio-theme] .dp-theme-toggle{color:var(--dp-text)!important}
html:root[data-dpio-theme] #dpio-growth .dg-menu-panel{background:var(--dp-surface)!important;border-color:var(--dp-line);box-shadow:0 12px 32px #0002}
html:root[data-dpio-theme] #dpio-growth .dg-menu-panel a{color:var(--dp-text)!important}
html:root[data-dpio-theme] #dpio-growth .dg-menu-panel a:hover{background:var(--dp-soft)!important}
html:root[data-dpio-theme] #dpio-growth .dg-menu[open] summary{background:var(--dp-surface)!important;color:var(--dp-text)!important}
html:root[data-dpio-theme] #dpio-growth .dg-cart{color:var(--dp-text)!important;border-color:var(--dp-line)}
html:root[data-dpio-theme] #dpio-growth .dg-cart:hover{background:var(--dp-soft)!important}
html:root[data-dpio-theme] .dp-theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid var(--dp-line);border-radius:5px;background:transparent;cursor:pointer}
.dp-theme-sun{display:none}:root[data-dpio-theme="dark"] .dp-theme-sun{display:block}:root[data-dpio-theme="dark"] .dp-theme-moon{display:none}
html:root[data-dpio-theme] :is(.dpio-conversion-dock,.dpio-related-section,.dpio-pathway-bar){background:var(--dp-bg)!important;color:var(--dp-text)!important;border-color:var(--dp-line);box-shadow:none}
html:root[data-dpio-theme] .dpio-related-section{padding:48px max(24px,calc((100vw - 1160px)/2))}
html:root[data-dpio-theme] .dpio-conversion-dock{position:static;transform:none;width:calc(100% - 48px);max-width:1160px;margin:24px auto;padding:20px;border:1px solid var(--dp-line);border-radius:8px}
html:root[data-dpio-theme] footer#bottom{background:var(--dp-bg)!important;color:var(--dp-text)!important;border-top:1px solid var(--dp-line)}
html:root[data-dpio-theme] footer#bottom *{color:var(--dp-text)!important;background-color:transparent}
html:root[data-dpio-theme] :is(.dg-footer,.o_footer_copyright){background:var(--dp-bg)!important;color:var(--dp-text)!important}
html:root[data-dpio-theme] .dp-policy-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px;align-items:start}
html:root[data-dpio-theme] .dp-policy-nav{position:sticky;top:24px;padding:18px;border:1px solid var(--dp-line);border-radius:8px;background:var(--dp-surface);display:grid;gap:4px}
html:root[data-dpio-theme] .dp-policy-nav a{padding:8px;font-size:14px}
html:root[data-dpio-theme] .dp-policy-copy section{padding-bottom:28px;margin-bottom:32px;border-bottom:1px solid var(--dp-line);scroll-margin-top:24px}
html:root[data-dpio-theme] .dp-policy-copy h2{font-size:30px}
html:root[data-dpio-theme] :is(.dpio-site,#dpio-growth,.dpio-guardian-services,.dpio-guardian-detail) *{backdrop-filter:none!important;text-shadow:none!important}
html:root[data-dpio-theme] [data-dpio-reveal]{opacity:1!important;transform:none!important;transition:none!important}
html:root[data-dpio-theme] .dpio-orbit,html:root[data-dpio-theme] .dpio-orbit-ring{animation:none!important}
html:root[data-dpio-theme] :is(input,select,textarea){background:var(--dp-surface)!important;color:var(--dp-text)!important;border-color:var(--dp-line)!important;box-shadow:none}
html:root[data-dpio-theme] :is(input,textarea)::placeholder{color:var(--dp-muted)!important;opacity:1}
@media(max-width:1050px){html:root[data-dpio-theme] #dpio-growth .dg-nav-detail{display:none}html:root[data-dpio-theme] .dp-hero-grid{gap:36px;grid-template-columns:minmax(0,1fr) minmax(280px,.85fr)}}
@media(max-width:900px){html:root[data-dpio-theme] .dp-hero-grid,html:root[data-dpio-theme] .dp-hero--overview .dp-hero-grid{grid-template-columns:1fr;gap:32px}html:root[data-dpio-theme] .dpio-page-hero{padding:42px 0 50px}html:root[data-dpio-theme] :is(.dpio-section,.dpio-detail-section){padding:54px 0}html:root[data-dpio-theme] .dp-policy-grid{grid-template-columns:1fr;gap:30px}html:root[data-dpio-theme] .dp-policy-nav{position:static;grid-template-columns:1fr 1fr}html:root[data-dpio-theme] .dpio-conversion-dock{flex-wrap:wrap;gap:16px}}
@media(max-width:650px){html:root[data-dpio-theme] :is(.dp-hero--journey,.dp-hero--method) .dp-hero-panel{grid-template-columns:1fr}html:root[data-dpio-theme] #dpio-growth .dg-logo small{display:none}html:root[data-dpio-theme] #dpio-growth .dg-logo img{width:36px;height:36px}html:root[data-dpio-theme] #dpio-growth .dg-nav-links{gap:8px}html:root[data-dpio-theme] .dp-hero-panel{padding:24px}html:root[data-dpio-theme] :is(.dpio-site,.dpio-guardian-services,.dpio-guardian-detail) .container{padding-left:18px;padding-right:18px}}
@media(max-width:380px){html:root[data-dpio-theme] .dp-menu-label{display:none}html:root[data-dpio-theme] #dpio-growth .dg-menu summary{width:44px;padding:10px;justify-content:center}}
@media(prefers-reduced-motion:reduce){html:root[data-dpio-theme] *,html:root[data-dpio-theme] *::before,html:root[data-dpio-theme] *::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* Card-local colours deliberately override dark parent sections. */
html:root[data-dpio-theme] :is(.dpio-card,.dpio-risk-card,.dpio-process-card,.dpio-scope-card,.dpio-detail-highlight,.dpio-info-panel,.dpio-review-card,.dpio-audio-card,.dpio-contact-card,.dpio-path-card,.dpio-product-card,.dpio-blog-card,.dpio-service-card,.dpio-founder-card,.dpio-brand-authority-card,.dpio-principle-box,.dpio-purchase-panel,.dpio-related-grid a,.dpio-clarity-grid article,.dpio-deliverables-grid>div,.dg-card,.dg-review,.dpio-case-state,.dpio-engagement-list article,.dp-hero-panel){--dp-local-text:var(--dp-text);--dp-local-muted:var(--dp-muted);--dp-local-link:var(--dp-accent);background:var(--dp-surface)!important;border:1px solid var(--dp-line)!important;border-radius:9px!important;box-shadow:none!important;color:var(--dp-text)!important;transform:none!important}
html:root[data-dpio-theme] :is(.dpio-card,.dpio-risk-card,.dpio-process-card,.dpio-scope-card,.dpio-detail-highlight,.dpio-info-panel,.dpio-review-card,.dpio-audio-card,.dpio-contact-card,.dpio-path-card,.dpio-product-card,.dpio-blog-card,.dpio-service-card,.dpio-founder-card,.dpio-brand-authority-card,.dpio-principle-box,.dpio-purchase-panel,.dpio-related-grid a,.dpio-clarity-grid article,.dpio-deliverables-grid>div,.dg-card,.dg-review,.dpio-case-state,.dpio-engagement-list article,.dp-hero-panel) :is(h1,h2,h3,h4,strong,blockquote,label,span,summary,td,th){color:var(--dp-text)!important}
html:root[data-dpio-theme] :is(.dpio-card,.dpio-risk-card,.dpio-process-card,.dpio-scope-card,.dpio-detail-highlight,.dpio-info-panel,.dpio-review-card,.dpio-audio-card,.dpio-contact-card,.dpio-path-card,.dpio-product-card,.dpio-blog-card,.dpio-service-card,.dpio-founder-card,.dpio-brand-authority-card,.dpio-principle-box,.dpio-purchase-panel,.dpio-related-grid a,.dpio-clarity-grid article,.dpio-deliverables-grid>div,.dg-card,.dg-review,.dpio-case-state,.dpio-engagement-list article,.dp-hero-panel) :is(p,li,small,.text-muted){color:var(--dp-muted)!important}
html:root[data-dpio-theme] :is(.dpio-card,.dpio-risk-card,.dpio-process-card,.dpio-scope-card,.dpio-detail-highlight,.dpio-info-panel,.dpio-review-card,.dpio-audio-card,.dpio-contact-card,.dpio-path-card,.dpio-product-card,.dpio-blog-card,.dpio-service-card,.dpio-founder-card,.dpio-brand-authority-card,.dpio-principle-box,.dpio-purchase-panel,.dpio-related-grid a,.dpio-clarity-grid article,.dpio-deliverables-grid>div,.dg-card,.dg-review,.dpio-case-state,.dpio-engagement-list article,.dp-hero-panel) a:not(.btn){color:var(--dp-accent)!important}
html:root[data-dpio-theme] :is(.dpio-card,.dpio-risk-card,.dpio-process-card,.dpio-scope-card,.dpio-principle-box){padding:30px}
html:root[data-dpio-theme] :is(.dpio-service-tech,.dpio-hero-mark){background:var(--dp-night)!important;color:var(--dp-night-text)!important}
html:root[data-dpio-theme] .dpio-service-tech *{color:var(--dp-night-text)!important}
html:root[data-dpio-theme] .dpio-faq-list details{border:0;border-bottom:1px solid var(--dp-line);border-radius:0;background:transparent;padding:22px 0}
/* Button labels stay paired with their own fill, including inside cards. */
html:root[data-dpio-theme] body .btn.btn-primary,html:root[data-dpio-theme] body .btn.btn-primary *,html:root[data-dpio-theme] body .btn.btn-dark,html:root[data-dpio-theme] body .btn.btn-dark *,html:root[data-dpio-theme] .dg-actions .dg-btn:not(.dg-btn-outline),html:root[data-dpio-theme] .dg-actions .dg-btn:not(.dg-btn-outline) *,html:root[data-dpio-theme] .dg-nav-links .dg-btn,html:root[data-dpio-theme] .dg-nav-links .dg-btn *{color:var(--dp-on-accent)!important}
html:root[data-dpio-theme] .dg-hero h1 em{color:var(--dp-night-link)!important}
html:root[data-dpio-theme]{--bs-body-bg:var(--dp-bg)!important;--bs-body-color:var(--dp-text)!important;--bs-secondary-color:var(--dp-muted)!important;--bs-tertiary-bg:var(--dp-soft)!important;--bs-border-color:var(--dp-line)!important;--bs-emphasis-color:var(--dp-text)!important;--bs-link-color:var(--dp-accent)!important}
html:root[data-dpio-theme] :is(.bg-white,.card){--dp-local-text:var(--dp-text);--dp-local-muted:var(--dp-muted);--dp-local-link:var(--dp-accent);background-color:var(--dp-surface)!important;color:var(--dp-text)!important}
html:root[data-dpio-theme] .bg-light{background-color:var(--dp-soft)!important;color:var(--dp-text)!important}
html:root[data-dpio-theme] .bg-dark{--dp-local-text:var(--dp-night-text);--dp-local-muted:var(--dp-night-muted);--dp-local-link:var(--dp-night-link);background-color:var(--dp-night)!important;color:var(--dp-night-text)!important}
html:root[data-dpio-theme] :is(h1,h2,h3,h4,p,li,label,summary){opacity:1!important;text-shadow:none!important}
html:root[data-dpio-theme] :is(.opacity-60,.opacity-70,.opacity-80){opacity:1!important}
/* Colour changes are immediate, avoiding mixed light/dark transition frames. */
html:root[data-dpio-theme] *,html:root[data-dpio-theme] *::before,html:root[data-dpio-theme] *::after{transition-property:height,opacity!important}
html:root[data-dpio-theme] :is(.dpio-card,.dpio-risk-card,.dpio-path-card,.dpio-service-card,.dg-card):hover{transform:none!important}
/* Rendered-review corrections: Bootstrap clearfix elements are not grid items. */
html:root[data-dpio-theme] .dp-hero-grid::before,html:root[data-dpio-theme] .dp-hero-grid::after{content:none!important;display:none!important}
html:root[data-dpio-theme] #dpio-growth a.dg-btn:not(.dg-btn-outline),html:root[data-dpio-theme] #dpio-growth a.dg-btn:not(.dg-btn-outline) *{color:var(--dp-on-accent)!important}
html:root[data-dpio-theme] :is(.dpio-boundary-card,.dpio-detail-step,.dpio-checklist,.dpio-proof-note,.dpio-featured-proof,.dpio-case-note,.dpio-resource-card,.dpio-process-flow,.dpio-offer-card,.dpio-process-price-card,.dpio-architecture-map>div,.dpio-journey-line>a,.dpio-growth-chart>div,.dpio-deliverable-grid>span,.accordion-item,.accordion-button,.accordion-body){--dp-local-text:var(--dp-text);--dp-local-muted:var(--dp-muted);--dp-local-link:var(--dp-accent);background:var(--dp-surface)!important;color:var(--dp-text)!important;border-color:var(--dp-line)!important;box-shadow:none!important}
html:root[data-dpio-theme] :is(.dpio-boundary-card,.dpio-detail-step,.dpio-checklist,.dpio-proof-note,.dpio-featured-proof,.dpio-case-note,.dpio-resource-card,.dpio-process-flow,.dpio-offer-card,.dpio-process-price-card,.dpio-architecture-map>div,.dpio-journey-line>a,.dpio-growth-chart>div,.dpio-deliverable-grid>span,.accordion-item,.accordion-button,.accordion-body) :is(h2,h3,h4,span,strong,blockquote){color:var(--dp-text)!important}
html:root[data-dpio-theme] :is(.dpio-boundary-card,.dpio-detail-step,.dpio-checklist,.dpio-proof-note,.dpio-featured-proof,.dpio-case-note,.dpio-resource-card,.dpio-process-flow,.dpio-offer-card,.dpio-process-price-card,.dpio-architecture-map>div,.dpio-journey-line>a,.dpio-growth-chart>div) :is(p,li,small){color:var(--dp-muted)!important}
html:root[data-dpio-theme] :is(.dpio-proof-note,.dpio-resource-card,.dpio-featured-proof,.dpio-offer-card) a:not(.btn){color:var(--dp-accent)!important}
html:root[data-dpio-theme] .dpio-process-hero{background:var(--dp-night)!important;--dp-local-text:var(--dp-night-text);--dp-local-muted:var(--dp-night-muted);--dp-local-link:var(--dp-night-link)}
html:root[data-dpio-theme] .dpio-detail-step>span,html:root[data-dpio-theme] .dpio-growth-chart>div.is-current{background:var(--dp-accent)!important;color:var(--dp-on-accent)!important}
html:root[data-dpio-theme] .dpio-growth-chart>div.is-current *{color:var(--dp-on-accent)!important}
html:root[data-dpio-theme] .dpio-service-card .dpio-service-tech :is(span,i,strong){color:var(--dp-night-text)!important}
html:root[data-dpio-theme] .btn.btn-light{background:var(--dp-soft)!important;border:1px solid var(--dp-line)!important;color:var(--dp-text)!important}
html:root[data-dpio-theme] .accordion-button::after{background-image:none;width:9px;height:9px;border-right:2px solid var(--dp-text);border-bottom:2px solid var(--dp-text);transform:rotate(45deg)}
html:root[data-dpio-theme] .accordion-button[aria-expanded="true"]::after{transform:rotate(225deg)}

html:root[data-dpio-theme] summary[aria-label="Navigation menu"]{min-width:44px;min-height:44px}

/* Final reviewed surface pairs and narrow Guardian gutters. */
html:root[data-dpio-theme] :is(.dpio-proof-metric,.dpio-process-proof,.dpio-process-proof__inner){background:var(--dp-night)!important;--dp-local-text:var(--dp-night-text);--dp-local-muted:var(--dp-night-muted);--dp-local-link:var(--dp-night-link);color:var(--dp-night-text)!important}
html:root[data-dpio-theme] :is(.dpio-process-book__inner,.dpio-process-book__inner aside,.dpio-process-symptoms article,.dpio-process-deliverables article,.dpio-process-timeline li,.dpio-process-signal-strip .container>div){background:var(--dp-surface)!important;--dp-local-text:var(--dp-text);--dp-local-muted:var(--dp-muted);--dp-local-link:var(--dp-accent);color:var(--dp-text)!important;border-color:var(--dp-line)!important}
@media(max-width:650px){html:root[data-dpio-theme] :is(.dpio-guardian-services,.dpio-guardian-detail) .row{--bs-gutter-x:24px;margin-left:-12px!important;margin-right:-12px!important}}

/* DPIO persistent navigation: natural document flow, no scroll handlers. */
html:root[data-dpio-theme] #dpio-premium-nav,
html:root[data-dpio-theme] #dpio-growth>header.dg-shell{position:sticky!important;top:0;z-index:1030;background:var(--dp-bg)!important;border-bottom:1px solid var(--dp-line);box-shadow:0 3px 12px #0000000d}
html:root[data-dpio-theme] #dpio-growth>header.dg-shell{width:100%;margin:0}
html:root[data-dpio-theme] #dpio-growth>header.dg-shell>.dg-nav{width:min(1160px,calc(100% - 64px));margin-inline:auto}
html:root[data-dpio-theme] #dpio-growth .dg-menu-panel{max-height:calc(100vh - 130px);max-height:calc(100dvh - 130px);overflow-y:auto;overscroll-behavior:contain}
html:root[data-dpio-theme] :is(#wrapwrap,#dpio-growth) [id]{scroll-margin-top:124px!important}
@media(max-width:520px){html:root[data-dpio-theme] #dpio-growth>header.dg-shell>.dg-nav{width:calc(100% - 36px)}}

/* KL case study: dark surfaces own readable text in both colour modes. */
html:root[data-dpio-theme] :is(.dpio-case-hero,.dpio-case-conclusion){background:var(--dp-night)!important;color:var(--dp-night-text)!important;--dp-local-text:var(--dp-night-text);--dp-local-muted:var(--dp-night-muted);--dp-local-link:var(--dp-night-link)}
html:root[data-dpio-theme] .dpio-case-hero{padding:clamp(48px,6vw,84px) 0}
html:root[data-dpio-theme] .dpio-case-hero::after{display:none!important}
html:root[data-dpio-theme] .dpio-case-hero__number{background:var(--dp-night)!important;border:1px solid var(--dp-line);border-radius:10px;box-shadow:none!important}
html:root[data-dpio-theme] :is(.dpio-case-hero,.dpio-case-conclusion) :is(h1,h2,h3,strong,span){color:var(--dp-night-text)!important;opacity:1!important;filter:none!important;text-shadow:none!important}
html:root[data-dpio-theme] :is(.dpio-case-hero,.dpio-case-conclusion) :is(p,small){color:var(--dp-night-muted)!important;opacity:1!important;filter:none!important;text-shadow:none!important}
html:root[data-dpio-theme] :is(.dpio-case-hero,.dpio-case-conclusion) .dpio-eyebrow,html:root[data-dpio-theme] .dpio-case-hero .dpio-breadcrumb a{color:var(--dp-night-link)!important}
html:root[data-dpio-theme] :is(.dpio-case-hero,.dpio-case-conclusion) .btn.btn-primary *{color:var(--dp-on-accent)!important}
