/* ?v=2 — в fonts.css добавлена локальная JetBrains Mono, а /resources/*
   отдаётся с `immutable, max-age=1y`, иначе постоянные посетители остались бы
   на старой версии без этого шрифта. */
@import url("/resources/fonts.css?v=3");

/* Единственный источник высоты шапки. Живёт на :root, чтобы страницы могли
   отступать от неё (sticky-панели и т.п.) и не расходиться при брейкпоинтах. */
:root {
  --site-chrome-height: 88px;
}

/* Shared public-site chrome. Everything is scoped to the custom elements. */
site-chrome-header,
site-chrome-footer,
site-contact-dialog {
  --site-chrome-bg: #060709;
  --site-chrome-panel: #0c0e12;
  --site-chrome-panel-raised: #11141a;
  --site-chrome-ink: var(--ink, #f5f5f7);
  --site-chrome-muted: var(--muted, #9999a5);
  --site-chrome-line: var(--line, rgba(255, 255, 255, .11));
  --site-chrome-orange: var(--accent, #ff7820);
  --site-chrome-orange-soft: #ff9c55;
  --site-chrome-cyan: var(--accent-2, #54ded1);
  display: block;
  color: var(--site-chrome-ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: normal;
  line-height: 1.5;
}

site-chrome-header *,
site-chrome-footer *,
site-contact-dialog * {
  box-sizing: border-box;
}

/* Шапка — position:fixed, её ширина равна вьюпорту минус полоса прокрутки, а
   содержимое центрируется внутри. Поэтому любое изменение полосы (короткая
   страница без скролла, открытый модал с overflow:hidden, чужая ширина полосы
   на store/subscribe) сдвигает логотип и меню по горизонтали. Резервируем
   желобок всегда и задаём единую ширину полосы на всех страницах. */
html {
  scrollbar-gutter: stable;
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: #08080a;
}

html::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #26262e;
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--accent, #ff7820);
}

site-chrome-header {
  position: relative;
  z-index: 2100;
  min-height: var(--site-chrome-height);
  isolation: isolate;
}

site-chrome-header + [data-hero] {
  min-height: calc(100svh - var(--site-chrome-height)) !important;
}

.site-chrome__header {
  position: fixed;
  z-index: 2100;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--site-chrome-height);
  border-bottom: 1px solid rgba(255, 120, 32, .2);
  background:
    radial-gradient(560px 130% at 8% 0%, rgba(255, 120, 32, .075), transparent 62%),
    radial-gradient(420px 120% at 96% 0%, rgba(84, 222, 209, .045), transparent 58%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .016) 0 1px, transparent 1px 108px),
    linear-gradient(180deg, #090b0f, #050609);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .22);
  transition: background-color .2s ease, box-shadow .2s ease;
}

/* Bottom hairline: orange -> cyan telemetry fade */
.site-chrome__header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 2%, rgba(255, 120, 32, .78) 14%, rgba(255, 120, 32, .14) 46%, rgba(84, 222, 209, .34) 84%, transparent 98%);
  content: "";
  pointer-events: none;
}

/* Top signal strip with a slow scanning highlight */
.site-chrome__signal {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 120, 32, .5), rgba(255, 120, 32, .07) 38%, rgba(84, 222, 209, .12) 76%, rgba(84, 222, 209, .38));
  pointer-events: none;
}

.site-chrome__signal::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 15%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 130, .9) 45%, #fff 50%, rgba(255, 190, 130, .9) 55%, transparent);
  content: "";
  animation: site-chrome-scan 8s linear infinite;
}

@keyframes site-chrome-scan {
  from { transform: translateX(-140%); }
  to { transform: translateX(820%); }
}

/* Скролл меняет только фон и тень: высота шапки фиксирована, иначе она
   «прыгает» между страницами в зависимости от позиции прокрутки. */
site-chrome-header.is-scrolled .site-chrome__header {
  background-color: rgba(4, 5, 7, .985);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .42);
}

site-chrome-header.is-scrolled .site-chrome__signal {
  opacity: .45;
}

.site-chrome__inner,
.site-chrome__footer-inner {
  width: min(1520px, calc(100% - 64px));
  margin-inline: auto;
}

.site-chrome__inner {
  display: flex;
  min-height: var(--site-chrome-height);
  align-items: center;
  gap: 26px;
}

.site-chrome__brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.site-chrome__brand-mark {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .07), transparent 48%),
    linear-gradient(155deg, #19191e, #090a0d 72%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 120, 32, .48),
    inset 0 -12px 24px rgba(255, 120, 32, .055),
    0 8px 26px rgba(0, 0, 0, .34);
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
  transition: box-shadow .2s ease, transform .2s ease;
}

.site-chrome__brand-mark::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--site-chrome-cyan);
  box-shadow: 0 0 10px rgba(84, 222, 209, .7);
  content: "";
  opacity: .7;
}

.site-chrome__brand-mark::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 1px;
  background: var(--site-chrome-orange);
  box-shadow: 0 0 12px rgba(255, 120, 32, .85);
  content: "";
}

.site-chrome__brand:hover .site-chrome__brand-mark,
.site-chrome__brand:focus-visible .site-chrome__brand-mark {
  box-shadow:
    inset 0 0 0 1px rgba(255, 120, 32, .8),
    inset 0 -12px 24px rgba(255, 120, 32, .1),
    0 0 26px rgba(255, 120, 32, .15);
  transform: translateY(-1px);
}

.site-chrome__brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(255, 255, 255, .12));
}

.site-chrome__brand-copy {
  display: grid;
  gap: 4px;
}

.site-chrome__brand-name {
  font-family: "Russo One", Inter, sans-serif;
  font-size: 1.17rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .095em;
  text-transform: uppercase;
}

@supports (-webkit-background-clip: text) {
  .site-chrome__brand-name {
    background: linear-gradient(120deg, #fff 58%, #ffd9ad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.site-chrome__brand-subtitle {
  color: rgba(255, 255, 255, .5);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .57rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.site-chrome__brand-subtitle i {
  margin-right: 1px;
  color: var(--site-chrome-orange);
  font-style: normal;
  letter-spacing: 0;
  opacity: .9;
}

.site-chrome__nav {
  min-width: 0;
  margin-left: auto;
}

.site-chrome__nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-chrome__link {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  color: #bebec7;
  background: transparent;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .77rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .075em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}

/* HUD target brackets, revealed on hover / locked on the active route */
.site-chrome__link::before,
.site-chrome__link::after {
  position: absolute;
  width: 8px;
  height: 8px;
  content: "";
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}

.site-chrome__link::before {
  top: 8px;
  left: 5px;
  border-top: 1.5px solid var(--site-chrome-orange);
  border-left: 1.5px solid var(--site-chrome-orange);
  transform: translate(3px, 3px);
}

.site-chrome__link::after {
  right: 5px;
  bottom: 8px;
  border-right: 1.5px solid var(--site-chrome-orange);
  border-bottom: 1.5px solid var(--site-chrome-orange);
  transform: translate(-3px, -3px);
}

.site-chrome__link-index {
  color: rgba(255, 120, 32, .5);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .06em;
  transform: translateY(-5px);
  transition: color .18s ease;
}

.site-chrome__link-label {
  position: relative;
  padding-bottom: 2px;
}

.site-chrome__link-label::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--site-chrome-orange), rgba(255, 120, 32, .25));
  box-shadow: 0 0 10px rgba(255, 120, 32, .55);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity .2s ease, transform .22s ease;
}

.site-chrome__link:hover,
.site-chrome__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .03);
}

.site-chrome__link:hover::before,
.site-chrome__link:hover::after,
.site-chrome__link:focus-visible::before,
.site-chrome__link:focus-visible::after {
  opacity: .5;
  transform: translate(0, 0);
}

.site-chrome__link:hover .site-chrome__link-index,
.site-chrome__link:focus-visible .site-chrome__link-index {
  color: var(--site-chrome-orange);
}

.site-chrome__link:hover .site-chrome__link-label::after,
.site-chrome__link:focus-visible .site-chrome__link-label::after {
  opacity: .55;
  transform: scaleX(1);
}

.site-chrome__link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 120, 32, .1), rgba(255, 120, 32, .015));
  text-shadow: 0 0 18px rgba(255, 150, 70, .45);
}

.site-chrome__link[aria-current="page"]::before,
.site-chrome__link[aria-current="page"]::after {
  opacity: 1;
  transform: translate(0, 0);
}

.site-chrome__link[aria-current="page"] .site-chrome__link-index {
  color: var(--site-chrome-orange);
}

.site-chrome__link[aria-current="page"] .site-chrome__link-label::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-chrome__actions {
  display: flex;
  min-width: max-content;
  align-items: center;
  gap: 8px;
  margin-left: 2px;
  padding-left: 20px;
}

/* Slanted divider, echoes the chamfered corners */
.site-chrome__actions::before {
  width: 1px;
  height: 30px;
  margin-right: 12px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .28) 45%, rgba(255, 120, 32, .35) 55%, transparent);
  content: "";
  transform: skewX(-18deg);
}

site-chrome-header button.site-chrome__contact,
site-chrome-header button.site-chrome__language-toggle,
site-chrome-header a.site-chrome__account-link,
site-chrome-header button.site-chrome__profile-toggle {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #eeeef1;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .055em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

site-chrome-header button.site-chrome__contact {
  gap: 9px;
  min-width: 130px;
  padding: 0 15px;
  border: 1px solid rgba(84, 222, 209, .33);
  color: #aaf6ee;
  background: linear-gradient(135deg, rgba(84, 222, 209, .1), rgba(84, 222, 209, .025));
  box-shadow: inset 0 0 16px rgba(84, 222, 209, .025);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

site-chrome-header button.site-chrome__contact:hover,
site-chrome-header button.site-chrome__contact:focus-visible {
  border-color: rgba(84, 222, 209, .75);
  color: #d8fffb;
  background: rgba(84, 222, 209, .14);
  filter: drop-shadow(0 0 14px rgba(84, 222, 209, .22));
  transform: translateY(-1px);
}

/* "Channel open" pulse next to the contacts label */
.site-chrome__ping {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #5ff2e4;
  box-shadow: 0 0 9px rgba(95, 242, 228, .9);
  animation: site-chrome-ping 2.6s ease-in-out infinite;
}

@keyframes site-chrome-ping {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.72); }
}

.site-chrome__icon {
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  flex: 0 0 auto;
  color: inherit;
}

.site-chrome__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-chrome__language,
.site-chrome__profile,
.site-chrome__account {
  position: relative;
}

/* Гостевая кнопка «Войти» и чип профиля имеют разную ширину, а профиль
   появляется асинхронно (и вовсе не появляется на страницах без Supabase —
   privacy/terms/404). Слот фиксирован, содержимое прижато вправо: правый край
   выглядит как раньше, но навигация слева больше не ездит.
   `text-align` дублирует `justify-content`, потому что account.js/auth.js/
   index.html выставляет этим блокам инлайновый `display: block`. */
.site-chrome__account,
.site-chrome__profile {
  display: flex;
  width: 168px;
  justify-content: flex-end;
  flex: 0 0 auto;
  text-align: right;
}

.site-chrome__profile-menu {
  text-align: left;
}

site-chrome-header button.site-chrome__language-toggle,
site-chrome-header button.site-chrome__profile-toggle {
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .035);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

site-chrome-header button.site-chrome__language-toggle:hover,
site-chrome-header button.site-chrome__language-toggle:focus-visible,
site-chrome-header button.site-chrome__profile-toggle:hover,
site-chrome-header button.site-chrome__profile-toggle:focus-visible {
  border-color: rgba(255, 120, 32, .48);
  color: #fff;
  background: rgba(255, 120, 32, .08);
}

/* Sign-in: the one filled, primary action in the bar */
site-chrome-header a.site-chrome__account-link {
  gap: 8px;
  min-width: 92px;
  padding: 0 16px;
  color: #1c0d02;
  background: linear-gradient(160deg, #ffa14f, var(--site-chrome-orange) 52%, #ef6a12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

site-chrome-header a.site-chrome__account-link .site-chrome__icon {
  width: 15px;
  height: 15px;
  transition: transform .18s ease;
}

site-chrome-header a.site-chrome__account-link .site-chrome__icon svg {
  stroke-width: 2.4;
}

site-chrome-header a.site-chrome__account-link:hover,
site-chrome-header a.site-chrome__account-link:focus-visible {
  color: #140900;
  filter: drop-shadow(0 0 16px rgba(255, 130, 40, .45)) brightness(1.07);
  transform: translateY(-1px);
}

site-chrome-header a.site-chrome__account-link:hover .site-chrome__icon,
site-chrome-header a.site-chrome__account-link:focus-visible .site-chrome__icon {
  transform: translateX(3px);
}

/* ==========================================================================
   Две двери входа

   Кнопка «Войти» ведёт в дверь, которой человек пользовался в прошлый раз
   (по умолчанию — владельца арены). Флайаут под ней называет обе вслух, чтобы
   игроку не пришлось догадываться, что кабинет владельца — не его.

   Меню открывается по ховеру слота и по клавиатурному фокусу. Когда человек
   вошёл, site-chrome.js ставит на меню атрибут `hidden`, и никакой ховер его
   уже не поднимет.
   ========================================================================== */
.site-chrome__account-menu {
  position: absolute;
  z-index: 7;
  top: calc(100% + 12px);
  right: 0;
  min-width: 268px;
  padding: 10px 0 6px;
  border: 1px solid rgba(255, 120, 32, .32);
  background:
    linear-gradient(180deg, rgba(255, 120, 32, .07), transparent 34%),
    rgba(8, 9, 12, .985);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .55));
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateY(-6px);
  visibility: hidden;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

/* Мостик через воздух между кнопкой и меню: без него курсор по дороге вниз
   выходит из слота и меню схлопывается на полпути. */
.site-chrome__account::after {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 14px;
  content: "";
  /* Мостик оживает только под курсором: иначе он висел бы прозрачной полосой
     над страницей и съедал клики по тому, что оказалось под шапкой. */
  pointer-events: none;
}

.site-chrome__account:hover::after {
  pointer-events: auto;
}

.site-chrome__account:hover .site-chrome__account-menu,
.site-chrome__account:focus-within .site-chrome__account-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.site-chrome__account-menu-title {
  margin: 0;
  padding: 4px 15px 9px;
  color: var(--site-chrome-muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

site-chrome-header a.site-chrome__door {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  padding: 10px 15px;
  border: 0;
  border-radius: 0;
  color: #cfcfd6;
  background: transparent;
  font-family: Inter, "Segoe UI", sans-serif;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
}

site-chrome-header a.site-chrome__door:hover,
site-chrome-header a.site-chrome__door:focus-visible {
  color: #fff;
  background: linear-gradient(90deg, rgba(255, 120, 32, .16), rgba(255, 120, 32, .05));
  box-shadow: inset 2px 0 0 var(--site-chrome-orange);
}

.site-chrome__door .site-chrome__icon {
  width: 21px;
  height: 21px;
  color: var(--site-chrome-orange);
}

.site-chrome__door-copy {
  display: grid;
  gap: 2px;
}

.site-chrome__door-title {
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.25;
}

.site-chrome__door-hint {
  color: var(--site-chrome-muted);
  font-size: .72rem;
  font-weight: 550;
  line-height: 1.3;
}

.site-chrome__caret,
.site-chrome__profile-caret {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: margin .18s ease, transform .18s ease;
}

.site-chrome__language.is-open .site-chrome__caret {
  margin-top: 4px;
  transform: rotate(225deg);
}

.site-chrome__language-menu,
.site-chrome__profile-menu {
  position: absolute;
  z-index: 6;
  top: calc(100% + 12px);
  right: 0;
  min-width: 176px;
  overflow: hidden;
  padding-top: 2px;
  border: 1px solid rgba(255, 120, 32, .32);
  background:
    linear-gradient(180deg, rgba(255, 120, 32, .07), transparent 34%),
    rgba(8, 9, 12, .985);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .55));
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  visibility: hidden;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.site-chrome__language-menu::before,
.site-chrome__profile-menu::before {
  position: absolute;
  top: 0;
  left: 10px;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--site-chrome-orange), transparent);
  box-shadow: 0 0 12px rgba(255, 120, 32, .6);
  content: "";
}

.site-chrome__language.is-open .site-chrome__language-menu,
.site-chrome__profile.is-open .site-chrome__profile-menu,
.site-chrome__profile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.site-chrome__profile.is-open .site-chrome__profile-caret {
  margin-top: 4px;
  transform: rotate(225deg);
}

site-chrome-header .site-chrome__language-menu button,
site-chrome-header .site-chrome__profile-menu a,
site-chrome-header .site-chrome__profile-menu button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 0;
  color: #cfcfd6;
  background: transparent;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

site-chrome-header .site-chrome__profile-menu [hidden] {
  display: none !important;
}

site-chrome-header .site-chrome__language-menu button:hover,
site-chrome-header .site-chrome__language-menu button:focus-visible,
site-chrome-header .site-chrome__profile-menu a:hover,
site-chrome-header .site-chrome__profile-menu a:focus-visible,
site-chrome-header .site-chrome__profile-menu button:hover,
site-chrome-header .site-chrome__profile-menu button:focus-visible,
site-chrome-header .site-chrome__language-menu button.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(255, 120, 32, .16), rgba(255, 120, 32, .05));
  box-shadow: inset 2px 0 0 var(--site-chrome-orange);
}

.site-chrome__language-menu button.is-active::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--site-chrome-orange);
  box-shadow: 0 0 8px rgba(255, 120, 32, .8);
  content: "";
}

.site-chrome__profile-menu {
  min-width: 230px;
}

.site-chrome__profile-heading {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-chrome__profile-email {
  display: block;
  overflow: hidden;
  color: var(--site-chrome-muted);
  font-size: .76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-chrome__profile-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  flex: 0 0 auto;
  color: #1b0b02;
  background: linear-gradient(135deg, #ffa14f, var(--site-chrome-orange) 60%, #ef6a12);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-family: Inter, sans-serif;
  font-size: .76rem;
  font-weight: 900;
}

/* Подобрано так, чтобы чип профиля с самым длинным именем укладывался в
   фиксированные 168px слота `.site-chrome__profile`. */
.site-chrome__profile-name {
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
}

site-chrome-header button.site-chrome__menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  background: rgba(255, 255, 255, .04);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  cursor: pointer;
}

.site-chrome__menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transform-origin: center;
  transition: opacity .18s ease, transform .18s ease;
}

site-chrome-header.is-menu-open .site-chrome__menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

site-chrome-header.is-menu-open .site-chrome__menu-toggle span:nth-child(2) {
  opacity: 0;
}

site-chrome-header.is-menu-open .site-chrome__menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-chrome__mobile {
  position: absolute;
  z-index: 5;
  top: 100%;
  right: 0;
  left: 0;
  max-height: calc(100dvh - 74px);
  overflow-y: auto;
  border-bottom: 1px solid rgba(255, 120, 32, .25);
  background:
    radial-gradient(420px 60% at 12% 0%, rgba(255, 120, 32, .05), transparent 60%),
    rgba(5, 6, 8, .985);
  box-shadow: 0 28px 52px rgba(0, 0, 0, .52);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.site-chrome__mobile-index {
  color: rgba(255, 120, 32, .55);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.site-chrome__mobile-inner {
  display: grid;
  gap: 4px;
  width: min(100% - 32px, 760px);
  margin-inline: auto;
  padding: 15px 0 22px;
}

/* Footer */
.site-chrome__footer {
  margin-top: 80px;
  border-top: 1px solid rgba(255, 120, 32, .22);
  color: #d5d5da;
  background:
    linear-gradient(135deg, rgba(255, 120, 32, .025), transparent 30%),
    #050608;
}

.site-chrome__footer-inner {
  padding: 58px 0 24px;
}

.site-chrome__footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(132px, 1fr));
  gap: 32px;
}

.site-chrome__footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: "Russo One", Inter, sans-serif;
  font-size: 1.02rem;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-chrome__footer-brand img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.site-chrome__footer-copy {
  max-width: 390px;
  margin: 17px 0 0;
  color: var(--site-chrome-muted);
  font-size: .89rem;
  line-height: 1.7;
}

.site-chrome__socials {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.site-chrome__socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: #bdbdc7;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.site-chrome__socials a:hover,
.site-chrome__socials a:focus-visible {
  border-color: rgba(255, 120, 32, .58);
  color: #fff;
  background: rgba(255, 120, 32, .1);
}

.site-chrome__footer-title {
  margin: 4px 0 17px;
  color: var(--site-chrome-orange-soft);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .71rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-chrome__footer-links {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-chrome__footer-links a {
  color: #aaaab4;
  font-size: .87rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color .18s ease;
}

.site-chrome__footer-links a:hover,
.site-chrome__footer-links a:focus-visible {
  color: #fff;
}

site-chrome-footer button.site-chrome__footer-contact-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -4px 0 14px;
  padding: 0 13px;
  border: 1px solid rgba(84, 222, 209, .28);
  border-radius: 8px;
  color: #b9fff8;
  background: rgba(84, 222, 209, .06);
  font-family: Inter, sans-serif;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}

site-chrome-footer button.site-chrome__footer-contact-button:hover,
site-chrome-footer button.site-chrome__footer-contact-button:focus-visible {
  border-color: rgba(84, 222, 209, .62);
  background: rgba(84, 222, 209, .12);
}

.site-chrome__footer-contact-button .site-chrome__icon {
  width: 16px;
  height: 16px;
}

.site-chrome__footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #777782;
  font-size: .78rem;
}

.site-chrome__footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-chrome__footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.site-chrome__footer-bottom a:hover,
.site-chrome__footer-bottom a:focus-visible {
  color: #fff;
}

/* Contact dialog */
site-contact-dialog {
  position: fixed;
  z-index: 2147483600;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

site-contact-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.site-contact__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 120, 32, .1), transparent 42%),
    rgba(2, 3, 5, .84);
  backdrop-filter: blur(16px) saturate(110%);
  -webkit-backdrop-filter: blur(16px) saturate(110%);
}

.site-contact__panel {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  max-height: min(820px, calc(100dvh - 40px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .14);
  background:
    linear-gradient(135deg, rgba(255, 120, 32, .085), transparent 28%),
    linear-gradient(225deg, rgba(84, 222, 209, .055), transparent 30%),
    var(--site-chrome-panel);
  box-shadow: 0 36px 110px rgba(0, 0, 0, .72);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: opacity .2s ease, transform .2s ease;
}

site-contact-dialog.is-open .site-contact__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-contact__panel::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 18px;
  width: 118px;
  height: 2px;
  background: linear-gradient(90deg, var(--site-chrome-orange), transparent);
  box-shadow: 0 0 16px rgba(255, 120, 32, .5);
  content: "";
  pointer-events: none;
}

.site-contact__head {
  position: relative;
  padding: 29px 76px 24px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .085);
  background: rgba(255, 255, 255, .018);
}

.site-contact__heading-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-contact__mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(84, 222, 209, .34);
  color: #aaf8f0;
  background: rgba(84, 222, 209, .08);
  box-shadow: inset 0 0 22px rgba(84, 222, 209, .04);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.site-contact__mark .site-chrome__icon {
  width: 27px;
  height: 27px;
}

.site-contact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--site-chrome-cyan);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .64rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-contact__eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--site-chrome-cyan);
  box-shadow: 0 0 10px rgba(84, 222, 209, .8);
}

.site-contact__head h2 {
  margin: 0;
  color: #fff;
  font-family: "Russo One", Inter, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .02em;
}

.site-contact__head > p {
  max-width: 640px;
  margin: 14px 0 0 72px;
  color: var(--site-chrome-muted);
  font-size: .92rem;
  line-height: 1.65;
}

site-contact-dialog button.site-contact__close {
  position: absolute;
  top: 25px;
  right: 25px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  color: #b4b4be;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease, transform .18s ease;
}

site-contact-dialog button.site-contact__close:hover,
site-contact-dialog button.site-contact__close:focus-visible {
  border-color: rgba(255, 120, 32, .55);
  color: #fff;
  background: rgba(255, 120, 32, .1);
  transform: rotate(2deg);
}

.site-contact__close .site-chrome__icon {
  width: 21px;
  height: 21px;
}

.site-contact__body {
  display: grid;
  gap: 25px;
  padding: 24px 30px 28px;
}

.site-contact__section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .58);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .67rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-contact__section-title::before {
  width: 17px;
  height: 1px;
  background: var(--site-chrome-orange);
  content: "";
}

.site-contact__direct-grid,
.site-contact__extra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.site-contact__link {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 146px;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .105);
  border-radius: 11px;
  color: var(--site-chrome-ink);
  background: rgba(255, 255, 255, .032);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.site-contact__link::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 1px;
  background: var(--site-chrome-cyan);
  content: "";
  opacity: .45;
}

.site-contact__link:hover,
.site-contact__link:focus-visible {
  border-color: rgba(255, 120, 32, .48);
  color: #fff;
  background: rgba(255, 120, 32, .075);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  transform: translateY(-2px);
}

.site-contact__link-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(84, 222, 209, .22);
  border-radius: 9px;
  color: var(--site-chrome-cyan);
  background: rgba(84, 222, 209, .075);
}

.site-contact__link-icon .site-chrome__icon {
  width: 21px;
  height: 21px;
}

.site-contact__link-copy {
  min-width: 0;
}

.site-contact__link-copy strong {
  display: block;
  color: #f4f4f6;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.3;
}

.site-contact__link-copy > span {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: var(--site-chrome-muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .72rem;
  line-height: 1.4;
}

.site-contact__link-arrow {
  position: absolute;
  top: 17px;
  right: 16px;
  color: rgba(255, 255, 255, .28);
  transition: color .18s ease, transform .18s ease;
}

.site-contact__link-arrow .site-chrome__icon {
  width: 17px;
  height: 17px;
}

.site-contact__link:hover .site-contact__link-arrow,
.site-contact__link:focus-visible .site-contact__link-arrow {
  color: var(--site-chrome-orange-soft);
  transform: translateX(2px);
}

.site-contact__link--compact {
  min-height: 92px;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 13px 42px 13px 13px;
}

.site-contact__link--compact .site-contact__link-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
}

.site-contact__link--compact .site-contact__link-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.site-contact__link--compact:hover .site-contact__link-arrow,
.site-contact__link--compact:focus-visible .site-contact__link-arrow {
  transform: translate(2px, -50%);
}

.site-contact__note {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 13px 30px 15px;
  border-top: 1px solid rgba(255, 255, 255, .075);
  color: #b5b5be;
  background: rgba(255, 255, 255, .018);
}

.site-contact__note p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.5;
}

.site-contact__status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #67e7a4;
  box-shadow: 0 0 10px rgba(103, 231, 164, .72);
}

body.site-contact-open,
body.site-chrome-menu-open {
  overflow: hidden !important;
}

/* Keep the company contact dialog above third-party support widgets. */
body.site-contact-open > jdiv,
body.site-contact-open > iframe[src*="jivo"] {
  visibility: hidden !important;
}

/* Scoped keyboard focus */
site-chrome-header :focus-visible,
site-chrome-footer :focus-visible,
site-contact-dialog :focus-visible {
  outline: 2px solid var(--site-chrome-orange-soft);
  outline-offset: 3px;
}

/* "Скачать лаунчер" is the longest nav label; where the bar gets tight it
   wraps onto two lines instead of pushing the menu under the logo. */
@media (max-width: 1600px) {
  site-chrome-header .site-chrome__link[data-route="launcher"] .site-chrome__link-label {
    width: min-content;
    line-height: 1.05;
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 1280px) {
  .site-chrome__inner {
    gap: 17px;
  }

  .site-chrome__link {
    gap: 5px;
    padding-inline: 11px;
  }

  .site-chrome__link::before {
    left: 2px;
  }

  .site-chrome__link::after {
    right: 2px;
  }

  .site-chrome__actions {
    padding-left: 13px;
  }

  .site-chrome__actions::before {
    margin-right: 8px;
  }

  site-chrome-header button.site-chrome__contact {
    min-width: auto;
    padding-inline: 12px;
  }
}

@media (max-width: 1120px) {
  :root {
    --site-chrome-height: 74px;
  }

  .site-chrome__inner,
  .site-chrome__footer-inner {
    width: min(100% - 32px, 1520px);
  }

  .site-chrome__inner,
  .site-chrome__header {
    min-height: var(--site-chrome-height);
  }

  .site-chrome__brand-mark {
    width: 46px;
    height: 46px;
  }

  .site-chrome__brand-mark img {
    width: 31px;
    height: 31px;
  }

  .site-chrome__brand-name {
    font-size: 1.04rem;
  }

  .site-chrome__nav,
  .site-chrome__actions {
    display: none;
  }

  site-chrome-header button.site-chrome__menu-toggle {
    display: block;
  }

  site-chrome-header.is-menu-open .site-chrome__mobile {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  site-chrome-header .site-chrome__mobile a,
  site-chrome-header .site-chrome__mobile button {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    color: #d0d0d7;
    background: transparent;
    font-family: "JetBrains Mono", Consolas, monospace;
    font-size: .79rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: .075em;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
  }

  site-chrome-header .site-chrome__mobile [hidden] {
    display: none !important;
  }

  site-chrome-header .site-chrome__mobile a:hover,
  site-chrome-header .site-chrome__mobile a:focus-visible,
  site-chrome-header .site-chrome__mobile button:hover,
  site-chrome-header .site-chrome__mobile button:focus-visible {
    color: #fff;
    background: rgba(255, 120, 32, .11);
  }

  site-chrome-header .site-chrome__mobile a[aria-current="page"] {
    color: #fff;
    background: linear-gradient(90deg, rgba(255, 120, 32, .16), transparent 76%);
    box-shadow: inset 2px 0 0 var(--site-chrome-orange);
  }

  site-chrome-header .site-chrome__mobile button.site-chrome__mobile-contact {
    color: #aaf8ef;
    background: rgba(84, 222, 209, .055);
  }

  site-chrome-header .site-chrome__mobile .site-chrome__mobile-account {
    color: #ffae73;
  }

  /* На телефоне выпадающего меню нет, поэтому обе двери стоят рядом и
     подписаны целиком — «Владельцу VR-арены» и «Игроку». Разный цвет читается
     быстрее подписи: янтарь — бизнес, бирюза — игра. */
  .site-chrome__mobile-logins {
    display: grid;
    gap: 6px;
    padding: 6px 0 0;
  }

  site-chrome-header .site-chrome__mobile .site-chrome__mobile-account--door {
    border: 1px solid rgba(255, 120, 32, .28);
    background: rgba(255, 120, 32, .07);
  }

  site-chrome-header .site-chrome__mobile .site-chrome__mobile-account--door[data-audience-door="player"] {
    border-color: rgba(84, 222, 209, .3);
    color: #9df1e8;
    background: rgba(84, 222, 209, .07);
  }

  .site-chrome__mobile-account--door .site-chrome__icon {
    width: 18px;
    height: 18px;
  }

  /* Дверь, которой человек уже пользовался, помечена полосой слева. */
  site-chrome-header .site-chrome__mobile .site-chrome__mobile-account--door[data-audience-last] {
    box-shadow: inset 3px 0 0 currentColor;
  }

  .site-chrome__mobile-language {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 9px 0 0;
  }

  site-chrome-header .site-chrome__mobile-language button {
    min-height: 44px;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .025);
  }

  site-chrome-header .site-chrome__mobile-language button.is-active {
    border-color: rgba(255, 120, 32, .52);
    color: #fff;
    background: rgba(255, 120, 32, .1);
  }

  .site-chrome__footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-chrome__footer-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  site-contact-dialog {
    align-items: end;
    padding: 10px;
  }

  .site-contact__panel {
    width: 100%;
    max-height: calc(100dvh - 20px);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  }

  .site-contact__head {
    padding: 23px 61px 20px 20px;
  }

  .site-contact__heading-row {
    gap: 12px;
  }

  .site-contact__mark {
    width: 48px;
    height: 48px;
  }

  .site-contact__mark .site-chrome__icon {
    width: 23px;
    height: 23px;
  }

  .site-contact__head h2 {
    font-size: 1.45rem;
  }

  .site-contact__head > p {
    margin: 13px 0 0;
    font-size: .86rem;
  }

  site-contact-dialog button.site-contact__close {
    top: 18px;
    right: 17px;
    width: 41px;
    height: 41px;
  }

  .site-contact__body {
    gap: 22px;
    padding: 20px;
  }

  .site-contact__direct-grid,
  .site-contact__extra-grid {
    grid-template-columns: 1fr;
  }

  .site-contact__link,
  .site-contact__link--compact {
    min-height: 82px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 13px 42px 13px 13px;
  }

  .site-contact__link-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .site-contact__link-arrow,
  .site-contact__link--compact .site-contact__link-arrow {
    top: 50%;
    transform: translateY(-50%);
  }

  .site-contact__link:hover .site-contact__link-arrow,
  .site-contact__link:focus-visible .site-contact__link-arrow,
  .site-contact__link--compact:hover .site-contact__link-arrow,
  .site-contact__link--compact:focus-visible .site-contact__link-arrow {
    transform: translate(2px, -50%);
  }

  .site-contact__note {
    align-items: flex-start;
    padding: 13px 20px 17px;
  }
}

@media (max-width: 640px) {
  .site-chrome__brand-subtitle {
    display: none;
  }

  .site-chrome__brand {
    gap: 11px;
  }

  .site-chrome__footer {
    margin-top: 54px;
  }

  .site-chrome__footer-inner {
    padding-top: 44px;
  }

  .site-chrome__footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 31px 20px;
  }

  .site-chrome__footer-intro {
    grid-column: 1 / -1;
  }

  .site-chrome__footer-contact {
    grid-column: 1 / -1;
  }

  .site-chrome__footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 35px;
  }
}

@media (max-width: 390px) {
  .site-chrome__inner {
    width: calc(100% - 24px);
  }

  .site-chrome__brand-mark {
    width: 43px;
    height: 43px;
  }

  .site-chrome__brand-name {
    font-size: .96rem;
  }

  site-chrome-header button.site-chrome__menu-toggle {
    width: 44px;
    height: 44px;
  }

  .site-contact__eyebrow {
    font-size: .58rem;
    letter-spacing: .1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-chrome__header *,
  .site-chrome__mobile,
  site-contact-dialog,
  .site-contact__panel,
  .site-contact__link {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .site-chrome__signal::after,
  .site-chrome__ping {
    animation: none !important;
  }
}

@media print {
  site-chrome-header,
  site-chrome-footer,
  site-contact-dialog {
    display: none !important;
  }
}

/* Static content remains usable before custom-element upgrade and without JS. */
.site-chrome-fallback { display:flex; flex-wrap:wrap; gap:.75rem 1.5rem; align-items:center; max-width:var(--shell-max, 1280px); margin:auto; padding:1rem; color:var(--reset-cream, inherit); }
.site-chrome-fallback a { color:inherit; text-decoration:underline; text-underline-offset:.2em; }
