.site-header { background: #090c10; color: #f0f2f5; border-bottom: 1px solid #ffffff10; }
.site-header .nav { height: 94px; }
.logo-wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; flex-shrink: 0; }
.logo-wordmark__image { display: block; position: relative; width: 212px; height: 36px; overflow: hidden; background: linear-gradient(110deg, #19365f 0%, #285bb8 38%, #3478f6 70%, #087fae 100%); mask: url('assets/xingyi-wordmark.png') -7px -20px / 226px auto no-repeat; }
.site-header .logo-wordmark__image { background: linear-gradient(110deg, #edf5ff 0%, #c0dfff 32%, #70a8ff 62%, #3478f6 82%, #74d9f3 100%); }
/* Use the existing alpha silhouette unchanged; keep the image's accessible label. */
.logo-wordmark__image img { position: absolute; width: 226px; max-width: none; height: auto; left: -7px; top: -20px; opacity: 0; }
.logo-wordmark__descriptor { font-size: 8px; font-weight: 500; letter-spacing: 3.1px; color: #60728b; line-height: 1.2; }
.site-header .logo-wordmark__descriptor { color: #9aa8b8; }
/* Align the visible wordmark, rather than the wordmark-plus-caption box, with navigation. */
.site-header .logo-wordmark { align-items: center; gap: 6px; transform: translateY(7px); }
.site-header .logo-wordmark__image { width: 188px; height: 32px; mask-size: 200.4px auto; mask-position: -6.2px -17.7px; }
.site-header .logo-wordmark__descriptor { width: 188px; text-align: center; font-size: 7px; letter-spacing: 2.6px; }
.site-header .nav-links { color: #a2adbb; font-weight: 450; gap: 29px; }
.site-header .nav-links a:hover, .site-header .nav-links .active { color: #fff; }
.site-header .languages { border-color: #ffffff20; }
.languages select { max-width: 130px; padding: 5px; color: inherit; background: transparent; border: 0; font: inherit; cursor: pointer; }
.languages select option { color: #182333; background: #fff; }
.language-availability { display: block; max-width: 190px; font-size: 10px; line-height: 1.4; }
.article-language { font-size: .75em; white-space: nowrap; opacity: .8; }
html:not([lang="en"]) .site-header .nav { flex-wrap: wrap; }
html:not([lang="en"]) .sourcing-hero__copy h1 { overflow-wrap: anywhere; }
/* Long translated labels can wrap without changing the English desktop layout. */
html:is([lang="vi"],[lang="ru"]) :is(.industrial-range__intro,.order-assurance__main,.order-assurance__resolution,.company-intro__layout) > * { min-width: 0; }
html:is([lang="vi"],[lang="ru"]) :is(.industrial-range,.order-assurance,.company-intro,.purchase-faq) { overflow-wrap: anywhere; }
/* All languages share the same narrow-screen flow. */
@media (max-width: 760px) {
  html .site-header .nav { flex-wrap: wrap; }
  html :is(.industrial-range__intro,.order-assurance__main,.order-assurance__resolution,.company-intro__layout) > * { min-width: 0; }
  html :is(.industrial-range,.order-assurance,.company-intro,.purchase-faq) { overflow-wrap: anywhere; }
  html :is(.industrial-range__intro,.industrial-range__browser,.order-assurance__main,.order-assurance__resolution,.company-intro__layout) { grid-template-columns: minmax(0,1fr); gap: 28px; }
  html .industrial-range__cards { grid-template-columns: minmax(0,1fr); }
  html .industrial-range__panel-heading { flex-wrap: wrap; }
  html .order-assurance__resolution { padding: 24px 20px; }
  html .company-intro__footer { flex-wrap: wrap; }
  html .purchase-faq__inner { width: calc(100% - 40px); }
  html .purchase-faq__tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html .purchase-faq__item summary { padding-inline: 0; gap: 16px; }
  html .commitments-dialog { max-width: calc(100vw - 24px); }
  html :is(.commitments-dialog__header,.commitments-dialog__body,.commitments-dialog__footer) { padding: 20px; }
  html .commitments-dialog__footer { flex-wrap: wrap; }
}
.site-header .languages button { color: #8b98aa; font-weight: 500; }
.site-header .languages .active { color: #fff; background: #ffffff0b; border-radius: 4px; }
.site-header .nav-quote { color: #dce6f5; background: #ffffff05; border: 1px solid #ffffff2a; border-radius: 6px; font-weight: 500; padding: 9px 18px; }
.site-header .nav-quote:hover { background: #ffffff10; }
.resource-menu { position: relative; }
.resource-menu summary { cursor: pointer; list-style: none; white-space: nowrap; }
.resource-menu summary::-webkit-details-marker { display: none; }
.resource-menu summary span { margin-left: 3px; font-size: .78em; }
.resource-menu.current summary, .resource-menu summary:hover { color: #91baff; }
.resource-menu summary:focus-visible { outline: 2px solid #689bec; outline-offset: 4px; }
.resource-links { position: absolute; z-index: 20; top: calc(100% + 12px); left: -12px; min-width: 175px; padding: 6px; border: 1px solid #d5dfeb; border-radius: 8px; background: #fff; box-shadow: 0 8px 28px #132c4726; }
.site-header .resource-links a { display: block; padding: 8px 12px; border-radius: 4px; color: #253e59; white-space: nowrap; }
.site-header .resource-links a:is(:hover, :focus-visible, .active) { background: #edf3fc; color: #174e97; }


.commitments-dialog button:focus-visible, .commitments-dialog a:focus-visible, .commitments-dialog__body:focus-visible { outline: 2px solid #91baff; outline-offset: 4px; }
html:has(.commitments-dialog[open]) { overflow: hidden; }
.commitments-dialog { width: 820px; max-width: calc(100vw - 80px); max-height: calc(100svh - 80px); margin: auto; padding: 0; border: 1px solid #789aca40; border-radius: 16px; color: #e8eff9; background: #0e141e; box-shadow: 0 30px 120px #000b; overflow: hidden; color-scheme: dark; text-align: left; }
.commitments-dialog[open] { display: flex; flex-direction: column; }
.commitments-dialog::backdrop { background: #03070dc9; backdrop-filter: blur(8px); }
.commitments-dialog__header { display: flex; justify-content: space-between; gap: 25px; padding: 29px 34px 24px; flex-shrink: 0; border-bottom: 1px solid #ffffff12; background: radial-gradient(ellipse at 0 0,#1c2e48,#101720 75%); }
.commitments-dialog__eyebrow { margin: 0 0 14px; color: #8eacd4; font-size: 9px; letter-spacing: 2px; }
.commitments-dialog h2 { margin: 0; font-size: 34px; font-weight: 500; line-height: 1.15; letter-spacing: -1px; }
.commitments-dialog h2 span { color: #a5c7ff; }
.commitments-dialog__close { align-self: flex-start; width: 34px; height: 34px; border: 1px solid #ffffff20; border-radius: 7px; color: #b6c8e1; font-size: 24px; line-height: 1; }
.commitments-dialog__close:hover { background: #ffffff0c; color: #fff; }
.commitments-dialog__body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 34px; scrollbar-color: #425774 #0e141e; }
.commitments-dialog__promise { padding: 20px 22px; border: 1px solid #7eaaf039; border-left: 3px solid #8ab6ff; border-radius: 0 8px 8px 0; background: #18283e75; }
.commitments-dialog__promise strong { font-size: 18px; font-weight: 500; color: #e6efff; }
.commitments-dialog__promise p, .commitments-dialog__list p { font-size: 13px; line-height: 1.8; color: #b2c0d4; margin: 8px 0 0; }
.commitments-dialog__list { list-style: none; margin: 8px 0 0; padding: 0; }
.commitments-dialog__list li { display: flex; gap: 20px; padding: 23px 0; border-bottom: 1px solid #ffffff10; }
.commitments-dialog__list li > span { color: #829fc6; font-size: 11px; padding-top: 4px; font-variant-numeric: tabular-nums; }
.commitments-dialog h3 { margin: 0; color: #e1e9f5; font-size: 16px; font-weight: 500; }
.commitments-dialog__note { margin: 20px 0 0; font-size: 11px; line-height: 1.8; color: #92a4bc; }
.commitments-dialog__footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-shrink: 0; padding: 18px 34px; border-top: 1px solid #ffffff14; background: #101822; }
.commitments-dialog__footer a { color: #b4d0fa; font-size: 12px; }
.commitments-dialog__footer a span { margin-left: 7px; }
.commitments-dialog__footer button { padding: 10px 17px; border: 1px solid #729ce05c; border-radius: 6px; color: #e4eeff; background: #203653; font-size: 12px; }
.commitments-dialog__footer button:hover { background: #2b4669; }
