/* Общая шапка: типографическая подпись, прямая навигация. */
.site-header{background:#faf9f6f5;border-bottom:1px solid var(--line);box-shadow:none;backdrop-filter:blur(18px)}
.nav-shell{height:76px;position:relative;gap:36px}
.wordmark.platform-brand{display:flex;flex:none;flex-direction:column;align-items:flex-start;gap:5px;width:214px;color:var(--ink);line-height:1}
.platform-logo{display:block;width:214px;height:39px;overflow:hidden;transition:opacity .25s}
.wordmark.platform-brand:hover .platform-logo{opacity:.82}
.platform-tagline{padding-left:58px;font:400 8px/1 var(--body);letter-spacing:.06em;white-space:nowrap;text-transform:uppercase;color:var(--muted)}
.wordmark.platform-brand.wordmark-light .platform-logo{filter:brightness(0) invert(1)}
.wordmark.platform-brand.wordmark-light .platform-tagline{color:#b9c5bd}
.site-nav{position:static;display:flex;flex-direction:row;align-items:center;gap:30px;margin-left:auto;padding:0;max-height:none;overflow:visible;box-shadow:none;border:0;background:transparent;font:400 13px/1.5 var(--body)}
.header-links{display:flex;align-items:center;gap:27px}
.header-link,.header-more{position:relative;display:flex;align-items:center;min-height:44px;padding:0;background:transparent;border:0;white-space:nowrap;font:500 13px/1.5 var(--body);color:var(--ink);transition:color .2s}
.header-link::after{content:'';position:absolute;bottom:7px;left:0;right:0;height:1px;background:var(--plum);transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease)}
.header-link:hover,.header-link[aria-current=page],.header-more:hover,.header-more.is-current,.header-more[aria-expanded=true]{color:var(--plum)}
.header-link:hover::after,.header-link[aria-current=page]::after{transform:scaleX(1)}
.nav-dropdown{position:relative}
.header-more{gap:7px}
.header-more svg{width:10px;height:7px;fill:none;stroke:currentColor;stroke-width:1.3;transition:transform .25s var(--ease)}
.header-more[aria-expanded=true] svg{transform:rotate(180deg)}
.header-resources{display:none;position:absolute;top:calc(100% + 16px);right:-15px;width:310px;padding:9px 21px 12px;background:#faf9f6;border:1px solid var(--line);border-radius:0 0 6px 6px;box-shadow:0 20px 40px #26312f12}
.header-resources.is-open{display:block;animation:header-enter .22s var(--ease) both}
.header-resources-label{display:block;font:500 9px/1.5 var(--body);letter-spacing:.09em;text-transform:uppercase;color:var(--muted);padding:11px 0 5px}
.header-resource{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);transition:color .2s}
.header-resource:last-child{border-bottom:0}
.header-resource>span:first-child{display:flex;flex-direction:column;gap:4px}
.header-resource strong{font:500 14px/1.3 var(--body);letter-spacing:-.015em}
.header-resource small{font:400 11px/1.45 var(--body);color:var(--muted)}
.header-resource>span:last-child{font-size:19px;color:var(--plum);transition:transform .2s}
.header-resource:hover,.header-resource[aria-current=page]{color:var(--plum)}
.header-resource:hover>span:last-child{transform:translate(2px,-2px)}
.site-nav a.header-cta{display:flex;align-items:center;justify-content:space-between;gap:21px;min-height:48px;min-width:208px;padding:9px 13px 9px 16px;background:var(--plum);color:#fff;border:1px solid var(--plum);border-radius:5px;transition:background .25s,border-color .25s}
.site-nav a.header-cta>span{display:flex;flex-direction:column;gap:3px}
.site-nav a.header-cta strong{font:500 12px/1.3 var(--body)}
.site-nav a.header-cta small{font:400 9px/1.4 var(--body);color:#ffffffbf}
.site-nav a.header-cta svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1;transition:transform .25s var(--ease)}
.site-nav a.header-cta:hover{color:#fff;background:#394c42;border-color:#394c42}
.site-nav a.header-cta:hover svg{transform:translate(2px,-2px)}
.header-toggle{display:none}
@keyframes header-enter{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:981px) and (max-width:1150px){.nav-shell{gap:23px}.site-nav{gap:23px}.header-links{gap:20px}.header-link,.header-more{font-size:12px}.wordmark.platform-brand{width:194px}.platform-logo{width:194px;height:35px}.platform-tagline{padding-left:53px;font-size:7px}.site-nav a.header-cta{min-width:196px;gap:16px;padding-inline:12px}.site-nav a.header-cta strong{font-size:11px}}
@media(max-width:980px){
 .nav-shell{height:72px;gap:14px}
 .header-toggle{display:flex;flex:none;flex-direction:row;align-items:center;justify-content:center;gap:11px;width:84px;height:40px;padding:0;border:1px solid var(--line);border-radius:5px;background:transparent;color:var(--ink)}
 .header-toggle .menu-label{width:auto;height:auto;background:none;font:500 11px/1 var(--body);transform:none}
 .header-toggle .menu-icon{display:flex;flex-direction:column;justify-content:center;gap:5px;width:15px;height:16px;background:none;transform:none}
 .menu-icon i{display:block;width:15px;height:1px;background:currentColor;transition:transform .25s var(--ease)}
 .header-toggle[aria-expanded=true] .menu-label,.header-toggle[aria-expanded=true] .menu-icon{transform:none}
 .header-toggle[aria-expanded=true] .menu-icon i:first-child{transform:translateY(3px) rotate(45deg)}
 .header-toggle[aria-expanded=true] .menu-icon i:last-child{transform:translateY(-3px) rotate(-45deg)}
 .site-nav{position:absolute;top:73px;left:calc((100% - 100vw)/2);right:calc((100% - 100vw)/2);display:none;flex-direction:column;align-items:stretch;gap:0;padding:14px max(22px,calc((100vw - 690px)/2)) 23px;margin:0;border-bottom:1px solid var(--line);max-height:calc(100dvh - 73px);overflow-y:auto;background:#faf9f6;box-shadow:0 20px 32px #26312f12}
 .site-nav.is-open{display:flex;animation:header-enter .25s var(--ease)}
 .header-links{display:flex;flex-direction:column;align-items:stretch;gap:0}
 .header-link{justify-content:space-between;padding:13px 0;min-height:51px;border-bottom:1px solid var(--line);font:400 23px/1.25 var(--display);letter-spacing:-.035em}
 .header-link::after{display:none}
 .header-link::before{content:'↗';order:1;font:400 20px/1 var(--body);color:var(--muted)}
 .header-more{display:none}
 .header-resources,.header-resources.is-open{display:grid;position:static;width:auto;padding:15px 0 5px;border:0;border-radius:0;box-shadow:none;grid-template-columns:1fr 1fr;gap:0 20px;animation:none;background:transparent}
 .header-resources-label{grid-column:1/-1;padding:0 0 8px;font-size:9px}
 .header-resource{padding:12px 0;gap:5px}
 .header-resource:nth-last-child(-n+2){border-bottom:0}
 .header-resource strong{font-size:13px}.header-resource small{font-size:10px}.header-resource>span:last-child{font-size:16px}
 .site-nav a.header-cta{margin-top:15px;min-height:53px;padding:11px 16px}.site-nav a.header-cta strong{font-size:13px}.site-nav a.header-cta small{font-size:10px}
}
@media(max-width:560px){.nav-shell{height:70px}.wordmark.platform-brand{width:194px;gap:4px}.platform-logo{width:194px;height:35px}.platform-tagline{font-size:7px;padding-left:53px}.site-nav{top:71px;max-height:calc(100dvh - 71px);padding:11px 18px 20px}.header-resource small{font-size:9px}.header-resources{column-gap:16px}.site-footer .wordmark.platform-brand{width:228px}.site-footer .platform-logo{width:228px;height:41px}.site-footer .platform-tagline{font-size:8px;padding-left:62px}}
@media(max-width:360px){.wordmark.platform-brand{width:180px}.platform-logo{width:180px;height:33px}.platform-tagline{font-size:6.5px;padding-left:49px}.header-toggle{width:77px;gap:8px}.header-link{font-size:21px}.header-resource strong{font-size:12px}.header-resource small{font-size:9px}.header-resources{column-gap:13px}}
@media(prefers-reduced-motion:reduce){.header-resources.is-open,.site-nav.is-open{animation:none}.header-more svg,.header-link::after,.site-nav a.header-cta svg,.menu-icon i{transition:none}}
