/* Shared decorative header treatment; page copy and navigation remain in front. */
.circuit-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b1116 !important;
  animation: none !important;
}
.circuit-header::before, .circuit-header::after { display: none; }
.circuit-header > :not(canvas) { position: relative; z-index: 1; }
.circuit-header > #circuit-pulses {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1 !important;
}

/* Plain footer echoes the header background without adding more animation. */
.site-footer { background: #0b1116; }
/* Homepage hero only: the Home User button is a solid off-white box with dark text,
   so it reads as a real button while the orange one stays the first thing seen. */
.hero-buttons .btn-outline {
  background: #e6eaee;
  color: #0b1116;
  border-color: #e6eaee;
}
.hero-buttons .btn-outline:hover {
  background: #ffffff;
  color: #0b1116;
  border-color: #ffffff;
}
.hero-protect-link {
  /* Own centred row beneath the two hero buttons at every width. */
  flex-basis: 100%;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 12px;
  color: #e6edf3;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}
.hero-protect-link img { flex: 0 0 auto; width: 44px; height: 48px; object-fit: contain; }
.hero-protect-link > span { border-bottom: 1px solid #68717a; padding-bottom: 3px; }
.hero-protect-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.hero-protect-link:hover > span { border-color: #f45c2c; }
.hero-protect-link:focus-visible, .protect-header-shield:focus-visible {
  outline: 2px solid #f45c2c;
  outline-offset: 5px;
}
.protect-header-shield { display: block; width: 108px; margin: -20px auto 26px; border-radius: 6px; }
.protect-header-shield img { width: 108px; height: 118px; object-fit: contain; }
@media (max-width: 600px) {
  .protect-header-shield { width: 88px; margin-top: -10px; margin-bottom: 20px; }
  .protect-header-shield img { width: 88px; height: 96px; }
}
