/* Шапка сайта для страниц без tools.css (Что нового, соглашение, политика, «Спасибо»).
   Правила — те же, что в tools.css / на главной: шапка везде одинаковая. */
header.site{--orange:#FF6600; --orange-hover:#e25c00; --ink:#1f2937; --muted:#64748b; --line:#e5e7eb;
  --shadow-md:0 4px 12px rgba(15,23,42,.06), 0 12px 28px rgba(15,23,42,.06); --ease:cubic-bezier(.16,.84,.44,1);
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.82); backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid transparent; transition:border-color .25s, box-shadow .25s; font-family:'Onest',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
header.site.scrolled{border-bottom-color:var(--line); box-shadow:0 1px 0 rgba(15,23,42,.02)}
header.site a{text-decoration:none; color:inherit}
header.site .wrap.nav{max-width:1200px; margin:0 auto; padding:0 24px; display:flex; align-items:center; gap:32px; height:68px}
header.site .brand{display:flex; align-items:center; gap:10px; font-weight:800; font-size:19px; letter-spacing:-.01em; color:var(--ink)}
header.site .brand .ico{width:30px; height:30px; flex:none}
header.site .brand .word .accent{color:var(--orange)}
header.site .nav-links{display:flex; gap:28px; margin-left:8px}
header.site .nav-links a{font-size:14.5px; font-weight:500; color:var(--muted); transition:color .18s; position:relative; padding:6px 0}
header.site .nav-links a:hover, header.site .nav-links a[aria-current="page"]{color:var(--ink)}
header.site .nav-links a::after{content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--orange);
  transform:scaleX(0); transform-origin:left; transition:transform .22s var(--ease)}
header.site .nav-links a:hover::after, header.site .nav-links a[aria-current="page"]::after{transform:scaleX(1)}
header.site .nav-cta{margin-left:auto}
header.site .nav-links a{white-space:nowrap}
@media (max-width:1180px){ header.site .wrap.nav{gap:20px} header.site .nav-links{gap:18px} }
header.site .btn{display:inline-flex; align-items:center; justify-content:center; gap:9px; font-weight:600; font-size:15px;
  padding:13px 22px; border-radius:11px; border:1px solid transparent; cursor:pointer; transition:all .2s var(--ease); white-space:nowrap; line-height:1}
header.site .btn-primary{background:var(--orange); color:#fff; box-shadow:0 6px 16px rgba(255,102,0,.28)}
header.site .btn-primary:hover{background:var(--orange-hover); transform:translateY(-1px)}
header.site .burger{display:none; margin-left:auto; background:none; border:1px solid var(--line); border-radius:9px; width:42px; height:42px; cursor:pointer; align-items:center; justify-content:center}
@media (max-width:960px){
  header.site .nav-links, header.site .nav-cta{display:none}
  header.site .nav-links.open{display:flex; position:absolute; top:68px; left:0; right:0; flex-direction:column; background:#fff; border-bottom:1px solid var(--line); padding:16px 24px; gap:4px; box-shadow:var(--shadow-md)}
  header.site .nav-links.open a{padding:12px 0; font-size:16px}
  header.site .nav-links.open a::after{display:none}
  header.site .burger{display:flex}
}
