/* Premium polish layer. Loaded last on every page by scripts/approved-brand.cjs.
   Restraint over effects: no floating confetti, nothing jumping on arrival. */
.se-brand-field,.se-red-particle{display:none!important}
.se-gateway-hero>.se-gateway-eyebrow{display:flex;justify-content:center}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}

/* Calm motion: the crawling red dots in every hero go too. */
html:root body svg.se-ant-field{display:none!important}

/* Header: one clean row that matches the AI page. The logo sits on the
   header, not in a white box, and the menu control is the same quiet
   "INDEX +" label behind a hairline, instead of a tall bordered tile. */
html:root body header.site-header .approved-logo{background:transparent!important}
html:root body header.site-header .approved-logo>img{mix-blend-mode:multiply}
html:root body header.site-header .brand .approved-logo{width:120px!important}
html[data-se-site-system="zero-v1"]:root body header.site-header .nav-toggle{align-self:stretch!important;min-width:0!important;min-height:64px!important;margin:0!important;padding:0 22px!important;gap:12px!important;border:0!important;border-left:1px solid #e3e6e6!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:transparent!important;font-size:0!important}
html[data-se-site-system="zero-v1"]:root body header.site-header .nav-toggle::before{color:#17191b!important;font:600 12px/1 "JetBrains Mono",ui-monospace,monospace!important;letter-spacing:.16em!important}
html[data-se-site-system="zero-v1"]:root body header.site-header .nav-toggle::after{color:#17191b!important;font:400 28px/1 "Instrument Serif",Georgia,serif!important}
html[data-se-site-system="zero-v1"]:root body header.site-header .nav-toggle:hover{background:rgba(8,76,97,.05)!important}
html:root body header.site-header>.se-public-directory>summary{min-height:36px!important;padding:6px 18px!important;font-size:14px!important;letter-spacing:.06em!important}

/* Soundtrack strip: slimmer so the page starts sooner. */
html:root body #se-soundtrack-player{padding:4px 24px!important}
html:root body #se-soundtrack-player button{min-height:40px}

/* Heroes: centred copy gets a centred eyebrow, and the third, "back" style
   action reads as a quiet link so one primary and one secondary button lead. */
html:root body:not([data-se-page="home"]) :is(.page-hero-grid>div:first-child,.hero-primary-copy,.product-hero-copy)>.eyebrow{justify-content:center!important}
html:root body .cta-row>.btn-ghost,html[data-se-site-system="zero-v1"]:root body .cta-row>.btn-ghost{border:0!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}

/* Product pages: the price, the timing note and every section rule line up
   on the same centre line as the headings above them. */
html[data-se-site-system="zero-v1"]:root body[data-se-canonical-product="true"] .price-card .price-copy,html:root body[data-se-canonical-product="true"] .price-card .price-copy{text-align:center!important;align-items:center!important;justify-items:center!important}
html[data-se-site-system="zero-v1"]:root body[data-se-canonical-product="true"] .price-card .price-copy>*,html:root body[data-se-canonical-product="true"] .price-card .price-copy>*{text-align:center!important;margin-left:auto!important;margin-right:auto!important;justify-self:center!important}
html[data-se-site-system="zero-v1"]:root body .price-card .turnaround-badge,html:root body .price-card .turnaround-badge{width:auto!important;max-width:min(100%,560px)!important;margin-left:auto!important;margin-right:auto!important;padding:10px 20px!important;border-radius:999px!important;font:500 15px/1.5 Manrope,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
html:root body[data-se-canonical-product="true"] main h2::after{margin-left:auto!important;margin-right:auto!important}

/* Helper controls: one quiet route button, the app link centred under the
   footer, and no second hidden guide competing with Consult the Crown. */
html:root body .se-sovereign-guide{display:none!important}
html:root body .se-route-dock .se-route-dock-toggle,html:root body button.se-route-dock.se-route-dock-toggle{background:#fff!important;color:#17191b!important;border:1px solid #d9dcdc!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:root body .se-route-dock .se-route-dock-toggle:hover,html:root body button.se-route-dock.se-route-dock-toggle:hover{border-color:#17191b!important}
html:root body .se-route-dock .se-route-dock-crown{color:#C9352F!important}
html:root body .se-app-install-launcher{justify-content:center!important;text-align:center!important;padding:4px 16px 28px!important}
html:root body .se-app-install-launcher .se-app-install-launcher__button{background:transparent!important;color:#17191b!important;border:1px solid #d9dcdc!important;border-radius:999px!important;padding:9px 18px!important;font-size:15px!important;font-weight:600!important}
html:root body .se-app-install-launcher .se-app-install-launcher__button:hover{border-color:#17191b!important}

@media(max-width:680px){
  html:root body header.site-header .brand .approved-logo{width:108px!important}
  html[data-se-site-system="zero-v1"]:root body header.site-header .nav-toggle{min-height:56px!important;padding:0 16px!important}
  html:root body .cta-row>.btn-ghost{width:auto!important}
  html:root body #se-soundtrack-player{padding:4px 16px!important}
}

/* Centred layout. Every page sits on one centre line at every width.
   Home and Systems & AI header: equal side columns, so the centre title
   lands on the page's centre instead of 50px to the right. */
html:root body header.site-header:has(>.identity){grid-template-columns:220px minmax(0,1fr) 220px!important}
html:root body header.site-header>.identity{justify-content:center!important}
/* The product film block on Systems & AI was pinned to the left edge. */
html:root body .wrap.product-film-link-only{margin-left:auto!important;margin-right:auto!important;width:min(100% - 40px,960px)}
/* Professional profile: centred like every other page, and the dark
   contact buttons get readable text. */
html:root body main.se-profile>:is(nav,h1,p){text-align:center}
html:root body main.se-profile>a{display:block;width:max-content;margin:0 auto}
html:root body main.se-profile>a img{display:block}
html:root body main.se-profile .se-conference>:is(h2,p){text-align:center}
html:root body .se-conference-links{justify-content:center}
html:root body .se-conference-links a{color:#f5e3b8!important}
/* Home and Systems & AI footer: three equal columns, so the middle column
   sits on the centre line. */
html:root body footer.site-footer:has(>.footer-brand){grid-template-columns:repeat(3,minmax(0,1fr))!important}

@media(max-width:760px){
  /* Phones: the logo sits dead centre, with INDEX on the right and an equal
     empty column on the left, on every header style. */
  html:root body header.site-header:has(>.identity){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important}
  html:root body header.site-header>.identity{grid-column:2!important;grid-row:1!important;padding-inline:0!important;border:0!important}
  html:root body header.site-header>.menu{grid-column:3!important;grid-row:1!important;justify-self:end!important;padding:0 16px!important}
  html:root body header.site-header>.wrap:has(>.brand){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important}
  html:root body header.site-header>.wrap>.brand{grid-column:2!important;grid-row:1!important;justify-self:center!important;padding-left:0!important;padding-right:0!important}
  html:root body header.site-header>.wrap>.nav-toggle{grid-column:3!important;grid-row:1!important;justify-self:end!important}
  /* Footer on phones: brand across the top, then two equal link columns. */
  html:root body footer.site-footer:has(>.footer-brand){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html:root body footer.site-footer>.footer-brand{grid-column:1/-1}
  /* EMS pages: logo centred with its label under it, Menu on the right. */
  html:root body header.se-pm-top>.se-pm-wrap:has(>.se-pm-menu){display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
  html:root body header.se-pm-top .se-pm-brand{grid-column:2;grid-row:1;flex-direction:column;gap:4px;text-align:center}
  html:root body header.se-pm-top .se-pm-vertical-label{max-width:none}
  html:root body header.se-pm-top .se-pm-menu{grid-column:3;grid-row:1;justify-self:end}
  html:root body header.se-pm-top .se-pm-nav{grid-column:1/-1;grid-row:2;justify-content:center}
}

/* Free Systems Checkup link under the home lanes. */
html:root body .se-checkup-cta{text-align:center;max-width:720px;margin:28px auto 8px;padding:0 20px;font-size:1.05rem;line-height:1.5}
html:root body .se-checkup-cta a{color:#8a1c1c;font-weight:700;text-decoration:underline;text-underline-offset:3px}
