/* Sales-site languages. Product component styles remain isolated. */
.language-picker{position:relative;flex:0 0 auto}
.language-trigger{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #d9cbe8;border-radius:10px;background:#fff9;color:#5b3a85;font:750 11px/1 Arial,sans-serif;letter-spacing:.03em;cursor:pointer}
.language-trigger:hover,.language-trigger[aria-expanded=true]{background:#eee3fb;border-color:#b58bdc}
.language-trigger:focus-visible,.language-menu button:focus-visible{outline:3px solid #9350e6;outline-offset:3px}
.language-menu{position:absolute;top:calc(100% + 10px);right:0;min-width:172px;padding:6px;background:#fff;border:1px solid #e5daef;border-radius:14px;box-shadow:0 16px 48px #29123f29;z-index:150}
.language-menu[hidden]{display:none}
.language-menu button{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:12px;border:0;border-radius:9px;background:transparent;color:#38264e;text-align:left;font:500 13px/1.3 Arial,sans-serif;cursor:pointer}
.language-menu button small{color:#806593;font-size:10px}
.language-menu button:hover,.language-menu button[aria-checked=true]{background:#f1e8fc;color:#7136ab}
.language-menu button[aria-checked=true] small::after{content:' ✓'}
body.on-dark .language-trigger{background:#fff;color:#5b3a85}
html:not([lang=en]) .story-copy h1,html:not([lang=en]) .story-copy h2{font-size:clamp(32px,3.25vw,58px);overflow-wrap:break-word}
html:not([lang=en]) .story-copy .eyebrow{letter-spacing:.09em}
html:not([lang=en]) .site-nav.product-nav{gap:2px}
html:not([lang=en]) .demo-dialog-toolbar>div{min-width:0}
@media(min-width:941px) and (max-width:1230px){html:not([lang=en]) .site-header{min-height:108px;height:auto;display:grid;grid-template-columns:1fr auto;grid-template-rows:46px 43px;gap:2px 9px;padding:5px 14px}html:not([lang=en]) .site-header .wordmark{grid-row:1;grid-column:1}html:not([lang=en]) .site-header .nav-action{grid-column:2;grid-row:1}html:not([lang=en]) .site-nav.product-nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;width:100%;max-width:100%;overflow-x:auto;display:flex}html:not([lang=en]){scroll-padding-top:116px}}
@media(max-width:980px){html:not([lang=en]) .story-copy h1,html:not([lang=en]) .story-copy h2{font-size:36px}.story-copy-container{height:auto}.story-copy{height:auto}.stage-view{top:var(--story-visual-top,390px);height:auto;min-height:0}}
@media(max-width:600px){.language-trigger{width:34px;height:34px;font-size:10px}html:not([lang=en]) .story-copy h1,html:not([lang=en]) .story-copy h2{font-size:29px;line-height:1.1}.story-demo-caption{flex-wrap:wrap;gap:4px 8px;line-height:1.4}.story-demo-caption>span{max-width:58%}.demo-dialog-hint{overflow:auto}.demo-dialog-toolbar span{line-height:1.4}.story-copy p{margin-bottom:0}}
@media(max-width:380px){.site-header{padding-left:10px;padding-right:10px;column-gap:4px}.site-header .wordmark{font-size:14px;gap:4px}.site-header .wordmark .brand-mark{width:28px;height:25px}.site-header .nav-action{gap:4px}.site-header .site-auth-actions a{font-size:9px;padding:0 7px}.language-trigger{width:32px;height:32px}.playbar{gap:6px;padding-left:8px;padding-right:8px}.playbar button{font-size:9px}}
.m-jira-analogy .m-tag{white-space:normal;line-height:1.6;max-width:100%;flex-shrink:1}
.final-cta>div{min-width:0;max-width:100%}.final-cta h2{overflow-wrap:break-word}
@media(max-width:600px){.story-progress{left:5vw;width:90vw;justify-content:space-between;gap:0}.final-cta{padding:28px 24px}.final-cta h2{font-size:34px}.final-cta .primary-button{white-space:normal}.post-story{padding-left:20px;padding-right:20px}}
/* Nine languages: native names, bounded menu and script-aware typography. */
.language-menu{min-width:216px;max-width:calc(100vw - 24px);max-height:min(440px,calc(100dvh - 120px));overflow-y:auto;overscroll-behavior:contain;direction:ltr;scrollbar-width:thin}
.language-menu bdi{unicode-bidi:isolate}.language-menu small{direction:ltr;unicode-bidi:isolate}
html:lang(zh) body{font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
html:lang(ko) body{font-family:"Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;word-break:keep-all;overflow-wrap:anywhere}
html:lang(ar) body{font-family:Arial,"Geeza Pro",Tahoma,sans-serif}
html:is(:lang(zh),:lang(ko),:lang(ar)) main *,html:lang(ar) .site-header *,html:lang(ar) .demo-lightbox *{letter-spacing:normal}
html:is(:lang(zh),:lang(ko)) .story-copy :is(h1,h2){line-height:1.2}
html:lang(ar) :is(.story-copy h1,.story-copy h2,.m-chapter h2,.post-header h2,.final-cta h2){line-height:1.3}
html:lang(ar) :is(.story-copy p,.m-feature p,.m-paragraph,.m-workflow p){line-height:1.75}
/* Mirror marketing content; keep the logo, language control and source product UI stable. */
html[dir=rtl] .site-header,html[dir=rtl] .wordmark,html[dir=rtl] .playbar,html[dir=rtl] .demo-dialog-scroll{direction:ltr}
html[dir=rtl] .site-nav.product-nav{direction:rtl}
html[dir=rtl] :is(.story-copy,.m-chapter-head,.m-feature,.m-workflow,.cases-grid article,.final-cta){text-align:start}
html[dir=rtl] :is(.demo-toolbar,.demo-dialog-toolbar)>div{margin-right:0;margin-inline-end:auto}
html[dir=rtl] .m-workflow ol{padding-left:0;padding-right:23px}
html[dir=rtl] .m-workflow li{padding-left:0;padding-right:4px}
html[dir=rtl] .footer-email{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .scene-bottom{left:auto;right:4vw}
html[dir=rtl] .scene-bottom #scene-fraction{direction:ltr;unicode-bidi:isolate}
html[dir=rtl] .scroll-cue{right:auto;left:4vw}
@media(min-width:981px){html[dir=rtl] .story-copy-container{left:auto;right:4vw}html[dir=rtl] .stage-view{right:auto;left:1vw}html[dir=rtl] .story-progress{left:auto;right:2.3vw}}
@media(max-width:980px){html[dir=rtl] .story-copy-container{left:auto;right:5vw}html[dir=rtl] .stage-view{right:5vw;left:auto}}
@media(max-width:600px){html[dir=rtl] .stage-view{right:3vw}html:lang(ar) .story-copy :is(h1,h2){font-size:28px}html:lang(ar) .story-copy p{line-height:1.65}}
