/* ── Фоновые соты ─────────────────────────────────────────────────────────*/
.bg {
  position: fixed;
  inset: 0 0 auto;
  height: 100lvh;
  z-index: var(--z-bg);
  overflow: hidden;
  clip-path: inset(0);
  pointer-events: none;
}

.hx {
  position: absolute;
  width: var(--s, 300px);
  aspect-ratio: 1/1;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--c, rgba(255, 255, 255, 0.34));
  will-change: transform;
}

.hx--glass {
  background: var(--glass-sheen), rgba(231, 237, 245, 0.42);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}

.hx--honey {
  background: linear-gradient(160deg, rgba(255, 166, 0, 0.22), rgba(255, 166, 0, 0.05));
}

/* Плотнее на стартовом экране, редко ниже. */
.bg--home .hx:nth-child(1) {
  --s: 430px;
  top: -6%;
  left: 12%;
}

.bg--home .hx:nth-child(2) {
  --s: 520px;
  top: 2%;
  right: -200px;
}

.bg--home .hx:nth-child(3) {
  --s: 230px;
  top: 34%;
  left: -70px;
}

.bg--home .hx:nth-child(4) {
  --s: 300px;
  top: 78%;
  right: -90px;
}

.bg--home .hx:nth-child(5) {
  --s: 230px;
  top: 128%;
  left: 20%;
}

/* ── Шапка ────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 3.4vw, 48px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
}

/* «УЛЕЙ» — Rubik SemiBold, ровно как логотип в приложении. */
.brand__word {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  color: var(--ink-0);
  letter-spacing: 0.02em;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-0);
  padding: 9px 9px 9px 16px;
  border-radius: var(--r-pill);
  cursor: pointer;
  background: var(--glass-sheen), var(--glass-tint);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  transition:
    border-color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out),
    transform 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .pill:hover {
    border-color: #fff;
    box-shadow: 0 8px 26px rgba(20, 24, 33, 0.18);
  }
}

.pill:active {
  transform: scale(var(--press-scale));
}

.pill__drop {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: var(--r-pill);
  background: rgba(23, 25, 30, 0.06);
  color: var(--ink-0);
}


@media (hover: hover) and (pointer: fine) {
  .pill--early:hover {
    background: var(--honey);
    border-color: var(--honey);
    box-shadow: 0 10px 26px -10px rgba(255, 166, 0, 0.9);
  }
}
