/* Shared completion pass. Content/order/interactions belong to the existing HTML.
   This sheet owns final surfaces and section entrances; approved home/Platform
   composition is deliberately outside these rules. */
:root{--finish-navy:#122c48;--finish-mist:#dcebf5;--finish-lilac:#e9e3f4;--finish-ink:#142f49;--finish-blue:#195b96;--finish-line:#b7ccdc}
body[data-design="inner"]:not(.platform-page):not([data-ux-review]) main>section:first-child{background:linear-gradient(120deg,#eef4fb 12%,#dcebf5 75%,#e8e4f5);border-bottom:3px solid #9abbd3}
body[data-design="inner"]:not(.platform-page) main>section{scroll-margin-top:110px}
/* Industry: stronger workflow entrance; preserve all use-case text and chat. */
body[data-industry-design] #workflow{background:var(--finish-mist)}
body[data-industry-design] #workflow .industry-section-head{background:linear-gradient(115deg,#16466d,#286491);padding:32px;border-radius:16px;border:1px solid #427fa5;margin-bottom:48px}
body[data-industry-design] #workflow .industry-section-head :is(h2,.h2,p,.label){color:#fff;-webkit-text-fill-color:#fff}
body[data-industry-design] #setup{background:var(--finish-lilac);border-block:1px solid #d2c8e3}
body[data-industry-design] #research{background:var(--finish-mist)}
body[data-industry-design] .paper-related{background:#fff}
body[data-industry-design] #talk{background:var(--finish-navy);padding-block:72px;border:0}
body[data-industry-design] #talk .industry-close{background:none;border:0;box-shadow:none;padding:0}
body[data-industry-design] #talk :is(h2,p,.label,a){color:#e9f3fc;-webkit-text-fill-color:currentColor}
body[data-industry-design] #talk .btn{color:var(--finish-ink);background:#fff}
/* Existing proof remains the visual peak; surrounding passages get breathing room. */
body[data-page-family="story"][data-editorial-design] :is(#approach,#resident-guidance,#adoption){background:var(--finish-mist)}
body[data-page-family="story"][data-editorial-design] :is(.story-endorsement,.customer-story){border-block:4px solid #477fa5}
body[data-page-family="story"][data-editorial-design] .story-close{background:var(--finish-mist);color:var(--finish-ink)}
body[data-page-family="story"][data-editorial-design] .story-close :is(h2,h3,p,.label){color:var(--finish-ink);-webkit-text-fill-color:currentColor}
body[data-page-family="story"][data-editorial-design] .story-close .btn{background:var(--finish-blue);color:#fff;border-color:var(--finish-blue)}
/* Discovery hubs: retain existing editorial rows, make boundaries legible. */
body[data-view="resources"] main>.section--soft,
body[data-view="customer-stories"] main>.section--soft,
body[data-view="industries"] main>.industry-wash,
body[data-view="help-center"] #get-started,
body[data-view="white-papers"] #workflows{background:var(--finish-mist)}
body[data-view="demos"] #configure{background:var(--finish-mist)}
body[data-view="demos"] #next-step{background:var(--finish-navy);color:#fff}
body[data-view="demos"] #next-step :is(h2,h3,p,.label){color:#e9f3fc;-webkit-text-fill-color:currentColor}
body[data-view="demos"] #next-step .btn{background:#fff;color:var(--finish-ink)}
body[data-view="contact"] main>.section--soft{background:var(--finish-mist);border-top:1px solid var(--finish-line)}
body[data-view="contact"] .pilot-summary .hub-card{border-top:3px solid #638da9}
/* Reading pages: quiet body, visible entry and exit; no imposed card grids. */
body[data-page-family="article"][data-editorial-design] .blog-takeaways{background:var(--finish-mist);padding:28px;border-radius:12px}
body[data-page-family="article"][data-editorial-design] .blog-body h2{border-top:3px solid var(--finish-line);padding-top:28px}
body[data-page-family="article"][data-editorial-design] .blog-related{background:var(--finish-mist)}
body[data-page-family="article"][data-editorial-design] main>.section:last-child{background:var(--finish-navy);color:#fff}
body[data-page-family="article"][data-editorial-design] main>.section:last-child :is(h2,h3,p,.label){color:#e9f3fc;-webkit-text-fill-color:currentColor}
body[data-page-family="article"][data-editorial-design] main>.section:last-child .btn{color:var(--finish-ink);background:#fff}
body[data-page-family="paper"][data-editorial-design] #inside{background:var(--finish-mist)}
body[data-page-family="paper"][data-editorial-design] .paper-product{background:var(--finish-navy);color:#fff}
body[data-page-family="paper"][data-editorial-design] .paper-product :is(h2,h3,p,.label,a){color:#e9f3fc;-webkit-text-fill-color:currentColor}
body[data-page-family="paper"][data-editorial-design] .paper-product .btn{background:#fff;color:var(--finish-ink)}
body[data-page-family="paper"][data-editorial-design] .paper-related{background:#fff}
/* Keep accepted bands, but avoid the same blue box at every entrance. */
body.pricing-page[data-ux-review] #plans [data-funding-panel] .section-head,
body.pricing-page[data-ux-review] #plans [data-funding-panel] .section-head{background:none;border:0;box-shadow:none;border-radius:0;padding:0;color:var(--finish-ink)}
body.pricing-page[data-ux-review] #plans [data-funding-panel] .section-head :is(h2,h3,p,.label),
body.pricing-page[data-ux-review] #plans [data-funding-panel] .section-head :is(h2,h3,p,.label){color:var(--finish-ink);-webkit-text-fill-color:currentColor}
body:is(.pricing-page,.governance-page)[data-ux-review] .ux-navy .chapter-head,
body.governance-page[data-ux-review] #data-flow>.c>.trust-head{background:none;border:0;border-top:3px solid #6b9abb;border-radius:0;box-shadow:none;padding:28px 0 0}
body.governance-page[data-ux-review] #questions{--ux-surface:var(--finish-mist)}
body.governance-page[data-ux-review] :is(#controls,#assurance)>.c>.trust-head{background:none;border:0;border-top:3px solid var(--finish-blue);border-radius:0;box-shadow:none;padding:28px 0 0;--ux-text:var(--finish-ink);--ux-muted:#486078;--ux-blue:var(--finish-blue)}
body.governance-page[data-ux-review] :is(#controls,#assurance)>.c>.trust-head :is(h2,h3,p,.label){color:var(--finish-ink);-webkit-text-fill-color:currentColor}
/* Landmarks within the long data-flow chapter retain their exact order. */
body.governance-page[data-ux-review] #data-flow .gov-subsection{margin-top:48px;padding:32px;border:1px solid #6b8ca6;border-left:4px solid #7fb3d5;border-radius:12px;background:#1d3c58}
body.governance-page[data-ux-review] #data-flow .gov-subsection>.trust-head{padding:0;background:none;border:0}
body.governance-page[data-ux-review] #data-flow .gov-subsection .trust-head h3{font-size:28px;line-height:1.3}
body.governance-page[data-ux-review] #ai-accounts{background:#284c69}
@media(max-width:760px){
 body[data-design="inner"]:not(.platform-page) main>section{scroll-margin-top:86px}
 body[data-industry-design] #workflow .industry-section-head{padding:24px 20px;margin-bottom:32px}
 body[data-industry-design] #talk{padding-block:48px}
 body:is(.pricing-page,.governance-page)[data-ux-review] :is(.chapter-head,.trust-block>.c>.trust-head){padding:24px 20px}
 body:is(.pricing-page,.governance-page)[data-ux-review] :is(.chapter-head,.trust-head) h2{font-size:30px;line-height:1.25}
 body:is(.pricing-page,.governance-page)[data-ux-review] .ux-navy .chapter-head,
 body.governance-page[data-ux-review] :is(#data-flow,#controls,#assurance)>.c>.trust-head{padding:24px 0 0}
 body.governance-page[data-ux-review] #data-flow .gov-subsection{padding:24px 20px;margin-top:32px}
 body.governance-page[data-ux-review] #data-flow .gov-subsection .trust-head h3{font-size:24px}
 body[data-page-family="article"][data-editorial-design] .blog-takeaways{padding:24px 20px}
}
/* Translated figures may be phrases: wrap them instead of widening the page. */
body.platform-page .plat-stat .n{white-space:normal;overflow-wrap:anywhere;max-width:100%}

/* Shared video dialog: clear selection and related reading. */
.demo-player-dialog .demo-player-header{background:#102a43;color:#fff;border-bottom:1px solid #2e536f}
.demo-player-dialog .demo-player-header h2{color:#fff}
.demo-player-dialog .demo-player-header .label{color:#c8deef}
.demo-player-dialog .demo-player-header>[data-player-close]{background:#fff;color:#102a43;border:1px solid #fff}
.demo-player-resources{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px}
.demo-player-resources a{display:inline-flex;align-items:center;gap:6px;color:#fff;font-size:13px;font-weight:500;text-decoration:underline;text-underline-offset:4px;padding-block:5px}
.demo-player-resources a:hover{color:#c4e6ff}
.demo-player-dialog .demo-player-queue button[aria-current="true"],.demo-player-dialog .demo-player-queue button[aria-current="true"]:hover{background:#102a43;color:#fff;border-color:#102a43;box-shadow:0 4px 12px #102a4320}
.demo-player-dialog .demo-player-queue button[aria-current="true"] :is(strong,span){color:#fff}
.demo-player-dialog .demo-player-queue button[aria-current="true"] .demo-queue-label{color:#c8deef}
.demo-player-dialog .demo-player-queue li+li{margin-top:6px}
.demo-player-dialog .demo-player-header :focus-visible{outline:3px solid #9bd7ff;outline-offset:3px}
@media(max-width:700px){.demo-player-resources{gap:4px 14px;margin-top:8px}.demo-player-resources a{font-size:12px;min-height:36px}.demo-player-dialog .demo-player-header>div{min-width:0}.demo-player-dialog .demo-player-header>[data-player-close]{flex-shrink:0}}
