.site-header {
  position: relative;
  z-index: 50;
  background: #080808;
  font: 400 16px/1.6 'IBM Plex Sans', system-ui, sans-serif;
}

.site-header--sticky { position: sticky; top: 0; }

.site-header__row {
  max-width: 1184px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__home { flex: none; }
.site-header__home img { display: block; width: 92px; height: auto; }
.site-header__nav, .site-header__links { display: flex; align-items: center; gap: 30px; }
.site-header a { text-decoration: none; }
.site-header__links a { color: #aba69d; white-space: nowrap; }
.site-header__links a:hover, .site-header__links a[aria-current] { color: #eee; }

.site-header__install, .site-header__menu {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: #c2394b;
  font: 500 15px/1.2 'IBM Plex Sans', system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

.site-header__install:hover { background: #d24558; }
.site-header__menu { display: none; background: transparent; border-color: #555; }
.site-header :focus-visible { outline: 2px solid #ef8e9b; outline-offset: 3px; }

@media (max-width: 850px) {
  .site-header__row { padding-inline: 20px; gap: 12px; }
  .site-header__home img { width: 80px; }
  .site-header__nav, .site-header__links { flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; }
  .site-header__menu:not([hidden]) { display: inline-flex; }
  .site-header__menu:not([hidden])[aria-expanded="false"] + .site-header__links { display: none; }
  .site-header__menu[aria-expanded="true"] + .site-header__links {
    position: absolute;
    top: calc(100% - 12px);
    right: 20px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    min-width: 180px;
    padding: 6px;
    border: 1px solid #383534;
    border-radius: 12px;
    background: #171715;
  }
  .site-header__menu[aria-expanded="true"] + .site-header__links a { padding: 10px 14px; }
}

@media print { .site-header { display: none; } }
