.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .25s ease, box-shadow .25s ease; color: white; }
.site-header.scrolled { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 var(--line, #e5e7ef); backdrop-filter: blur(14px); color: var(--ink, #15172f); }
.site-header a { color: inherit; }
.site-header .container { width: min(calc(100% - 48px), var(--container, 1180px)); margin: 0 auto; }
.nav-wrap { min-height: 84px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 156px; height: auto; }
.brand .brand-dark-mobile, .brand .brand-light-mobile { display: none; }
.brand-dark { display: none; }
.site-header.scrolled .brand-dark { display: block; }
.site-header.scrolled .brand-light { display: none; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 700; }
.main-nav a, .nav-app-link { opacity: .78; transition: opacity .2s ease; }
.main-nav a:hover, .nav-app-link:hover { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-app-link { display: flex; align-items: center; font-size: 14px; font-weight: 800; }
.site-header .button-small { min-height: 44px; background: var(--blue-2, #075be3); color: white; box-shadow: 0 10px 24px rgba(0,70,200,.22); }
.site-header--minimal .nav-actions { margin-left: auto; }
.nav-app-icon { display: none; }
.mobile-beta-sticker { display: none; }

@media (max-width: 1050px) {
  .main-nav { display: none; }
}

@media (max-width: 720px) {
  .site-header .container { width: min(calc(100% - 28px), var(--container, 1180px)); }
  .nav-wrap { min-height: 70px; gap: 8px; }
  .site-header .brand .brand-dark, .site-header .brand .brand-light { display: none; }
  .brand .brand-dark-mobile, .brand .brand-light-mobile { width: 38px; height: 38px; }
  .brand .brand-light-mobile { display: block; }
  .site-header.scrolled .brand-light-mobile { display: none; }
  .site-header.scrolled .brand-dark-mobile { display: block; }
  .main-nav { display: flex; flex: 0 1 auto; justify-content: flex-end; gap: clamp(4px, 1.6vw, 8px); min-width: 0; margin-left: auto; font-size: clamp(10px, 3vw, 12px); }
  .main-nav a { white-space: nowrap; }
  .nav-actions { gap: 0; }
  .nav-app-link { justify-content: center; min-width: 32px; min-height: 40px; }
  .nav-app-label, .button-small { display: none; }
  .nav-app-icon { display: inline-block; font-size: 24px; }
  .mobile-beta-sticker:not([hidden]) { position: fixed; top: 78px; right: 14px; z-index: 99; display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; background: var(--blue); color: white; box-shadow: 0 8px 24px rgba(0, 24, 80, .28); font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; line-height: 1.25; }
  .mobile-beta-sticker:focus-visible { outline: 3px solid var(--ink, #15172f); outline-offset: 3px; }
}
