/* The one header every page of the site wears, the home included. The web app keeps its own. */

.site-head {
  position: relative;
  z-index: 3;
  background: #17111c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #f7f3fa;
  line-height: 1.3;
}
.site-head-row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: #f7f3fa;
  text-decoration: none;
}
.site-logo img { display: block; width: 34px; height: 34px; border-radius: 10px; }

.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; }
.site-nav a, .site-signin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c3b8cf;
  font-size: 15px;
  text-decoration: none;
}
.site-signin { padding-inline: 2px; }
.site-nav a:hover, .site-signin:hover, .site-tabs a:hover { color: #fff; }
.site-nav a[aria-current] { color: #fff; font-weight: 600; }

.site-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 79, 163, 0.14);
  border: 1px solid rgba(255, 79, 163, 0.5);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s;
}
.site-cta:hover { background: rgba(255, 79, 163, 0.24); }
.site-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-tabs { display: none; }

@media (max-width: 760px) {
  .site-head-row { padding: 10px 16px 4px; gap: 14px; }
  .site-logo { font-size: 17px; }
  .site-logo img { width: 30px; height: 30px; }
  .site-nav, .site-head-row > .site-signin { display: none; }
  .site-cta { margin-left: auto; min-height: 40px; padding: 0 14px; font-size: 14px; }
  .site-cta svg { display: none; }

  .site-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-tabs::-webkit-scrollbar { display: none; }
  .site-tabs a {
    position: relative;
    flex: none;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c3b8cf;
    font-size: 13.5px;
    white-space: nowrap;
    text-decoration: none;
  }
  .site-tabs a[aria-current] { background: rgba(255, 255, 255, 0.08); color: #fff; font-weight: 600; border-color: transparent; }
  .site-tabs .site-signin { min-height: 0; margin-left: auto; border: 0; padding: 7px 2px; }
  /* Chips stay small to the eye; their touch area reaches 44px into the row's padding. */
  .site-tabs a::before, .site-cta::before { content: ""; position: absolute; inset: -6px 0; }
}
