/* Nexus style theme. Slate palette, Questrial type, coral accent and angled panels, matching the Nexus and Reveal one-pagers.
   Loaded last on every page so it layers over the existing styles. Product interface captures and example cards stay light. */
@font-face{font-family:Questrial;src:url('/assets/questrial-9823e2bfecd9395a.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
:root{--nx-bg:#18242c;--nx-deep:#1e2c35;--nx-panel:#22313b;--nx-steel:#3a4f5d;--nx-steel-2:#455d6c;--nx-text:#b9c6ce;--nx-soft:#d5dee3;--nx-dim:#9daeb9;--nx-accent:#f2a58e;--nx-accent-hover:#f7bba8;--nx-line:#ffffff24;--surface:#18242c;--muted:#b9c6ce}

/* Type */
body,.site-header,.site-footer,.skip-link,:is(.axiom-page,.reveal-page,.nexus-page) :is(button,input,textarea,select){font-family:Questrial,'Century Gothic','Avenir Next',sans-serif!important}
:is(.axiom-page,.reveal-page,.nexus-page) :is(h1,h2,h3,h4){font-weight:400!important;letter-spacing:-.012em!important}
:is(.axiom-page,.reveal-page,.nexus-page) :is(h1,h2,h3,h4) em{font-family:inherit!important;font-style:normal!important;color:var(--nx-accent)!important;letter-spacing:inherit!important}
.wordmark{font-weight:400!important;letter-spacing:.04em!important;font-size:22px!important}.wordmark span{color:var(--nx-text)!important;font-weight:400!important}
:is(.ax-eyebrow,.nx-eyebrow,.rv-eyebrow){font-size:12px!important;font-weight:400!important;letter-spacing:.22em!important;color:var(--nx-text)!important}

/* Page colour */
body:is(.axiom-page,.reveal-page,.nexus-page){background:var(--nx-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 760'%3E%3Cpolygon points='0,0 800,0 800,440' fill='%2322323d'/%3E%3Cpolygon points='380,0 800,0 800,200' fill='%232e4150'/%3E%3Cpolygon points='800,330 400,760 800,760' fill='%231f2e37'/%3E%3Cpolygon points='800,540 600,760 800,760' fill='%232f4352'/%3E%3Crect x='742' y='0' width='1.4' height='300' fill='%23ffffff' fill-opacity='.4'/%3E%3Ccircle cx='742.7' cy='302' r='5' fill='%23f2a58e'/%3E%3C/svg%3E") no-repeat right top/min(1040px,78vw) auto!important}
.axiom-page{--bg:#18242c;--deep:#1e2c35;--panel:#22313b;--rule:#3a4f5d;--slate:#b9c6ce;--stone:#d5dee3;--line:#ffffff24;--mint:#f2a58e;--cyan:#f2a58e;--gold:#f2a58e;color:var(--nx-text)}
.reveal-page{--mint:#f2a58e;--line:#ffffff24;color:var(--nx-text)}
.nexus-page{--gold:#f2a58e;--line:#ffffff24;color:var(--nx-text)}
.ax-home .ax-home-hero::before{display:none}

/* Header and menus */
.site-header{background:#18242cf0!important;border-bottom:1px solid #ffffff1a!important}
.site-header :is(#product-links,#service-links){background:var(--nx-panel)!important;border-color:#ffffff1f!important}
.site-header :is(#product-links,#service-links) a span{color:var(--nx-dim)!important}
#site-navigation .nav-cta{background:var(--nx-accent)!important;border-color:var(--nx-accent)!important;color:#18242c!important;border-radius:999px!important;padding-inline:20px!important}
#site-navigation .nav-cta:hover{background:var(--nx-accent-hover)!important}
#site-navigation a[aria-current=page]{text-decoration-color:var(--nx-accent)!important}

/* Buttons and links */
:is(.ax-button,.nx-button,.rv-button){background:var(--nx-accent)!important;border-color:var(--nx-accent)!important;color:#18242c!important;border-radius:999px!important;font-weight:400!important}
:is(.ax-button,.nx-button,.rv-button):hover{background:var(--nx-accent-hover)!important;border-color:var(--nx-accent-hover)!important}
:is(.ax-text-link,.nx-text-link,.rv-text-link){border-bottom-color:#ffffff59!important}
:is(.ax-text-link,.nx-text-link,.rv-text-link):hover{border-bottom-color:var(--nx-accent)!important}

/* Former light bands become slate panels */
:is(.ax-context,.ax-story,.ax-about-cta,.service-overview,.rv-foundation,.rv-cta,.nx-evidence,.nx-cta){background:var(--nx-panel)!important;color:var(--nx-text)!important;position:relative;overflow:hidden}
.rv-hero{background:transparent!important;color:var(--nx-text)!important}
:is(.ax-context,.ax-story,.ax-about-cta,.service-overview,.rv-foundation,.rv-cta,.nx-evidence,.nx-cta)::after{content:'';position:absolute;right:0;bottom:0;width:min(420px,40%);height:100%;background:linear-gradient(to top left,var(--nx-steel) 0 22%,transparent 22.2%),linear-gradient(to top left,#2a3b47 0 48%,transparent 48.2%);pointer-events:none;opacity:.7}
:is(.ax-context,.ax-story,.ax-about-cta,.service-overview,.rv-foundation,.rv-cta,.nx-evidence,.nx-cta)>*{position:relative;z-index:1}
:is(.ax-context,.ax-story,.ax-about-cta,.service-overview,.rv-hero,.rv-foundation,.rv-cta,.nx-evidence,.nx-cta) :is(h1,h2,h3,h4,strong):not(:is(.rv-explorer,.rv-product-shot,.nx-screenshot,.nx-case-preview,.rv-source-dialog,.rv-image-dialog) *){color:#fff!important}
:is(.ax-context,.ax-story,.ax-about-cta,.service-overview,.rv-hero,.rv-foundation,.rv-cta,.nx-evidence,.nx-cta) :is(p,li,small,dd,dt,figcaption,blockquote):not(:is(.rv-explorer,.rv-product-shot,.nx-screenshot,.nx-case-preview,.rv-source-dialog,.rv-image-dialog,.ax-button,.nx-button,.rv-button) *):not(.ax-eyebrow,.nx-eyebrow,.rv-eyebrow){color:var(--nx-text)!important}
:is(.ax-context,.ax-story,.ax-about-cta,.service-overview,.rv-hero,.rv-foundation,.rv-cta,.nx-evidence,.nx-cta) h2 span{color:var(--nx-accent)!important}
.service-cards article{border-top-color:#ffffff59!important}
.rv-flow-outcomes article{background:var(--nx-panel)!important;color:var(--nx-text)!important;border:1px solid var(--nx-line)}
.rv-flow-outcomes article :is(h3,h4,strong){color:#fff!important}

/* Home: product paths */
.ax-home .ax-three-paths>a{background:var(--nx-panel)!important;color:var(--nx-soft)!important;border-color:var(--nx-line)!important}
.ax-home .ax-three-paths>a:hover{background:var(--nx-steel)!important}

/* Line ending in a dot */
.ax-service-links>a{position:relative}
.ax-service-links>a::after{content:'';position:absolute;right:-3px;bottom:-4px;width:7px;height:7px;border-radius:50%;background:#fff;opacity:.85}

/* Footer */
.site-footer{border-top-color:#ffffff24!important;color:var(--nx-text)!important}
.site-footer p{color:var(--nx-text)!important}
.site-footer-bottom{color:var(--nx-dim)!important}

/* Reveal: hero brand line and process diagram */
.rv-product{color:#fff!important}.rv-product img{filter:brightness(0) invert(1)}
.rv-product small{color:var(--nx-text)!important;border-left-color:#ffffff40!important}
.rv-mark{background:var(--nx-accent)!important;color:#18242c!important;font-family:inherit!important;font-style:normal!important;font-size:24px!important}
.rv-hero .rv-text-link{color:#fff!important}
.rv-ingestion{background:var(--nx-deep)!important;border-color:var(--nx-line)!important;color:var(--nx-soft)!important;box-shadow:none!important}
.rv-flow-brand{color:var(--nx-accent)!important;font-family:inherit!important;font-style:normal!important}
:is(.rv-flow-kicker,.rv-flow-end-label,.rv-flow-sources small,.rv-flow-stages small,.rv-flow-route){color:var(--nx-dim)!important}
.rv-flow-sources li{background:var(--nx-panel)!important;border-color:#ffffff40!important;color:var(--nx-soft)!important}
:is(.rv-flow-connector,.rv-flow-gate>span,.rv-flow-number,.rv-flow-destination>span){color:var(--nx-accent)!important}
.rv-flow-stages li{background:var(--nx-panel)!important;border-top-color:var(--nx-accent)!important}
.rv-flow-stages li:not(:last-child)::after{color:var(--nx-accent)!important}
:is(.rv-flow-stages p,.rv-flow-outcomes p){color:var(--nx-text)!important}
.rv-flow-gate p{color:var(--nx-soft)!important}
.rv-flow-outcomes{border-top-color:#ffffff40!important}
.rv-flow-outcomes article::before{border-left-color:#ffffff40!important}
.rv-flow-outcome-heading svg{stroke:var(--nx-accent)!important}
.rv-flow-destination{color:#fff!important;border-top-color:#ffffff33!important}

/* Services */
.service-cards article>span{color:var(--nx-dim)!important}
.journey-foundation{background:var(--nx-panel)!important;border-color:var(--nx-line)!important}
.reveal-page .rv-flow-outcomes .rv-flow-outcome-heading h4{color:#fff!important}

/* Home (company landing) */
.ax-home .preview-hero{border-color:#ffffff1f!important}
.ax-home .company-visual text{font-family:Questrial,sans-serif!important}
.ax-home .company-visual .visual-node rect{fill:var(--nx-panel)!important;stroke:#ffffff40!important}
.ax-home .company-visual .visual-node text{fill:#fff!important}
.ax-home .company-visual text.visual-small,.ax-home .company-visual .visual-node text.visual-small{fill:var(--nx-accent)!important}
.ax-home .company-visual .company-signal{fill:#fff!important}.ax-home .company-visual .company-signal.signal-four{fill:var(--nx-accent)!important}
.ax-home .company-product,.ax-home .company-product.product-nexus{background:var(--nx-panel)!important;border-color:var(--nx-line)!important;color:var(--nx-soft)!important}
.ax-home .company-product:hover,.ax-home .company-product.product-nexus:hover{background:var(--nx-steel)!important;border-color:#ffffff59!important}
.ax-home .company-product .product-category{color:var(--nx-dim)!important}
.ax-home .company-product .product-explore{border-color:#ffffff33!important}
.ax-home .company-cta{background:var(--nx-panel)!important;color:var(--nx-text)!important;position:relative;overflow:hidden}
.ax-home .company-cta::after{content:'';position:absolute;right:0;bottom:0;width:min(420px,40%);height:100%;background:linear-gradient(to top left,var(--nx-steel) 0 22%,transparent 22.2%),linear-gradient(to top left,#2a3b47 0 48%,transparent 48.2%);pointer-events:none;opacity:.7}
.ax-home .company-cta>*{position:relative;z-index:1}
.ax-home .company-cta :is(h2,h3){color:#fff!important}
.ax-home .company-cta p:not(.ax-eyebrow){color:var(--nx-text)!important}

/* About */
.ax-founded{border-top-color:#ffffff40!important}.ax-founded strong{color:#fff!important}.ax-founded span{color:var(--nx-dim)!important}

/* Keep the product name intact at every hero width. */
.nx-hero-copy h1 .nx-product-name{white-space:nowrap}
.nx-hero-copy h1 em{font-size:.8em}

/* Give product introductions room before switching to desktop columns. */
@media (min-width:810px) and (max-width:1000px){
  .rv-hero-grid,.nx-hero-grid{grid-template-columns:1fr;gap:36px}
  .rv-hero-media,.nx-hero-media{width:100%;max-width:680px}
  .rv-heading,.nx-section-heading{grid-template-columns:1fr;gap:24px}
}
.nx-actions .nx-button{white-space:nowrap}

/* Shared navigation and footer labels use the current brand font too. */
.site-header :is(a,span),.site-footer .footer-group h2{font-family:Questrial,'Century Gothic','Avenir Next',sans-serif!important}
