/* The opening image continues beneath both navigation levels. */
body[data-page] .site-header {
  background:transparent;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;
  --global-nav-ink:#424245;
}
body[data-hero-overlay='true'] .site-header { position:absolute;top:0;left:0;width:100%; }
body[data-hero-overlay='true'] main { display:flow-root; }
body[data-page] .site-header[data-nav-tone='dark']:not([data-menu-open='true']) { --global-nav-ink:#e8edf1; }
body[data-page] .site-header #site-navigation>a,
body[data-page] .site-header .nav-group>button,
body[data-page] .site-header #site-navigation .header-console,
body[data-page] .site-header .mobile-toggle { color:var(--global-nav-ink); }
body[data-page] .site-header :focus-visible { outline-color:var(--global-nav-ink); }
.site-header .header-brand-dark { display:none; }
.site-header[data-nav-tone='dark']:not([data-menu-open='true']) .header-brand-light { display:none; }
.site-header[data-nav-tone='dark']:not([data-menu-open='true']) .header-brand-dark { display:block; }
body[data-page] .site-header[data-menu-open='true'] { background:#fafafa;--global-nav-ink:#424245; }

body[data-page] .gateway-product-nav {
  --product-nav-ink:#24292e;--product-nav-fill:rgba(255,255,255,.45);
  --product-nav-edge:rgba(255,255,255,.58);--product-nav-shadow:rgba(22,30,40,.065);
  color:var(--product-nav-ink);background:transparent;border-color:transparent;
  box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;
  transition:background-color .22s,border-color .22s,box-shadow .22s,color .18s;
  border-radius:9999px;
}
body[data-hero-tone='dark'] .gateway-product-nav:not([data-nav-tone='light']),
body[data-page] .gateway-product-nav[data-nav-tone='dark'] {
  --product-nav-ink:#edf2f5;--product-nav-fill:rgba(17,26,34,.26);
  --product-nav-edge:rgba(226,242,249,.19);--product-nav-shadow:rgba(0,0,0,.12);
}
body[data-page] .gateway-product-nav[data-scrolled='true'] {
  background:linear-gradient(115deg,rgba(255,255,255,.09),transparent 45%,rgba(255,255,255,.035)),var(--product-nav-fill);
  border-color:var(--product-nav-edge);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 3px 14px var(--product-nav-shadow);
  backdrop-filter:blur(8px) saturate(1.18);-webkit-backdrop-filter:blur(8px) saturate(1.18);
}
body[data-page] .gateway-product-name,body[data-page] .gateway-product-links a { color:var(--product-nav-ink); }
body[data-page] .gateway-product-links a:hover { opacity:.72; }
body[data-page] .gateway-product-links .gateway-nav-cta { color:#fff;background:#23775f; }
body[data-page] .gateway-product-nav :focus-visible { outline-color:var(--product-nav-ink); }

body[data-hero-overlay='true'] main>.gateway-product-nav { margin-top:56px; }
body[data-hero-overlay='true'] main>.fx-hero,
body[data-hero-overlay='true'] main>.fabric-story-hero { margin-top:-110px; }
body[data-hero-overlay='true'] main>.fx-hero { min-height:max(740px,100svh); }
body[data-hero-overlay='true'] main>.fx-hero-relay .fx-hero-content { padding-top:175px; }
body[data-hero-overlay='true'] main>.fabric-story-hero { --fabric-height:max(680px,100svh); }
body[data-hero-overlay='true'] main>.fabric-story-hero .fabric-stage { top:0; }
body[data-hero-overlay='true'] main>.fabric-story-hero .fabric-intro { padding-top:96px; }

@media(min-width:1800px) {
  body[data-hero-overlay='true'] main>.fx-hero-relay .fx-hero-content { padding-top:210px; }
}
@media(max-width:940px) {
  body[data-page] #site-navigation.is-open { background:#fafafa;color:#424245; }
}

.language-switch { display:inline-flex;align-items:center;gap:7px;position:relative;color:var(--global-nav-ink,#424245);flex-shrink:0; }
.language-switch>svg { width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;flex-shrink:0; }
.language-switch select { appearance:none;-webkit-appearance:none;font:inherit;font-size:12px;color:inherit;border:0;background:transparent;cursor:pointer;padding:10px 16px 10px 0;max-width:120px;line-height:1.3; }
.language-switch select option { background:#fafafa;color:#24292e; }
.language-switch>.chevron { position:absolute;right:1px;pointer-events:none; }
.language-switch:focus-within { outline:2px solid currentColor;outline-offset:3px;border-radius:5px; }
.language-switch select:focus-visible { outline:0!important; }
html:not(:lang(zh)) .gateway-product-links { gap:clamp(12px,1.5vw,25px); }
html:not(:lang(zh)) .gateway-product-name { flex-shrink:0; }
html:not(:lang(zh)) .product-title-phrase,
html:not(:lang(zh)) .product-feature-row h3>span,
html:not(:lang(zh)) .gateway-feature-row h3>span { white-space:normal;display:inline; }
html:not(:lang(zh)) .gateway-text-link { white-space:normal;max-width:100%; }
html:not(:lang(zh)) .product-opening h1,html:not(:lang(zh)) .fx-hero-content h1,html:not(:lang(zh)) .fabric-intro h1 { letter-spacing:-.045em;overflow-wrap:normal; }
html:lang(fr) .fx-hero-content h1,html:lang(ru) .fx-hero-content h1 { font-size:clamp(42px,5.5vw,78px); }
html:not(:lang(zh)) .product-home .fx-hero-content { width:min(1160px,calc(100% - 80px)); }
html:not(:lang(zh)) .product-home .fx-hero-content h1 { font-size:clamp(40px,4.5vw,72px);line-height:1.12; }
html:not(:lang(zh)) .product-home .fx-description { max-width:740px;font-size:19px; }
html:lang(fr) .fabric-intro h1,html:lang(ru) .fabric-intro h1 { font-size:clamp(40px,4.7vw,72px); }
html:lang(fr) .product-opening h1,html:lang(ru) .product-opening h1 { font-size:clamp(42px,5.2vw,76px); }
@media(min-width:941px) {
  body[data-page] #site-navigation { gap:clamp(13px,2vw,30px); }
  html:lang(fr) .header-inner,html:lang(ru) .header-inner { gap:20px;width:min(1440px,calc(100% - 48px)); }
  html:lang(fr) #site-navigation,html:lang(ru) #site-navigation { gap:clamp(9px,1.1vw,19px); }
}
@media(max-width:700px) {
  html:not(:lang(zh)) .gateway-product-nav>div { padding-inline:16px; }
  html:not(:lang(zh)) .gateway-product-name { font-size:16px; }
  html:not(:lang(zh)) .gateway-product-name { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto; }
  html:not(:lang(zh)) .gateway-product-links { flex-shrink:0; }
  html:not(:lang(zh)) .gateway-product-links a { font-size:11px; }
  html:not(:lang(zh)) .product-opening h1,html:not(:lang(zh)) .fx-hero-content h1 { font-size:clamp(34px,9.2vw,44px);line-height:1.12; }
  html:not(:lang(zh)) .fabric-intro h1 { font-size:clamp(33px,8.8vw,43px);line-height:1.12; }
  html:not(:lang(zh)) .product-section h2 { overflow-wrap:anywhere; }
}
@media(max-width:700px) {
  body[data-hero-overlay='true'] main>.gateway-product-nav { margin-top:56px; }
  body[data-hero-overlay='true'] main>.fx-hero,
  body[data-hero-overlay='true'] main>.fabric-story-hero { margin-top:-108px; }
  body[data-hero-overlay='true'] main>.fx-hero-relay .fx-hero-content { padding-top:155px; }
  body[data-hero-overlay='true'] main>.fx-hero-admission .fx-hero-content { padding-top:143px; }
  body[data-hero-overlay='true'] main>.fx-hero-admission .fx-visual { top:405px; }
  body[data-hero-overlay='true'] main>.fx-hero-admission { min-height:890px; }
  body[data-hero-overlay='true'] main>.fabric-story-hero { --fabric-height:max(760px,100svh); }
  body[data-hero-overlay='true'] main>.fabric-story-hero .fabric-intro { padding-top:143px; }
  body[data-page] .gateway-product-nav[data-scrolled='true'] { backdrop-filter:blur(7px) saturate(1.15);-webkit-backdrop-filter:blur(7px) saturate(1.15); }
}
@media(max-width:339px) {
  body[data-hero-overlay='true'] main>.fx-hero-admission { min-height:790px; }
  body[data-hero-overlay='true'] main>.fx-hero-admission .fx-visual { top:395px; }
}
@media(prefers-reduced-motion:reduce) { body[data-page] .gateway-product-nav { transition:none; } }
@media(prefers-reduced-transparency:reduce) {
  body[data-page] .gateway-product-nav[data-scrolled='true'] { --product-nav-fill:rgba(249,250,251,.94);backdrop-filter:none;-webkit-backdrop-filter:none; }
  body[data-page] .gateway-product-nav[data-scrolled='true'][data-nav-tone='dark'] { --product-nav-fill:rgba(17,26,34,.94); }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  body[data-page] .gateway-product-nav[data-scrolled='true'] { --product-nav-fill:rgba(249,250,251,.94); }
  body[data-page] .gateway-product-nav[data-scrolled='true'][data-nav-tone='dark'] { --product-nav-fill:rgba(17,26,34,.94); }
}
