/* Shared navigation for the product homepage and Windows page. */
.header-main{height:76px;background:rgba(23,24,32,.96);border-bottom:1px solid rgba(255,255,255,.11);backdrop-filter:blur(18px)}
.header-main .header-inner{display:flex;align-items:center;width:min(1480px,calc(100% - 48px));margin:auto;gap:clamp(12px,1.4vw,22px)}
.header-main .logo{flex:none}
.header-main .logo img{width:184px}
.header-main nav{display:flex;align-items:center;gap:clamp(16px,1.5vw,25px);font-size:15px;font-weight:600;white-space:nowrap}
.header-main nav>a,.header-main .nav-features>summary{display:inline-flex;align-items:center;min-height:44px;color:#d1d2d9}
.header-main nav>a:hover,.header-main .nav-features>summary:hover,.header-main .nav-features[open]>summary{color:#fff}
.header-main nav>a[aria-current="page"]{color:#fff}
.header-main .nav-features{position:relative}
.header-main .nav-features>summary{gap:9px;cursor:pointer;list-style:none}
.header-main .nav-features>summary::-webkit-details-marker{display:none}
.header-main .nav-features>summary::after{content:"";width:7px;height:7px;margin-top:-4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .18s ease}
.header-main .nav-features[open]>summary::after{margin-top:4px;transform:rotate(225deg)}
.header-main .nav-features>summary:focus-visible,.header-main nav a:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:3px}
.header-main .nav-submenu{position:absolute;top:calc(100% + 5px);left:-14px;z-index:25;display:grid;gap:2px;min-width:225px;padding:9px;border:1px solid #4b4d59;border-radius:9px;background:#22242e;box-shadow:0 18px 45px #0009}
.header-main .nav-submenu a{display:block;padding:11px 13px;border-radius:5px;color:#dfe1e8;font-size:14px;font-weight:600;white-space:nowrap}
.header-main .nav-submenu a:hover,.header-main .nav-submenu a:focus-visible{background:#343642;color:#fff}
.header-main .nav-download{display:none}
.header-main .language-switch{width:64px;height:42px;margin-left:auto;font-size:12px}
.header-main .button-small,.header-main .account-button{min-height:46px;font-size:13px}
.header-main .button-small{padding:0 13px;border-color:#d00829;background:#d00829;box-shadow:0 0 35px -12px #d00829}
.header-main .header-action-icon{flex:none;width:18px;height:18px}
.header-main .account-button{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:8px;padding:0 15px;border:1px solid #5b606d;border-radius:6px;background:transparent;color:#fff;font-weight:700;white-space:nowrap;box-shadow:none}
.header-main .account-button svg{width:18px;height:18px;flex:none}
.header-main .account-button:hover,.header-main .account-button:focus-visible{border-color:var(--blue);background:#252a34;box-shadow:none;filter:none}
.header-main .menu-button{display:none}
.windows-page .header-main{position:sticky;top:0;z-index:20}
.windows-page .header-main nav{margin-left:0;margin-right:auto}
@media(max-width:1150px){
  .header-main nav{display:none}
  .header-main .menu-button{display:flex;flex-direction:column;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #5b606d;border-radius:6px;background:#22242e;cursor:pointer}
  .header-main .menu-button i{display:block;width:22px;height:1px;margin:3px 0;background:#fff}
  .header-main.menu-open nav{position:absolute;display:flex;top:76px;left:17px;right:17px;z-index:21;align-items:stretch;flex-direction:column;gap:5px;padding:14px;border:1px solid var(--line);background:#20212a;font-size:15px;white-space:normal}
  .header-main.menu-open nav>a,.header-main.menu-open .nav-features>summary{display:flex;width:100%;min-height:46px;padding:8px 12px}
  .header-main .nav-features{width:100%}
  .header-main .nav-submenu{position:static;min-width:0;margin:2px 0 8px 12px;padding:5px 8px;border:0;border-left:2px solid var(--red);border-radius:0;background:transparent;box-shadow:none}
  .header-main .nav-submenu a{white-space:normal}
}
@media(max-width:700px){.header-main .account-button{width:44px;padding:0}.header-main .account-button-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
@media(max-width:560px){
  .header-main{height:68px}
  .header-main .header-inner{display:grid;width:calc(100% - 32px);grid-template-columns:minmax(0,1fr) 54px 44px 44px;gap:10px}
  .header-main .logo img{width:min(156px,42vw)}
  .header-main .language-switch{width:54px;height:42px;margin-left:0}
  .header-main .button-small{display:none}
  .header-main.menu-open nav{top:68px;max-height:calc(100dvh - 78px);overflow-y:auto}
  .header-main.menu-open .nav-download{display:flex;border-top:1px solid var(--line);color:#fff;font-weight:800}
  .windows-page .header-main .header-inner{grid-template-columns:minmax(0,1fr) 44px 44px}
}
