.brand[data-home-link="true"] {
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.brand[data-home-link="true"]:hover {
  background: rgba(157, 255, 0, 0.06);
}

.brand[data-home-link="true"]:focus-visible {
  outline: 2px solid #9dff00;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(157, 255, 0, 0.12);
}

.scroll-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #b2ff3d;
  border-radius: 50%;
  background: #9dff00;
  color: #070809;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.48), 0 0 22px rgba(157, 255, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.92);
  transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.scroll-to-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
  background: #b3ff42;
}

.scroll-to-top:focus-visible {
  outline: 3px solid #f5f7f8;
  outline-offset: 3px;
}

.scroll-to-top svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

@media (max-width: 720px) {
  .scroll-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand[data-home-link="true"],
  .scroll-to-top {
    transition: none;
  }
}
