/* Uses only the existing NinjaWeb typefaces and button system. No font import. */
:is(#grlight-main,.elementor) .nw-gr-surface {--nw-yellow:#f9bc01;--nw-yellow-bright:#ffc400;}
.nw-gr-surface .elementor-widget-button:not(.nw-vps-location-btn) .elementor-button {font-size:14px;min-height:46px;padding:13px 24px;}

:is(#grlight-main,.elementor) .nw-gr-surface .ninja-btn-secondary .elementor-button {background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.42)!important;color:#fff!important;box-shadow:none!important;transform:none!important;}
:is(#grlight-main,.elementor) .nw-gr-surface .ninja-btn-secondary .elementor-button :is(span,i,svg,svg *) {color:inherit!important;fill:currentColor!important;position:relative;z-index:1;}
:is(#grlight-main,.elementor) .nw-gr-surface .ninja-btn-secondary .elementor-button::before {border-radius:8px;}
:is(#grlight-main,.elementor) .nw-gr-surface .ninja-btn-secondary .elementor-button:hover,
:is(#grlight-main,.elementor) .nw-gr-surface .ninja-btn-secondary .elementor-button:focus-visible {color:#111!important;background:#f9bc01!important;border-color:#f9bc01!important;}
:is(#grlight-main,.elementor) .nw-gr-surface .elementor-button:focus-visible,
:is(#grlight-main,.elementor) .nw-gr-surface .elementor-tab-title:focus-visible {outline:3px solid #3486df!important;outline-offset:4px!important;}
:is(#grlight-main,.elementor) .nw-gr-surface .nw-vps-location-btn .elementor-button:focus-visible {outline-color:#ffc400!important;}
:is(#grlight-main,.elementor) .nw-gr-surface .nw-vps-location-btn .elementor-button:hover {border-color:#ffc400!important;background:rgba(249,188,1,.17)!important;color:#fff!important;}
/* Compact, consistent text rhythm. Keep the original sections and native hierarchy. */
.nw-gr-surface .nw-vps-section-title .elementor-heading-title {margin:0;}
:is(#grlight-main,.elementor) .nw-gr-surface .nw-vps-section-copy p {line-height:1.65;margin-bottom:0;}
:is(#grlight-main,.elementor) .nw-gr-surface.nw-vps-features {padding-top:80px!important;padding-bottom:80px!important;}

/* Both native geographic variants follow the active theme. */
:is(#grlight-main,.elementor) .nw-gr-surface.grlight-authority-region {background:#f4f7fa!important;}
html[data-bs-theme="dark"] :is(#grlight-main,.elementor) .nw-gr-surface.grlight-authority-region {background:#181925!important;}
html[data-bs-theme="dark"] :is(#grlight-main,.elementor) .nw-gr-surface.grlight-authority-region :is(h2,h3,p,.elementor-heading-title,.elementor-icon-list-text,.elementor-widget-text-editor,.elementor-icon-list-icon i) {color:#f7f7fb!important;}
html[data-bs-theme="dark"] :is(#grlight-main,.elementor) .nw-gr-surface.grlight-authority-region .e-con .e-con {background-color:transparent;}
:is(#grlight-main,.elementor) .nw-gr-surface .nw-vps-accordion .elementor-tab-title:hover {background:rgba(249,188,1,.08);}
:is(#grlight-main,.elementor) .nw-gr-surface .nw-vps-accordion .elementor-accordion-title {color:inherit!important;}
@media(max-width:1024px){
 :is(#grlight-main,.elementor) .nw-gr-surface.nw-vps-features {padding-top:64px!important;padding-bottom:64px!important;}
}
@media(max-width:767px){
 :is(#grlight-main,.elementor) .nw-gr-surface.nw-vps-features {padding-top:48px!important;padding-bottom:48px!important;}
}
@media(prefers-reduced-motion:reduce){:is(#grlight-main,.elementor) .nw-gr-surface .elementor-button,:is(#grlight-main,.elementor) .nw-gr-surface .elementor-button::before {transition:none!important;}}
/* Hover/focus must reach the content wrapper, label and arrow in both themes. */
:is(#grlight-main,.elementor) .nw-gr-surface .ninja-btn-secondary .elementor-button:is(:hover,:focus-visible) :is(span,i,svg,svg *) {color:#111!important;fill:#111!important;}
/* Give original software logos a small neutral backing in the dark theme. */
html[data-bs-theme="dark"] :is(#grlight-main,.elementor) .nw-gr-surface .nw-vps-eyebrow .elementor-heading-title {color:#ffc400!important;}
html[data-bs-theme="dark"] :is(#grlight-main,.elementor) .nw-gr-surface.nw-vps-hero .elementor-widget-heading p.elementor-heading-title {color:#ffc400!important;}
/* Existing NW media: uniform small artwork, no new icon font or generated set. */
:is(#grlight-main,.elementor) .nw-review-author-placeholder {display:none!important;}
:is(#grlight-main,.elementor) .nw-review-section .nw-review-quote {margin:0 0 22px;line-height:1.65;}
:is(#grlight-main,.elementor) .nw-review-section .nw-review-attribution {margin:0;font-family:Urbanist,sans-serif;line-height:1.5;font-size:18px;}
:is(#grlight-main,.elementor) .nw-review-section .nw-review-attribution strong {font-weight:700;}
:is(#grlight-main,.elementor) .nw-review-section .nw-review-attribution span {font:14px/1.5 Mulish,sans-serif;}
html[data-bs-theme="dark"] :is(#grlight-main,.elementor) .nw-review-section {background-color:#181925!important;color:#f7f7fb;}
html[data-bs-theme="dark"] :is(#grlight-main,.elementor) .nw-review-section :is(.nw-review-quote,.nw-review-attribution) {color:#f7f7fb!important;}


/* Native coordinated editorial sections. Reuse NW's loaded font families and theme state. */
.nw-gr-story { --nw-story-ink:#0b2030; --nw-story-muted:#435362; --nw-story-paper:#f5f8fa; --nw-story-card:#fff; color:var(--nw-story-ink); background:var(--nw-story-paper); padding:72px 24px; }
.nw-story-inner { width:min(1180px,100%); margin-inline:auto; gap:22px; }
.nw-gr-story .nw-story-heading .elementor-heading-title { color:var(--nw-story-ink); font-family:Urbanist,sans-serif; font-weight:700; line-height:1.2; margin:0; }
.nw-gr-story h2.elementor-heading-title { font-size:clamp(28px,3.1vw,42px); }
.nw-gr-story h3.elementor-heading-title { font-size:23px; }
.nw-gr-story .nw-story-copy { color:var(--nw-story-muted); font-family:Mulish,sans-serif; font-size:17px; line-height:1.7; }
.nw-gr-story p { margin:0; }
.nw-story-grid { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.nw-story-grid:has(>.nw-story-card:nth-child(2):last-child) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.nw-story-card { min-width:0; padding:28px; gap:16px; border:1px solid rgba(85,108,130,.2); border-radius:18px; background:var(--nw-story-card); }
.nw-story-problem-solution { grid-template-columns:1fr!important; }
.nw-story-problem-solution .nw-story-card { border-left:4px solid #ffbf00; border-radius:4px 18px 18px 4px; }
.nw-story-decision-matrix { grid-template-columns:1fr!important; }
.nw-story-decision-matrix .nw-story-card { display:grid; grid-template-columns:1fr 2.2fr; align-items:start; border-radius:8px; }
.nw-story-migration-timeline,.nw-story-pipeline { counter-reset:nw-step; }
.nw-story-migration-timeline .nw-story-card::before,.nw-story-pipeline .nw-story-card::before { counter-increment:nw-step; content:counter(nw-step,decimal-leading-zero); color:#a36c00; font-family:Urbanist,sans-serif; font-size:32px; font-weight:800; }
.nw-story-rollback-checklist .nw-story-card,.nw-story-operations-checklist .nw-story-card { border-top:4px solid #ffbf00; }
.nw-story-common-mistakes-section { --nw-story-paper:#ebf1f6; }
.nw-story-case-row { display:grid!important; grid-template-columns:225px 1fr; align-items:center; gap:36px; }
.nw-story-project-image img { width:225px; max-height:160px; object-fit:contain; }
.nw-story-project-copy { gap:20px; }
.nw-map-wide>.e-con-inner>.e-con { width:100%!important; max-width:none!important; flex-direction:column!important; gap:28px!important; }
.nw-map-wide>.e-con-inner>.e-con>.e-con { width:100%!important; max-width:none!important; }
.nw-map-wide>.e-con-inner { flex-direction:column!important; }
html[data-bs-theme="dark"] .nw-gr-story,body[data-bs-theme="dark"] .nw-gr-story { --nw-story-ink:#f5f7fb; --nw-story-muted:#ccd6df; --nw-story-paper:#1f2031; --nw-story-card:#092737; }
html[data-bs-theme="dark"] .nw-story-migration-timeline .nw-story-card::before,html[data-bs-theme="dark"] .nw-story-pipeline .nw-story-card::before { color:#ffbf00; }
@media(max-width:1024px){.nw-gr-story{padding:56px 24px}.nw-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nw-story-card{padding:22px}}
@media(max-width:767px){.nw-gr-story{padding:42px 18px}.nw-story-grid,.nw-story-grid:has(>.nw-story-card:nth-child(2):last-child),.nw-story-decision-matrix .nw-story-card,.nw-story-case-row{grid-template-columns:1fr!important}.nw-story-card{padding:22px}.nw-gr-story .nw-story-copy{font-size:16px}}

/* Final copy: vertically balance split map text and centre the wide introduction. */
@media(min-width:1025px){.nw-composition-map:not(.nw-map-wide)>.e-con-inner>.e-con{align-items:center!important}.nw-composition-map:not(.nw-map-wide)>.e-con-inner>.e-con>.e-con{justify-content:center!important}}
.nw-map-wide>.e-con-inner>.e-con>.e-con:first-child{text-align:center;align-items:center!important}.nw-map-wide>.e-con-inner>.e-con>.e-con:first-child>.e-con{max-width:880px!important;align-items:center!important}.nw-map-wide .elementor-button-wrapper{text-align:center}
/* Service compositions: native elements, NW fonts already loaded by the theme. */
.nw-service-inner{width:min(1180px,100%);margin-inline:auto;gap:24px;min-width:0}
.nw-service-hero{padding:150px 24px 90px!important;background:radial-gradient(ellipse at 90% 40%,#243949 0,transparent 55%),#111321;color:#fff}
.nw-service-hero-grid{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:64px;align-items:center}
.nw-service-hero-copy{gap:22px!important;min-width:0}
.nw-service-hero h1.elementor-heading-title{font:800 clamp(32px,3.5vw,52px)/1.13 Poppins,sans-serif!important;letter-spacing:-.035em;color:#fff!important;text-wrap:balance}
.nw-service-hero .elementor-widget-heading:first-child p{font:700 13px/1.5 Mulish,sans-serif!important;letter-spacing:.12em;color:#ffc400!important;margin:0}
.nw-service-hero .nw-story-copy{font:18px/1.65 Mulish,sans-serif!important;color:#e2e6ed!important}
.nw-service-hero-copy>.elementor-widget-text-editor:last-child{font-size:14px!important;color:#bac5d0!important}
.nw-service-hero p{margin:0}
.nw-service-actions{display:flex;flex-flow:row wrap!important;gap:16px!important;align-items:center}
.nw-service-art{max-width:384px;justify-self:center;width:100%}
.nw-service-art img{display:block;width:100%;height:auto;max-height:430px;object-fit:contain;border-radius:24px}
.nw-service-hero-1{background:radial-gradient(ellipse at 0 60%,#343044 0,transparent 65%),#161723}
.nw-service-hero-1 .nw-service-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
.nw-service-hero-1 .nw-service-art{grid-row:1;grid-column:1}
.nw-service-hero-1 .nw-service-hero-copy{grid-row:1;grid-column:2}
.nw-service-hero-2{background:linear-gradient(125deg,#102635,#151721);border-bottom:5px solid #f9bc01}
.nw-service-hero-2 .nw-service-art{transform:rotate(-2deg)}
.nw-service-story.nw-treatment-1{--nw-story-paper:#eaf0f5}
.nw-service-story.nw-treatment-2>.nw-story-inner{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);column-gap:48px;align-items:start}
.nw-service-story.nw-treatment-2>.nw-story-inner>.nw-story-grid{grid-column:2;grid-row:1 / span 2;grid-template-columns:1fr!important}
.nw-service-story.nw-treatment-3 .nw-story-card{border-radius:0;border-width:0 0 0 3px;border-left-color:#f9bc01;background:transparent;padding:12px 26px}
.nw-service-story.nw-treatment-1 .nw-story-card{border-top:4px solid #f9bc01}
.nw-service-story :is(.nw-story-heading,.nw-story-copy){min-width:0}
.nw-service-story .nw-story-heading .elementor-heading-title{text-wrap:balance}
.nw-service-review{padding:70px 24px!important;background:#142533;color:#fff}
.nw-service-review h2{font:700 30px/1.2 Urbanist,sans-serif;color:#fff!important}
.nw-service-review .elementor-widget-text-editor{font:20px/1.65 Mulish,sans-serif;color:#fff!important;max-width:900px}
.nw-service-review blockquote{padding:0;border:0;font:inherit;color:inherit}
.nw-service-review .nw-review-attribution{color:#d8e1e9!important}
.nw-service-review.nw-review-style-1{text-align:center;background:#202132}
.nw-review-style-1>.nw-service-inner{align-items:center}
.nw-service-review.nw-review-style-2>.nw-service-inner{border-left:4px solid #f9bc01;padding-left:32px}
.nw-service-cta{padding:76px 24px!important;background:#101c2a;color:#fff;text-align:center}
.nw-service-cta>.nw-service-inner{align-items:center;max-width:900px}
.nw-service-cta h2{font:700 clamp(28px,3vw,42px)/1.2 Urbanist,sans-serif;color:#fff!important;text-wrap:balance}
.nw-service-cta .elementor-widget-heading:first-child p{font:700 13px/1.5 Mulish,sans-serif;letter-spacing:.12em;color:#ffc400;margin:0}
.nw-service-cta .nw-story-copy{font:18px/1.7 Mulish,sans-serif;color:#dce4ea!important;max-width:740px}
.nw-central-service-plans{padding:70px 24px!important;background:#f4f7fa}
.nw-central-service-plans h2{font:700 34px/1.2 Urbanist,sans-serif;text-align:center;color:#102635}
.nw-central-plan-grid{width:100%;min-width:0}
/* Dedicated source widgets are full-width horizontal rows, not price cards. */
.nw-plans-dedicated .nw-central-plan-grid{display:grid!important;grid-template-columns:minmax(0,1fr);gap:24px}
.nw-central-service-plans .nw-central-plan-grid>.e-con{width:100%!important;max-width:none!important}
html[data-bs-theme="dark"] .nw-service-story.nw-treatment-1{--nw-story-paper:#181925}
html[data-bs-theme="dark"] .nw-central-service-plans{background:#181925}
html[data-bs-theme="dark"] .nw-central-service-plans h2{color:#f7f8fb}

@media(max-width:1024px){.nw-service-hero{padding:125px 24px 65px!important}.nw-service-hero-grid{gap:32px!important}.nw-service-hero h1.elementor-heading-title{font-size:36px!important}.nw-service-story.nw-treatment-2>.nw-story-inner{display:flex!important}.nw-plans-dedicated .nw-central-plan-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){.nw-service-hero{padding:100px 20px 48px!important}.nw-service-hero-grid,.nw-service-hero-1 .nw-service-hero-grid{grid-template-columns:1fr!important;gap:32px!important}.nw-service-hero-1 .nw-service-hero-copy,.nw-service-hero-1 .nw-service-art{grid-column:auto;grid-row:auto}.nw-service-hero h1.elementor-heading-title{font-size:32px!important}.nw-service-hero .nw-story-copy{font-size:16px!important}.nw-service-art{width:min(100%,330px)}.nw-service-hero-2 .nw-service-art{transform:none}.nw-service-review,.nw-service-cta,.nw-central-service-plans{padding:48px 20px!important}.nw-service-review .elementor-widget-text-editor{font-size:18px}.nw-plans-dedicated .nw-central-plan-grid{grid-template-columns:1fr}.nw-service-cta .nw-story-copy{font-size:16px}}
.nw-service-art img[src$="search-web.svg"]{background:#fff;padding:30px;border-radius:24px}

/* Elementor widget defaults must not upscale 768px artwork beyond 2x density. */
.elementor .elementor-element.nw-service-art{max-width:384px!important;width:100%;justify-self:center}
@media(max-width:767px){.elementor .elementor-element.nw-service-art{max-width:330px!important}}

/* Light-theme FAQ labels need readable gold on the pale section background. */
html:not([data-bs-theme="dark"]) :is(#grlight-main,.elementor) .stigma-vps-faq-intro .nw-vps-eyebrow .elementor-heading-title {color:#8a5b00!important;}

/* Keep source CPU marks compact in the shared private Dedicated price cards. */
.nw-plans-dedicated .host-web-op-bg img{width:64px!important;height:64px!important;max-width:64px!important;object-fit:contain}
/* Case cards share the common story wrapper, including a readable project CTA. */
:is(#grlight-main,.elementor) .nw-gr-surface .nw-story-case-row .ninja-btn-secondary .elementor-button{background:#132636!important;color:#fff!important;border:1px solid #132636!important}
:is(#grlight-main,.elementor) .nw-gr-surface .nw-story-case-row .ninja-btn-secondary .elementor-button:is(:hover,:focus-visible){background:#f9bc01!important;color:#111!important;border-color:#f9bc01!important}

/* Finish the existing VPS previews to the same readability and image-density standard. */
html:not([data-bs-theme="dark"]) :is(#grlight-main,.elementor) .nw-vps-plans .nw-vps-eyebrow .elementor-heading-title{color:#8a5b00!important}
:is(#grlight-main,.elementor) .nw-vps-selected-location img{width:40px!important;height:28px!important}
